|
@@ -1,120 +1,120 @@
|
|
|
/*
|
|
/*
|
|
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
* you may not use this file except in compliance with the License.
|
|
* you may not use this file except in compliance with the License.
|
|
|
* You may obtain a copy of the License at
|
|
* You may obtain a copy of the License at
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
- *
|
|
|
|
|
|
|
+ *
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
* See the License for the specific language governing permissions and
|
|
* See the License for the specific language governing permissions and
|
|
|
* limitations under the License.
|
|
* limitations under the License.
|
|
|
- */
|
|
|
|
|
-
|
|
|
|
|
-#ifndef ALIBABACLOUD_VPC_MODEL_CREATEROUTERINTERFACEREQUEST_H_
|
|
|
|
|
-#define ALIBABACLOUD_VPC_MODEL_CREATEROUTERINTERFACEREQUEST_H_
|
|
|
|
|
-
|
|
|
|
|
-#include <string>
|
|
|
|
|
-#include <vector>
|
|
|
|
|
-#include <alibabacloud/core/RpcServiceRequest.h>
|
|
|
|
|
-#include <alibabacloud/vpc/VpcExport.h>
|
|
|
|
|
-
|
|
|
|
|
-namespace AlibabaCloud
|
|
|
|
|
-{
|
|
|
|
|
- namespace Vpc
|
|
|
|
|
- {
|
|
|
|
|
- namespace Model
|
|
|
|
|
- {
|
|
|
|
|
- class ALIBABACLOUD_VPC_EXPORT CreateRouterInterfaceRequest : public RpcServiceRequest
|
|
|
|
|
- {
|
|
|
|
|
-
|
|
|
|
|
- public:
|
|
|
|
|
- CreateRouterInterfaceRequest();
|
|
|
|
|
- ~CreateRouterInterfaceRequest();
|
|
|
|
|
-
|
|
|
|
|
- std::string getAccessPointId()const;
|
|
|
|
|
- void setAccessPointId(const std::string& accessPointId);
|
|
|
|
|
- std::string getOppositeRouterId()const;
|
|
|
|
|
- void setOppositeRouterId(const std::string& oppositeRouterId);
|
|
|
|
|
- std::string getOppositeAccessPointId()const;
|
|
|
|
|
- void setOppositeAccessPointId(const std::string& oppositeAccessPointId);
|
|
|
|
|
- long getResourceOwnerId()const;
|
|
|
|
|
- void setResourceOwnerId(long resourceOwnerId);
|
|
|
|
|
- std::string getRole()const;
|
|
|
|
|
- void setRole(const std::string& role);
|
|
|
|
|
- std::string getClientToken()const;
|
|
|
|
|
- void setClientToken(const std::string& clientToken);
|
|
|
|
|
- std::string getHealthCheckTargetIp()const;
|
|
|
|
|
- void setHealthCheckTargetIp(const std::string& healthCheckTargetIp);
|
|
|
|
|
- std::string getDescription()const;
|
|
|
|
|
- void setDescription(const std::string& description);
|
|
|
|
|
- std::string getSpec()const;
|
|
|
|
|
- void setSpec(const std::string& spec);
|
|
|
|
|
- std::string getRegionId()const;
|
|
|
|
|
- void setRegionId(const std::string& regionId);
|
|
|
|
|
- std::string getOppositeInterfaceId()const;
|
|
|
|
|
- void setOppositeInterfaceId(const std::string& oppositeInterfaceId);
|
|
|
|
|
- std::string getInstanceChargeType()const;
|
|
|
|
|
- void setInstanceChargeType(const std::string& instanceChargeType);
|
|
|
|
|
- int getPeriod()const;
|
|
|
|
|
- void setPeriod(int period);
|
|
|
|
|
- bool getAutoPay()const;
|
|
|
|
|
- void setAutoPay(bool autoPay);
|
|
|
|
|
- std::string getResourceOwnerAccount()const;
|
|
|
|
|
- void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
|
|
|
|
- std::string getOppositeRegionId()const;
|
|
|
|
|
- void setOppositeRegionId(const std::string& oppositeRegionId);
|
|
|
|
|
- std::string getOwnerAccount()const;
|
|
|
|
|
- void setOwnerAccount(const std::string& ownerAccount);
|
|
|
|
|
- long getOwnerId()const;
|
|
|
|
|
- void setOwnerId(long ownerId);
|
|
|
|
|
- std::string getOppositeInterfaceOwnerId()const;
|
|
|
|
|
- void setOppositeInterfaceOwnerId(const std::string& oppositeInterfaceOwnerId);
|
|
|
|
|
- std::string getRouterType()const;
|
|
|
|
|
- void setRouterType(const std::string& routerType);
|
|
|
|
|
- std::string getHealthCheckSourceIp()const;
|
|
|
|
|
- void setHealthCheckSourceIp(const std::string& healthCheckSourceIp);
|
|
|
|
|
- std::string getRouterId()const;
|
|
|
|
|
- void setRouterId(const std::string& routerId);
|
|
|
|
|
- std::string getOppositeRouterType()const;
|
|
|
|
|
- void setOppositeRouterType(const std::string& oppositeRouterType);
|
|
|
|
|
- std::string getName()const;
|
|
|
|
|
- void setName(const std::string& name);
|
|
|
|
|
- std::string getPricingCycle()const;
|
|
|
|
|
- void setPricingCycle(const std::string& pricingCycle);
|
|
|
|
|
-
|
|
|
|
|
- private:
|
|
|
|
|
- std::string accessPointId_;
|
|
|
|
|
- std::string oppositeRouterId_;
|
|
|
|
|
- std::string oppositeAccessPointId_;
|
|
|
|
|
- long resourceOwnerId_;
|
|
|
|
|
- std::string role_;
|
|
|
|
|
- std::string clientToken_;
|
|
|
|
|
- std::string healthCheckTargetIp_;
|
|
|
|
|
- std::string description_;
|
|
|
|
|
- std::string spec_;
|
|
|
|
|
- std::string regionId_;
|
|
|
|
|
- std::string oppositeInterfaceId_;
|
|
|
|
|
- std::string instanceChargeType_;
|
|
|
|
|
- int period_;
|
|
|
|
|
- bool autoPay_;
|
|
|
|
|
- std::string resourceOwnerAccount_;
|
|
|
|
|
- std::string oppositeRegionId_;
|
|
|
|
|
- std::string ownerAccount_;
|
|
|
|
|
- long ownerId_;
|
|
|
|
|
- std::string oppositeInterfaceOwnerId_;
|
|
|
|
|
- std::string routerType_;
|
|
|
|
|
- std::string healthCheckSourceIp_;
|
|
|
|
|
- std::string routerId_;
|
|
|
|
|
- std::string oppositeRouterType_;
|
|
|
|
|
- std::string name_;
|
|
|
|
|
- std::string pricingCycle_;
|
|
|
|
|
-
|
|
|
|
|
- };
|
|
|
|
|
- }
|
|
|
|
|
- }
|
|
|
|
|
-}
|
|
|
|
|
-#endif // !ALIBABACLOUD_VPC_MODEL_CREATEROUTERINTERFACEREQUEST_H_
|
|
|
|
|
|
|
+ */
|
|
|
|
|
+
|
|
|
|
|
+#ifndef ALIBABACLOUD_VPC_MODEL_CREATEROUTERINTERFACEREQUEST_H_
|
|
|
|
|
+#define ALIBABACLOUD_VPC_MODEL_CREATEROUTERINTERFACEREQUEST_H_
|
|
|
|
|
+
|
|
|
|
|
+#include <alibabacloud/vpc/VpcExport.h>
|
|
|
|
|
+#include <alibabacloud/core/RpcServiceRequest.h>
|
|
|
|
|
+#include <string>
|
|
|
|
|
+#include <vector>
|
|
|
|
|
+#include <map>
|
|
|
|
|
+
|
|
|
|
|
+namespace AlibabaCloud {
|
|
|
|
|
+namespace Vpc {
|
|
|
|
|
+namespace Model {
|
|
|
|
|
+class ALIBABACLOUD_VPC_EXPORT CreateRouterInterfaceRequest : public RpcServiceRequest {
|
|
|
|
|
+public:
|
|
|
|
|
+ CreateRouterInterfaceRequest();
|
|
|
|
|
+ ~CreateRouterInterfaceRequest();
|
|
|
|
|
+ std::string getAccessPointId() const;
|
|
|
|
|
+ void setAccessPointId(const std::string &accessPointId);
|
|
|
|
|
+ std::string getOppositeRouterId() const;
|
|
|
|
|
+ void setOppositeRouterId(const std::string &oppositeRouterId);
|
|
|
|
|
+ std::string getOppositeAccessPointId() const;
|
|
|
|
|
+ void setOppositeAccessPointId(const std::string &oppositeAccessPointId);
|
|
|
|
|
+ long getResourceOwnerId() const;
|
|
|
|
|
+ void setResourceOwnerId(long resourceOwnerId);
|
|
|
|
|
+ std::string getRole() const;
|
|
|
|
|
+ void setRole(const std::string &role);
|
|
|
|
|
+ std::string getClientToken() const;
|
|
|
|
|
+ void setClientToken(const std::string &clientToken);
|
|
|
|
|
+ std::string getHealthCheckTargetIp() const;
|
|
|
|
|
+ void setHealthCheckTargetIp(const std::string &healthCheckTargetIp);
|
|
|
|
|
+ std::string getDescription() const;
|
|
|
|
|
+ void setDescription(const std::string &description);
|
|
|
|
|
+ std::string getSpec() const;
|
|
|
|
|
+ void setSpec(const std::string &spec);
|
|
|
|
|
+ bool getFastLinkMode() const;
|
|
|
|
|
+ void setFastLinkMode(bool fastLinkMode);
|
|
|
|
|
+ std::string getRegionId() const;
|
|
|
|
|
+ void setRegionId(const std::string ®ionId);
|
|
|
|
|
+ std::string getOppositeInterfaceId() const;
|
|
|
|
|
+ void setOppositeInterfaceId(const std::string &oppositeInterfaceId);
|
|
|
|
|
+ std::string getInstanceChargeType() const;
|
|
|
|
|
+ void setInstanceChargeType(const std::string &instanceChargeType);
|
|
|
|
|
+ int getPeriod() const;
|
|
|
|
|
+ void setPeriod(int period);
|
|
|
|
|
+ bool getAutoPay() const;
|
|
|
|
|
+ void setAutoPay(bool autoPay);
|
|
|
|
|
+ std::string getAvailableZoneId() const;
|
|
|
|
|
+ void setAvailableZoneId(const std::string &availableZoneId);
|
|
|
|
|
+ std::string getResourceOwnerAccount() const;
|
|
|
|
|
+ void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
|
|
|
|
+ std::string getOppositeRegionId() const;
|
|
|
|
|
+ void setOppositeRegionId(const std::string &oppositeRegionId);
|
|
|
|
|
+ std::string getOwnerAccount() const;
|
|
|
|
|
+ void setOwnerAccount(const std::string &ownerAccount);
|
|
|
|
|
+ long getOwnerId() const;
|
|
|
|
|
+ void setOwnerId(long ownerId);
|
|
|
|
|
+ std::string getOppositeInterfaceOwnerId() const;
|
|
|
|
|
+ void setOppositeInterfaceOwnerId(const std::string &oppositeInterfaceOwnerId);
|
|
|
|
|
+ std::string getRouterType() const;
|
|
|
|
|
+ void setRouterType(const std::string &routerType);
|
|
|
|
|
+ std::string getHealthCheckSourceIp() const;
|
|
|
|
|
+ void setHealthCheckSourceIp(const std::string &healthCheckSourceIp);
|
|
|
|
|
+ std::string getRouterId() const;
|
|
|
|
|
+ void setRouterId(const std::string &routerId);
|
|
|
|
|
+ std::string getOppositeRouterType() const;
|
|
|
|
|
+ void setOppositeRouterType(const std::string &oppositeRouterType);
|
|
|
|
|
+ std::string getName() const;
|
|
|
|
|
+ void setName(const std::string &name);
|
|
|
|
|
+ std::string getPricingCycle() const;
|
|
|
|
|
+ void setPricingCycle(const std::string &pricingCycle);
|
|
|
|
|
+
|
|
|
|
|
+private:
|
|
|
|
|
+ std::string accessPointId_;
|
|
|
|
|
+ std::string oppositeRouterId_;
|
|
|
|
|
+ std::string oppositeAccessPointId_;
|
|
|
|
|
+ long resourceOwnerId_;
|
|
|
|
|
+ std::string role_;
|
|
|
|
|
+ std::string clientToken_;
|
|
|
|
|
+ std::string healthCheckTargetIp_;
|
|
|
|
|
+ std::string description_;
|
|
|
|
|
+ std::string spec_;
|
|
|
|
|
+ bool fastLinkMode_;
|
|
|
|
|
+ std::string regionId_;
|
|
|
|
|
+ std::string oppositeInterfaceId_;
|
|
|
|
|
+ std::string instanceChargeType_;
|
|
|
|
|
+ int period_;
|
|
|
|
|
+ bool autoPay_;
|
|
|
|
|
+ std::string availableZoneId_;
|
|
|
|
|
+ std::string resourceOwnerAccount_;
|
|
|
|
|
+ std::string oppositeRegionId_;
|
|
|
|
|
+ std::string ownerAccount_;
|
|
|
|
|
+ long ownerId_;
|
|
|
|
|
+ std::string oppositeInterfaceOwnerId_;
|
|
|
|
|
+ std::string routerType_;
|
|
|
|
|
+ std::string healthCheckSourceIp_;
|
|
|
|
|
+ std::string routerId_;
|
|
|
|
|
+ std::string oppositeRouterType_;
|
|
|
|
|
+ std::string name_;
|
|
|
|
|
+ std::string pricingCycle_;
|
|
|
|
|
+};
|
|
|
|
|
+} // namespace Model
|
|
|
|
|
+} // namespace Vpc
|
|
|
|
|
+} // namespace AlibabaCloud
|
|
|
|
|
+#endif // !ALIBABACLOUD_VPC_MODEL_CREATEROUTERINTERFACEREQUEST_H_
|