| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- /*
- * 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/ehpc/model/GetCloudMetricLogsRequest.h>
- using AlibabaCloud::EHPC::Model::GetCloudMetricLogsRequest;
- GetCloudMetricLogsRequest::GetCloudMetricLogsRequest() :
- RpcServiceRequest("ehpc", "2018-04-12", "GetCloudMetricLogs")
- {}
- GetCloudMetricLogsRequest::~GetCloudMetricLogsRequest()
- {}
- std::string GetCloudMetricLogsRequest::getAggregationType()const
- {
- return aggregationType_;
- }
- void GetCloudMetricLogsRequest::setAggregationType(const std::string& aggregationType)
- {
- aggregationType_ = aggregationType;
- setParameter("AggregationType", aggregationType);
- }
- std::string GetCloudMetricLogsRequest::getFilter()const
- {
- return filter_;
- }
- void GetCloudMetricLogsRequest::setFilter(const std::string& filter)
- {
- filter_ = filter;
- setParameter("Filter", filter);
- }
- std::string GetCloudMetricLogsRequest::getMetricCategories()const
- {
- return metricCategories_;
- }
- void GetCloudMetricLogsRequest::setMetricCategories(const std::string& metricCategories)
- {
- metricCategories_ = metricCategories;
- setParameter("MetricCategories", metricCategories);
- }
- std::string GetCloudMetricLogsRequest::getMetricScope()const
- {
- return metricScope_;
- }
- void GetCloudMetricLogsRequest::setMetricScope(const std::string& metricScope)
- {
- metricScope_ = metricScope;
- setParameter("MetricScope", metricScope);
- }
- int GetCloudMetricLogsRequest::getFrom()const
- {
- return from_;
- }
- void GetCloudMetricLogsRequest::setFrom(int from)
- {
- from_ = from;
- setParameter("From", std::to_string(from));
- }
- std::string GetCloudMetricLogsRequest::getClusterId()const
- {
- return clusterId_;
- }
- void GetCloudMetricLogsRequest::setClusterId(const std::string& clusterId)
- {
- clusterId_ = clusterId;
- setParameter("ClusterId", clusterId);
- }
- int GetCloudMetricLogsRequest::getTo()const
- {
- return to_;
- }
- void GetCloudMetricLogsRequest::setTo(int to)
- {
- to_ = to;
- setParameter("To", std::to_string(to));
- }
- int GetCloudMetricLogsRequest::getAggregationInterval()const
- {
- return aggregationInterval_;
- }
- void GetCloudMetricLogsRequest::setAggregationInterval(int aggregationInterval)
- {
- aggregationInterval_ = aggregationInterval;
- setParameter("AggregationInterval", std::to_string(aggregationInterval));
- }
- bool GetCloudMetricLogsRequest::getReverse()const
- {
- return reverse_;
- }
- void GetCloudMetricLogsRequest::setReverse(bool reverse)
- {
- reverse_ = reverse;
- setParameter("Reverse", std::to_string(reverse));
- }
- std::string GetCloudMetricLogsRequest::getAccessKeyId()const
- {
- return accessKeyId_;
- }
- void GetCloudMetricLogsRequest::setAccessKeyId(const std::string& accessKeyId)
- {
- accessKeyId_ = accessKeyId;
- setParameter("AccessKeyId", accessKeyId);
- }
|