| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- /*
- * 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_OTS_MODEL_INSERTINSTANCEREQUEST_H_
- #define ALIBABACLOUD_OTS_MODEL_INSERTINSTANCEREQUEST_H_
- #include <string>
- #include <vector>
- #include <alibabacloud/core/RpcServiceRequest.h>
- #include <alibabacloud/ots/OtsExport.h>
- namespace AlibabaCloud
- {
- namespace Ots
- {
- namespace Model
- {
- class ALIBABACLOUD_OTS_EXPORT InsertInstanceRequest : public RpcServiceRequest
- {
- struct TagInfo
- {
- std::string tagKey;
- std::string tagValue;
- };
- public:
- InsertInstanceRequest();
- ~InsertInstanceRequest();
- std::string getAccess_key_id()const;
- void setAccess_key_id(const std::string& access_key_id);
- std::string getClusterType()const;
- void setClusterType(const std::string& clusterType);
- long getResourceOwnerId()const;
- void setResourceOwnerId(long resourceOwnerId);
- std::string getInstanceName()const;
- void setInstanceName(const std::string& instanceName);
- std::string getDescription()const;
- void setDescription(const std::string& description);
- std::vector<TagInfo> getTagInfo()const;
- void setTagInfo(const std::vector<TagInfo>& tagInfo);
- std::string getNetwork()const;
- void setNetwork(const std::string& network);
- private:
- std::string access_key_id_;
- std::string clusterType_;
- long resourceOwnerId_;
- std::string instanceName_;
- std::string description_;
- std::vector<TagInfo> tagInfo_;
- std::string network_;
- };
- }
- }
- }
- #endif // !ALIBABACLOUD_OTS_MODEL_INSERTINSTANCEREQUEST_H_
|