|
|
@@ -1,117 +1,135 @@
|
|
|
/*
|
|
|
* 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/tag/model/ListTagValuesRequest.h>
|
|
|
-
|
|
|
-using AlibabaCloud::Tag::Model::ListTagValuesRequest;
|
|
|
-
|
|
|
-ListTagValuesRequest::ListTagValuesRequest() :
|
|
|
- RpcServiceRequest("tag", "2018-08-28", "ListTagValues")
|
|
|
-{
|
|
|
- setMethod(HttpRequest::Method::Post);
|
|
|
-}
|
|
|
-
|
|
|
-ListTagValuesRequest::~ListTagValuesRequest()
|
|
|
-{}
|
|
|
-
|
|
|
-std::string ListTagValuesRequest::getRegionId()const
|
|
|
-{
|
|
|
- return regionId_;
|
|
|
+ */
|
|
|
+
|
|
|
+#include <alibabacloud/tag/model/ListTagValuesRequest.h>
|
|
|
+
|
|
|
+using AlibabaCloud::Tag::Model::ListTagValuesRequest;
|
|
|
+
|
|
|
+ListTagValuesRequest::ListTagValuesRequest()
|
|
|
+ : RpcServiceRequest("tag", "2018-08-28", "ListTagValues") {
|
|
|
+ setMethod(HttpRequest::Method::Post);
|
|
|
+}
|
|
|
+
|
|
|
+ListTagValuesRequest::~ListTagValuesRequest() {}
|
|
|
+
|
|
|
+std::string ListTagValuesRequest::getTagProduct() const {
|
|
|
+ return tagProduct_;
|
|
|
+}
|
|
|
+
|
|
|
+void ListTagValuesRequest::setTagProduct(const std::string &tagProduct) {
|
|
|
+ tagProduct_ = tagProduct;
|
|
|
+ setParameter(std::string("TagProduct"), tagProduct);
|
|
|
+}
|
|
|
+
|
|
|
+std::string ListTagValuesRequest::getRegionId() const {
|
|
|
+ return regionId_;
|
|
|
+}
|
|
|
+
|
|
|
+void ListTagValuesRequest::setRegionId(const std::string ®ionId) {
|
|
|
+ regionId_ = regionId;
|
|
|
+ setParameter(std::string("RegionId"), regionId);
|
|
|
+}
|
|
|
+
|
|
|
+std::string ListTagValuesRequest::getNextToken() const {
|
|
|
+ return nextToken_;
|
|
|
+}
|
|
|
+
|
|
|
+void ListTagValuesRequest::setNextToken(const std::string &nextToken) {
|
|
|
+ nextToken_ = nextToken;
|
|
|
+ setParameter(std::string("NextToken"), nextToken);
|
|
|
+}
|
|
|
+
|
|
|
+int ListTagValuesRequest::getPageSize() const {
|
|
|
+ return pageSize_;
|
|
|
+}
|
|
|
+
|
|
|
+void ListTagValuesRequest::setPageSize(int pageSize) {
|
|
|
+ pageSize_ = pageSize;
|
|
|
+ setParameter(std::string("PageSize"), std::to_string(pageSize));
|
|
|
+}
|
|
|
+
|
|
|
+std::string ListTagValuesRequest::getTagFilterValue() const {
|
|
|
+ return tagFilterValue_;
|
|
|
}
|
|
|
|
|
|
-void ListTagValuesRequest::setRegionId(const std::string& regionId)
|
|
|
-{
|
|
|
- regionId_ = regionId;
|
|
|
- setParameter("RegionId", regionId);
|
|
|
+void ListTagValuesRequest::setTagFilterValue(const std::string &tagFilterValue) {
|
|
|
+ tagFilterValue_ = tagFilterValue;
|
|
|
+ setParameter(std::string("TagFilter.Value"), tagFilterValue);
|
|
|
}
|
|
|
|
|
|
-std::string ListTagValuesRequest::getNextToken()const
|
|
|
-{
|
|
|
- return nextToken_;
|
|
|
+std::string ListTagValuesRequest::getKey() const {
|
|
|
+ return key_;
|
|
|
}
|
|
|
|
|
|
-void ListTagValuesRequest::setNextToken(const std::string& nextToken)
|
|
|
-{
|
|
|
- nextToken_ = nextToken;
|
|
|
- setParameter("NextToken", nextToken);
|
|
|
+void ListTagValuesRequest::setKey(const std::string &key) {
|
|
|
+ key_ = key;
|
|
|
+ setParameter(std::string("Key"), key);
|
|
|
}
|
|
|
|
|
|
-int ListTagValuesRequest::getPageSize()const
|
|
|
-{
|
|
|
- return pageSize_;
|
|
|
+std::string ListTagValuesRequest::getQueryType() const {
|
|
|
+ return queryType_;
|
|
|
}
|
|
|
|
|
|
-void ListTagValuesRequest::setPageSize(int pageSize)
|
|
|
-{
|
|
|
- pageSize_ = pageSize;
|
|
|
- setParameter("PageSize", std::to_string(pageSize));
|
|
|
+void ListTagValuesRequest::setQueryType(const std::string &queryType) {
|
|
|
+ queryType_ = queryType;
|
|
|
+ setParameter(std::string("QueryType"), queryType);
|
|
|
}
|
|
|
|
|
|
-std::string ListTagValuesRequest::getKey()const
|
|
|
-{
|
|
|
- return key_;
|
|
|
+std::string ListTagValuesRequest::getResourceOwnerAccount() const {
|
|
|
+ return resourceOwnerAccount_;
|
|
|
}
|
|
|
|
|
|
-void ListTagValuesRequest::setKey(const std::string& key)
|
|
|
-{
|
|
|
- key_ = key;
|
|
|
- setParameter("Key", key);
|
|
|
+void ListTagValuesRequest::setResourceOwnerAccount(const std::string &resourceOwnerAccount) {
|
|
|
+ resourceOwnerAccount_ = resourceOwnerAccount;
|
|
|
+ setParameter(std::string("ResourceOwnerAccount"), resourceOwnerAccount);
|
|
|
}
|
|
|
|
|
|
-std::string ListTagValuesRequest::getResourceOwnerAccount()const
|
|
|
-{
|
|
|
- return resourceOwnerAccount_;
|
|
|
+std::string ListTagValuesRequest::getOwnerAccount() const {
|
|
|
+ return ownerAccount_;
|
|
|
}
|
|
|
|
|
|
-void ListTagValuesRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
|
|
-{
|
|
|
- resourceOwnerAccount_ = resourceOwnerAccount;
|
|
|
- setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
|
|
+void ListTagValuesRequest::setOwnerAccount(const std::string &ownerAccount) {
|
|
|
+ ownerAccount_ = ownerAccount;
|
|
|
+ setParameter(std::string("OwnerAccount"), ownerAccount);
|
|
|
}
|
|
|
|
|
|
-std::string ListTagValuesRequest::getOwnerAccount()const
|
|
|
-{
|
|
|
- return ownerAccount_;
|
|
|
+long ListTagValuesRequest::getOwnerId() const {
|
|
|
+ return ownerId_;
|
|
|
}
|
|
|
|
|
|
-void ListTagValuesRequest::setOwnerAccount(const std::string& ownerAccount)
|
|
|
-{
|
|
|
- ownerAccount_ = ownerAccount;
|
|
|
- setParameter("OwnerAccount", ownerAccount);
|
|
|
+void ListTagValuesRequest::setOwnerId(long ownerId) {
|
|
|
+ ownerId_ = ownerId;
|
|
|
+ setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
|
|
}
|
|
|
|
|
|
-long ListTagValuesRequest::getOwnerId()const
|
|
|
-{
|
|
|
- return ownerId_;
|
|
|
+std::string ListTagValuesRequest::getResourceType() const {
|
|
|
+ return resourceType_;
|
|
|
}
|
|
|
|
|
|
-void ListTagValuesRequest::setOwnerId(long ownerId)
|
|
|
-{
|
|
|
- ownerId_ = ownerId;
|
|
|
- setParameter("OwnerId", std::to_string(ownerId));
|
|
|
+void ListTagValuesRequest::setResourceType(const std::string &resourceType) {
|
|
|
+ resourceType_ = resourceType;
|
|
|
+ setParameter(std::string("ResourceType"), resourceType);
|
|
|
}
|
|
|
|
|
|
-std::string ListTagValuesRequest::getResourceType()const
|
|
|
-{
|
|
|
- return resourceType_;
|
|
|
+std::string ListTagValuesRequest::getFuzzyType() const {
|
|
|
+ return fuzzyType_;
|
|
|
}
|
|
|
|
|
|
-void ListTagValuesRequest::setResourceType(const std::string& resourceType)
|
|
|
-{
|
|
|
- resourceType_ = resourceType;
|
|
|
- setParameter("ResourceType", resourceType);
|
|
|
+void ListTagValuesRequest::setFuzzyType(const std::string &fuzzyType) {
|
|
|
+ fuzzyType_ = fuzzyType;
|
|
|
+ setParameter(std::string("FuzzyType"), fuzzyType);
|
|
|
}
|
|
|
|