CreateTransitRouterEcrAttachmentRequest.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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_CBN_MODEL_CREATETRANSITROUTERECRATTACHMENTREQUEST_H_
  17. #define ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERECRATTACHMENTREQUEST_H_
  18. #include <alibabacloud/cbn/CbnExport.h>
  19. #include <alibabacloud/core/RpcServiceRequest.h>
  20. #include <string>
  21. #include <vector>
  22. #include <map>
  23. namespace AlibabaCloud {
  24. namespace Cbn {
  25. namespace Model {
  26. class ALIBABACLOUD_CBN_EXPORT CreateTransitRouterEcrAttachmentRequest : public RpcServiceRequest {
  27. public:
  28. struct Tag {
  29. std::string value;
  30. std::string key;
  31. };
  32. CreateTransitRouterEcrAttachmentRequest();
  33. ~CreateTransitRouterEcrAttachmentRequest();
  34. long getResourceOwnerId() const;
  35. void setResourceOwnerId(long resourceOwnerId);
  36. std::string getClientToken() const;
  37. void setClientToken(const std::string &clientToken);
  38. std::string getCenId() const;
  39. void setCenId(const std::string &cenId);
  40. bool getRouteTableAssociationEnabled() const;
  41. void setRouteTableAssociationEnabled(bool routeTableAssociationEnabled);
  42. std::string getTransitRouterAttachmentName() const;
  43. void setTransitRouterAttachmentName(const std::string &transitRouterAttachmentName);
  44. bool getFastLink() const;
  45. void setFastLink(bool fastLink);
  46. std::string getEcrId() const;
  47. void setEcrId(const std::string &ecrId);
  48. std::string getRegionId() const;
  49. void setRegionId(const std::string &regionId);
  50. std::vector<Tag> getTag() const;
  51. void setTag(const std::vector<Tag> &tag);
  52. bool getAutoPublishRouteEnabled() const;
  53. void setAutoPublishRouteEnabled(bool autoPublishRouteEnabled);
  54. bool getRouteTablePropagationEnabled() const;
  55. void setRouteTablePropagationEnabled(bool routeTablePropagationEnabled);
  56. long getEcrOwnerId() const;
  57. void setEcrOwnerId(long ecrOwnerId);
  58. bool getDryRun() const;
  59. void setDryRun(bool dryRun);
  60. std::string getResourceOwnerAccount() const;
  61. void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
  62. std::string getOwnerAccount() const;
  63. void setOwnerAccount(const std::string &ownerAccount);
  64. long getOwnerId() const;
  65. void setOwnerId(long ownerId);
  66. std::string getTransitRouterId() const;
  67. void setTransitRouterId(const std::string &transitRouterId);
  68. std::string getResourceType() const;
  69. void setResourceType(const std::string &resourceType);
  70. std::string getVersion() const;
  71. void setVersion(const std::string &version);
  72. std::string getTransitRouterAttachmentDescription() const;
  73. void setTransitRouterAttachmentDescription(const std::string &transitRouterAttachmentDescription);
  74. private:
  75. long resourceOwnerId_;
  76. std::string clientToken_;
  77. std::string cenId_;
  78. bool routeTableAssociationEnabled_;
  79. std::string transitRouterAttachmentName_;
  80. bool fastLink_;
  81. std::string ecrId_;
  82. std::string regionId_;
  83. std::vector<Tag> tag_;
  84. bool autoPublishRouteEnabled_;
  85. bool routeTablePropagationEnabled_;
  86. long ecrOwnerId_;
  87. bool dryRun_;
  88. std::string resourceOwnerAccount_;
  89. std::string ownerAccount_;
  90. long ownerId_;
  91. std::string transitRouterId_;
  92. std::string resourceType_;
  93. std::string version_;
  94. std::string transitRouterAttachmentDescription_;
  95. };
  96. } // namespace Model
  97. } // namespace Cbn
  98. } // namespace AlibabaCloud
  99. #endif // !ALIBABACLOUD_CBN_MODEL_CREATETRANSITROUTERECRATTACHMENTREQUEST_H_