| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- /*
- * 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/emr/model/MetastoreListKafkaTopicRequest.h>
- using AlibabaCloud::Emr::Model::MetastoreListKafkaTopicRequest;
- MetastoreListKafkaTopicRequest::MetastoreListKafkaTopicRequest() :
- RpcServiceRequest("emr", "2016-04-08", "MetastoreListKafkaTopic")
- {}
- MetastoreListKafkaTopicRequest::~MetastoreListKafkaTopicRequest()
- {}
- long MetastoreListKafkaTopicRequest::getResourceOwnerId()const
- {
- return resourceOwnerId_;
- }
- void MetastoreListKafkaTopicRequest::setResourceOwnerId(long resourceOwnerId)
- {
- resourceOwnerId_ = resourceOwnerId;
- setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
- }
- bool MetastoreListKafkaTopicRequest::getActiveOnly()const
- {
- return activeOnly_;
- }
- void MetastoreListKafkaTopicRequest::setActiveOnly(bool activeOnly)
- {
- activeOnly_ = activeOnly;
- setCoreParameter("ActiveOnly", activeOnly ? "true" : "false");
- }
- std::string MetastoreListKafkaTopicRequest::getRegionId()const
- {
- return regionId_;
- }
- void MetastoreListKafkaTopicRequest::setRegionId(const std::string& regionId)
- {
- regionId_ = regionId;
- setCoreParameter("RegionId", regionId);
- }
- int MetastoreListKafkaTopicRequest::getPageSize()const
- {
- return pageSize_;
- }
- void MetastoreListKafkaTopicRequest::setPageSize(int pageSize)
- {
- pageSize_ = pageSize;
- setCoreParameter("PageSize", std::to_string(pageSize));
- }
- std::string MetastoreListKafkaTopicRequest::getDataSourceId()const
- {
- return dataSourceId_;
- }
- void MetastoreListKafkaTopicRequest::setDataSourceId(const std::string& dataSourceId)
- {
- dataSourceId_ = dataSourceId;
- setCoreParameter("DataSourceId", dataSourceId);
- }
- std::string MetastoreListKafkaTopicRequest::getTopicName()const
- {
- return topicName_;
- }
- void MetastoreListKafkaTopicRequest::setTopicName(const std::string& topicName)
- {
- topicName_ = topicName;
- setCoreParameter("TopicName", topicName);
- }
- std::string MetastoreListKafkaTopicRequest::getClusterId()const
- {
- return clusterId_;
- }
- void MetastoreListKafkaTopicRequest::setClusterId(const std::string& clusterId)
- {
- clusterId_ = clusterId;
- setCoreParameter("ClusterId", clusterId);
- }
- int MetastoreListKafkaTopicRequest::getPageNumber()const
- {
- return pageNumber_;
- }
- void MetastoreListKafkaTopicRequest::setPageNumber(int pageNumber)
- {
- pageNumber_ = pageNumber;
- setCoreParameter("PageNumber", std::to_string(pageNumber));
- }
- std::string MetastoreListKafkaTopicRequest::getAccessKeyId()const
- {
- return accessKeyId_;
- }
- void MetastoreListKafkaTopicRequest::setAccessKeyId(const std::string& accessKeyId)
- {
- accessKeyId_ = accessKeyId;
- setCoreParameter("AccessKeyId", accessKeyId);
- }
|