Update Endpoint.
This commit is contained in:
@@ -21,6 +21,8 @@ set(alikafka_public_header
|
||||
include/alibabacloud/alikafka/AlikafkaExport.h )
|
||||
|
||||
set(alikafka_public_header_model
|
||||
include/alibabacloud/alikafka/model/ChangeResourceGroupRequest.h
|
||||
include/alibabacloud/alikafka/model/ChangeResourceGroupResult.h
|
||||
include/alibabacloud/alikafka/model/ConvertPostPayOrderRequest.h
|
||||
include/alibabacloud/alikafka/model/ConvertPostPayOrderResult.h
|
||||
include/alibabacloud/alikafka/model/CreateAclRequest.h
|
||||
@@ -47,10 +49,10 @@ set(alikafka_public_header_model
|
||||
include/alibabacloud/alikafka/model/DeleteTopicResult.h
|
||||
include/alibabacloud/alikafka/model/DescribeAclsRequest.h
|
||||
include/alibabacloud/alikafka/model/DescribeAclsResult.h
|
||||
include/alibabacloud/alikafka/model/DescribeNodeStatusRequest.h
|
||||
include/alibabacloud/alikafka/model/DescribeNodeStatusResult.h
|
||||
include/alibabacloud/alikafka/model/DescribeSaslUsersRequest.h
|
||||
include/alibabacloud/alikafka/model/DescribeSaslUsersResult.h
|
||||
include/alibabacloud/alikafka/model/GetAllInstanceIdListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetAllInstanceIdListResult.h
|
||||
include/alibabacloud/alikafka/model/GetAllowedIpListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetAllowedIpListResult.h
|
||||
include/alibabacloud/alikafka/model/GetConsumerListRequest.h
|
||||
@@ -59,8 +61,8 @@ set(alikafka_public_header_model
|
||||
include/alibabacloud/alikafka/model/GetConsumerProgressResult.h
|
||||
include/alibabacloud/alikafka/model/GetInstanceListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetInstanceListResult.h
|
||||
include/alibabacloud/alikafka/model/GetMetaProductListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetMetaProductListResult.h
|
||||
include/alibabacloud/alikafka/model/GetQuotaTipRequest.h
|
||||
include/alibabacloud/alikafka/model/GetQuotaTipResult.h
|
||||
include/alibabacloud/alikafka/model/GetTopicListRequest.h
|
||||
include/alibabacloud/alikafka/model/GetTopicListResult.h
|
||||
include/alibabacloud/alikafka/model/GetTopicStatusRequest.h
|
||||
@@ -94,6 +96,8 @@ set(alikafka_public_header_model
|
||||
|
||||
set(alikafka_src
|
||||
src/AlikafkaClient.cc
|
||||
src/model/ChangeResourceGroupRequest.cc
|
||||
src/model/ChangeResourceGroupResult.cc
|
||||
src/model/ConvertPostPayOrderRequest.cc
|
||||
src/model/ConvertPostPayOrderResult.cc
|
||||
src/model/CreateAclRequest.cc
|
||||
@@ -120,10 +124,10 @@ set(alikafka_src
|
||||
src/model/DeleteTopicResult.cc
|
||||
src/model/DescribeAclsRequest.cc
|
||||
src/model/DescribeAclsResult.cc
|
||||
src/model/DescribeNodeStatusRequest.cc
|
||||
src/model/DescribeNodeStatusResult.cc
|
||||
src/model/DescribeSaslUsersRequest.cc
|
||||
src/model/DescribeSaslUsersResult.cc
|
||||
src/model/GetAllInstanceIdListRequest.cc
|
||||
src/model/GetAllInstanceIdListResult.cc
|
||||
src/model/GetAllowedIpListRequest.cc
|
||||
src/model/GetAllowedIpListResult.cc
|
||||
src/model/GetConsumerListRequest.cc
|
||||
@@ -132,8 +136,8 @@ set(alikafka_src
|
||||
src/model/GetConsumerProgressResult.cc
|
||||
src/model/GetInstanceListRequest.cc
|
||||
src/model/GetInstanceListResult.cc
|
||||
src/model/GetMetaProductListRequest.cc
|
||||
src/model/GetMetaProductListResult.cc
|
||||
src/model/GetQuotaTipRequest.cc
|
||||
src/model/GetQuotaTipResult.cc
|
||||
src/model/GetTopicListRequest.cc
|
||||
src/model/GetTopicListResult.cc
|
||||
src/model/GetTopicStatusRequest.cc
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AlikafkaExport.h"
|
||||
#include "model/ChangeResourceGroupRequest.h"
|
||||
#include "model/ChangeResourceGroupResult.h"
|
||||
#include "model/ConvertPostPayOrderRequest.h"
|
||||
#include "model/ConvertPostPayOrderResult.h"
|
||||
#include "model/CreateAclRequest.h"
|
||||
@@ -48,10 +50,10 @@
|
||||
#include "model/DeleteTopicResult.h"
|
||||
#include "model/DescribeAclsRequest.h"
|
||||
#include "model/DescribeAclsResult.h"
|
||||
#include "model/DescribeNodeStatusRequest.h"
|
||||
#include "model/DescribeNodeStatusResult.h"
|
||||
#include "model/DescribeSaslUsersRequest.h"
|
||||
#include "model/DescribeSaslUsersResult.h"
|
||||
#include "model/GetAllInstanceIdListRequest.h"
|
||||
#include "model/GetAllInstanceIdListResult.h"
|
||||
#include "model/GetAllowedIpListRequest.h"
|
||||
#include "model/GetAllowedIpListResult.h"
|
||||
#include "model/GetConsumerListRequest.h"
|
||||
@@ -60,8 +62,8 @@
|
||||
#include "model/GetConsumerProgressResult.h"
|
||||
#include "model/GetInstanceListRequest.h"
|
||||
#include "model/GetInstanceListResult.h"
|
||||
#include "model/GetMetaProductListRequest.h"
|
||||
#include "model/GetMetaProductListResult.h"
|
||||
#include "model/GetQuotaTipRequest.h"
|
||||
#include "model/GetQuotaTipResult.h"
|
||||
#include "model/GetTopicListRequest.h"
|
||||
#include "model/GetTopicListResult.h"
|
||||
#include "model/GetTopicStatusRequest.h"
|
||||
@@ -101,6 +103,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT AlikafkaClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ChangeResourceGroupResult> ChangeResourceGroupOutcome;
|
||||
typedef std::future<ChangeResourceGroupOutcome> ChangeResourceGroupOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::ChangeResourceGroupRequest&, const ChangeResourceGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ChangeResourceGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConvertPostPayOrderResult> ConvertPostPayOrderOutcome;
|
||||
typedef std::future<ConvertPostPayOrderOutcome> ConvertPostPayOrderOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::ConvertPostPayOrderRequest&, const ConvertPostPayOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConvertPostPayOrderAsyncHandler;
|
||||
@@ -140,12 +145,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAclsResult> DescribeAclsOutcome;
|
||||
typedef std::future<DescribeAclsOutcome> DescribeAclsOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::DescribeAclsRequest&, const DescribeAclsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAclsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeNodeStatusResult> DescribeNodeStatusOutcome;
|
||||
typedef std::future<DescribeNodeStatusOutcome> DescribeNodeStatusOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::DescribeNodeStatusRequest&, const DescribeNodeStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeNodeStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSaslUsersResult> DescribeSaslUsersOutcome;
|
||||
typedef std::future<DescribeSaslUsersOutcome> DescribeSaslUsersOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::DescribeSaslUsersRequest&, const DescribeSaslUsersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSaslUsersAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAllInstanceIdListResult> GetAllInstanceIdListOutcome;
|
||||
typedef std::future<GetAllInstanceIdListOutcome> GetAllInstanceIdListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetAllInstanceIdListRequest&, const GetAllInstanceIdListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAllInstanceIdListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAllowedIpListResult> GetAllowedIpListOutcome;
|
||||
typedef std::future<GetAllowedIpListOutcome> GetAllowedIpListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetAllowedIpListRequest&, const GetAllowedIpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAllowedIpListAsyncHandler;
|
||||
@@ -158,9 +163,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetInstanceListResult> GetInstanceListOutcome;
|
||||
typedef std::future<GetInstanceListOutcome> GetInstanceListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetInstanceListRequest&, const GetInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetInstanceListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetMetaProductListResult> GetMetaProductListOutcome;
|
||||
typedef std::future<GetMetaProductListOutcome> GetMetaProductListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetMetaProductListRequest&, const GetMetaProductListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetMetaProductListAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetQuotaTipResult> GetQuotaTipOutcome;
|
||||
typedef std::future<GetQuotaTipOutcome> GetQuotaTipOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetQuotaTipRequest&, const GetQuotaTipOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetQuotaTipAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTopicListResult> GetTopicListOutcome;
|
||||
typedef std::future<GetTopicListOutcome> GetTopicListOutcomeCallable;
|
||||
typedef std::function<void(const AlikafkaClient*, const Model::GetTopicListRequest&, const GetTopicListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTopicListAsyncHandler;
|
||||
@@ -211,6 +216,9 @@ namespace AlibabaCloud
|
||||
AlikafkaClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AlikafkaClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AlikafkaClient();
|
||||
ChangeResourceGroupOutcome changeResourceGroup(const Model::ChangeResourceGroupRequest &request)const;
|
||||
void changeResourceGroupAsync(const Model::ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ChangeResourceGroupOutcomeCallable changeResourceGroupCallable(const Model::ChangeResourceGroupRequest& request) const;
|
||||
ConvertPostPayOrderOutcome convertPostPayOrder(const Model::ConvertPostPayOrderRequest &request)const;
|
||||
void convertPostPayOrderAsync(const Model::ConvertPostPayOrderRequest& request, const ConvertPostPayOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConvertPostPayOrderOutcomeCallable convertPostPayOrderCallable(const Model::ConvertPostPayOrderRequest& request) const;
|
||||
@@ -250,12 +258,12 @@ namespace AlibabaCloud
|
||||
DescribeAclsOutcome describeAcls(const Model::DescribeAclsRequest &request)const;
|
||||
void describeAclsAsync(const Model::DescribeAclsRequest& request, const DescribeAclsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAclsOutcomeCallable describeAclsCallable(const Model::DescribeAclsRequest& request) const;
|
||||
DescribeNodeStatusOutcome describeNodeStatus(const Model::DescribeNodeStatusRequest &request)const;
|
||||
void describeNodeStatusAsync(const Model::DescribeNodeStatusRequest& request, const DescribeNodeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeNodeStatusOutcomeCallable describeNodeStatusCallable(const Model::DescribeNodeStatusRequest& request) const;
|
||||
DescribeSaslUsersOutcome describeSaslUsers(const Model::DescribeSaslUsersRequest &request)const;
|
||||
void describeSaslUsersAsync(const Model::DescribeSaslUsersRequest& request, const DescribeSaslUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSaslUsersOutcomeCallable describeSaslUsersCallable(const Model::DescribeSaslUsersRequest& request) const;
|
||||
GetAllInstanceIdListOutcome getAllInstanceIdList(const Model::GetAllInstanceIdListRequest &request)const;
|
||||
void getAllInstanceIdListAsync(const Model::GetAllInstanceIdListRequest& request, const GetAllInstanceIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAllInstanceIdListOutcomeCallable getAllInstanceIdListCallable(const Model::GetAllInstanceIdListRequest& request) const;
|
||||
GetAllowedIpListOutcome getAllowedIpList(const Model::GetAllowedIpListRequest &request)const;
|
||||
void getAllowedIpListAsync(const Model::GetAllowedIpListRequest& request, const GetAllowedIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAllowedIpListOutcomeCallable getAllowedIpListCallable(const Model::GetAllowedIpListRequest& request) const;
|
||||
@@ -268,9 +276,9 @@ namespace AlibabaCloud
|
||||
GetInstanceListOutcome getInstanceList(const Model::GetInstanceListRequest &request)const;
|
||||
void getInstanceListAsync(const Model::GetInstanceListRequest& request, const GetInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetInstanceListOutcomeCallable getInstanceListCallable(const Model::GetInstanceListRequest& request) const;
|
||||
GetMetaProductListOutcome getMetaProductList(const Model::GetMetaProductListRequest &request)const;
|
||||
void getMetaProductListAsync(const Model::GetMetaProductListRequest& request, const GetMetaProductListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetMetaProductListOutcomeCallable getMetaProductListCallable(const Model::GetMetaProductListRequest& request) const;
|
||||
GetQuotaTipOutcome getQuotaTip(const Model::GetQuotaTipRequest &request)const;
|
||||
void getQuotaTipAsync(const Model::GetQuotaTipRequest& request, const GetQuotaTipAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetQuotaTipOutcomeCallable getQuotaTipCallable(const Model::GetQuotaTipRequest& request) const;
|
||||
GetTopicListOutcome getTopicList(const Model::GetTopicListRequest &request)const;
|
||||
void getTopicListAsync(const Model::GetTopicListRequest& request, const GetTopicListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTopicListOutcomeCallable getTopicListCallable(const Model::GetTopicListRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ChangeResourceGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ChangeResourceGroupRequest();
|
||||
~ChangeResourceGroupRequest();
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getNewResourceGroupId() const;
|
||||
void setNewResourceGroupId(const std::string &newResourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string resourceId_;
|
||||
std::string newResourceGroupId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPREQUEST_H_
|
||||
@@ -14,12 +14,13 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -28,24 +29,29 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeNodeStatusRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ChangeResourceGroupResult : public ServiceResult
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeNodeStatusRequest();
|
||||
~DescribeNodeStatusRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
ChangeResourceGroupResult();
|
||||
explicit ChangeResourceGroupResult(const std::string &payload);
|
||||
~ChangeResourceGroupResult();
|
||||
std::string getNewResourceGroupId()const;
|
||||
std::string getMessage()const;
|
||||
int getCode()const;
|
||||
long getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string newResourceGroupId_;
|
||||
std::string message_;
|
||||
int code_;
|
||||
long success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CHANGERESOURCEGROUPRESULT_H_
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ConvertPostPayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConvertPostPayOrderRequest();
|
||||
~ConvertPostPayOrderRequest();
|
||||
|
||||
int getDuration()const;
|
||||
void setDuration(int duration);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ConvertPostPayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ConvertPostPayOrderRequest();
|
||||
~ConvertPostPayOrderRequest();
|
||||
int getDuration() const;
|
||||
void setDuration(int duration);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
int duration_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CONVERTPOSTPAYORDERREQUEST_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_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateAclRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateAclRequest();
|
||||
~CreateAclRequest();
|
||||
|
||||
std::string getAclResourcePatternType()const;
|
||||
void setAclResourcePatternType(const std::string& aclResourcePatternType);
|
||||
std::string getAclResourceType()const;
|
||||
void setAclResourceType(const std::string& aclResourceType);
|
||||
std::string getAclOperationType()const;
|
||||
void setAclOperationType(const std::string& aclOperationType);
|
||||
std::string getAclResourceName()const;
|
||||
void setAclResourceName(const std::string& aclResourceName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclOperationType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateAclRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateAclRequest();
|
||||
~CreateAclRequest();
|
||||
std::string getAclResourcePatternType() const;
|
||||
void setAclResourcePatternType(const std::string &aclResourcePatternType);
|
||||
std::string getAclResourceType() const;
|
||||
void setAclResourceType(const std::string &aclResourceType);
|
||||
std::string getAclOperationType() const;
|
||||
void setAclOperationType(const std::string &aclOperationType);
|
||||
std::string getAclResourceName() const;
|
||||
void setAclResourceName(const std::string &aclResourceName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclOperationType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEACLREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,58 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateConsumerGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateConsumerGroupRequest();
|
||||
~CreateConsumerGroupRequest();
|
||||
|
||||
std::string getConsumerId()const;
|
||||
void setConsumerId(const std::string& consumerId);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateConsumerGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateConsumerGroupRequest();
|
||||
~CreateConsumerGroupRequest();
|
||||
std::string getConsumerId() const;
|
||||
void setConsumerId(const std::string &consumerId);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATECONSUMERGROUPREQUEST_H_
|
||||
|
||||
@@ -1,75 +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_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreatePostPayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePostPayOrderRequest();
|
||||
~CreatePostPayOrderRequest();
|
||||
|
||||
int getPaidType()const;
|
||||
void setPaidType(int paidType);
|
||||
int getDiskSize()const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax()const;
|
||||
void setIoMax(int ioMax);
|
||||
std::string getIoMaxSpec()const;
|
||||
void setIoMaxSpec(const std::string& ioMaxSpec);
|
||||
std::string getDiskType()const;
|
||||
void setDiskType(const std::string& diskType);
|
||||
int getTopicQuota()const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax()const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType()const;
|
||||
void setSpecType(const std::string& specType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getDeployType()const;
|
||||
void setDeployType(int deployType);
|
||||
|
||||
private:
|
||||
int paidType_;
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
std::string ioMaxSpec_;
|
||||
std::string diskType_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string regionId_;
|
||||
int deployType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreatePostPayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreatePostPayOrderRequest();
|
||||
~CreatePostPayOrderRequest();
|
||||
int getIoMax() const;
|
||||
void setIoMax(int ioMax);
|
||||
int getEipMax() const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType() const;
|
||||
void setSpecType(const std::string &specType);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
int getPartitionNum() const;
|
||||
void setPartitionNum(int partitionNum);
|
||||
int getPaidType() const;
|
||||
void setPaidType(int paidType);
|
||||
int getDiskSize() const;
|
||||
void setDiskSize(int diskSize);
|
||||
std::string getIoMaxSpec() const;
|
||||
void setIoMaxSpec(const std::string &ioMaxSpec);
|
||||
std::string getDiskType() const;
|
||||
void setDiskType(const std::string &diskType);
|
||||
int getTopicQuota() const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getDeployType() const;
|
||||
void setDeployType(int deployType);
|
||||
|
||||
private:
|
||||
int ioMax_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
int partitionNum_;
|
||||
int paidType_;
|
||||
int diskSize_;
|
||||
std::string ioMaxSpec_;
|
||||
std::string diskType_;
|
||||
int topicQuota_;
|
||||
int deployType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
@@ -1,72 +1,79 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreatePrePayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePrePayOrderRequest();
|
||||
~CreatePrePayOrderRequest();
|
||||
|
||||
int getDiskSize()const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax()const;
|
||||
void setIoMax(int ioMax);
|
||||
std::string getIoMaxSpec()const;
|
||||
void setIoMaxSpec(const std::string& ioMaxSpec);
|
||||
std::string getDiskType()const;
|
||||
void setDiskType(const std::string& diskType);
|
||||
int getTopicQuota()const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax()const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType()const;
|
||||
void setSpecType(const std::string& specType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getDeployType()const;
|
||||
void setDeployType(int deployType);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
std::string ioMaxSpec_;
|
||||
std::string diskType_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string regionId_;
|
||||
int deployType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreatePrePayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreatePrePayOrderRequest();
|
||||
~CreatePrePayOrderRequest();
|
||||
int getIoMax() const;
|
||||
void setIoMax(int ioMax);
|
||||
int getEipMax() const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType() const;
|
||||
void setSpecType(const std::string &specType);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
int getPartitionNum() const;
|
||||
void setPartitionNum(int partitionNum);
|
||||
int getDiskSize() const;
|
||||
void setDiskSize(int diskSize);
|
||||
std::string getIoMaxSpec() const;
|
||||
void setIoMaxSpec(const std::string &ioMaxSpec);
|
||||
std::string getDiskType() const;
|
||||
void setDiskType(const std::string &diskType);
|
||||
int getTopicQuota() const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getDeployType() const;
|
||||
void setDeployType(int deployType);
|
||||
|
||||
private:
|
||||
int ioMax_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
int partitionNum_;
|
||||
int diskSize_;
|
||||
std::string ioMaxSpec_;
|
||||
std::string diskType_;
|
||||
int topicQuota_;
|
||||
int deployType_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATEPREPAYORDERREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateSaslUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateSaslUserRequest();
|
||||
~CreateSaslUserRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string password_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateSaslUserRequest : public RpcServiceRequest {
|
||||
public:
|
||||
CreateSaslUserRequest();
|
||||
~CreateSaslUserRequest();
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getPassword() const;
|
||||
void setPassword(const std::string &password);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string password_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATESASLUSERREQUEST_H_
|
||||
|
||||
@@ -1,66 +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_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateTopicRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateTopicRequest();
|
||||
~CreateTopicRequest();
|
||||
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
bool getCompactTopic()const;
|
||||
void setCompactTopic(bool compactTopic);
|
||||
std::string getPartitionNum()const;
|
||||
void setPartitionNum(const std::string& partitionNum);
|
||||
bool getLocalTopic()const;
|
||||
void setLocalTopic(bool localTopic);
|
||||
|
||||
private:
|
||||
std::string remark_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
bool compactTopic_;
|
||||
std::string partitionNum_;
|
||||
bool localTopic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT CreateTopicRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
CreateTopicRequest();
|
||||
~CreateTopicRequest();
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
long getReplicationFactor() const;
|
||||
void setReplicationFactor(long replicationFactor);
|
||||
long getMinInsyncReplicas() const;
|
||||
void setMinInsyncReplicas(long minInsyncReplicas);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
bool getCompactTopic() const;
|
||||
void setCompactTopic(bool compactTopic);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
std::string getPartitionNum() const;
|
||||
void setPartitionNum(const std::string &partitionNum);
|
||||
std::string getConfig() const;
|
||||
void setConfig(const std::string &config);
|
||||
bool getLocalTopic() const;
|
||||
void setLocalTopic(bool localTopic);
|
||||
|
||||
private:
|
||||
std::string remark_;
|
||||
long replicationFactor_;
|
||||
long minInsyncReplicas_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
bool compactTopic_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string partitionNum_;
|
||||
std::string config_;
|
||||
bool localTopic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_CREATETOPICREQUEST_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_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteAclRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteAclRequest();
|
||||
~DeleteAclRequest();
|
||||
|
||||
std::string getAclResourcePatternType()const;
|
||||
void setAclResourcePatternType(const std::string& aclResourcePatternType);
|
||||
std::string getAclResourceType()const;
|
||||
void setAclResourceType(const std::string& aclResourceType);
|
||||
std::string getAclOperationType()const;
|
||||
void setAclOperationType(const std::string& aclOperationType);
|
||||
std::string getAclResourceName()const;
|
||||
void setAclResourceName(const std::string& aclResourceName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclOperationType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteAclRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteAclRequest();
|
||||
~DeleteAclRequest();
|
||||
std::string getAclResourcePatternType() const;
|
||||
void setAclResourcePatternType(const std::string &aclResourcePatternType);
|
||||
std::string getAclResourceType() const;
|
||||
void setAclResourceType(const std::string &aclResourceType);
|
||||
std::string getAclOperationType() const;
|
||||
void setAclOperationType(const std::string &aclOperationType);
|
||||
std::string getAclResourceName() const;
|
||||
void setAclResourceName(const std::string &aclResourceName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclOperationType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETEACLREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteConsumerGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteConsumerGroupRequest();
|
||||
~DeleteConsumerGroupRequest();
|
||||
|
||||
std::string getConsumerId()const;
|
||||
void setConsumerId(const std::string& consumerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteConsumerGroupRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteConsumerGroupRequest();
|
||||
~DeleteConsumerGroupRequest();
|
||||
std::string getConsumerId() const;
|
||||
void setConsumerId(const std::string &consumerId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETECONSUMERGROUPREQUEST_H_
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteInstanceRequest();
|
||||
~DeleteInstanceRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteInstanceRequest();
|
||||
~DeleteInstanceRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETEINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteSaslUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteSaslUserRequest();
|
||||
~DeleteSaslUserRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteSaslUserRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteSaslUserRequest();
|
||||
~DeleteSaslUserRequest();
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETESASLUSERREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteTopicRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteTopicRequest();
|
||||
~DeleteTopicRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DeleteTopicRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteTopicRequest();
|
||||
~DeleteTopicRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DELETETOPICREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeAclsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeAclsRequest();
|
||||
~DescribeAclsRequest();
|
||||
|
||||
std::string getAclResourcePatternType()const;
|
||||
void setAclResourcePatternType(const std::string& aclResourcePatternType);
|
||||
std::string getAclResourceType()const;
|
||||
void setAclResourceType(const std::string& aclResourceType);
|
||||
std::string getAclResourceName()const;
|
||||
void setAclResourceName(const std::string& aclResourceName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeAclsRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeAclsRequest();
|
||||
~DescribeAclsRequest();
|
||||
std::string getAclResourcePatternType() const;
|
||||
void setAclResourcePatternType(const std::string &aclResourcePatternType);
|
||||
std::string getAclResourceType() const;
|
||||
void setAclResourceType(const std::string &aclResourceType);
|
||||
std::string getAclResourceName() const;
|
||||
void setAclResourceName(const std::string &aclResourceName);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string aclResourcePatternType_;
|
||||
std::string aclResourceType_;
|
||||
std::string aclResourceName_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBEACLSREQUEST_H_
|
||||
|
||||
@@ -38,8 +38,8 @@ namespace AlibabaCloud
|
||||
std::string username;
|
||||
std::string aclResourceType;
|
||||
std::string aclOperationType;
|
||||
std::string aclResourcePatternType;
|
||||
std::string host;
|
||||
std::string aclResourcePatternType;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeSaslUsersRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeSaslUsersRequest();
|
||||
~DescribeSaslUsersRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeSaslUsersRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DescribeSaslUsersRequest();
|
||||
~DescribeSaslUsersRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBESASLUSERSREQUEST_H_
|
||||
|
||||
@@ -1,51 +1,42 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_GETMETAPRODUCTLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetMetaProductListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetMetaProductListRequest();
|
||||
~GetMetaProductListRequest();
|
||||
|
||||
std::string getListNormal()const;
|
||||
void setListNormal(const std::string& listNormal);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string listNormal_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetAllInstanceIdListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAllInstanceIdListRequest();
|
||||
~GetAllInstanceIdListRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,16 +29,16 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT DescribeNodeStatusResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetAllInstanceIdListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeNodeStatusResult();
|
||||
explicit DescribeNodeStatusResult(const std::string &payload);
|
||||
~DescribeNodeStatusResult();
|
||||
GetAllInstanceIdListResult();
|
||||
explicit GetAllInstanceIdListResult(const std::string &payload);
|
||||
~GetAllInstanceIdListResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<std::string> getStatusList()const;
|
||||
std::string getInstanceIds()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
@@ -46,7 +46,7 @@ namespace AlibabaCloud
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<std::string> statusList_;
|
||||
std::string instanceIds_;
|
||||
int code_;
|
||||
bool success_;
|
||||
|
||||
@@ -54,4 +54,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_DESCRIBENODESTATUSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETALLINSTANCEIDLISTRESULT_H_
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetAllowedIpListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAllowedIpListRequest();
|
||||
~GetAllowedIpListRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetAllowedIpListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetAllowedIpListRequest();
|
||||
~GetAllowedIpListRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETALLOWEDIPLISTREQUEST_H_
|
||||
|
||||
@@ -38,6 +38,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string portRange;
|
||||
std::vector<std::string> allowedIpList;
|
||||
std::string allowedIpGroup;
|
||||
};
|
||||
int deployType;
|
||||
std::vector<IPListVO> internetList;
|
||||
|
||||
@@ -1,57 +1,54 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetConsumerListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetConsumerListRequest();
|
||||
~GetConsumerListRequest();
|
||||
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetConsumerListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetConsumerListRequest();
|
||||
~GetConsumerListRequest();
|
||||
std::string getConsumerId() const;
|
||||
void setConsumerId(const std::string &consumerId);
|
||||
int getCurrentPage() const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPageSize() const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
int currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
int pageSize_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERLISTREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetConsumerProgressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetConsumerProgressRequest();
|
||||
~GetConsumerProgressRequest();
|
||||
|
||||
std::string getConsumerId()const;
|
||||
void setConsumerId(const std::string& consumerId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetConsumerProgressRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetConsumerProgressRequest();
|
||||
~GetConsumerProgressRequest();
|
||||
std::string getConsumerId() const;
|
||||
void setConsumerId(const std::string &consumerId);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string consumerId_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETCONSUMERPROGRESSREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,58 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetInstanceListRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
GetInstanceListRequest();
|
||||
~GetInstanceListRequest();
|
||||
|
||||
std::string getOrderId()const;
|
||||
void setOrderId(const std::string& orderId);
|
||||
std::vector<std::string> getInstanceId()const;
|
||||
void setInstanceId(const std::vector<std::string>& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::string orderId_;
|
||||
std::vector<std::string> instanceId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetInstanceListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
GetInstanceListRequest();
|
||||
~GetInstanceListRequest();
|
||||
std::string getOrderId() const;
|
||||
void setOrderId(const std::string &orderId);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::vector<std::string> getInstanceId() const;
|
||||
void setInstanceId(const std::vector<std::string> &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::string orderId_;
|
||||
std::string resourceGroupId_;
|
||||
std::vector<std::string> instanceId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETINSTANCELISTREQUEST_H_
|
||||
|
||||
@@ -44,29 +44,38 @@ namespace AlibabaCloud
|
||||
std::string key;
|
||||
};
|
||||
int deployType;
|
||||
std::string sslEndPoint;
|
||||
int eipMax;
|
||||
std::string zoneId;
|
||||
std::string instanceId;
|
||||
std::string resourceGroupId;
|
||||
std::string specType;
|
||||
int ioMax;
|
||||
std::string vSwitchId;
|
||||
long createTime;
|
||||
std::string allConfig;
|
||||
std::string endPoint;
|
||||
UpgradeServiceDetailInfo upgradeServiceDetailInfo;
|
||||
std::string securityGroup;
|
||||
std::string saslDomainEndpoint;
|
||||
std::string name;
|
||||
int diskType;
|
||||
std::string vpcId;
|
||||
std::string sslDomainEndpoint;
|
||||
int serviceStatus;
|
||||
int paidType;
|
||||
long expiredTime;
|
||||
int msgRetain;
|
||||
long expiredTime;
|
||||
int diskSize;
|
||||
int topicNumLimit;
|
||||
std::string regionId;
|
||||
std::vector<InstanceVO::TagVO> tags;
|
||||
int usedPartitionCount;
|
||||
std::string sslEndPoint;
|
||||
int eipMax;
|
||||
std::string zoneId;
|
||||
std::string kmsKeyId;
|
||||
std::string instanceId;
|
||||
long createTime;
|
||||
std::string vSwitchId;
|
||||
int usedTopicCount;
|
||||
std::string securityGroup;
|
||||
int usedGroupCount;
|
||||
std::string vpcId;
|
||||
std::string domainEndpoint;
|
||||
int paidType;
|
||||
std::string standardZoneId;
|
||||
std::string regionId;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_GETQUOTATIPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetQuotaTipRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetQuotaTipRequest();
|
||||
~GetQuotaTipRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPRESULT_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,45 +29,43 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetMetaProductListResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetQuotaTipResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MetaData
|
||||
struct QuotaData
|
||||
{
|
||||
struct SpecVO
|
||||
{
|
||||
std::string diskType;
|
||||
std::string deployType;
|
||||
std::string specType;
|
||||
long ioMax;
|
||||
std::string diskSize;
|
||||
std::string topicQuota;
|
||||
std::string regionId;
|
||||
};
|
||||
std::string names;
|
||||
std::vector<SpecVO> productsNormal;
|
||||
std::vector<SpecVO> productsProfessional;
|
||||
int isPartitionBuy;
|
||||
int topicLeft;
|
||||
int groupUsed;
|
||||
int partitionQuata;
|
||||
int topicUsed;
|
||||
int partitionNumOfBuy;
|
||||
int partitionLeft;
|
||||
int topicQuota;
|
||||
int topicNumOfBuy;
|
||||
int partitionUsed;
|
||||
int groupLeft;
|
||||
};
|
||||
|
||||
|
||||
GetMetaProductListResult();
|
||||
explicit GetMetaProductListResult(const std::string &payload);
|
||||
~GetMetaProductListResult();
|
||||
GetQuotaTipResult();
|
||||
explicit GetQuotaTipResult(const std::string &payload);
|
||||
~GetQuotaTipResult();
|
||||
std::string getMessage()const;
|
||||
MetaData getMetaData()const;
|
||||
int getCode()const;
|
||||
bool getSuccess()const;
|
||||
QuotaData getQuotaData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
MetaData metaData_;
|
||||
int code_;
|
||||
bool success_;
|
||||
QuotaData quotaData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETMETAPRODUCTLISTRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETQUOTATIPRESULT_H_
|
||||
@@ -1,57 +1,54 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetTopicListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTopicListRequest();
|
||||
~GetTopicListRequest();
|
||||
|
||||
std::string getCurrentPage()const;
|
||||
void setCurrentPage(const std::string& currentPage);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
|
||||
private:
|
||||
std::string currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetTopicListRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTopicListRequest();
|
||||
~GetTopicListRequest();
|
||||
std::string getCurrentPage() const;
|
||||
void setCurrentPage(const std::string ¤tPage);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPageSize() const;
|
||||
void setPageSize(const std::string &pageSize);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string currentPage_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string pageSize_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICLISTREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetTopicStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTopicStatusRequest();
|
||||
~GetTopicStatusRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT GetTopicStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
GetTopicStatusRequest();
|
||||
~GetTopicStatusRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_GETTOPICSTATUSREQUEST_H_
|
||||
|
||||
@@ -1,66 +1,58 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ListTagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getNextToken()const;
|
||||
void setNextToken(const std::string& nextToken);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ListTagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
ListTagResourcesRequest();
|
||||
~ListTagResourcesRequest();
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
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);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::string nextToken_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_LISTTAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyInstanceNameRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyInstanceNameRequest();
|
||||
~ModifyInstanceNameRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getInstanceName()const;
|
||||
void setInstanceName(const std::string& instanceName);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string instanceName_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyInstanceNameRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyInstanceNameRequest();
|
||||
~ModifyInstanceNameRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getInstanceName() const;
|
||||
void setInstanceName(const std::string &instanceName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string instanceName_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYINSTANCENAMEREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyPartitionNumRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyPartitionNumRequest();
|
||||
~ModifyPartitionNumRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
int getAddPartitionNum()const;
|
||||
void setAddPartitionNum(int addPartitionNum);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
int addPartitionNum_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyPartitionNumRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyPartitionNumRequest();
|
||||
~ModifyPartitionNumRequest();
|
||||
int getAddPartitionNum() const;
|
||||
void setAddPartitionNum(int addPartitionNum);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
|
||||
private:
|
||||
int addPartitionNum_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYPARTITIONNUMREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyTopicRemarkRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyTopicRemarkRequest();
|
||||
~ModifyTopicRemarkRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
std::string remark_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ModifyTopicRemarkRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ModifyTopicRemarkRequest();
|
||||
~ModifyTopicRemarkRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTopic() const;
|
||||
void setTopic(const std::string &topic);
|
||||
std::string getRemark() const;
|
||||
void setRemark(const std::string &remark);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string topic_;
|
||||
std::string remark_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_MODIFYTOPICREMARKREQUEST_H_
|
||||
|
||||
@@ -1,57 +1,51 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ReleaseInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ReleaseInstanceRequest();
|
||||
~ReleaseInstanceRequest();
|
||||
|
||||
bool getForceDeleteInstance()const;
|
||||
void setForceDeleteInstance(bool forceDeleteInstance);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getReleaseIgnoreTime()const;
|
||||
void setReleaseIgnoreTime(bool releaseIgnoreTime);
|
||||
|
||||
private:
|
||||
bool forceDeleteInstance_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
bool releaseIgnoreTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT ReleaseInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
ReleaseInstanceRequest();
|
||||
~ReleaseInstanceRequest();
|
||||
bool getForceDeleteInstance() const;
|
||||
void setForceDeleteInstance(bool forceDeleteInstance);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getReleaseIgnoreTime() const;
|
||||
void setReleaseIgnoreTime(bool releaseIgnoreTime);
|
||||
|
||||
private:
|
||||
bool forceDeleteInstance_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
bool releaseIgnoreTime_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_RELEASEINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,93 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT StartInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartInstanceRequest();
|
||||
~StartInstanceRequest();
|
||||
|
||||
bool getIsEipInner()const;
|
||||
void setIsEipInner(bool isEipInner);
|
||||
std::string getSecurityGroup()const;
|
||||
void setSecurityGroup(const std::string& securityGroup);
|
||||
std::string getDeployModule()const;
|
||||
void setDeployModule(const std::string& deployModule);
|
||||
bool getIsSetUserAndPassword()const;
|
||||
void setIsSetUserAndPassword(bool isSetUserAndPassword);
|
||||
std::string getPassword()const;
|
||||
void setPassword(const std::string& password);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getVSwitchId()const;
|
||||
void setVSwitchId(const std::string& vSwitchId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getVpcId()const;
|
||||
void setVpcId(const std::string& vpcId);
|
||||
bool getCrossZone()const;
|
||||
void setCrossZone(bool crossZone);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getServiceVersion()const;
|
||||
void setServiceVersion(const std::string& serviceVersion);
|
||||
std::string getZoneId()const;
|
||||
void setZoneId(const std::string& zoneId);
|
||||
std::string getKMSKeyId()const;
|
||||
void setKMSKeyId(const std::string& kMSKeyId);
|
||||
std::string getConfig()const;
|
||||
void setConfig(const std::string& config);
|
||||
std::string getUsername()const;
|
||||
void setUsername(const std::string& username);
|
||||
|
||||
private:
|
||||
bool isEipInner_;
|
||||
std::string securityGroup_;
|
||||
std::string deployModule_;
|
||||
bool isSetUserAndPassword_;
|
||||
std::string password_;
|
||||
std::string regionId_;
|
||||
std::string vSwitchId_;
|
||||
std::string instanceId_;
|
||||
std::string vpcId_;
|
||||
bool crossZone_;
|
||||
std::string name_;
|
||||
std::string serviceVersion_;
|
||||
std::string zoneId_;
|
||||
std::string kMSKeyId_;
|
||||
std::string config_;
|
||||
std::string username_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT StartInstanceRequest : public RpcServiceRequest {
|
||||
public:
|
||||
StartInstanceRequest();
|
||||
~StartInstanceRequest();
|
||||
std::string getSelectedZones() const;
|
||||
void setSelectedZones(const std::string &selectedZones);
|
||||
bool getIsEipInner() const;
|
||||
void setIsEipInner(bool isEipInner);
|
||||
std::string getSecurityGroup() const;
|
||||
void setSecurityGroup(const std::string &securityGroup);
|
||||
std::string getDeployModule() const;
|
||||
void setDeployModule(const std::string &deployModule);
|
||||
bool getIsSetUserAndPassword() const;
|
||||
void setIsSetUserAndPassword(bool isSetUserAndPassword);
|
||||
std::string getPassword() const;
|
||||
void setPassword(const std::string &password);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNotifier() const;
|
||||
void setNotifier(const std::string ¬ifier);
|
||||
bool getIsForceSelectedZones() const;
|
||||
void setIsForceSelectedZones(bool isForceSelectedZones);
|
||||
std::string getVSwitchId() const;
|
||||
void setVSwitchId(const std::string &vSwitchId);
|
||||
std::string getUserPhoneNum() const;
|
||||
void setUserPhoneNum(const std::string &userPhoneNum);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getVpcId() const;
|
||||
void setVpcId(const std::string &vpcId);
|
||||
bool getCrossZone() const;
|
||||
void setCrossZone(bool crossZone);
|
||||
std::string getName() const;
|
||||
void setName(const std::string &name);
|
||||
std::string getServiceVersion() const;
|
||||
void setServiceVersion(const std::string &serviceVersion);
|
||||
std::string getZoneId() const;
|
||||
void setZoneId(const std::string &zoneId);
|
||||
std::string getKMSKeyId() const;
|
||||
void setKMSKeyId(const std::string &kMSKeyId);
|
||||
std::string getConfig() const;
|
||||
void setConfig(const std::string &config);
|
||||
std::string getUsername() const;
|
||||
void setUsername(const std::string &username);
|
||||
|
||||
private:
|
||||
std::string selectedZones_;
|
||||
bool isEipInner_;
|
||||
std::string securityGroup_;
|
||||
std::string deployModule_;
|
||||
bool isSetUserAndPassword_;
|
||||
std::string password_;
|
||||
std::string regionId_;
|
||||
std::string notifier_;
|
||||
bool isForceSelectedZones_;
|
||||
std::string vSwitchId_;
|
||||
std::string userPhoneNum_;
|
||||
std::string instanceId_;
|
||||
std::string vpcId_;
|
||||
bool crossZone_;
|
||||
std::string name_;
|
||||
std::string serviceVersion_;
|
||||
std::string zoneId_;
|
||||
std::string kMSKeyId_;
|
||||
std::string config_;
|
||||
std::string username_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_STARTINSTANCEREQUEST_H_
|
||||
|
||||
@@ -1,63 +1,58 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT TagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
TagResourcesRequest();
|
||||
~TagResourcesRequest();
|
||||
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT TagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct Tag {
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
TagResourcesRequest();
|
||||
~TagResourcesRequest();
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<Tag> getTag() const;
|
||||
void setTag(const std::vector<Tag> &tag);
|
||||
|
||||
private:
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::vector<Tag> tag_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_TAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1,60 +1,54 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UntagResourcesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId()const;
|
||||
void setResourceId(const std::vector<std::string>& resourceId);
|
||||
std::string getResourceType()const;
|
||||
void setResourceType(const std::string& resourceType);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::vector<std::string> getTagKey()const;
|
||||
void setTagKey(const std::vector<std::string>& tagKey);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::vector<std::string> tagKey_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UntagResourcesRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UntagResourcesRequest();
|
||||
~UntagResourcesRequest();
|
||||
bool getAll() const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getResourceId() const;
|
||||
void setResourceId(const std::vector<std::string> &resourceId);
|
||||
std::string getResourceType() const;
|
||||
void setResourceType(const std::string &resourceType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::vector<std::string> getTagKey() const;
|
||||
void setTagKey(const std::vector<std::string> &tagKey);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> resourceId_;
|
||||
std::string resourceType_;
|
||||
std::string regionId_;
|
||||
std::vector<std::string> tagKey_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UNTAGRESOURCESREQUEST_H_
|
||||
|
||||
@@ -1,63 +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_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpdateAllowedIpRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateAllowedIpRequest();
|
||||
~UpdateAllowedIpRequest();
|
||||
|
||||
std::string getPortRange()const;
|
||||
void setPortRange(const std::string& portRange);
|
||||
std::string getAllowedListIp()const;
|
||||
void setAllowedListIp(const std::string& allowedListIp);
|
||||
std::string getUpdateType()const;
|
||||
void setUpdateType(const std::string& updateType);
|
||||
std::string getAllowedListType()const;
|
||||
void setAllowedListType(const std::string& allowedListType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string portRange_;
|
||||
std::string allowedListIp_;
|
||||
std::string updateType_;
|
||||
std::string allowedListType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpdateAllowedIpRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateAllowedIpRequest();
|
||||
~UpdateAllowedIpRequest();
|
||||
std::string getPortRange() const;
|
||||
void setPortRange(const std::string &portRange);
|
||||
std::string getAllowedListIp() const;
|
||||
void setAllowedListIp(const std::string &allowedListIp);
|
||||
std::string getUpdateType() const;
|
||||
void setUpdateType(const std::string &updateType);
|
||||
std::string getAllowedListType() const;
|
||||
void setAllowedListType(const std::string &allowedListType);
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string portRange_;
|
||||
std::string allowedListIp_;
|
||||
std::string updateType_;
|
||||
std::string allowedListType_;
|
||||
std::string description_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEALLOWEDIPREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpdateInstanceConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpdateInstanceConfigRequest();
|
||||
~UpdateInstanceConfigRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getConfig()const;
|
||||
void setConfig(const std::string& config);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string config_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpdateInstanceConfigRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpdateInstanceConfigRequest();
|
||||
~UpdateInstanceConfigRequest();
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getConfig() const;
|
||||
void setConfig(const std::string &config);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
std::string config_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPDATEINSTANCECONFIGREQUEST_H_
|
||||
|
||||
@@ -1,54 +1,48 @@
|
||||
/*
|
||||
* 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_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradeInstanceVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradeInstanceVersionRequest();
|
||||
~UpgradeInstanceVersionRequest();
|
||||
|
||||
std::string getTargetVersion()const;
|
||||
void setTargetVersion(const std::string& targetVersion);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
std::string targetVersion_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradeInstanceVersionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradeInstanceVersionRequest();
|
||||
~UpgradeInstanceVersionRequest();
|
||||
std::string getTargetVersion() const;
|
||||
void setTargetVersion(const std::string &targetVersion);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string targetVersion_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEINSTANCEVERSIONREQUEST_H_
|
||||
|
||||
@@ -1,69 +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_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradePostPayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradePostPayOrderRequest();
|
||||
~UpgradePostPayOrderRequest();
|
||||
|
||||
int getDiskSize()const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax()const;
|
||||
void setIoMax(int ioMax);
|
||||
std::string getIoMaxSpec()const;
|
||||
void setIoMaxSpec(const std::string& ioMaxSpec);
|
||||
int getTopicQuota()const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax()const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType()const;
|
||||
void setSpecType(const std::string& specType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
std::string ioMaxSpec_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradePostPayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradePostPayOrderRequest();
|
||||
~UpgradePostPayOrderRequest();
|
||||
int getDiskSize() const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax() const;
|
||||
void setIoMax(int ioMax);
|
||||
bool getEipModel() const;
|
||||
void setEipModel(bool eipModel);
|
||||
std::string getIoMaxSpec() const;
|
||||
void setIoMaxSpec(const std::string &ioMaxSpec);
|
||||
int getTopicQuota() const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax() const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType() const;
|
||||
void setSpecType(const std::string &specType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPartitionNum() const;
|
||||
void setPartitionNum(int partitionNum);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
bool eipModel_;
|
||||
std::string ioMaxSpec_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
int partitionNum_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPOSTPAYORDERREQUEST_H_
|
||||
|
||||
@@ -1,69 +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_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alikafka
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradePrePayOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
UpgradePrePayOrderRequest();
|
||||
~UpgradePrePayOrderRequest();
|
||||
|
||||
int getDiskSize()const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax()const;
|
||||
void setIoMax(int ioMax);
|
||||
std::string getIoMaxSpec()const;
|
||||
void setIoMaxSpec(const std::string& ioMaxSpec);
|
||||
int getTopicQuota()const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax()const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType()const;
|
||||
void setSpecType(const std::string& specType);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
std::string ioMaxSpec_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
|
||||
#include <alibabacloud/alikafka/AlikafkaExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Alikafka {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_ALIKAFKA_EXPORT UpgradePrePayOrderRequest : public RpcServiceRequest {
|
||||
public:
|
||||
UpgradePrePayOrderRequest();
|
||||
~UpgradePrePayOrderRequest();
|
||||
int getDiskSize() const;
|
||||
void setDiskSize(int diskSize);
|
||||
int getIoMax() const;
|
||||
void setIoMax(int ioMax);
|
||||
bool getEipModel() const;
|
||||
void setEipModel(bool eipModel);
|
||||
std::string getIoMaxSpec() const;
|
||||
void setIoMaxSpec(const std::string &ioMaxSpec);
|
||||
int getTopicQuota() const;
|
||||
void setTopicQuota(int topicQuota);
|
||||
int getEipMax() const;
|
||||
void setEipMax(int eipMax);
|
||||
std::string getSpecType() const;
|
||||
void setSpecType(const std::string &specType);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPartitionNum() const;
|
||||
void setPartitionNum(int partitionNum);
|
||||
|
||||
private:
|
||||
int diskSize_;
|
||||
int ioMax_;
|
||||
bool eipModel_;
|
||||
std::string ioMaxSpec_;
|
||||
int topicQuota_;
|
||||
int eipMax_;
|
||||
std::string specType_;
|
||||
std::string instanceId_;
|
||||
std::string regionId_;
|
||||
int partitionNum_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Alikafka
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_ALIKAFKA_MODEL_UPGRADEPREPAYORDERREQUEST_H_
|
||||
|
||||
@@ -51,6 +51,42 @@ AlikafkaClient::AlikafkaClient(const std::string & accessKeyId, const std::strin
|
||||
AlikafkaClient::~AlikafkaClient()
|
||||
{}
|
||||
|
||||
AlikafkaClient::ChangeResourceGroupOutcome AlikafkaClient::changeResourceGroup(const ChangeResourceGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ChangeResourceGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ChangeResourceGroupOutcome(ChangeResourceGroupResult(outcome.result()));
|
||||
else
|
||||
return ChangeResourceGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlikafkaClient::changeResourceGroupAsync(const ChangeResourceGroupRequest& request, const ChangeResourceGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, changeResourceGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlikafkaClient::ChangeResourceGroupOutcomeCallable AlikafkaClient::changeResourceGroupCallable(const ChangeResourceGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ChangeResourceGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->changeResourceGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::ConvertPostPayOrderOutcome AlikafkaClient::convertPostPayOrder(const ConvertPostPayOrderRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -519,42 +555,6 @@ AlikafkaClient::DescribeAclsOutcomeCallable AlikafkaClient::describeAclsCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::DescribeNodeStatusOutcome AlikafkaClient::describeNodeStatus(const DescribeNodeStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeNodeStatusOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeNodeStatusOutcome(DescribeNodeStatusResult(outcome.result()));
|
||||
else
|
||||
return DescribeNodeStatusOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlikafkaClient::describeNodeStatusAsync(const DescribeNodeStatusRequest& request, const DescribeNodeStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeNodeStatus(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlikafkaClient::DescribeNodeStatusOutcomeCallable AlikafkaClient::describeNodeStatusCallable(const DescribeNodeStatusRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeNodeStatusOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeNodeStatus(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::DescribeSaslUsersOutcome AlikafkaClient::describeSaslUsers(const DescribeSaslUsersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -591,6 +591,42 @@ AlikafkaClient::DescribeSaslUsersOutcomeCallable AlikafkaClient::describeSaslUse
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::GetAllInstanceIdListOutcome AlikafkaClient::getAllInstanceIdList(const GetAllInstanceIdListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetAllInstanceIdListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetAllInstanceIdListOutcome(GetAllInstanceIdListResult(outcome.result()));
|
||||
else
|
||||
return GetAllInstanceIdListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlikafkaClient::getAllInstanceIdListAsync(const GetAllInstanceIdListRequest& request, const GetAllInstanceIdListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getAllInstanceIdList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlikafkaClient::GetAllInstanceIdListOutcomeCallable AlikafkaClient::getAllInstanceIdListCallable(const GetAllInstanceIdListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetAllInstanceIdListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getAllInstanceIdList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::GetAllowedIpListOutcome AlikafkaClient::getAllowedIpList(const GetAllowedIpListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,36 +771,36 @@ AlikafkaClient::GetInstanceListOutcomeCallable AlikafkaClient::getInstanceListCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlikafkaClient::GetMetaProductListOutcome AlikafkaClient::getMetaProductList(const GetMetaProductListRequest &request) const
|
||||
AlikafkaClient::GetQuotaTipOutcome AlikafkaClient::getQuotaTip(const GetQuotaTipRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMetaProductListOutcome(endpointOutcome.error());
|
||||
return GetQuotaTipOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMetaProductListOutcome(GetMetaProductListResult(outcome.result()));
|
||||
return GetQuotaTipOutcome(GetQuotaTipResult(outcome.result()));
|
||||
else
|
||||
return GetMetaProductListOutcome(outcome.error());
|
||||
return GetQuotaTipOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlikafkaClient::getMetaProductListAsync(const GetMetaProductListRequest& request, const GetMetaProductListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void AlikafkaClient::getQuotaTipAsync(const GetQuotaTipRequest& request, const GetQuotaTipAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMetaProductList(request), context);
|
||||
handler(this, request, getQuotaTip(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlikafkaClient::GetMetaProductListOutcomeCallable AlikafkaClient::getMetaProductListCallable(const GetMetaProductListRequest &request) const
|
||||
AlikafkaClient::GetQuotaTipOutcomeCallable AlikafkaClient::getQuotaTipCallable(const GetQuotaTipRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMetaProductListOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<GetQuotaTipOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMetaProductList(request);
|
||||
return this->getQuotaTip(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
|
||||
54
alikafka/src/model/ChangeResourceGroupRequest.cc
Normal file
54
alikafka/src/model/ChangeResourceGroupRequest.cc
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* 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/alikafka/model/ChangeResourceGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ChangeResourceGroupRequest;
|
||||
|
||||
ChangeResourceGroupRequest::ChangeResourceGroupRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "ChangeResourceGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ChangeResourceGroupRequest::~ChangeResourceGroupRequest() {}
|
||||
|
||||
std::string ChangeResourceGroupRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
void ChangeResourceGroupRequest::setResourceId(const std::string &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
setParameter(std::string("ResourceId"), resourceId);
|
||||
}
|
||||
|
||||
std::string ChangeResourceGroupRequest::getNewResourceGroupId() const {
|
||||
return newResourceGroupId_;
|
||||
}
|
||||
|
||||
void ChangeResourceGroupRequest::setNewResourceGroupId(const std::string &newResourceGroupId) {
|
||||
newResourceGroupId_ = newResourceGroupId;
|
||||
setParameter(std::string("NewResourceGroupId"), newResourceGroupId);
|
||||
}
|
||||
|
||||
std::string ChangeResourceGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ChangeResourceGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
72
alikafka/src/model/ChangeResourceGroupResult.cc
Normal file
72
alikafka/src/model/ChangeResourceGroupResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ChangeResourceGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alikafka;
|
||||
using namespace AlibabaCloud::Alikafka::Model;
|
||||
|
||||
ChangeResourceGroupResult::ChangeResourceGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ChangeResourceGroupResult::ChangeResourceGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ChangeResourceGroupResult::~ChangeResourceGroupResult()
|
||||
{}
|
||||
|
||||
void ChangeResourceGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = std::stol(value["Success"].asString());
|
||||
if(!value["NewResourceGroupId"].isNull())
|
||||
newResourceGroupId_ = value["NewResourceGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ChangeResourceGroupResult::getNewResourceGroupId()const
|
||||
{
|
||||
return newResourceGroupId_;
|
||||
}
|
||||
|
||||
std::string ChangeResourceGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ChangeResourceGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
long ChangeResourceGroupResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* 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/alikafka/model/ConvertPostPayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ConvertPostPayOrderRequest;
|
||||
|
||||
ConvertPostPayOrderRequest::ConvertPostPayOrderRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "ConvertPostPayOrder")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ConvertPostPayOrderRequest::~ConvertPostPayOrderRequest()
|
||||
{}
|
||||
|
||||
int ConvertPostPayOrderRequest::getDuration()const
|
||||
{
|
||||
return duration_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ConvertPostPayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ConvertPostPayOrderRequest;
|
||||
|
||||
ConvertPostPayOrderRequest::ConvertPostPayOrderRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "ConvertPostPayOrder") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ConvertPostPayOrderRequest::setDuration(int duration)
|
||||
{
|
||||
duration_ = duration;
|
||||
setParameter("Duration", std::to_string(duration));
|
||||
ConvertPostPayOrderRequest::~ConvertPostPayOrderRequest() {}
|
||||
|
||||
int ConvertPostPayOrderRequest::getDuration() const {
|
||||
return duration_;
|
||||
}
|
||||
|
||||
std::string ConvertPostPayOrderRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void ConvertPostPayOrderRequest::setDuration(int duration) {
|
||||
duration_ = duration;
|
||||
setParameter(std::string("Duration"), std::to_string(duration));
|
||||
}
|
||||
|
||||
void ConvertPostPayOrderRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string ConvertPostPayOrderRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string ConvertPostPayOrderRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void ConvertPostPayOrderRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void ConvertPostPayOrderRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string ConvertPostPayOrderRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ConvertPostPayOrderRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void ConvertPostPayOrderResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
|
||||
@@ -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/alikafka/model/CreateAclRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateAclRequest;
|
||||
|
||||
CreateAclRequest::CreateAclRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreateAcl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateAclRequest::~CreateAclRequest()
|
||||
{}
|
||||
|
||||
std::string CreateAclRequest::getAclResourcePatternType()const
|
||||
{
|
||||
return aclResourcePatternType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateAclRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateAclRequest;
|
||||
|
||||
CreateAclRequest::CreateAclRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreateAcl") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setAclResourcePatternType(const std::string& aclResourcePatternType)
|
||||
{
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter("AclResourcePatternType", aclResourcePatternType);
|
||||
CreateAclRequest::~CreateAclRequest() {}
|
||||
|
||||
std::string CreateAclRequest::getAclResourcePatternType() const {
|
||||
return aclResourcePatternType_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getAclResourceType()const
|
||||
{
|
||||
return aclResourceType_;
|
||||
void CreateAclRequest::setAclResourcePatternType(const std::string &aclResourcePatternType) {
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter(std::string("AclResourcePatternType"), aclResourcePatternType);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setAclResourceType(const std::string& aclResourceType)
|
||||
{
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter("AclResourceType", aclResourceType);
|
||||
std::string CreateAclRequest::getAclResourceType() const {
|
||||
return aclResourceType_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getAclOperationType()const
|
||||
{
|
||||
return aclOperationType_;
|
||||
void CreateAclRequest::setAclResourceType(const std::string &aclResourceType) {
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter(std::string("AclResourceType"), aclResourceType);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setAclOperationType(const std::string& aclOperationType)
|
||||
{
|
||||
aclOperationType_ = aclOperationType;
|
||||
setParameter("AclOperationType", aclOperationType);
|
||||
std::string CreateAclRequest::getAclOperationType() const {
|
||||
return aclOperationType_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getAclResourceName()const
|
||||
{
|
||||
return aclResourceName_;
|
||||
void CreateAclRequest::setAclOperationType(const std::string &aclOperationType) {
|
||||
aclOperationType_ = aclOperationType;
|
||||
setParameter(std::string("AclOperationType"), aclOperationType);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setAclResourceName(const std::string& aclResourceName)
|
||||
{
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter("AclResourceName", aclResourceName);
|
||||
std::string CreateAclRequest::getAclResourceName() const {
|
||||
return aclResourceName_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CreateAclRequest::setAclResourceName(const std::string &aclResourceName) {
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter(std::string("AclResourceName"), aclResourceName);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string CreateAclRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateAclRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string CreateAclRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string CreateAclRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void CreateAclRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreateAclRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string CreateAclRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void CreateAclRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreateAclResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,77 @@
|
||||
/*
|
||||
* 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/alikafka/model/CreateConsumerGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateConsumerGroupRequest;
|
||||
|
||||
CreateConsumerGroupRequest::CreateConsumerGroupRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreateConsumerGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateConsumerGroupRequest::~CreateConsumerGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getConsumerId()const
|
||||
{
|
||||
return consumerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateConsumerGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateConsumerGroupRequest;
|
||||
|
||||
CreateConsumerGroupRequest::CreateConsumerGroupRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreateConsumerGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setConsumerId(const std::string& consumerId)
|
||||
{
|
||||
consumerId_ = consumerId;
|
||||
setParameter("ConsumerId", consumerId);
|
||||
CreateConsumerGroupRequest::~CreateConsumerGroupRequest() {}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getConsumerId() const {
|
||||
return consumerId_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
void CreateConsumerGroupRequest::setConsumerId(const std::string &consumerId) {
|
||||
consumerId_ = consumerId;
|
||||
setParameter(std::string("ConsumerId"), consumerId);
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
std::string CreateConsumerGroupRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CreateConsumerGroupRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string CreateConsumerGroupRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string CreateConsumerGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateConsumerGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string CreateConsumerGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::vector<CreateConsumerGroupRequest::Tag> CreateConsumerGroupRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateConsumerGroupRequest::setTag(const std::vector<CreateConsumerGroupRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreateConsumerGroupResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,139 +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/alikafka/model/CreatePostPayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreatePostPayOrderRequest;
|
||||
|
||||
CreatePostPayOrderRequest::CreatePostPayOrderRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreatePostPayOrder")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreatePostPayOrderRequest::~CreatePostPayOrderRequest()
|
||||
{}
|
||||
|
||||
int CreatePostPayOrderRequest::getPaidType()const
|
||||
{
|
||||
return paidType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreatePostPayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreatePostPayOrderRequest;
|
||||
|
||||
CreatePostPayOrderRequest::CreatePostPayOrderRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreatePostPayOrder") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setPaidType(int paidType)
|
||||
{
|
||||
paidType_ = paidType;
|
||||
setParameter("PaidType", std::to_string(paidType));
|
||||
CreatePostPayOrderRequest::~CreatePostPayOrderRequest() {}
|
||||
|
||||
int CreatePostPayOrderRequest::getIoMax() const {
|
||||
return ioMax_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getDiskSize()const
|
||||
{
|
||||
return diskSize_;
|
||||
void CreatePostPayOrderRequest::setIoMax(int ioMax) {
|
||||
ioMax_ = ioMax;
|
||||
setParameter(std::string("IoMax"), std::to_string(ioMax));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDiskSize(int diskSize)
|
||||
{
|
||||
diskSize_ = diskSize;
|
||||
setParameter("DiskSize", std::to_string(diskSize));
|
||||
int CreatePostPayOrderRequest::getEipMax() const {
|
||||
return eipMax_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getIoMax()const
|
||||
{
|
||||
return ioMax_;
|
||||
void CreatePostPayOrderRequest::setEipMax(int eipMax) {
|
||||
eipMax_ = eipMax;
|
||||
setParameter(std::string("EipMax"), std::to_string(eipMax));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setIoMax(int ioMax)
|
||||
{
|
||||
ioMax_ = ioMax;
|
||||
setParameter("IoMax", std::to_string(ioMax));
|
||||
std::string CreatePostPayOrderRequest::getSpecType() const {
|
||||
return specType_;
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getIoMaxSpec()const
|
||||
{
|
||||
return ioMaxSpec_;
|
||||
void CreatePostPayOrderRequest::setSpecType(const std::string &specType) {
|
||||
specType_ = specType;
|
||||
setParameter(std::string("SpecType"), specType);
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setIoMaxSpec(const std::string& ioMaxSpec)
|
||||
{
|
||||
ioMaxSpec_ = ioMaxSpec;
|
||||
setParameter("IoMaxSpec", ioMaxSpec);
|
||||
std::string CreatePostPayOrderRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getDiskType()const
|
||||
{
|
||||
return diskType_;
|
||||
void CreatePostPayOrderRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDiskType(const std::string& diskType)
|
||||
{
|
||||
diskType_ = diskType;
|
||||
setParameter("DiskType", diskType);
|
||||
std::string CreatePostPayOrderRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getTopicQuota()const
|
||||
{
|
||||
return topicQuota_;
|
||||
void CreatePostPayOrderRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setTopicQuota(int topicQuota)
|
||||
{
|
||||
topicQuota_ = topicQuota;
|
||||
setParameter("TopicQuota", std::to_string(topicQuota));
|
||||
std::vector<CreatePostPayOrderRequest::Tag> CreatePostPayOrderRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getEipMax()const
|
||||
{
|
||||
return eipMax_;
|
||||
void CreatePostPayOrderRequest::setTag(const std::vector<CreatePostPayOrderRequest::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 CreatePostPayOrderRequest::setEipMax(int eipMax)
|
||||
{
|
||||
eipMax_ = eipMax;
|
||||
setParameter("EipMax", std::to_string(eipMax));
|
||||
int CreatePostPayOrderRequest::getPartitionNum() const {
|
||||
return partitionNum_;
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getSpecType()const
|
||||
{
|
||||
return specType_;
|
||||
void CreatePostPayOrderRequest::setPartitionNum(int partitionNum) {
|
||||
partitionNum_ = partitionNum;
|
||||
setParameter(std::string("PartitionNum"), std::to_string(partitionNum));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setSpecType(const std::string& specType)
|
||||
{
|
||||
specType_ = specType;
|
||||
setParameter("SpecType", specType);
|
||||
int CreatePostPayOrderRequest::getPaidType() const {
|
||||
return paidType_;
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreatePostPayOrderRequest::setPaidType(int paidType) {
|
||||
paidType_ = paidType;
|
||||
setParameter(std::string("PaidType"), std::to_string(paidType));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
int CreatePostPayOrderRequest::getDiskSize() const {
|
||||
return diskSize_;
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getDeployType()const
|
||||
{
|
||||
return deployType_;
|
||||
void CreatePostPayOrderRequest::setDiskSize(int diskSize) {
|
||||
diskSize_ = diskSize;
|
||||
setParameter(std::string("DiskSize"), std::to_string(diskSize));
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDeployType(int deployType)
|
||||
{
|
||||
deployType_ = deployType;
|
||||
setParameter("DeployType", std::to_string(deployType));
|
||||
std::string CreatePostPayOrderRequest::getIoMaxSpec() const {
|
||||
return ioMaxSpec_;
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setIoMaxSpec(const std::string &ioMaxSpec) {
|
||||
ioMaxSpec_ = ioMaxSpec;
|
||||
setParameter(std::string("IoMaxSpec"), ioMaxSpec);
|
||||
}
|
||||
|
||||
std::string CreatePostPayOrderRequest::getDiskType() const {
|
||||
return diskType_;
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDiskType(const std::string &diskType) {
|
||||
diskType_ = diskType;
|
||||
setParameter(std::string("DiskType"), diskType);
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getTopicQuota() const {
|
||||
return topicQuota_;
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setTopicQuota(int topicQuota) {
|
||||
topicQuota_ = topicQuota;
|
||||
setParameter(std::string("TopicQuota"), std::to_string(topicQuota));
|
||||
}
|
||||
|
||||
int CreatePostPayOrderRequest::getDeployType() const {
|
||||
return deployType_;
|
||||
}
|
||||
|
||||
void CreatePostPayOrderRequest::setDeployType(int deployType) {
|
||||
deployType_ = deployType;
|
||||
setParameter(std::string("DeployType"), std::to_string(deployType));
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreatePostPayOrderResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
|
||||
@@ -1,128 +1,140 @@
|
||||
/*
|
||||
* 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/alikafka/model/CreatePrePayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreatePrePayOrderRequest;
|
||||
|
||||
CreatePrePayOrderRequest::CreatePrePayOrderRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreatePrePayOrder")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreatePrePayOrderRequest::~CreatePrePayOrderRequest()
|
||||
{}
|
||||
|
||||
int CreatePrePayOrderRequest::getDiskSize()const
|
||||
{
|
||||
return diskSize_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreatePrePayOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreatePrePayOrderRequest;
|
||||
|
||||
CreatePrePayOrderRequest::CreatePrePayOrderRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreatePrePayOrder") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDiskSize(int diskSize)
|
||||
{
|
||||
diskSize_ = diskSize;
|
||||
setParameter("DiskSize", std::to_string(diskSize));
|
||||
CreatePrePayOrderRequest::~CreatePrePayOrderRequest() {}
|
||||
|
||||
int CreatePrePayOrderRequest::getIoMax() const {
|
||||
return ioMax_;
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getIoMax()const
|
||||
{
|
||||
return ioMax_;
|
||||
void CreatePrePayOrderRequest::setIoMax(int ioMax) {
|
||||
ioMax_ = ioMax;
|
||||
setParameter(std::string("IoMax"), std::to_string(ioMax));
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setIoMax(int ioMax)
|
||||
{
|
||||
ioMax_ = ioMax;
|
||||
setParameter("IoMax", std::to_string(ioMax));
|
||||
int CreatePrePayOrderRequest::getEipMax() const {
|
||||
return eipMax_;
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getIoMaxSpec()const
|
||||
{
|
||||
return ioMaxSpec_;
|
||||
void CreatePrePayOrderRequest::setEipMax(int eipMax) {
|
||||
eipMax_ = eipMax;
|
||||
setParameter(std::string("EipMax"), std::to_string(eipMax));
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setIoMaxSpec(const std::string& ioMaxSpec)
|
||||
{
|
||||
ioMaxSpec_ = ioMaxSpec;
|
||||
setParameter("IoMaxSpec", ioMaxSpec);
|
||||
std::string CreatePrePayOrderRequest::getSpecType() const {
|
||||
return specType_;
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getDiskType()const
|
||||
{
|
||||
return diskType_;
|
||||
void CreatePrePayOrderRequest::setSpecType(const std::string &specType) {
|
||||
specType_ = specType;
|
||||
setParameter(std::string("SpecType"), specType);
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDiskType(const std::string& diskType)
|
||||
{
|
||||
diskType_ = diskType;
|
||||
setParameter("DiskType", diskType);
|
||||
std::string CreatePrePayOrderRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getTopicQuota()const
|
||||
{
|
||||
return topicQuota_;
|
||||
void CreatePrePayOrderRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setTopicQuota(int topicQuota)
|
||||
{
|
||||
topicQuota_ = topicQuota;
|
||||
setParameter("TopicQuota", std::to_string(topicQuota));
|
||||
std::string CreatePrePayOrderRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getEipMax()const
|
||||
{
|
||||
return eipMax_;
|
||||
void CreatePrePayOrderRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setEipMax(int eipMax)
|
||||
{
|
||||
eipMax_ = eipMax;
|
||||
setParameter("EipMax", std::to_string(eipMax));
|
||||
std::vector<CreatePrePayOrderRequest::Tag> CreatePrePayOrderRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getSpecType()const
|
||||
{
|
||||
return specType_;
|
||||
void CreatePrePayOrderRequest::setTag(const std::vector<CreatePrePayOrderRequest::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 CreatePrePayOrderRequest::setSpecType(const std::string& specType)
|
||||
{
|
||||
specType_ = specType;
|
||||
setParameter("SpecType", specType);
|
||||
int CreatePrePayOrderRequest::getPartitionNum() const {
|
||||
return partitionNum_;
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreatePrePayOrderRequest::setPartitionNum(int partitionNum) {
|
||||
partitionNum_ = partitionNum;
|
||||
setParameter(std::string("PartitionNum"), std::to_string(partitionNum));
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
int CreatePrePayOrderRequest::getDiskSize() const {
|
||||
return diskSize_;
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getDeployType()const
|
||||
{
|
||||
return deployType_;
|
||||
void CreatePrePayOrderRequest::setDiskSize(int diskSize) {
|
||||
diskSize_ = diskSize;
|
||||
setParameter(std::string("DiskSize"), std::to_string(diskSize));
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDeployType(int deployType)
|
||||
{
|
||||
deployType_ = deployType;
|
||||
setParameter("DeployType", std::to_string(deployType));
|
||||
std::string CreatePrePayOrderRequest::getIoMaxSpec() const {
|
||||
return ioMaxSpec_;
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setIoMaxSpec(const std::string &ioMaxSpec) {
|
||||
ioMaxSpec_ = ioMaxSpec;
|
||||
setParameter(std::string("IoMaxSpec"), ioMaxSpec);
|
||||
}
|
||||
|
||||
std::string CreatePrePayOrderRequest::getDiskType() const {
|
||||
return diskType_;
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDiskType(const std::string &diskType) {
|
||||
diskType_ = diskType;
|
||||
setParameter(std::string("DiskType"), diskType);
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getTopicQuota() const {
|
||||
return topicQuota_;
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setTopicQuota(int topicQuota) {
|
||||
topicQuota_ = topicQuota;
|
||||
setParameter(std::string("TopicQuota"), std::to_string(topicQuota));
|
||||
}
|
||||
|
||||
int CreatePrePayOrderRequest::getDeployType() const {
|
||||
return deployType_;
|
||||
}
|
||||
|
||||
void CreatePrePayOrderRequest::setDeployType(int deployType) {
|
||||
deployType_ = deployType;
|
||||
setParameter(std::string("DeployType"), std::to_string(deployType));
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreatePrePayOrderResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateSaslUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateSaslUserRequest;
|
||||
|
||||
CreateSaslUserRequest::CreateSaslUserRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreateSaslUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateSaslUserRequest::~CreateSaslUserRequest()
|
||||
{}
|
||||
|
||||
std::string CreateSaslUserRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateSaslUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateSaslUserRequest;
|
||||
|
||||
CreateSaslUserRequest::CreateSaslUserRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreateSaslUser") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
CreateSaslUserRequest::~CreateSaslUserRequest() {}
|
||||
|
||||
std::string CreateSaslUserRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string CreateSaslUserRequest::getPassword()const
|
||||
{
|
||||
return password_;
|
||||
void CreateSaslUserRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setPassword(const std::string& password)
|
||||
{
|
||||
password_ = password;
|
||||
setParameter("Password", password);
|
||||
std::string CreateSaslUserRequest::getPassword() const {
|
||||
return password_;
|
||||
}
|
||||
|
||||
std::string CreateSaslUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CreateSaslUserRequest::setPassword(const std::string &password) {
|
||||
password_ = password;
|
||||
setParameter(std::string("Password"), password);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string CreateSaslUserRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string CreateSaslUserRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateSaslUserRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string CreateSaslUserRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string CreateSaslUserRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void CreateSaslUserRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string CreateSaslUserRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void CreateSaslUserRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreateSaslUserResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,131 @@
|
||||
/*
|
||||
* 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/alikafka/model/CreateTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateTopicRequest;
|
||||
|
||||
CreateTopicRequest::CreateTopicRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "CreateTopic")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateTopicRequest::~CreateTopicRequest()
|
||||
{}
|
||||
|
||||
std::string CreateTopicRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/CreateTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::CreateTopicRequest;
|
||||
|
||||
CreateTopicRequest::CreateTopicRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "CreateTopic") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setParameter("Remark", remark);
|
||||
CreateTopicRequest::~CreateTopicRequest() {}
|
||||
|
||||
std::string CreateTopicRequest::getRemark() const {
|
||||
return remark_;
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void CreateTopicRequest::setRemark(const std::string &remark) {
|
||||
remark_ = remark;
|
||||
setParameter(std::string("Remark"), remark);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
long CreateTopicRequest::getReplicationFactor() const {
|
||||
return replicationFactor_;
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void CreateTopicRequest::setReplicationFactor(long replicationFactor) {
|
||||
replicationFactor_ = replicationFactor;
|
||||
setParameter(std::string("ReplicationFactor"), std::to_string(replicationFactor));
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
long CreateTopicRequest::getMinInsyncReplicas() const {
|
||||
return minInsyncReplicas_;
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void CreateTopicRequest::setMinInsyncReplicas(long minInsyncReplicas) {
|
||||
minInsyncReplicas_ = minInsyncReplicas;
|
||||
setParameter(std::string("MinInsyncReplicas"), std::to_string(minInsyncReplicas));
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string CreateTopicRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
bool CreateTopicRequest::getCompactTopic()const
|
||||
{
|
||||
return compactTopic_;
|
||||
void CreateTopicRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setCompactTopic(bool compactTopic)
|
||||
{
|
||||
compactTopic_ = compactTopic;
|
||||
setParameter("CompactTopic", compactTopic ? "true" : "false");
|
||||
std::string CreateTopicRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getPartitionNum()const
|
||||
{
|
||||
return partitionNum_;
|
||||
void CreateTopicRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setPartitionNum(const std::string& partitionNum)
|
||||
{
|
||||
partitionNum_ = partitionNum;
|
||||
setParameter("PartitionNum", partitionNum);
|
||||
std::string CreateTopicRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
bool CreateTopicRequest::getLocalTopic()const
|
||||
{
|
||||
return localTopic_;
|
||||
void CreateTopicRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setLocalTopic(bool localTopic)
|
||||
{
|
||||
localTopic_ = localTopic;
|
||||
setParameter("LocalTopic", localTopic ? "true" : "false");
|
||||
bool CreateTopicRequest::getCompactTopic() const {
|
||||
return compactTopic_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setCompactTopic(bool compactTopic) {
|
||||
compactTopic_ = compactTopic;
|
||||
setParameter(std::string("CompactTopic"), compactTopic ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<CreateTopicRequest::Tag> CreateTopicRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setTag(const std::vector<CreateTopicRequest::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::string CreateTopicRequest::getPartitionNum() const {
|
||||
return partitionNum_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setPartitionNum(const std::string &partitionNum) {
|
||||
partitionNum_ = partitionNum;
|
||||
setParameter(std::string("PartitionNum"), partitionNum);
|
||||
}
|
||||
|
||||
std::string CreateTopicRequest::getConfig() const {
|
||||
return config_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setConfig(const std::string &config) {
|
||||
config_ = config;
|
||||
setParameter(std::string("Config"), config);
|
||||
}
|
||||
|
||||
bool CreateTopicRequest::getLocalTopic() const {
|
||||
return localTopic_;
|
||||
}
|
||||
|
||||
void CreateTopicRequest::setLocalTopic(bool localTopic) {
|
||||
localTopic_ = localTopic;
|
||||
setParameter(std::string("LocalTopic"), localTopic ? "true" : "false");
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void CreateTopicResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -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/alikafka/model/DeleteAclRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteAclRequest;
|
||||
|
||||
DeleteAclRequest::DeleteAclRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteAcl")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteAclRequest::~DeleteAclRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteAclRequest::getAclResourcePatternType()const
|
||||
{
|
||||
return aclResourcePatternType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteAclRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteAclRequest;
|
||||
|
||||
DeleteAclRequest::DeleteAclRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteAcl") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setAclResourcePatternType(const std::string& aclResourcePatternType)
|
||||
{
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter("AclResourcePatternType", aclResourcePatternType);
|
||||
DeleteAclRequest::~DeleteAclRequest() {}
|
||||
|
||||
std::string DeleteAclRequest::getAclResourcePatternType() const {
|
||||
return aclResourcePatternType_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getAclResourceType()const
|
||||
{
|
||||
return aclResourceType_;
|
||||
void DeleteAclRequest::setAclResourcePatternType(const std::string &aclResourcePatternType) {
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter(std::string("AclResourcePatternType"), aclResourcePatternType);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setAclResourceType(const std::string& aclResourceType)
|
||||
{
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter("AclResourceType", aclResourceType);
|
||||
std::string DeleteAclRequest::getAclResourceType() const {
|
||||
return aclResourceType_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getAclOperationType()const
|
||||
{
|
||||
return aclOperationType_;
|
||||
void DeleteAclRequest::setAclResourceType(const std::string &aclResourceType) {
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter(std::string("AclResourceType"), aclResourceType);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setAclOperationType(const std::string& aclOperationType)
|
||||
{
|
||||
aclOperationType_ = aclOperationType;
|
||||
setParameter("AclOperationType", aclOperationType);
|
||||
std::string DeleteAclRequest::getAclOperationType() const {
|
||||
return aclOperationType_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getAclResourceName()const
|
||||
{
|
||||
return aclResourceName_;
|
||||
void DeleteAclRequest::setAclOperationType(const std::string &aclOperationType) {
|
||||
aclOperationType_ = aclOperationType;
|
||||
setParameter(std::string("AclOperationType"), aclOperationType);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setAclResourceName(const std::string& aclResourceName)
|
||||
{
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter("AclResourceName", aclResourceName);
|
||||
std::string DeleteAclRequest::getAclResourceName() const {
|
||||
return aclResourceName_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DeleteAclRequest::setAclResourceName(const std::string &aclResourceName) {
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter(std::string("AclResourceName"), aclResourceName);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DeleteAclRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteAclRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteAclRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DeleteAclRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void DeleteAclRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string DeleteAclRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void DeleteAclRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteAclResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* 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/alikafka/model/DeleteConsumerGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteConsumerGroupRequest;
|
||||
|
||||
DeleteConsumerGroupRequest::DeleteConsumerGroupRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteConsumerGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteConsumerGroupRequest::~DeleteConsumerGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteConsumerGroupRequest::getConsumerId()const
|
||||
{
|
||||
return consumerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteConsumerGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteConsumerGroupRequest;
|
||||
|
||||
DeleteConsumerGroupRequest::DeleteConsumerGroupRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteConsumerGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteConsumerGroupRequest::setConsumerId(const std::string& consumerId)
|
||||
{
|
||||
consumerId_ = consumerId;
|
||||
setParameter("ConsumerId", consumerId);
|
||||
DeleteConsumerGroupRequest::~DeleteConsumerGroupRequest() {}
|
||||
|
||||
std::string DeleteConsumerGroupRequest::getConsumerId() const {
|
||||
return consumerId_;
|
||||
}
|
||||
|
||||
std::string DeleteConsumerGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DeleteConsumerGroupRequest::setConsumerId(const std::string &consumerId) {
|
||||
consumerId_ = consumerId;
|
||||
setParameter(std::string("ConsumerId"), consumerId);
|
||||
}
|
||||
|
||||
void DeleteConsumerGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DeleteConsumerGroupRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteConsumerGroupRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteConsumerGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteConsumerGroupRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteConsumerGroupRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteConsumerGroupRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteConsumerGroupResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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/alikafka/model/DeleteInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteInstanceRequest;
|
||||
|
||||
DeleteInstanceRequest::DeleteInstanceRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteInstance")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteInstanceRequest::~DeleteInstanceRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteInstanceRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteInstanceRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteInstanceRequest;
|
||||
|
||||
DeleteInstanceRequest::DeleteInstanceRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteInstance") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteInstanceRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DeleteInstanceRequest::~DeleteInstanceRequest() {}
|
||||
|
||||
std::string DeleteInstanceRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteInstanceRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteInstanceRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteInstanceRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DeleteInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteInstanceResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteSaslUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteSaslUserRequest;
|
||||
|
||||
DeleteSaslUserRequest::DeleteSaslUserRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteSaslUser")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSaslUserRequest::~DeleteSaslUserRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteSaslUserRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteSaslUserRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteSaslUserRequest;
|
||||
|
||||
DeleteSaslUserRequest::DeleteSaslUserRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteSaslUser") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
DeleteSaslUserRequest::~DeleteSaslUserRequest() {}
|
||||
|
||||
std::string DeleteSaslUserRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string DeleteSaslUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DeleteSaslUserRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DeleteSaslUserRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteSaslUserRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteSaslUserRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteSaslUserRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DeleteSaslUserRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void DeleteSaslUserRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string DeleteSaslUserRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void DeleteSaslUserRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteSaslUserResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* 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/alikafka/model/DeleteTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteTopicRequest;
|
||||
|
||||
DeleteTopicRequest::DeleteTopicRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DeleteTopic")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteTopicRequest::~DeleteTopicRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteTopicRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DeleteTopicRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DeleteTopicRequest;
|
||||
|
||||
DeleteTopicRequest::DeleteTopicRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DeleteTopic") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteTopicRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DeleteTopicRequest::~DeleteTopicRequest() {}
|
||||
|
||||
std::string DeleteTopicRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DeleteTopicRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DeleteTopicRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DeleteTopicRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DeleteTopicRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DeleteTopicRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void DeleteTopicRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void DeleteTopicRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string DeleteTopicRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void DeleteTopicRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void DeleteTopicResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* 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/alikafka/model/DescribeAclsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeAclsRequest;
|
||||
|
||||
DescribeAclsRequest::DescribeAclsRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DescribeAcls")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAclsRequest::~DescribeAclsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAclsRequest::getAclResourcePatternType()const
|
||||
{
|
||||
return aclResourcePatternType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeAclsRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeAclsRequest;
|
||||
|
||||
DescribeAclsRequest::DescribeAclsRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DescribeAcls") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setAclResourcePatternType(const std::string& aclResourcePatternType)
|
||||
{
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter("AclResourcePatternType", aclResourcePatternType);
|
||||
DescribeAclsRequest::~DescribeAclsRequest() {}
|
||||
|
||||
std::string DescribeAclsRequest::getAclResourcePatternType() const {
|
||||
return aclResourcePatternType_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getAclResourceType()const
|
||||
{
|
||||
return aclResourceType_;
|
||||
void DescribeAclsRequest::setAclResourcePatternType(const std::string &aclResourcePatternType) {
|
||||
aclResourcePatternType_ = aclResourcePatternType;
|
||||
setParameter(std::string("AclResourcePatternType"), aclResourcePatternType);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setAclResourceType(const std::string& aclResourceType)
|
||||
{
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter("AclResourceType", aclResourceType);
|
||||
std::string DescribeAclsRequest::getAclResourceType() const {
|
||||
return aclResourceType_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getAclResourceName()const
|
||||
{
|
||||
return aclResourceName_;
|
||||
void DescribeAclsRequest::setAclResourceType(const std::string &aclResourceType) {
|
||||
aclResourceType_ = aclResourceType;
|
||||
setParameter(std::string("AclResourceType"), aclResourceType);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setAclResourceName(const std::string& aclResourceName)
|
||||
{
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter("AclResourceName", aclResourceName);
|
||||
std::string DescribeAclsRequest::getAclResourceName() const {
|
||||
return aclResourceName_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void DescribeAclsRequest::setAclResourceName(const std::string &aclResourceName) {
|
||||
aclResourceName_ = aclResourceName;
|
||||
setParameter(std::string("AclResourceName"), aclResourceName);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string DescribeAclsRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DescribeAclsRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DescribeAclsRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string DescribeAclsRequest::getUsername()const
|
||||
{
|
||||
return username_;
|
||||
void DescribeAclsRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setUsername(const std::string& username)
|
||||
{
|
||||
username_ = username;
|
||||
setParameter("Username", username);
|
||||
std::string DescribeAclsRequest::getUsername() const {
|
||||
return username_;
|
||||
}
|
||||
|
||||
void DescribeAclsRequest::setUsername(const std::string &username) {
|
||||
username_ = username;
|
||||
setParameter(std::string("Username"), username);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,26 +43,26 @@ void DescribeAclsResult::parse(const std::string &payload)
|
||||
for (auto valueKafkaAclListKafkaAclVO : allKafkaAclListNode)
|
||||
{
|
||||
KafkaAclVO kafkaAclListObject;
|
||||
if(!valueKafkaAclListKafkaAclVO["Username"].isNull())
|
||||
kafkaAclListObject.username = valueKafkaAclListKafkaAclVO["Username"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourceType"].isNull())
|
||||
kafkaAclListObject.aclResourceType = valueKafkaAclListKafkaAclVO["AclResourceType"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourceName"].isNull())
|
||||
kafkaAclListObject.aclResourceName = valueKafkaAclListKafkaAclVO["AclResourceName"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourcePatternType"].isNull())
|
||||
kafkaAclListObject.aclResourcePatternType = valueKafkaAclListKafkaAclVO["AclResourcePatternType"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["Host"].isNull())
|
||||
kafkaAclListObject.host = valueKafkaAclListKafkaAclVO["Host"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclOperationType"].isNull())
|
||||
kafkaAclListObject.aclOperationType = valueKafkaAclListKafkaAclVO["AclOperationType"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourceName"].isNull())
|
||||
kafkaAclListObject.aclResourceName = valueKafkaAclListKafkaAclVO["AclResourceName"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["AclResourcePatternType"].isNull())
|
||||
kafkaAclListObject.aclResourcePatternType = valueKafkaAclListKafkaAclVO["AclResourcePatternType"].asString();
|
||||
if(!valueKafkaAclListKafkaAclVO["Username"].isNull())
|
||||
kafkaAclListObject.username = valueKafkaAclListKafkaAclVO["Username"].asString();
|
||||
kafkaAclList_.push_back(kafkaAclListObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeNodeStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeNodeStatusRequest;
|
||||
|
||||
DescribeNodeStatusRequest::DescribeNodeStatusRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DescribeNodeStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeNodeStatusRequest::~DescribeNodeStatusRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeNodeStatusRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void DescribeNodeStatusRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string DescribeNodeStatusRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeNodeStatusRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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/alikafka/model/DescribeSaslUsersRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeSaslUsersRequest;
|
||||
|
||||
DescribeSaslUsersRequest::DescribeSaslUsersRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "DescribeSaslUsers")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeSaslUsersRequest::~DescribeSaslUsersRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeSaslUsersRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeSaslUsersRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::DescribeSaslUsersRequest;
|
||||
|
||||
DescribeSaslUsersRequest::DescribeSaslUsersRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "DescribeSaslUsers") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeSaslUsersRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
DescribeSaslUsersRequest::~DescribeSaslUsersRequest() {}
|
||||
|
||||
std::string DescribeSaslUsersRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string DescribeSaslUsersRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void DescribeSaslUsersRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void DescribeSaslUsersRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string DescribeSaslUsersRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeSaslUsersRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,20 +43,20 @@ void DescribeSaslUsersResult::parse(const std::string &payload)
|
||||
for (auto valueSaslUserListSaslUserVO : allSaslUserListNode)
|
||||
{
|
||||
SaslUserVO saslUserListObject;
|
||||
if(!valueSaslUserListSaslUserVO["Username"].isNull())
|
||||
saslUserListObject.username = valueSaslUserListSaslUserVO["Username"].asString();
|
||||
if(!valueSaslUserListSaslUserVO["Password"].isNull())
|
||||
saslUserListObject.password = valueSaslUserListSaslUserVO["Password"].asString();
|
||||
if(!valueSaslUserListSaslUserVO["Type"].isNull())
|
||||
saslUserListObject.type = valueSaslUserListSaslUserVO["Type"].asString();
|
||||
if(!valueSaslUserListSaslUserVO["Password"].isNull())
|
||||
saslUserListObject.password = valueSaslUserListSaslUserVO["Password"].asString();
|
||||
if(!valueSaslUserListSaslUserVO["Username"].isNull())
|
||||
saslUserListObject.username = valueSaslUserListSaslUserVO["Username"].asString();
|
||||
saslUserList_.push_back(saslUserListObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
36
alikafka/src/model/GetAllInstanceIdListRequest.cc
Normal file
36
alikafka/src/model/GetAllInstanceIdListRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* 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/alikafka/model/GetAllInstanceIdListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetAllInstanceIdListRequest;
|
||||
|
||||
GetAllInstanceIdListRequest::GetAllInstanceIdListRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "GetAllInstanceIdList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAllInstanceIdListRequest::~GetAllInstanceIdListRequest() {}
|
||||
|
||||
std::string GetAllInstanceIdListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetAllInstanceIdListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
@@ -14,59 +14,58 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/DescribeNodeStatusResult.h>
|
||||
#include <alibabacloud/alikafka/model/GetAllInstanceIdListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alikafka;
|
||||
using namespace AlibabaCloud::Alikafka::Model;
|
||||
|
||||
DescribeNodeStatusResult::DescribeNodeStatusResult() :
|
||||
GetAllInstanceIdListResult::GetAllInstanceIdListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeNodeStatusResult::DescribeNodeStatusResult(const std::string &payload) :
|
||||
GetAllInstanceIdListResult::GetAllInstanceIdListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeNodeStatusResult::~DescribeNodeStatusResult()
|
||||
GetAllInstanceIdListResult::~GetAllInstanceIdListResult()
|
||||
{}
|
||||
|
||||
void DescribeNodeStatusResult::parse(const std::string &payload)
|
||||
void GetAllInstanceIdListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allStatusList = value["StatusList"]["Status"];
|
||||
for (const auto &item : allStatusList)
|
||||
statusList_.push_back(item.asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["InstanceIds"].isNull())
|
||||
instanceIds_ = value["InstanceIds"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeNodeStatusResult::getMessage()const
|
||||
std::string GetAllInstanceIdListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DescribeNodeStatusResult::getStatusList()const
|
||||
std::string GetAllInstanceIdListResult::getInstanceIds()const
|
||||
{
|
||||
return statusList_;
|
||||
return instanceIds_;
|
||||
}
|
||||
|
||||
int DescribeNodeStatusResult::getCode()const
|
||||
int GetAllInstanceIdListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool DescribeNodeStatusResult::getSuccess()const
|
||||
bool GetAllInstanceIdListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* 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/alikafka/model/GetAllowedIpListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetAllowedIpListRequest;
|
||||
|
||||
GetAllowedIpListRequest::GetAllowedIpListRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "GetAllowedIpList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetAllowedIpListRequest::~GetAllowedIpListRequest()
|
||||
{}
|
||||
|
||||
std::string GetAllowedIpListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetAllowedIpListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetAllowedIpListRequest;
|
||||
|
||||
GetAllowedIpListRequest::GetAllowedIpListRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "GetAllowedIpList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetAllowedIpListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
GetAllowedIpListRequest::~GetAllowedIpListRequest() {}
|
||||
|
||||
std::string GetAllowedIpListRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string GetAllowedIpListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void GetAllowedIpListRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void GetAllowedIpListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string GetAllowedIpListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetAllowedIpListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,6 +48,8 @@ void GetAllowedIpListResult::parse(const std::string &payload)
|
||||
AllowedList::IPListVO iPListVOObject;
|
||||
if(!allowedListNodeVpcListIPListVO["PortRange"].isNull())
|
||||
iPListVOObject.portRange = allowedListNodeVpcListIPListVO["PortRange"].asString();
|
||||
if(!allowedListNodeVpcListIPListVO["AllowedIpGroup"].isNull())
|
||||
iPListVOObject.allowedIpGroup = allowedListNodeVpcListIPListVO["AllowedIpGroup"].asString();
|
||||
auto allAllowedIpList = value["AllowedIpList"]["IPVO"];
|
||||
for (auto value : allAllowedIpList)
|
||||
iPListVOObject.allowedIpList.push_back(value.asString());
|
||||
@@ -59,17 +61,19 @@ void GetAllowedIpListResult::parse(const std::string &payload)
|
||||
AllowedList::IPListVO iPListVOObject;
|
||||
if(!allowedListNodeInternetListIPListVO["PortRange"].isNull())
|
||||
iPListVOObject.portRange = allowedListNodeInternetListIPListVO["PortRange"].asString();
|
||||
if(!allowedListNodeInternetListIPListVO["AllowedIpGroup"].isNull())
|
||||
iPListVOObject.allowedIpGroup = allowedListNodeInternetListIPListVO["AllowedIpGroup"].asString();
|
||||
auto allAllowedIpList = value["AllowedIpList"]["IPVO"];
|
||||
for (auto value : allAllowedIpList)
|
||||
iPListVOObject.allowedIpList.push_back(value.asString());
|
||||
allowedList_.internetList.push_back(iPListVOObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetConsumerListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetConsumerListRequest;
|
||||
|
||||
GetConsumerListRequest::GetConsumerListRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "GetConsumerList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetConsumerListRequest::~GetConsumerListRequest()
|
||||
{}
|
||||
|
||||
int GetConsumerListRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetConsumerListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetConsumerListRequest;
|
||||
|
||||
GetConsumerListRequest::GetConsumerListRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "GetConsumerList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetConsumerListRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
GetConsumerListRequest::~GetConsumerListRequest() {}
|
||||
|
||||
std::string GetConsumerListRequest::getConsumerId() const {
|
||||
return consumerId_;
|
||||
}
|
||||
|
||||
std::string GetConsumerListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void GetConsumerListRequest::setConsumerId(const std::string &consumerId) {
|
||||
consumerId_ = consumerId;
|
||||
setParameter(std::string("ConsumerId"), consumerId);
|
||||
}
|
||||
|
||||
void GetConsumerListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
int GetConsumerListRequest::getCurrentPage() const {
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::string GetConsumerListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void GetConsumerListRequest::setCurrentPage(int currentPage) {
|
||||
currentPage_ = currentPage;
|
||||
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||
}
|
||||
|
||||
void GetConsumerListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string GetConsumerListRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
int GetConsumerListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void GetConsumerListRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void GetConsumerListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
std::string GetConsumerListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetConsumerListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
int GetConsumerListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetConsumerListRequest::setPageSize(int pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -43,14 +43,14 @@ void GetConsumerListResult::parse(const std::string &payload)
|
||||
for (auto valueConsumerListConsumerVO : allConsumerListNode)
|
||||
{
|
||||
ConsumerVO consumerListObject;
|
||||
if(!valueConsumerListConsumerVO["RegionId"].isNull())
|
||||
consumerListObject.regionId = valueConsumerListConsumerVO["RegionId"].asString();
|
||||
if(!valueConsumerListConsumerVO["InstanceId"].isNull())
|
||||
consumerListObject.instanceId = valueConsumerListConsumerVO["InstanceId"].asString();
|
||||
if(!valueConsumerListConsumerVO["ConsumerId"].isNull())
|
||||
consumerListObject.consumerId = valueConsumerListConsumerVO["ConsumerId"].asString();
|
||||
if(!valueConsumerListConsumerVO["InstanceId"].isNull())
|
||||
consumerListObject.instanceId = valueConsumerListConsumerVO["InstanceId"].asString();
|
||||
if(!valueConsumerListConsumerVO["Remark"].isNull())
|
||||
consumerListObject.remark = valueConsumerListConsumerVO["Remark"].asString();
|
||||
if(!valueConsumerListConsumerVO["RegionId"].isNull())
|
||||
consumerListObject.regionId = valueConsumerListConsumerVO["RegionId"].asString();
|
||||
auto allTagsNode = valueConsumerListConsumerVO["Tags"]["TagVO"];
|
||||
for (auto valueConsumerListConsumerVOTagsTagVO : allTagsNode)
|
||||
{
|
||||
@@ -63,12 +63,12 @@ void GetConsumerListResult::parse(const std::string &payload)
|
||||
}
|
||||
consumerList_.push_back(consumerListObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* 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/alikafka/model/GetConsumerProgressRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetConsumerProgressRequest;
|
||||
|
||||
GetConsumerProgressRequest::GetConsumerProgressRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "GetConsumerProgress")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetConsumerProgressRequest::~GetConsumerProgressRequest()
|
||||
{}
|
||||
|
||||
std::string GetConsumerProgressRequest::getConsumerId()const
|
||||
{
|
||||
return consumerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetConsumerProgressRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetConsumerProgressRequest;
|
||||
|
||||
GetConsumerProgressRequest::GetConsumerProgressRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "GetConsumerProgress") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetConsumerProgressRequest::setConsumerId(const std::string& consumerId)
|
||||
{
|
||||
consumerId_ = consumerId;
|
||||
setParameter("ConsumerId", consumerId);
|
||||
GetConsumerProgressRequest::~GetConsumerProgressRequest() {}
|
||||
|
||||
std::string GetConsumerProgressRequest::getConsumerId() const {
|
||||
return consumerId_;
|
||||
}
|
||||
|
||||
std::string GetConsumerProgressRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void GetConsumerProgressRequest::setConsumerId(const std::string &consumerId) {
|
||||
consumerId_ = consumerId;
|
||||
setParameter(std::string("ConsumerId"), consumerId);
|
||||
}
|
||||
|
||||
void GetConsumerProgressRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string GetConsumerProgressRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string GetConsumerProgressRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void GetConsumerProgressRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void GetConsumerProgressRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string GetConsumerProgressRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetConsumerProgressRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -40,42 +40,42 @@ void GetConsumerProgressResult::parse(const std::string &payload)
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto consumerProgressNode = value["ConsumerProgress"];
|
||||
if(!consumerProgressNode["TotalDiff"].isNull())
|
||||
consumerProgress_.totalDiff = std::stol(consumerProgressNode["TotalDiff"].asString());
|
||||
if(!consumerProgressNode["LastTimestamp"].isNull())
|
||||
consumerProgress_.lastTimestamp = std::stol(consumerProgressNode["LastTimestamp"].asString());
|
||||
if(!consumerProgressNode["TotalDiff"].isNull())
|
||||
consumerProgress_.totalDiff = std::stol(consumerProgressNode["TotalDiff"].asString());
|
||||
auto allTopicListNode = consumerProgressNode["TopicList"]["TopicListItem"];
|
||||
for (auto consumerProgressNodeTopicListTopicListItem : allTopicListNode)
|
||||
{
|
||||
ConsumerProgress::TopicListItem topicListItemObject;
|
||||
if(!consumerProgressNodeTopicListTopicListItem["Topic"].isNull())
|
||||
topicListItemObject.topic = consumerProgressNodeTopicListTopicListItem["Topic"].asString();
|
||||
if(!consumerProgressNodeTopicListTopicListItem["TotalDiff"].isNull())
|
||||
topicListItemObject.totalDiff = std::stol(consumerProgressNodeTopicListTopicListItem["TotalDiff"].asString());
|
||||
if(!consumerProgressNodeTopicListTopicListItem["LastTimestamp"].isNull())
|
||||
topicListItemObject.lastTimestamp = std::stol(consumerProgressNodeTopicListTopicListItem["LastTimestamp"].asString());
|
||||
if(!consumerProgressNodeTopicListTopicListItem["Topic"].isNull())
|
||||
topicListItemObject.topic = consumerProgressNodeTopicListTopicListItem["Topic"].asString();
|
||||
auto allOffsetListNode = consumerProgressNodeTopicListTopicListItem["OffsetList"]["OffsetListItem"];
|
||||
for (auto consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem : allOffsetListNode)
|
||||
{
|
||||
ConsumerProgress::TopicListItem::OffsetListItem offsetListObject;
|
||||
if(!consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["Partition"].isNull())
|
||||
offsetListObject.partition = std::stoi(consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["Partition"].asString());
|
||||
if(!consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["BrokerOffset"].isNull())
|
||||
offsetListObject.brokerOffset = std::stol(consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["BrokerOffset"].asString());
|
||||
if(!consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["ConsumerOffset"].isNull())
|
||||
offsetListObject.consumerOffset = std::stol(consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["ConsumerOffset"].asString());
|
||||
if(!consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["LastTimestamp"].isNull())
|
||||
offsetListObject.lastTimestamp = std::stol(consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["LastTimestamp"].asString());
|
||||
if(!consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["Partition"].isNull())
|
||||
offsetListObject.partition = std::stoi(consumerProgressNodeTopicListTopicListItemOffsetListOffsetListItem["Partition"].asString());
|
||||
topicListItemObject.offsetList.push_back(offsetListObject);
|
||||
}
|
||||
consumerProgress_.topicList.push_back(topicListItemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,80 +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/alikafka/model/GetInstanceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetInstanceListRequest;
|
||||
|
||||
GetInstanceListRequest::GetInstanceListRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "GetInstanceList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetInstanceListRequest::~GetInstanceListRequest()
|
||||
{}
|
||||
|
||||
std::string GetInstanceListRequest::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetInstanceListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetInstanceListRequest;
|
||||
|
||||
GetInstanceListRequest::GetInstanceListRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "GetInstanceList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetInstanceListRequest::setOrderId(const std::string& orderId)
|
||||
{
|
||||
orderId_ = orderId;
|
||||
setParameter("OrderId", orderId);
|
||||
GetInstanceListRequest::~GetInstanceListRequest() {}
|
||||
|
||||
std::string GetInstanceListRequest::getOrderId() const {
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
std::vector<std::string> GetInstanceListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void GetInstanceListRequest::setOrderId(const std::string &orderId) {
|
||||
orderId_ = orderId;
|
||||
setParameter(std::string("OrderId"), orderId);
|
||||
}
|
||||
|
||||
void GetInstanceListRequest::setInstanceId(const std::vector<std::string>& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
for(int dep1 = 0; dep1!= instanceId.size(); dep1++) {
|
||||
setParameter("InstanceId."+ std::to_string(dep1), instanceId.at(dep1));
|
||||
}
|
||||
std::string GetInstanceListRequest::getResourceGroupId() const {
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
std::string GetInstanceListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void GetInstanceListRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||
}
|
||||
|
||||
void GetInstanceListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::vector<std::string> GetInstanceListRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::vector<GetInstanceListRequest::Tag> GetInstanceListRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
void GetInstanceListRequest::setInstanceId(const std::vector<std::string> &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
}
|
||||
|
||||
void GetInstanceListRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
std::string GetInstanceListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetInstanceListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
std::vector<GetInstanceListRequest::Tag> GetInstanceListRequest::getTag() const {
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void GetInstanceListRequest::setTag(const std::vector<GetInstanceListRequest::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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -43,50 +43,68 @@ void GetInstanceListResult::parse(const std::string &payload)
|
||||
for (auto valueInstanceListInstanceVO : allInstanceListNode)
|
||||
{
|
||||
InstanceVO instanceListObject;
|
||||
if(!valueInstanceListInstanceVO["InstanceId"].isNull())
|
||||
instanceListObject.instanceId = valueInstanceListInstanceVO["InstanceId"].asString();
|
||||
if(!valueInstanceListInstanceVO["RegionId"].isNull())
|
||||
instanceListObject.regionId = valueInstanceListInstanceVO["RegionId"].asString();
|
||||
if(!valueInstanceListInstanceVO["ServiceStatus"].isNull())
|
||||
instanceListObject.serviceStatus = std::stoi(valueInstanceListInstanceVO["ServiceStatus"].asString());
|
||||
if(!valueInstanceListInstanceVO["VpcId"].isNull())
|
||||
instanceListObject.vpcId = valueInstanceListInstanceVO["VpcId"].asString();
|
||||
if(!valueInstanceListInstanceVO["VSwitchId"].isNull())
|
||||
instanceListObject.vSwitchId = valueInstanceListInstanceVO["VSwitchId"].asString();
|
||||
if(!valueInstanceListInstanceVO["EndPoint"].isNull())
|
||||
instanceListObject.endPoint = valueInstanceListInstanceVO["EndPoint"].asString();
|
||||
if(!valueInstanceListInstanceVO["CreateTime"].isNull())
|
||||
instanceListObject.createTime = std::stol(valueInstanceListInstanceVO["CreateTime"].asString());
|
||||
if(!valueInstanceListInstanceVO["ExpiredTime"].isNull())
|
||||
instanceListObject.expiredTime = std::stol(valueInstanceListInstanceVO["ExpiredTime"].asString());
|
||||
if(!valueInstanceListInstanceVO["SpecType"].isNull())
|
||||
instanceListObject.specType = valueInstanceListInstanceVO["SpecType"].asString();
|
||||
if(!valueInstanceListInstanceVO["DeployType"].isNull())
|
||||
instanceListObject.deployType = std::stoi(valueInstanceListInstanceVO["DeployType"].asString());
|
||||
if(!valueInstanceListInstanceVO["SslEndPoint"].isNull())
|
||||
instanceListObject.sslEndPoint = valueInstanceListInstanceVO["SslEndPoint"].asString();
|
||||
if(!valueInstanceListInstanceVO["Name"].isNull())
|
||||
instanceListObject.name = valueInstanceListInstanceVO["Name"].asString();
|
||||
if(!valueInstanceListInstanceVO["IoMax"].isNull())
|
||||
instanceListObject.ioMax = std::stoi(valueInstanceListInstanceVO["IoMax"].asString());
|
||||
if(!valueInstanceListInstanceVO["EipMax"].isNull())
|
||||
instanceListObject.eipMax = std::stoi(valueInstanceListInstanceVO["EipMax"].asString());
|
||||
if(!valueInstanceListInstanceVO["DiskType"].isNull())
|
||||
instanceListObject.diskType = std::stoi(valueInstanceListInstanceVO["DiskType"].asString());
|
||||
if(!valueInstanceListInstanceVO["CreateTime"].isNull())
|
||||
instanceListObject.createTime = std::stol(valueInstanceListInstanceVO["CreateTime"].asString());
|
||||
if(!valueInstanceListInstanceVO["DiskSize"].isNull())
|
||||
instanceListObject.diskSize = std::stoi(valueInstanceListInstanceVO["DiskSize"].asString());
|
||||
if(!valueInstanceListInstanceVO["DiskType"].isNull())
|
||||
instanceListObject.diskType = std::stoi(valueInstanceListInstanceVO["DiskType"].asString());
|
||||
if(!valueInstanceListInstanceVO["SecurityGroup"].isNull())
|
||||
instanceListObject.securityGroup = valueInstanceListInstanceVO["SecurityGroup"].asString();
|
||||
if(!valueInstanceListInstanceVO["SslEndPoint"].isNull())
|
||||
instanceListObject.sslEndPoint = valueInstanceListInstanceVO["SslEndPoint"].asString();
|
||||
if(!valueInstanceListInstanceVO["InstanceId"].isNull())
|
||||
instanceListObject.instanceId = valueInstanceListInstanceVO["InstanceId"].asString();
|
||||
if(!valueInstanceListInstanceVO["AllConfig"].isNull())
|
||||
instanceListObject.allConfig = valueInstanceListInstanceVO["AllConfig"].asString();
|
||||
if(!valueInstanceListInstanceVO["ServiceStatus"].isNull())
|
||||
instanceListObject.serviceStatus = std::stoi(valueInstanceListInstanceVO["ServiceStatus"].asString());
|
||||
if(!valueInstanceListInstanceVO["EipMax"].isNull())
|
||||
instanceListObject.eipMax = std::stoi(valueInstanceListInstanceVO["EipMax"].asString());
|
||||
if(!valueInstanceListInstanceVO["RegionId"].isNull())
|
||||
instanceListObject.regionId = valueInstanceListInstanceVO["RegionId"].asString();
|
||||
if(!valueInstanceListInstanceVO["MsgRetain"].isNull())
|
||||
instanceListObject.msgRetain = std::stoi(valueInstanceListInstanceVO["MsgRetain"].asString());
|
||||
if(!valueInstanceListInstanceVO["VSwitchId"].isNull())
|
||||
instanceListObject.vSwitchId = valueInstanceListInstanceVO["VSwitchId"].asString();
|
||||
if(!valueInstanceListInstanceVO["ExpiredTime"].isNull())
|
||||
instanceListObject.expiredTime = std::stol(valueInstanceListInstanceVO["ExpiredTime"].asString());
|
||||
if(!valueInstanceListInstanceVO["TopicNumLimit"].isNull())
|
||||
instanceListObject.topicNumLimit = std::stoi(valueInstanceListInstanceVO["TopicNumLimit"].asString());
|
||||
if(!valueInstanceListInstanceVO["ZoneId"].isNull())
|
||||
instanceListObject.zoneId = valueInstanceListInstanceVO["ZoneId"].asString();
|
||||
if(!valueInstanceListInstanceVO["IoMax"].isNull())
|
||||
instanceListObject.ioMax = std::stoi(valueInstanceListInstanceVO["IoMax"].asString());
|
||||
if(!valueInstanceListInstanceVO["PaidType"].isNull())
|
||||
instanceListObject.paidType = std::stoi(valueInstanceListInstanceVO["PaidType"].asString());
|
||||
if(!valueInstanceListInstanceVO["SpecType"].isNull())
|
||||
instanceListObject.specType = valueInstanceListInstanceVO["SpecType"].asString();
|
||||
if(!valueInstanceListInstanceVO["SecurityGroup"].isNull())
|
||||
instanceListObject.securityGroup = valueInstanceListInstanceVO["SecurityGroup"].asString();
|
||||
if(!valueInstanceListInstanceVO["AllConfig"].isNull())
|
||||
instanceListObject.allConfig = valueInstanceListInstanceVO["AllConfig"].asString();
|
||||
if(!valueInstanceListInstanceVO["Name"].isNull())
|
||||
instanceListObject.name = valueInstanceListInstanceVO["Name"].asString();
|
||||
if(!valueInstanceListInstanceVO["EndPoint"].isNull())
|
||||
instanceListObject.endPoint = valueInstanceListInstanceVO["EndPoint"].asString();
|
||||
if(!valueInstanceListInstanceVO["DomainEndpoint"].isNull())
|
||||
instanceListObject.domainEndpoint = valueInstanceListInstanceVO["DomainEndpoint"].asString();
|
||||
if(!valueInstanceListInstanceVO["SslDomainEndpoint"].isNull())
|
||||
instanceListObject.sslDomainEndpoint = valueInstanceListInstanceVO["SslDomainEndpoint"].asString();
|
||||
if(!valueInstanceListInstanceVO["SaslDomainEndpoint"].isNull())
|
||||
instanceListObject.saslDomainEndpoint = valueInstanceListInstanceVO["SaslDomainEndpoint"].asString();
|
||||
if(!valueInstanceListInstanceVO["ResourceGroupId"].isNull())
|
||||
instanceListObject.resourceGroupId = valueInstanceListInstanceVO["ResourceGroupId"].asString();
|
||||
if(!valueInstanceListInstanceVO["UsedTopicCount"].isNull())
|
||||
instanceListObject.usedTopicCount = std::stoi(valueInstanceListInstanceVO["UsedTopicCount"].asString());
|
||||
if(!valueInstanceListInstanceVO["UsedGroupCount"].isNull())
|
||||
instanceListObject.usedGroupCount = std::stoi(valueInstanceListInstanceVO["UsedGroupCount"].asString());
|
||||
if(!valueInstanceListInstanceVO["UsedPartitionCount"].isNull())
|
||||
instanceListObject.usedPartitionCount = std::stoi(valueInstanceListInstanceVO["UsedPartitionCount"].asString());
|
||||
if(!valueInstanceListInstanceVO["KmsKeyId"].isNull())
|
||||
instanceListObject.kmsKeyId = valueInstanceListInstanceVO["KmsKeyId"].asString();
|
||||
if(!valueInstanceListInstanceVO["StandardZoneId"].isNull())
|
||||
instanceListObject.standardZoneId = valueInstanceListInstanceVO["StandardZoneId"].asString();
|
||||
auto allTagsNode = valueInstanceListInstanceVO["Tags"]["TagVO"];
|
||||
for (auto valueInstanceListInstanceVOTagsTagVO : allTagsNode)
|
||||
{
|
||||
@@ -102,12 +120,12 @@ void GetInstanceListResult::parse(const std::string &payload)
|
||||
instanceListObject.upgradeServiceDetailInfo.current2OpenSourceVersion = upgradeServiceDetailInfoNode["Current2OpenSourceVersion"].asString();
|
||||
instanceList_.push_back(instanceListObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetMetaProductListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetMetaProductListRequest;
|
||||
|
||||
GetMetaProductListRequest::GetMetaProductListRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "GetMetaProductList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetMetaProductListRequest::~GetMetaProductListRequest()
|
||||
{}
|
||||
|
||||
std::string GetMetaProductListRequest::getListNormal()const
|
||||
{
|
||||
return listNormal_;
|
||||
}
|
||||
|
||||
void GetMetaProductListRequest::setListNormal(const std::string& listNormal)
|
||||
{
|
||||
listNormal_ = listNormal;
|
||||
setParameter("ListNormal", listNormal);
|
||||
}
|
||||
|
||||
std::string GetMetaProductListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetMetaProductListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
@@ -1,113 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetMetaProductListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alikafka;
|
||||
using namespace AlibabaCloud::Alikafka::Model;
|
||||
|
||||
GetMetaProductListResult::GetMetaProductListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetMetaProductListResult::GetMetaProductListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetMetaProductListResult::~GetMetaProductListResult()
|
||||
{}
|
||||
|
||||
void GetMetaProductListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto metaDataNode = value["MetaData"];
|
||||
if(!metaDataNode["Names"].isNull())
|
||||
metaData_.names = metaDataNode["Names"].asString();
|
||||
auto allProductsNormalNode = metaDataNode["ProductsNormal"]["SpecVO"];
|
||||
for (auto metaDataNodeProductsNormalSpecVO : allProductsNormalNode)
|
||||
{
|
||||
MetaData::SpecVO specVOObject;
|
||||
if(!metaDataNodeProductsNormalSpecVO["RegionId"].isNull())
|
||||
specVOObject.regionId = metaDataNodeProductsNormalSpecVO["RegionId"].asString();
|
||||
if(!metaDataNodeProductsNormalSpecVO["SpecType"].isNull())
|
||||
specVOObject.specType = metaDataNodeProductsNormalSpecVO["SpecType"].asString();
|
||||
if(!metaDataNodeProductsNormalSpecVO["IoMax"].isNull())
|
||||
specVOObject.ioMax = std::stol(metaDataNodeProductsNormalSpecVO["IoMax"].asString());
|
||||
if(!metaDataNodeProductsNormalSpecVO["DiskType"].isNull())
|
||||
specVOObject.diskType = metaDataNodeProductsNormalSpecVO["DiskType"].asString();
|
||||
if(!metaDataNodeProductsNormalSpecVO["DiskSize"].isNull())
|
||||
specVOObject.diskSize = metaDataNodeProductsNormalSpecVO["DiskSize"].asString();
|
||||
if(!metaDataNodeProductsNormalSpecVO["TopicQuota"].isNull())
|
||||
specVOObject.topicQuota = metaDataNodeProductsNormalSpecVO["TopicQuota"].asString();
|
||||
if(!metaDataNodeProductsNormalSpecVO["DeployType"].isNull())
|
||||
specVOObject.deployType = metaDataNodeProductsNormalSpecVO["DeployType"].asString();
|
||||
metaData_.productsNormal.push_back(specVOObject);
|
||||
}
|
||||
auto allProductsProfessionalNode = metaDataNode["ProductsProfessional"]["SpecVO"];
|
||||
for (auto metaDataNodeProductsProfessionalSpecVO : allProductsProfessionalNode)
|
||||
{
|
||||
MetaData::SpecVO specVOObject;
|
||||
if(!metaDataNodeProductsProfessionalSpecVO["RegionId"].isNull())
|
||||
specVOObject.regionId = metaDataNodeProductsProfessionalSpecVO["RegionId"].asString();
|
||||
if(!metaDataNodeProductsProfessionalSpecVO["SpecType"].isNull())
|
||||
specVOObject.specType = metaDataNodeProductsProfessionalSpecVO["SpecType"].asString();
|
||||
if(!metaDataNodeProductsProfessionalSpecVO["IoMax"].isNull())
|
||||
specVOObject.ioMax = std::stol(metaDataNodeProductsProfessionalSpecVO["IoMax"].asString());
|
||||
if(!metaDataNodeProductsProfessionalSpecVO["DiskType"].isNull())
|
||||
specVOObject.diskType = metaDataNodeProductsProfessionalSpecVO["DiskType"].asString();
|
||||
if(!metaDataNodeProductsProfessionalSpecVO["DiskSize"].isNull())
|
||||
specVOObject.diskSize = metaDataNodeProductsProfessionalSpecVO["DiskSize"].asString();
|
||||
if(!metaDataNodeProductsProfessionalSpecVO["TopicQuota"].isNull())
|
||||
specVOObject.topicQuota = metaDataNodeProductsProfessionalSpecVO["TopicQuota"].asString();
|
||||
if(!metaDataNodeProductsProfessionalSpecVO["DeployType"].isNull())
|
||||
specVOObject.deployType = metaDataNodeProductsProfessionalSpecVO["DeployType"].asString();
|
||||
metaData_.productsProfessional.push_back(specVOObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetMetaProductListResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetMetaProductListResult::MetaData GetMetaProductListResult::getMetaData()const
|
||||
{
|
||||
return metaData_;
|
||||
}
|
||||
|
||||
int GetMetaProductListResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetMetaProductListResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
45
alikafka/src/model/GetQuotaTipRequest.cc
Normal file
45
alikafka/src/model/GetQuotaTipRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* 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/alikafka/model/GetQuotaTipRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetQuotaTipRequest;
|
||||
|
||||
GetQuotaTipRequest::GetQuotaTipRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "GetQuotaTip") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetQuotaTipRequest::~GetQuotaTipRequest() {}
|
||||
|
||||
std::string GetQuotaTipRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetQuotaTipRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string GetQuotaTipRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void GetQuotaTipRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
93
alikafka/src/model/GetQuotaTipResult.cc
Normal file
93
alikafka/src/model/GetQuotaTipResult.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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/alikafka/model/GetQuotaTipResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alikafka;
|
||||
using namespace AlibabaCloud::Alikafka::Model;
|
||||
|
||||
GetQuotaTipResult::GetQuotaTipResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetQuotaTipResult::GetQuotaTipResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetQuotaTipResult::~GetQuotaTipResult()
|
||||
{}
|
||||
|
||||
void GetQuotaTipResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto quotaDataNode = value["QuotaData"];
|
||||
if(!quotaDataNode["TopicNumOfBuy"].isNull())
|
||||
quotaData_.topicNumOfBuy = std::stoi(quotaDataNode["TopicNumOfBuy"].asString());
|
||||
if(!quotaDataNode["TopicQuota"].isNull())
|
||||
quotaData_.topicQuota = std::stoi(quotaDataNode["TopicQuota"].asString());
|
||||
if(!quotaDataNode["TopicLeft"].isNull())
|
||||
quotaData_.topicLeft = std::stoi(quotaDataNode["TopicLeft"].asString());
|
||||
if(!quotaDataNode["TopicUsed"].isNull())
|
||||
quotaData_.topicUsed = std::stoi(quotaDataNode["TopicUsed"].asString());
|
||||
if(!quotaDataNode["PartitionNumOfBuy"].isNull())
|
||||
quotaData_.partitionNumOfBuy = std::stoi(quotaDataNode["PartitionNumOfBuy"].asString());
|
||||
if(!quotaDataNode["PartitionQuata"].isNull())
|
||||
quotaData_.partitionQuata = std::stoi(quotaDataNode["PartitionQuata"].asString());
|
||||
if(!quotaDataNode["PartitionLeft"].isNull())
|
||||
quotaData_.partitionLeft = std::stoi(quotaDataNode["PartitionLeft"].asString());
|
||||
if(!quotaDataNode["PartitionUsed"].isNull())
|
||||
quotaData_.partitionUsed = std::stoi(quotaDataNode["PartitionUsed"].asString());
|
||||
if(!quotaDataNode["GroupLeft"].isNull())
|
||||
quotaData_.groupLeft = std::stoi(quotaDataNode["GroupLeft"].asString());
|
||||
if(!quotaDataNode["GroupUsed"].isNull())
|
||||
quotaData_.groupUsed = std::stoi(quotaDataNode["GroupUsed"].asString());
|
||||
if(!quotaDataNode["IsPartitionBuy"].isNull())
|
||||
quotaData_.isPartitionBuy = std::stoi(quotaDataNode["IsPartitionBuy"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string GetQuotaTipResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int GetQuotaTipResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetQuotaTipResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
GetQuotaTipResult::QuotaData GetQuotaTipResult::getQuotaData()const
|
||||
{
|
||||
return quotaData_;
|
||||
}
|
||||
|
||||
@@ -1,73 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetTopicListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetTopicListRequest;
|
||||
|
||||
GetTopicListRequest::GetTopicListRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "GetTopicList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTopicListRequest::~GetTopicListRequest()
|
||||
{}
|
||||
|
||||
std::string GetTopicListRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetTopicListRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetTopicListRequest;
|
||||
|
||||
GetTopicListRequest::GetTopicListRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "GetTopicList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetTopicListRequest::setCurrentPage(const std::string& currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", currentPage);
|
||||
GetTopicListRequest::~GetTopicListRequest() {}
|
||||
|
||||
std::string GetTopicListRequest::getCurrentPage() const {
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
std::string GetTopicListRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
void GetTopicListRequest::setCurrentPage(const std::string ¤tPage) {
|
||||
currentPage_ = currentPage;
|
||||
setParameter(std::string("CurrentPage"), currentPage);
|
||||
}
|
||||
|
||||
void GetTopicListRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
std::string GetTopicListRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string GetTopicListRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void GetTopicListRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void GetTopicListRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string GetTopicListRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string GetTopicListRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
void GetTopicListRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void GetTopicListRequest::setPageSize(const std::string& pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", pageSize);
|
||||
std::string GetTopicListRequest::getPageSize() const {
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void GetTopicListRequest::setPageSize(const std::string &pageSize) {
|
||||
pageSize_ = pageSize;
|
||||
setParameter(std::string("PageSize"), pageSize);
|
||||
}
|
||||
|
||||
std::string GetTopicListRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void GetTopicListRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,26 +43,26 @@ void GetTopicListResult::parse(const std::string &payload)
|
||||
for (auto valueTopicListTopicVO : allTopicListNode)
|
||||
{
|
||||
TopicVO topicListObject;
|
||||
if(!valueTopicListTopicVO["Topic"].isNull())
|
||||
topicListObject.topic = valueTopicListTopicVO["Topic"].asString();
|
||||
if(!valueTopicListTopicVO["CreateTime"].isNull())
|
||||
topicListObject.createTime = std::stol(valueTopicListTopicVO["CreateTime"].asString());
|
||||
if(!valueTopicListTopicVO["Remark"].isNull())
|
||||
topicListObject.remark = valueTopicListTopicVO["Remark"].asString();
|
||||
if(!valueTopicListTopicVO["Status"].isNull())
|
||||
topicListObject.status = std::stoi(valueTopicListTopicVO["Status"].asString());
|
||||
if(!valueTopicListTopicVO["InstanceId"].isNull())
|
||||
topicListObject.instanceId = valueTopicListTopicVO["InstanceId"].asString();
|
||||
if(!valueTopicListTopicVO["RegionId"].isNull())
|
||||
topicListObject.regionId = valueTopicListTopicVO["RegionId"].asString();
|
||||
if(!valueTopicListTopicVO["PartitionNum"].isNull())
|
||||
topicListObject.partitionNum = std::stoi(valueTopicListTopicVO["PartitionNum"].asString());
|
||||
if(!valueTopicListTopicVO["Remark"].isNull())
|
||||
topicListObject.remark = valueTopicListTopicVO["Remark"].asString();
|
||||
if(!valueTopicListTopicVO["CreateTime"].isNull())
|
||||
topicListObject.createTime = std::stol(valueTopicListTopicVO["CreateTime"].asString());
|
||||
if(!valueTopicListTopicVO["Topic"].isNull())
|
||||
topicListObject.topic = valueTopicListTopicVO["Topic"].asString();
|
||||
if(!valueTopicListTopicVO["StatusName"].isNull())
|
||||
topicListObject.statusName = valueTopicListTopicVO["StatusName"].asString();
|
||||
if(!valueTopicListTopicVO["CompactTopic"].isNull())
|
||||
topicListObject.compactTopic = valueTopicListTopicVO["CompactTopic"].asString() == "true";
|
||||
if(!valueTopicListTopicVO["InstanceId"].isNull())
|
||||
topicListObject.instanceId = valueTopicListTopicVO["InstanceId"].asString();
|
||||
if(!valueTopicListTopicVO["LocalTopic"].isNull())
|
||||
topicListObject.localTopic = valueTopicListTopicVO["LocalTopic"].asString() == "true";
|
||||
if(!valueTopicListTopicVO["PartitionNum"].isNull())
|
||||
topicListObject.partitionNum = std::stoi(valueTopicListTopicVO["PartitionNum"].asString());
|
||||
if(!valueTopicListTopicVO["RegionId"].isNull())
|
||||
topicListObject.regionId = valueTopicListTopicVO["RegionId"].asString();
|
||||
auto allTagsNode = valueTopicListTopicVO["Tags"]["TagVO"];
|
||||
for (auto valueTopicListTopicVOTagsTagVO : allTagsNode)
|
||||
{
|
||||
@@ -75,18 +75,18 @@ void GetTopicListResult::parse(const std::string &payload)
|
||||
}
|
||||
topicList_.push_back(topicListObject);
|
||||
}
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||
if(!value["CurrentPage"].isNull())
|
||||
currentPage_ = std::stoi(value["CurrentPage"].asString());
|
||||
if(!value["Total"].isNull())
|
||||
total_ = std::stoi(value["Total"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* 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/alikafka/model/GetTopicStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetTopicStatusRequest;
|
||||
|
||||
GetTopicStatusRequest::GetTopicStatusRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "GetTopicStatus")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTopicStatusRequest::~GetTopicStatusRequest()
|
||||
{}
|
||||
|
||||
std::string GetTopicStatusRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/GetTopicStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::GetTopicStatusRequest;
|
||||
|
||||
GetTopicStatusRequest::GetTopicStatusRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "GetTopicStatus") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void GetTopicStatusRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
GetTopicStatusRequest::~GetTopicStatusRequest() {}
|
||||
|
||||
std::string GetTopicStatusRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string GetTopicStatusRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void GetTopicStatusRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void GetTopicStatusRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string GetTopicStatusRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string GetTopicStatusRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void GetTopicStatusRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void GetTopicStatusRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string GetTopicStatusRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void GetTopicStatusRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,24 +48,24 @@ void GetTopicStatusResult::parse(const std::string &payload)
|
||||
for (auto topicStatusNodeOffsetTableOffsetTableItem : allOffsetTableNode)
|
||||
{
|
||||
TopicStatus::OffsetTableItem offsetTableItemObject;
|
||||
if(!topicStatusNodeOffsetTableOffsetTableItem["MinOffset"].isNull())
|
||||
offsetTableItemObject.minOffset = std::stol(topicStatusNodeOffsetTableOffsetTableItem["MinOffset"].asString());
|
||||
if(!topicStatusNodeOffsetTableOffsetTableItem["MaxOffset"].isNull())
|
||||
offsetTableItemObject.maxOffset = std::stol(topicStatusNodeOffsetTableOffsetTableItem["MaxOffset"].asString());
|
||||
if(!topicStatusNodeOffsetTableOffsetTableItem["LastUpdateTimestamp"].isNull())
|
||||
offsetTableItemObject.lastUpdateTimestamp = std::stol(topicStatusNodeOffsetTableOffsetTableItem["LastUpdateTimestamp"].asString());
|
||||
if(!topicStatusNodeOffsetTableOffsetTableItem["Topic"].isNull())
|
||||
offsetTableItemObject.topic = topicStatusNodeOffsetTableOffsetTableItem["Topic"].asString();
|
||||
if(!topicStatusNodeOffsetTableOffsetTableItem["Partition"].isNull())
|
||||
offsetTableItemObject.partition = std::stoi(topicStatusNodeOffsetTableOffsetTableItem["Partition"].asString());
|
||||
if(!topicStatusNodeOffsetTableOffsetTableItem["MinOffset"].isNull())
|
||||
offsetTableItemObject.minOffset = std::stol(topicStatusNodeOffsetTableOffsetTableItem["MinOffset"].asString());
|
||||
if(!topicStatusNodeOffsetTableOffsetTableItem["LastUpdateTimestamp"].isNull())
|
||||
offsetTableItemObject.lastUpdateTimestamp = std::stol(topicStatusNodeOffsetTableOffsetTableItem["LastUpdateTimestamp"].asString());
|
||||
if(!topicStatusNodeOffsetTableOffsetTableItem["MaxOffset"].isNull())
|
||||
offsetTableItemObject.maxOffset = std::stol(topicStatusNodeOffsetTableOffsetTableItem["MaxOffset"].asString());
|
||||
if(!topicStatusNodeOffsetTableOffsetTableItem["Topic"].isNull())
|
||||
offsetTableItemObject.topic = topicStatusNodeOffsetTableOffsetTableItem["Topic"].asString();
|
||||
topicStatus_.offsetTable.push_back(offsetTableItemObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,91 +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/alikafka/model/ListTagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ListTagResourcesRequest;
|
||||
|
||||
ListTagResourcesRequest::ListTagResourcesRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "ListTagResources")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListTagResourcesRequest::~ListTagResourcesRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> ListTagResourcesRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ListTagResourcesRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ListTagResourcesRequest;
|
||||
|
||||
ListTagResourcesRequest::ListTagResourcesRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "ListTagResources") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceId(const std::vector<std::string>& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
for(int dep1 = 0; dep1!= resourceId.size(); dep1++) {
|
||||
setParameter("ResourceId."+ std::to_string(dep1), resourceId.at(dep1));
|
||||
}
|
||||
ListTagResourcesRequest::~ListTagResourcesRequest() {}
|
||||
|
||||
std::vector<std::string> ListTagResourcesRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
void ListTagResourcesRequest::setResourceId(const std::vector<std::string> &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
std::string ListTagResourcesRequest::getResourceType() const {
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void ListTagResourcesRequest::setResourceType(const std::string &resourceType) {
|
||||
resourceType_ = resourceType;
|
||||
setParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string ListTagResourcesRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
std::string ListTagResourcesRequest::getNextToken()const
|
||||
{
|
||||
return nextToken_;
|
||||
void ListTagResourcesRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setNextToken(const std::string& nextToken)
|
||||
{
|
||||
nextToken_ = nextToken;
|
||||
setParameter("NextToken", nextToken);
|
||||
std::string ListTagResourcesRequest::getNextToken() const {
|
||||
return nextToken_;
|
||||
}
|
||||
|
||||
std::vector<ListTagResourcesRequest::Tag> ListTagResourcesRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
void ListTagResourcesRequest::setNextToken(const std::string &nextToken) {
|
||||
nextToken_ = nextToken;
|
||||
setParameter(std::string("NextToken"), nextToken);
|
||||
}
|
||||
|
||||
void ListTagResourcesRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -43,14 +43,14 @@ void ListTagResourcesResult::parse(const std::string &payload)
|
||||
for (auto valueTagResourcesTagResource : allTagResourcesNode)
|
||||
{
|
||||
TagResource tagResourcesObject;
|
||||
if(!valueTagResourcesTagResource["TagKey"].isNull())
|
||||
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
|
||||
if(!valueTagResourcesTagResource["TagValue"].isNull())
|
||||
tagResourcesObject.tagValue = valueTagResourcesTagResource["TagValue"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceType"].isNull())
|
||||
tagResourcesObject.resourceType = valueTagResourcesTagResource["ResourceType"].asString();
|
||||
if(!valueTagResourcesTagResource["ResourceId"].isNull())
|
||||
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
|
||||
if(!valueTagResourcesTagResource["TagKey"].isNull())
|
||||
tagResourcesObject.tagKey = valueTagResourcesTagResource["TagKey"].asString();
|
||||
tagResources_.push_back(tagResourcesObject);
|
||||
}
|
||||
if(!value["NextToken"].isNull())
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* 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/alikafka/model/ModifyInstanceNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ModifyInstanceNameRequest;
|
||||
|
||||
ModifyInstanceNameRequest::ModifyInstanceNameRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "ModifyInstanceName")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyInstanceNameRequest::~ModifyInstanceNameRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyInstanceNameRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ModifyInstanceNameRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ModifyInstanceNameRequest;
|
||||
|
||||
ModifyInstanceNameRequest::ModifyInstanceNameRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "ModifyInstanceName") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ModifyInstanceNameRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
ModifyInstanceNameRequest::~ModifyInstanceNameRequest() {}
|
||||
|
||||
std::string ModifyInstanceNameRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string ModifyInstanceNameRequest::getInstanceName()const
|
||||
{
|
||||
return instanceName_;
|
||||
void ModifyInstanceNameRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void ModifyInstanceNameRequest::setInstanceName(const std::string& instanceName)
|
||||
{
|
||||
instanceName_ = instanceName;
|
||||
setParameter("InstanceName", instanceName);
|
||||
std::string ModifyInstanceNameRequest::getInstanceName() const {
|
||||
return instanceName_;
|
||||
}
|
||||
|
||||
std::string ModifyInstanceNameRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void ModifyInstanceNameRequest::setInstanceName(const std::string &instanceName) {
|
||||
instanceName_ = instanceName;
|
||||
setParameter(std::string("InstanceName"), instanceName);
|
||||
}
|
||||
|
||||
void ModifyInstanceNameRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string ModifyInstanceNameRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void ModifyInstanceNameRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,12 +39,12 @@ void ModifyInstanceNameResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ModifyPartitionNumRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ModifyPartitionNumRequest;
|
||||
|
||||
ModifyPartitionNumRequest::ModifyPartitionNumRequest() :
|
||||
RpcServiceRequest("alikafka", "2019-09-16", "ModifyPartitionNum")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ModifyPartitionNumRequest::~ModifyPartitionNumRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyPartitionNumRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alikafka/model/ModifyPartitionNumRequest.h>
|
||||
|
||||
using AlibabaCloud::Alikafka::Model::ModifyPartitionNumRequest;
|
||||
|
||||
ModifyPartitionNumRequest::ModifyPartitionNumRequest()
|
||||
: RpcServiceRequest("alikafka", "2019-09-16", "ModifyPartitionNum") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void ModifyPartitionNumRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
ModifyPartitionNumRequest::~ModifyPartitionNumRequest() {}
|
||||
|
||||
int ModifyPartitionNumRequest::getAddPartitionNum() const {
|
||||
return addPartitionNum_;
|
||||
}
|
||||
|
||||
std::string ModifyPartitionNumRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
void ModifyPartitionNumRequest::setAddPartitionNum(int addPartitionNum) {
|
||||
addPartitionNum_ = addPartitionNum;
|
||||
setParameter(std::string("AddPartitionNum"), std::to_string(addPartitionNum));
|
||||
}
|
||||
|
||||
void ModifyPartitionNumRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
std::string ModifyPartitionNumRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
std::string ModifyPartitionNumRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
void ModifyPartitionNumRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("InstanceId"), instanceId);
|
||||
}
|
||||
|
||||
void ModifyPartitionNumRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setParameter("Topic", topic);
|
||||
std::string ModifyPartitionNumRequest::getRegionId() const {
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
int ModifyPartitionNumRequest::getAddPartitionNum()const
|
||||
{
|
||||
return addPartitionNum_;
|
||||
void ModifyPartitionNumRequest::setRegionId(const std::string ®ionId) {
|
||||
regionId_ = regionId;
|
||||
setParameter(std::string("RegionId"), regionId);
|
||||
}
|
||||
|
||||
void ModifyPartitionNumRequest::setAddPartitionNum(int addPartitionNum)
|
||||
{
|
||||
addPartitionNum_ = addPartitionNum;
|
||||
setParameter("AddPartitionNum", std::to_string(addPartitionNum));
|
||||
std::string ModifyPartitionNumRequest::getTopic() const {
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void ModifyPartitionNumRequest::setTopic(const std::string &topic) {
|
||||
topic_ = topic;
|
||||
setParameter(std::string("Topic"), topic);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user