| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148 |
- /*
- * 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/cms/model/QueryMetricListRequest.h>
- using AlibabaCloud::Cms::Model::QueryMetricListRequest;
- QueryMetricListRequest::QueryMetricListRequest() :
- RpcServiceRequest("cms", "2018-03-08", "QueryMetricList")
- {}
- QueryMetricListRequest::~QueryMetricListRequest()
- {}
- std::string QueryMetricListRequest::getCursor()const
- {
- return cursor_;
- }
- void QueryMetricListRequest::setCursor(const std::string& cursor)
- {
- cursor_ = cursor;
- setCoreParameter("Cursor", cursor);
- }
- long QueryMetricListRequest::getResourceOwnerId()const
- {
- return resourceOwnerId_;
- }
- void QueryMetricListRequest::setResourceOwnerId(long resourceOwnerId)
- {
- resourceOwnerId_ = resourceOwnerId;
- setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
- }
- std::string QueryMetricListRequest::getProject()const
- {
- return project_;
- }
- void QueryMetricListRequest::setProject(const std::string& project)
- {
- project_ = project;
- setCoreParameter("Project", project);
- }
- std::string QueryMetricListRequest::getExpress()const
- {
- return express_;
- }
- void QueryMetricListRequest::setExpress(const std::string& express)
- {
- express_ = express;
- setCoreParameter("Express", express);
- }
- std::string QueryMetricListRequest::getStartTime()const
- {
- return startTime_;
- }
- void QueryMetricListRequest::setStartTime(const std::string& startTime)
- {
- startTime_ = startTime;
- setCoreParameter("StartTime", startTime);
- }
- std::string QueryMetricListRequest::getAccessKeyId()const
- {
- return accessKeyId_;
- }
- void QueryMetricListRequest::setAccessKeyId(const std::string& accessKeyId)
- {
- accessKeyId_ = accessKeyId;
- setCoreParameter("AccessKeyId", accessKeyId);
- }
- std::string QueryMetricListRequest::getPeriod()const
- {
- return period_;
- }
- void QueryMetricListRequest::setPeriod(const std::string& period)
- {
- period_ = period;
- setCoreParameter("Period", period);
- }
- std::string QueryMetricListRequest::getLength()const
- {
- return length_;
- }
- void QueryMetricListRequest::setLength(const std::string& length)
- {
- length_ = length;
- setCoreParameter("Length", length);
- }
- std::string QueryMetricListRequest::getEndTime()const
- {
- return endTime_;
- }
- void QueryMetricListRequest::setEndTime(const std::string& endTime)
- {
- endTime_ = endTime;
- setCoreParameter("EndTime", endTime);
- }
- std::string QueryMetricListRequest::getMetric()const
- {
- return metric_;
- }
- void QueryMetricListRequest::setMetric(const std::string& metric)
- {
- metric_ = metric;
- setCoreParameter("Metric", metric);
- }
- std::string QueryMetricListRequest::getDimensions()const
- {
- return dimensions_;
- }
- void QueryMetricListRequest::setDimensions(const std::string& dimensions)
- {
- dimensions_ = dimensions;
- setCoreParameter("Dimensions", dimensions);
- }
|