InsertInstanceRequest.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. /*
  2. * Copyright 2009-2017 Alibaba Cloud All rights reserved.
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16. #ifndef ALIBABACLOUD_OTS_MODEL_INSERTINSTANCEREQUEST_H_
  17. #define ALIBABACLOUD_OTS_MODEL_INSERTINSTANCEREQUEST_H_
  18. #include <string>
  19. #include <vector>
  20. #include <alibabacloud/core/RpcServiceRequest.h>
  21. #include <alibabacloud/ots/OtsExport.h>
  22. namespace AlibabaCloud
  23. {
  24. namespace Ots
  25. {
  26. namespace Model
  27. {
  28. class ALIBABACLOUD_OTS_EXPORT InsertInstanceRequest : public RpcServiceRequest
  29. {
  30. struct TagInfo
  31. {
  32. std::string tagKey;
  33. std::string tagValue;
  34. };
  35. public:
  36. InsertInstanceRequest();
  37. ~InsertInstanceRequest();
  38. std::string getAccess_key_id()const;
  39. void setAccess_key_id(const std::string& access_key_id);
  40. std::string getClusterType()const;
  41. void setClusterType(const std::string& clusterType);
  42. long getResourceOwnerId()const;
  43. void setResourceOwnerId(long resourceOwnerId);
  44. std::string getInstanceName()const;
  45. void setInstanceName(const std::string& instanceName);
  46. std::string getDescription()const;
  47. void setDescription(const std::string& description);
  48. std::vector<TagInfo> getTagInfo()const;
  49. void setTagInfo(const std::vector<TagInfo>& tagInfo);
  50. std::string getNetwork()const;
  51. void setNetwork(const std::string& network);
  52. private:
  53. std::string access_key_id_;
  54. std::string clusterType_;
  55. long resourceOwnerId_;
  56. std::string instanceName_;
  57. std::string description_;
  58. std::vector<TagInfo> tagInfo_;
  59. std::string network_;
  60. };
  61. }
  62. }
  63. }
  64. #endif // !ALIBABACLOUD_OTS_MODEL_INSERTINSTANCEREQUEST_H_