152 lines
5.5 KiB
C++
152 lines
5.5 KiB
C++
/*
|
|
* 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_SLB_MODEL_CREATELOADBALANCERREQUEST_H_
|
|
#define ALIBABACLOUD_SLB_MODEL_CREATELOADBALANCERREQUEST_H_
|
|
|
|
#include <alibabacloud/slb/SlbExport.h>
|
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
|
#include <string>
|
|
#include <vector>
|
|
#include <map>
|
|
|
|
namespace AlibabaCloud {
|
|
namespace Slb {
|
|
namespace Model {
|
|
class ALIBABACLOUD_SLB_EXPORT CreateLoadBalancerRequest : public RpcServiceRequest {
|
|
public:
|
|
struct Tag {
|
|
std::string value;
|
|
std::string key;
|
|
};
|
|
CreateLoadBalancerRequest();
|
|
~CreateLoadBalancerRequest();
|
|
long getResourceOwnerId() const;
|
|
void setResourceOwnerId(long resourceOwnerId);
|
|
std::string getAddressIPVersion() const;
|
|
void setAddressIPVersion(const std::string &addressIPVersion);
|
|
std::string getMasterZoneId() const;
|
|
void setMasterZoneId(const std::string &masterZoneId);
|
|
std::string getResourceGroupId() const;
|
|
void setResourceGroupId(const std::string &resourceGroupId);
|
|
std::string getLoadBalancerName() const;
|
|
void setLoadBalancerName(const std::string &loadBalancerName);
|
|
std::string getSlaveZoneId() const;
|
|
void setSlaveZoneId(const std::string &slaveZoneId);
|
|
std::vector<Tag> getTag() const;
|
|
void setTag(const std::vector<Tag> &tag);
|
|
std::string getLoadBalancerSpec() const;
|
|
void setLoadBalancerSpec(const std::string &loadBalancerSpec);
|
|
int getAutoRenewPeriod() const;
|
|
void setAutoRenewPeriod(int autoRenewPeriod);
|
|
long getOwnerId() const;
|
|
void setOwnerId(long ownerId);
|
|
std::string getTags() const;
|
|
void setTags(const std::string &tags);
|
|
std::string getVSwitchId() const;
|
|
void setVSwitchId(const std::string &vSwitchId);
|
|
std::string getEnableVpcVipFlow() const;
|
|
void setEnableVpcVipFlow(const std::string &enableVpcVipFlow);
|
|
bool getAutoRenew() const;
|
|
void setAutoRenew(bool autoRenew);
|
|
std::string getInternetChargeType() const;
|
|
void setInternetChargeType(const std::string &internetChargeType);
|
|
std::string getPricingCycle() const;
|
|
void setPricingCycle(const std::string &pricingCycle);
|
|
std::string getAccess_key_id() const;
|
|
void setAccess_key_id(const std::string &access_key_id);
|
|
std::string getModificationProtectionReason() const;
|
|
void setModificationProtectionReason(const std::string &modificationProtectionReason);
|
|
bool getSupportPrivateLink() const;
|
|
void setSupportPrivateLink(bool supportPrivateLink);
|
|
std::string getClientToken() const;
|
|
void setClientToken(const std::string &clientToken);
|
|
std::string getCloudType() const;
|
|
void setCloudType(const std::string &cloudType);
|
|
int getDuration() const;
|
|
void setDuration(int duration);
|
|
std::string getRegionId() const;
|
|
void setRegionId(const std::string ®ionId);
|
|
std::string getAddressType() const;
|
|
void setAddressType(const std::string &addressType);
|
|
std::string getInstanceChargeType() const;
|
|
void setInstanceChargeType(const std::string &instanceChargeType);
|
|
std::string getDeleteProtection() const;
|
|
void setDeleteProtection(const std::string &deleteProtection);
|
|
bool getAutoPay() const;
|
|
void setAutoPay(bool autoPay);
|
|
std::string getAddress() const;
|
|
void setAddress(const std::string &address);
|
|
std::string getResourceOwnerAccount() const;
|
|
void setResourceOwnerAccount(const std::string &resourceOwnerAccount);
|
|
int getBandwidth() const;
|
|
void setBandwidth(int bandwidth);
|
|
std::string getOwnerAccount() const;
|
|
void setOwnerAccount(const std::string &ownerAccount);
|
|
std::string getModificationProtectionStatus() const;
|
|
void setModificationProtectionStatus(const std::string &modificationProtectionStatus);
|
|
std::string getInstanceListenerType() const;
|
|
void setInstanceListenerType(const std::string &instanceListenerType);
|
|
std::string getVpcId() const;
|
|
void setVpcId(const std::string &vpcId);
|
|
std::string getPayType() const;
|
|
void setPayType(const std::string &payType);
|
|
int getRatio() const;
|
|
void setRatio(int ratio);
|
|
|
|
private:
|
|
long resourceOwnerId_;
|
|
std::string addressIPVersion_;
|
|
std::string masterZoneId_;
|
|
std::string resourceGroupId_;
|
|
std::string loadBalancerName_;
|
|
std::string slaveZoneId_;
|
|
std::vector<Tag> tag_;
|
|
std::string loadBalancerSpec_;
|
|
int autoRenewPeriod_;
|
|
long ownerId_;
|
|
std::string tags_;
|
|
std::string vSwitchId_;
|
|
std::string enableVpcVipFlow_;
|
|
bool autoRenew_;
|
|
std::string internetChargeType_;
|
|
std::string pricingCycle_;
|
|
std::string access_key_id_;
|
|
std::string modificationProtectionReason_;
|
|
bool supportPrivateLink_;
|
|
std::string clientToken_;
|
|
std::string cloudType_;
|
|
int duration_;
|
|
std::string regionId_;
|
|
std::string addressType_;
|
|
std::string instanceChargeType_;
|
|
std::string deleteProtection_;
|
|
bool autoPay_;
|
|
std::string address_;
|
|
std::string resourceOwnerAccount_;
|
|
int bandwidth_;
|
|
std::string ownerAccount_;
|
|
std::string modificationProtectionStatus_;
|
|
std::string instanceListenerType_;
|
|
std::string vpcId_;
|
|
std::string payType_;
|
|
int ratio_;
|
|
};
|
|
} // namespace Model
|
|
} // namespace Slb
|
|
} // namespace AlibabaCloud
|
|
#endif // !ALIBABACLOUD_SLB_MODEL_CREATELOADBALANCERREQUEST_H_
|