Support SLB latest OpenAPIs.

This commit is contained in:
sdk-team
2020-12-22 09:00:08 +00:00
parent 55c2e91e9f
commit 505b8e2062
71 changed files with 2163 additions and 1993 deletions

View File

@@ -48,10 +48,10 @@
#include "model/CreateLoadBalancerUDPListenerResult.h"
#include "model/CreateMasterSlaveServerGroupRequest.h"
#include "model/CreateMasterSlaveServerGroupResult.h"
#include "model/CreateMasterSlaveVServerGroupRequest.h"
#include "model/CreateMasterSlaveVServerGroupResult.h"
#include "model/CreateRulesRequest.h"
#include "model/CreateRulesResult.h"
#include "model/CreateTLSCipherPolicyRequest.h"
#include "model/CreateTLSCipherPolicyResult.h"
#include "model/CreateVServerGroupRequest.h"
#include "model/CreateVServerGroupResult.h"
#include "model/DeleteAccessControlListRequest.h"
@@ -66,12 +66,12 @@
#include "model/DeleteLoadBalancerListenerResult.h"
#include "model/DeleteMasterSlaveServerGroupRequest.h"
#include "model/DeleteMasterSlaveServerGroupResult.h"
#include "model/DeleteMasterSlaveVServerGroupRequest.h"
#include "model/DeleteMasterSlaveVServerGroupResult.h"
#include "model/DeleteRulesRequest.h"
#include "model/DeleteRulesResult.h"
#include "model/DeleteServerCertificateRequest.h"
#include "model/DeleteServerCertificateResult.h"
#include "model/DeleteTLSCipherPolicyRequest.h"
#include "model/DeleteTLSCipherPolicyResult.h"
#include "model/DeleteVServerGroupRequest.h"
#include "model/DeleteVServerGroupResult.h"
#include "model/DescribeAccessControlListAttributeRequest.h"
@@ -96,8 +96,6 @@
#include "model/DescribeLoadBalancerHTTPListenerAttributeResult.h"
#include "model/DescribeLoadBalancerHTTPSListenerAttributeRequest.h"
#include "model/DescribeLoadBalancerHTTPSListenerAttributeResult.h"
#include "model/DescribeLoadBalancerListenersExRequest.h"
#include "model/DescribeLoadBalancerListenersExResult.h"
#include "model/DescribeLoadBalancerTCPListenerAttributeRequest.h"
#include "model/DescribeLoadBalancerTCPListenerAttributeResult.h"
#include "model/DescribeLoadBalancerUDPListenerAttributeRequest.h"
@@ -108,10 +106,6 @@
#include "model/DescribeMasterSlaveServerGroupAttributeResult.h"
#include "model/DescribeMasterSlaveServerGroupsRequest.h"
#include "model/DescribeMasterSlaveServerGroupsResult.h"
#include "model/DescribeMasterSlaveVServerGroupAttributeRequest.h"
#include "model/DescribeMasterSlaveVServerGroupAttributeResult.h"
#include "model/DescribeMasterSlaveVServerGroupsRequest.h"
#include "model/DescribeMasterSlaveVServerGroupsResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/DescribeRuleAttributeRequest.h"
@@ -128,6 +122,8 @@
#include "model/DescribeVServerGroupsResult.h"
#include "model/DescribeZonesRequest.h"
#include "model/DescribeZonesResult.h"
#include "model/ListTLSCipherPoliciesRequest.h"
#include "model/ListTLSCipherPoliciesResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ModifyLoadBalancerInstanceSpecRequest.h"
@@ -164,8 +160,8 @@
#include "model/SetLoadBalancerHTTPListenerAttributeResult.h"
#include "model/SetLoadBalancerHTTPSListenerAttributeRequest.h"
#include "model/SetLoadBalancerHTTPSListenerAttributeResult.h"
#include "model/SetLoadBalancerListenerAttributeExRequest.h"
#include "model/SetLoadBalancerListenerAttributeExResult.h"
#include "model/SetLoadBalancerModificationProtectionRequest.h"
#include "model/SetLoadBalancerModificationProtectionResult.h"
#include "model/SetLoadBalancerNameRequest.h"
#include "model/SetLoadBalancerNameResult.h"
#include "model/SetLoadBalancerStatusRequest.h"
@@ -178,6 +174,8 @@
#include "model/SetRuleResult.h"
#include "model/SetServerCertificateNameRequest.h"
#include "model/SetServerCertificateNameResult.h"
#include "model/SetTLSCipherPolicyAttributeRequest.h"
#include "model/SetTLSCipherPolicyAttributeResult.h"
#include "model/SetVServerGroupAttributeRequest.h"
#include "model/SetVServerGroupAttributeResult.h"
#include "model/StartLoadBalancerListenerRequest.h"
@@ -240,12 +238,12 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::CreateMasterSlaveServerGroupResult> CreateMasterSlaveServerGroupOutcome;
typedef std::future<CreateMasterSlaveServerGroupOutcome> CreateMasterSlaveServerGroupOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::CreateMasterSlaveServerGroupRequest&, const CreateMasterSlaveServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMasterSlaveServerGroupAsyncHandler;
typedef Outcome<Error, Model::CreateMasterSlaveVServerGroupResult> CreateMasterSlaveVServerGroupOutcome;
typedef std::future<CreateMasterSlaveVServerGroupOutcome> CreateMasterSlaveVServerGroupOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::CreateMasterSlaveVServerGroupRequest&, const CreateMasterSlaveVServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMasterSlaveVServerGroupAsyncHandler;
typedef Outcome<Error, Model::CreateRulesResult> CreateRulesOutcome;
typedef std::future<CreateRulesOutcome> CreateRulesOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::CreateRulesRequest&, const CreateRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateRulesAsyncHandler;
typedef Outcome<Error, Model::CreateTLSCipherPolicyResult> CreateTLSCipherPolicyOutcome;
typedef std::future<CreateTLSCipherPolicyOutcome> CreateTLSCipherPolicyOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::CreateTLSCipherPolicyRequest&, const CreateTLSCipherPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTLSCipherPolicyAsyncHandler;
typedef Outcome<Error, Model::CreateVServerGroupResult> CreateVServerGroupOutcome;
typedef std::future<CreateVServerGroupOutcome> CreateVServerGroupOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::CreateVServerGroupRequest&, const CreateVServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateVServerGroupAsyncHandler;
@@ -267,15 +265,15 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DeleteMasterSlaveServerGroupResult> DeleteMasterSlaveServerGroupOutcome;
typedef std::future<DeleteMasterSlaveServerGroupOutcome> DeleteMasterSlaveServerGroupOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DeleteMasterSlaveServerGroupRequest&, const DeleteMasterSlaveServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMasterSlaveServerGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteMasterSlaveVServerGroupResult> DeleteMasterSlaveVServerGroupOutcome;
typedef std::future<DeleteMasterSlaveVServerGroupOutcome> DeleteMasterSlaveVServerGroupOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DeleteMasterSlaveVServerGroupRequest&, const DeleteMasterSlaveVServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMasterSlaveVServerGroupAsyncHandler;
typedef Outcome<Error, Model::DeleteRulesResult> DeleteRulesOutcome;
typedef std::future<DeleteRulesOutcome> DeleteRulesOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DeleteRulesRequest&, const DeleteRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRulesAsyncHandler;
typedef Outcome<Error, Model::DeleteServerCertificateResult> DeleteServerCertificateOutcome;
typedef std::future<DeleteServerCertificateOutcome> DeleteServerCertificateOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DeleteServerCertificateRequest&, const DeleteServerCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteServerCertificateAsyncHandler;
typedef Outcome<Error, Model::DeleteTLSCipherPolicyResult> DeleteTLSCipherPolicyOutcome;
typedef std::future<DeleteTLSCipherPolicyOutcome> DeleteTLSCipherPolicyOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DeleteTLSCipherPolicyRequest&, const DeleteTLSCipherPolicyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTLSCipherPolicyAsyncHandler;
typedef Outcome<Error, Model::DeleteVServerGroupResult> DeleteVServerGroupOutcome;
typedef std::future<DeleteVServerGroupOutcome> DeleteVServerGroupOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DeleteVServerGroupRequest&, const DeleteVServerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteVServerGroupAsyncHandler;
@@ -312,9 +310,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeLoadBalancerHTTPSListenerAttributeResult> DescribeLoadBalancerHTTPSListenerAttributeOutcome;
typedef std::future<DescribeLoadBalancerHTTPSListenerAttributeOutcome> DescribeLoadBalancerHTTPSListenerAttributeOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DescribeLoadBalancerHTTPSListenerAttributeRequest&, const DescribeLoadBalancerHTTPSListenerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoadBalancerHTTPSListenerAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeLoadBalancerListenersExResult> DescribeLoadBalancerListenersExOutcome;
typedef std::future<DescribeLoadBalancerListenersExOutcome> DescribeLoadBalancerListenersExOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DescribeLoadBalancerListenersExRequest&, const DescribeLoadBalancerListenersExOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoadBalancerListenersExAsyncHandler;
typedef Outcome<Error, Model::DescribeLoadBalancerTCPListenerAttributeResult> DescribeLoadBalancerTCPListenerAttributeOutcome;
typedef std::future<DescribeLoadBalancerTCPListenerAttributeOutcome> DescribeLoadBalancerTCPListenerAttributeOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DescribeLoadBalancerTCPListenerAttributeRequest&, const DescribeLoadBalancerTCPListenerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLoadBalancerTCPListenerAttributeAsyncHandler;
@@ -330,12 +325,6 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeMasterSlaveServerGroupsResult> DescribeMasterSlaveServerGroupsOutcome;
typedef std::future<DescribeMasterSlaveServerGroupsOutcome> DescribeMasterSlaveServerGroupsOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DescribeMasterSlaveServerGroupsRequest&, const DescribeMasterSlaveServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMasterSlaveServerGroupsAsyncHandler;
typedef Outcome<Error, Model::DescribeMasterSlaveVServerGroupAttributeResult> DescribeMasterSlaveVServerGroupAttributeOutcome;
typedef std::future<DescribeMasterSlaveVServerGroupAttributeOutcome> DescribeMasterSlaveVServerGroupAttributeOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DescribeMasterSlaveVServerGroupAttributeRequest&, const DescribeMasterSlaveVServerGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMasterSlaveVServerGroupAttributeAsyncHandler;
typedef Outcome<Error, Model::DescribeMasterSlaveVServerGroupsResult> DescribeMasterSlaveVServerGroupsOutcome;
typedef std::future<DescribeMasterSlaveVServerGroupsOutcome> DescribeMasterSlaveVServerGroupsOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DescribeMasterSlaveVServerGroupsRequest&, const DescribeMasterSlaveVServerGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMasterSlaveVServerGroupsAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
@@ -360,6 +349,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::DescribeZonesResult> DescribeZonesOutcome;
typedef std::future<DescribeZonesOutcome> DescribeZonesOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::DescribeZonesRequest&, const DescribeZonesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeZonesAsyncHandler;
typedef Outcome<Error, Model::ListTLSCipherPoliciesResult> ListTLSCipherPoliciesOutcome;
typedef std::future<ListTLSCipherPoliciesOutcome> ListTLSCipherPoliciesOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::ListTLSCipherPoliciesRequest&, const ListTLSCipherPoliciesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTLSCipherPoliciesAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
@@ -414,9 +406,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetLoadBalancerHTTPSListenerAttributeResult> SetLoadBalancerHTTPSListenerAttributeOutcome;
typedef std::future<SetLoadBalancerHTTPSListenerAttributeOutcome> SetLoadBalancerHTTPSListenerAttributeOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::SetLoadBalancerHTTPSListenerAttributeRequest&, const SetLoadBalancerHTTPSListenerAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLoadBalancerHTTPSListenerAttributeAsyncHandler;
typedef Outcome<Error, Model::SetLoadBalancerListenerAttributeExResult> SetLoadBalancerListenerAttributeExOutcome;
typedef std::future<SetLoadBalancerListenerAttributeExOutcome> SetLoadBalancerListenerAttributeExOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::SetLoadBalancerListenerAttributeExRequest&, const SetLoadBalancerListenerAttributeExOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLoadBalancerListenerAttributeExAsyncHandler;
typedef Outcome<Error, Model::SetLoadBalancerModificationProtectionResult> SetLoadBalancerModificationProtectionOutcome;
typedef std::future<SetLoadBalancerModificationProtectionOutcome> SetLoadBalancerModificationProtectionOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::SetLoadBalancerModificationProtectionRequest&, const SetLoadBalancerModificationProtectionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLoadBalancerModificationProtectionAsyncHandler;
typedef Outcome<Error, Model::SetLoadBalancerNameResult> SetLoadBalancerNameOutcome;
typedef std::future<SetLoadBalancerNameOutcome> SetLoadBalancerNameOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::SetLoadBalancerNameRequest&, const SetLoadBalancerNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetLoadBalancerNameAsyncHandler;
@@ -435,6 +427,9 @@ namespace AlibabaCloud
typedef Outcome<Error, Model::SetServerCertificateNameResult> SetServerCertificateNameOutcome;
typedef std::future<SetServerCertificateNameOutcome> SetServerCertificateNameOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::SetServerCertificateNameRequest&, const SetServerCertificateNameOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetServerCertificateNameAsyncHandler;
typedef Outcome<Error, Model::SetTLSCipherPolicyAttributeResult> SetTLSCipherPolicyAttributeOutcome;
typedef std::future<SetTLSCipherPolicyAttributeOutcome> SetTLSCipherPolicyAttributeOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::SetTLSCipherPolicyAttributeRequest&, const SetTLSCipherPolicyAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetTLSCipherPolicyAttributeAsyncHandler;
typedef Outcome<Error, Model::SetVServerGroupAttributeResult> SetVServerGroupAttributeOutcome;
typedef std::future<SetVServerGroupAttributeOutcome> SetVServerGroupAttributeOutcomeCallable;
typedef std::function<void(const SlbClient*, const Model::SetVServerGroupAttributeRequest&, const SetVServerGroupAttributeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetVServerGroupAttributeAsyncHandler;
@@ -500,12 +495,12 @@ namespace AlibabaCloud
CreateMasterSlaveServerGroupOutcome createMasterSlaveServerGroup(const Model::CreateMasterSlaveServerGroupRequest &request)const;
void createMasterSlaveServerGroupAsync(const Model::CreateMasterSlaveServerGroupRequest& request, const CreateMasterSlaveServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMasterSlaveServerGroupOutcomeCallable createMasterSlaveServerGroupCallable(const Model::CreateMasterSlaveServerGroupRequest& request) const;
CreateMasterSlaveVServerGroupOutcome createMasterSlaveVServerGroup(const Model::CreateMasterSlaveVServerGroupRequest &request)const;
void createMasterSlaveVServerGroupAsync(const Model::CreateMasterSlaveVServerGroupRequest& request, const CreateMasterSlaveVServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateMasterSlaveVServerGroupOutcomeCallable createMasterSlaveVServerGroupCallable(const Model::CreateMasterSlaveVServerGroupRequest& request) const;
CreateRulesOutcome createRules(const Model::CreateRulesRequest &request)const;
void createRulesAsync(const Model::CreateRulesRequest& request, const CreateRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateRulesOutcomeCallable createRulesCallable(const Model::CreateRulesRequest& request) const;
CreateTLSCipherPolicyOutcome createTLSCipherPolicy(const Model::CreateTLSCipherPolicyRequest &request)const;
void createTLSCipherPolicyAsync(const Model::CreateTLSCipherPolicyRequest& request, const CreateTLSCipherPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateTLSCipherPolicyOutcomeCallable createTLSCipherPolicyCallable(const Model::CreateTLSCipherPolicyRequest& request) const;
CreateVServerGroupOutcome createVServerGroup(const Model::CreateVServerGroupRequest &request)const;
void createVServerGroupAsync(const Model::CreateVServerGroupRequest& request, const CreateVServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateVServerGroupOutcomeCallable createVServerGroupCallable(const Model::CreateVServerGroupRequest& request) const;
@@ -527,15 +522,15 @@ namespace AlibabaCloud
DeleteMasterSlaveServerGroupOutcome deleteMasterSlaveServerGroup(const Model::DeleteMasterSlaveServerGroupRequest &request)const;
void deleteMasterSlaveServerGroupAsync(const Model::DeleteMasterSlaveServerGroupRequest& request, const DeleteMasterSlaveServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteMasterSlaveServerGroupOutcomeCallable deleteMasterSlaveServerGroupCallable(const Model::DeleteMasterSlaveServerGroupRequest& request) const;
DeleteMasterSlaveVServerGroupOutcome deleteMasterSlaveVServerGroup(const Model::DeleteMasterSlaveVServerGroupRequest &request)const;
void deleteMasterSlaveVServerGroupAsync(const Model::DeleteMasterSlaveVServerGroupRequest& request, const DeleteMasterSlaveVServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteMasterSlaveVServerGroupOutcomeCallable deleteMasterSlaveVServerGroupCallable(const Model::DeleteMasterSlaveVServerGroupRequest& request) const;
DeleteRulesOutcome deleteRules(const Model::DeleteRulesRequest &request)const;
void deleteRulesAsync(const Model::DeleteRulesRequest& request, const DeleteRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteRulesOutcomeCallable deleteRulesCallable(const Model::DeleteRulesRequest& request) const;
DeleteServerCertificateOutcome deleteServerCertificate(const Model::DeleteServerCertificateRequest &request)const;
void deleteServerCertificateAsync(const Model::DeleteServerCertificateRequest& request, const DeleteServerCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteServerCertificateOutcomeCallable deleteServerCertificateCallable(const Model::DeleteServerCertificateRequest& request) const;
DeleteTLSCipherPolicyOutcome deleteTLSCipherPolicy(const Model::DeleteTLSCipherPolicyRequest &request)const;
void deleteTLSCipherPolicyAsync(const Model::DeleteTLSCipherPolicyRequest& request, const DeleteTLSCipherPolicyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteTLSCipherPolicyOutcomeCallable deleteTLSCipherPolicyCallable(const Model::DeleteTLSCipherPolicyRequest& request) const;
DeleteVServerGroupOutcome deleteVServerGroup(const Model::DeleteVServerGroupRequest &request)const;
void deleteVServerGroupAsync(const Model::DeleteVServerGroupRequest& request, const DeleteVServerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteVServerGroupOutcomeCallable deleteVServerGroupCallable(const Model::DeleteVServerGroupRequest& request) const;
@@ -572,9 +567,6 @@ namespace AlibabaCloud
DescribeLoadBalancerHTTPSListenerAttributeOutcome describeLoadBalancerHTTPSListenerAttribute(const Model::DescribeLoadBalancerHTTPSListenerAttributeRequest &request)const;
void describeLoadBalancerHTTPSListenerAttributeAsync(const Model::DescribeLoadBalancerHTTPSListenerAttributeRequest& request, const DescribeLoadBalancerHTTPSListenerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLoadBalancerHTTPSListenerAttributeOutcomeCallable describeLoadBalancerHTTPSListenerAttributeCallable(const Model::DescribeLoadBalancerHTTPSListenerAttributeRequest& request) const;
DescribeLoadBalancerListenersExOutcome describeLoadBalancerListenersEx(const Model::DescribeLoadBalancerListenersExRequest &request)const;
void describeLoadBalancerListenersExAsync(const Model::DescribeLoadBalancerListenersExRequest& request, const DescribeLoadBalancerListenersExAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLoadBalancerListenersExOutcomeCallable describeLoadBalancerListenersExCallable(const Model::DescribeLoadBalancerListenersExRequest& request) const;
DescribeLoadBalancerTCPListenerAttributeOutcome describeLoadBalancerTCPListenerAttribute(const Model::DescribeLoadBalancerTCPListenerAttributeRequest &request)const;
void describeLoadBalancerTCPListenerAttributeAsync(const Model::DescribeLoadBalancerTCPListenerAttributeRequest& request, const DescribeLoadBalancerTCPListenerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeLoadBalancerTCPListenerAttributeOutcomeCallable describeLoadBalancerTCPListenerAttributeCallable(const Model::DescribeLoadBalancerTCPListenerAttributeRequest& request) const;
@@ -590,12 +582,6 @@ namespace AlibabaCloud
DescribeMasterSlaveServerGroupsOutcome describeMasterSlaveServerGroups(const Model::DescribeMasterSlaveServerGroupsRequest &request)const;
void describeMasterSlaveServerGroupsAsync(const Model::DescribeMasterSlaveServerGroupsRequest& request, const DescribeMasterSlaveServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMasterSlaveServerGroupsOutcomeCallable describeMasterSlaveServerGroupsCallable(const Model::DescribeMasterSlaveServerGroupsRequest& request) const;
DescribeMasterSlaveVServerGroupAttributeOutcome describeMasterSlaveVServerGroupAttribute(const Model::DescribeMasterSlaveVServerGroupAttributeRequest &request)const;
void describeMasterSlaveVServerGroupAttributeAsync(const Model::DescribeMasterSlaveVServerGroupAttributeRequest& request, const DescribeMasterSlaveVServerGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMasterSlaveVServerGroupAttributeOutcomeCallable describeMasterSlaveVServerGroupAttributeCallable(const Model::DescribeMasterSlaveVServerGroupAttributeRequest& request) const;
DescribeMasterSlaveVServerGroupsOutcome describeMasterSlaveVServerGroups(const Model::DescribeMasterSlaveVServerGroupsRequest &request)const;
void describeMasterSlaveVServerGroupsAsync(const Model::DescribeMasterSlaveVServerGroupsRequest& request, const DescribeMasterSlaveVServerGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeMasterSlaveVServerGroupsOutcomeCallable describeMasterSlaveVServerGroupsCallable(const Model::DescribeMasterSlaveVServerGroupsRequest& request) const;
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
@@ -620,6 +606,9 @@ namespace AlibabaCloud
DescribeZonesOutcome describeZones(const Model::DescribeZonesRequest &request)const;
void describeZonesAsync(const Model::DescribeZonesRequest& request, const DescribeZonesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeZonesOutcomeCallable describeZonesCallable(const Model::DescribeZonesRequest& request) const;
ListTLSCipherPoliciesOutcome listTLSCipherPolicies(const Model::ListTLSCipherPoliciesRequest &request)const;
void listTLSCipherPoliciesAsync(const Model::ListTLSCipherPoliciesRequest& request, const ListTLSCipherPoliciesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTLSCipherPoliciesOutcomeCallable listTLSCipherPoliciesCallable(const Model::ListTLSCipherPoliciesRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
@@ -674,9 +663,9 @@ namespace AlibabaCloud
SetLoadBalancerHTTPSListenerAttributeOutcome setLoadBalancerHTTPSListenerAttribute(const Model::SetLoadBalancerHTTPSListenerAttributeRequest &request)const;
void setLoadBalancerHTTPSListenerAttributeAsync(const Model::SetLoadBalancerHTTPSListenerAttributeRequest& request, const SetLoadBalancerHTTPSListenerAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetLoadBalancerHTTPSListenerAttributeOutcomeCallable setLoadBalancerHTTPSListenerAttributeCallable(const Model::SetLoadBalancerHTTPSListenerAttributeRequest& request) const;
SetLoadBalancerListenerAttributeExOutcome setLoadBalancerListenerAttributeEx(const Model::SetLoadBalancerListenerAttributeExRequest &request)const;
void setLoadBalancerListenerAttributeExAsync(const Model::SetLoadBalancerListenerAttributeExRequest& request, const SetLoadBalancerListenerAttributeExAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetLoadBalancerListenerAttributeExOutcomeCallable setLoadBalancerListenerAttributeExCallable(const Model::SetLoadBalancerListenerAttributeExRequest& request) const;
SetLoadBalancerModificationProtectionOutcome setLoadBalancerModificationProtection(const Model::SetLoadBalancerModificationProtectionRequest &request)const;
void setLoadBalancerModificationProtectionAsync(const Model::SetLoadBalancerModificationProtectionRequest& request, const SetLoadBalancerModificationProtectionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetLoadBalancerModificationProtectionOutcomeCallable setLoadBalancerModificationProtectionCallable(const Model::SetLoadBalancerModificationProtectionRequest& request) const;
SetLoadBalancerNameOutcome setLoadBalancerName(const Model::SetLoadBalancerNameRequest &request)const;
void setLoadBalancerNameAsync(const Model::SetLoadBalancerNameRequest& request, const SetLoadBalancerNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetLoadBalancerNameOutcomeCallable setLoadBalancerNameCallable(const Model::SetLoadBalancerNameRequest& request) const;
@@ -695,6 +684,9 @@ namespace AlibabaCloud
SetServerCertificateNameOutcome setServerCertificateName(const Model::SetServerCertificateNameRequest &request)const;
void setServerCertificateNameAsync(const Model::SetServerCertificateNameRequest& request, const SetServerCertificateNameAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetServerCertificateNameOutcomeCallable setServerCertificateNameCallable(const Model::SetServerCertificateNameRequest& request) const;
SetTLSCipherPolicyAttributeOutcome setTLSCipherPolicyAttribute(const Model::SetTLSCipherPolicyAttributeRequest &request)const;
void setTLSCipherPolicyAttributeAsync(const Model::SetTLSCipherPolicyAttributeRequest& request, const SetTLSCipherPolicyAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetTLSCipherPolicyAttributeOutcomeCallable setTLSCipherPolicyAttributeCallable(const Model::SetTLSCipherPolicyAttributeRequest& request) const;
SetVServerGroupAttributeOutcome setVServerGroupAttribute(const Model::SetVServerGroupAttributeRequest &request)const;
void setVServerGroupAttributeAsync(const Model::SetVServerGroupAttributeRequest& request, const SetVServerGroupAttributeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetVServerGroupAttributeOutcomeCallable setVServerGroupAttributeCallable(const Model::SetVServerGroupAttributeRequest& request) const;

View File

@@ -30,6 +30,13 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_SLB_EXPORT CreateDomainExtensionRequest : public RpcServiceRequest
{
public:
struct ServerCertificate
{
std::string bindingType;
std::string certificateId;
std::string standardType;
};
public:
CreateDomainExtensionRequest();
@@ -39,6 +46,8 @@ namespace AlibabaCloud
void setAccess_key_id(const std::string& access_key_id);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<ServerCertificate> getServerCertificate()const;
void setServerCertificate(const std::vector<ServerCertificate>& serverCertificate);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getListenerPort()const;
@@ -47,6 +56,8 @@ namespace AlibabaCloud
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::vector<std::string> getCertificateId()const;
void setCertificateId(const std::vector<std::string>& certificateId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getServerCertificateId()const;
@@ -61,10 +72,12 @@ namespace AlibabaCloud
private:
std::string access_key_id_;
long resourceOwnerId_;
std::vector<ServerCertificate> serverCertificate_;
std::string regionId_;
int listenerPort_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::vector<std::string> certificateId_;
long ownerId_;
std::string serverCertificateId_;
std::string tags_;

View File

@@ -30,6 +30,13 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_SLB_EXPORT CreateLoadBalancerHTTPSListenerRequest : public RpcServiceRequest
{
public:
struct ServerCertificate
{
std::string bindingType;
std::string certificateId;
std::string standardType;
};
public:
CreateLoadBalancerHTTPSListenerRequest();
@@ -37,6 +44,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<ServerCertificate> getServerCertificate()const;
void setServerCertificate(const std::vector<ServerCertificate>& serverCertificate);
int getHealthCheckTimeout()const;
void setHealthCheckTimeout(int healthCheckTimeout);
std::string getXForwardedFor()const;
@@ -152,6 +161,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::vector<ServerCertificate> serverCertificate_;
int healthCheckTimeout_;
std::string xForwardedFor_;
std::string healthCheckURI_;

View File

@@ -35,46 +35,20 @@ namespace AlibabaCloud
CreateLoadBalancerRequest();
~CreateLoadBalancerRequest();
std::string getAccess_key_id()const;
void setAccess_key_id(const std::string& access_key_id);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
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);
std::string getAddressIPVersion()const;
void setAddressIPVersion(const std::string& addressIPVersion);
std::string getMasterZoneId()const;
void setMasterZoneId(const std::string& masterZoneId);
int getDuration()const;
void setDuration(int duration);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getLoadBalancerName()const;
void setLoadBalancerName(const std::string& loadBalancerName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAddressType()const;
void setAddressType(const std::string& addressType);
std::string getSlaveZoneId()const;
void setSlaveZoneId(const std::string& slaveZoneId);
std::string getDeleteProtection()const;
void setDeleteProtection(const std::string& deleteProtection);
std::string getLoadBalancerSpec()const;
void setLoadBalancerSpec(const std::string& loadBalancerSpec);
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);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTags()const;
@@ -85,44 +59,76 @@ namespace AlibabaCloud
void setEnableVpcVipFlow(const std::string& enableVpcVipFlow);
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& regionId);
std::string getAddressType()const;
void setAddressType(const std::string& addressType);
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 getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getPayType()const;
void setPayType(const std::string& payType);
std::string getPricingCycle()const;
void setPricingCycle(const std::string& pricingCycle);
int getRatio()const;
void setRatio(int ratio);
private:
std::string access_key_id_;
long resourceOwnerId_;
bool supportPrivateLink_;
std::string clientToken_;
std::string cloudType_;
std::string addressIPVersion_;
std::string masterZoneId_;
int duration_;
std::string resourceGroupId_;
std::string loadBalancerName_;
std::string regionId_;
std::string addressType_;
std::string slaveZoneId_;
std::string deleteProtection_;
std::string loadBalancerSpec_;
bool autoPay_;
std::string address_;
std::string resourceOwnerAccount_;
int bandwidth_;
std::string ownerAccount_;
long ownerId_;
std::string tags_;
std::string vSwitchId_;
std::string enableVpcVipFlow_;
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 deleteProtection_;
bool autoPay_;
std::string address_;
std::string resourceOwnerAccount_;
int bandwidth_;
std::string ownerAccount_;
std::string modificationProtectionStatus_;
std::string vpcId_;
std::string payType_;
std::string pricingCycle_;
int ratio_;
};

View File

@@ -1,65 +0,0 @@
/*
* 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_CREATEMASTERSLAVEVSERVERGROUPRESULT_H_
#define ALIBABACLOUD_SLB_MODEL_CREATEMASTERSLAVEVSERVERGROUPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/slb/SlbExport.h>
namespace AlibabaCloud
{
namespace Slb
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT CreateMasterSlaveVServerGroupResult : public ServiceResult
{
public:
struct MasterSlaveBackendServer
{
std::string type;
std::string serverId;
std::string description;
std::string vpcId;
std::string eniHost;
int port;
std::string serverIp;
int isBackup;
int weight;
};
CreateMasterSlaveVServerGroupResult();
explicit CreateMasterSlaveVServerGroupResult(const std::string &payload);
~CreateMasterSlaveVServerGroupResult();
std::string getMasterSlaveVServerGroupId()const;
std::vector<MasterSlaveBackendServer> getMasterSlaveBackendServers()const;
protected:
void parse(const std::string &payload);
private:
std::string masterSlaveVServerGroupId_;
std::vector<MasterSlaveBackendServer> masterSlaveBackendServers_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_CREATEMASTERSLAVEVSERVERGROUPRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SLB_MODEL_DELETEMASTERSLAVEVSERVERGROUPREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_DELETEMASTERSLAVEVSERVERGROUPREQUEST_H_
#ifndef ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT DeleteMasterSlaveVServerGroupRequest : public RpcServiceRequest
class ALIBABACLOUD_SLB_EXPORT CreateTLSCipherPolicyRequest : public RpcServiceRequest
{
public:
DeleteMasterSlaveVServerGroupRequest();
~DeleteMasterSlaveVServerGroupRequest();
CreateTLSCipherPolicyRequest();
~CreateTLSCipherPolicyRequest();
std::string getAccess_key_id()const;
void setAccess_key_id(const std::string& access_key_id);
@@ -43,30 +43,33 @@ namespace AlibabaCloud
void setAccessKeyId(const std::string& accessKeyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getMasterSlaveVServerGroupId()const;
void setMasterSlaveVServerGroupId(const std::string& masterSlaveVServerGroupId);
std::vector<std::string> getCiphers()const;
void setCiphers(const std::vector<std::string>& ciphers);
std::vector<std::string> getTLSVersions()const;
void setTLSVersions(const std::vector<std::string>& tLSVersions);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getName()const;
void setName(const std::string& name);
private:
std::string access_key_id_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string regionId_;
std::string masterSlaveVServerGroupId_;
std::vector<std::string> ciphers_;
std::vector<std::string> tLSVersions_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string tags_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_DELETEMASTERSLAVEVSERVERGROUPREQUEST_H_
#endif // !ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERLISTENERATTRIBUTEEXRESULT_H_
#define ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERLISTENERATTRIBUTEEXRESULT_H_
#ifndef ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYRESULT_H_
#define ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYRESULT_H_
#include <string>
#include <vector>
@@ -29,21 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT SetLoadBalancerListenerAttributeExResult : public ServiceResult
class ALIBABACLOUD_SLB_EXPORT CreateTLSCipherPolicyResult : public ServiceResult
{
public:
SetLoadBalancerListenerAttributeExResult();
explicit SetLoadBalancerListenerAttributeExResult(const std::string &payload);
~SetLoadBalancerListenerAttributeExResult();
CreateTLSCipherPolicyResult();
explicit CreateTLSCipherPolicyResult(const std::string &payload);
~CreateTLSCipherPolicyResult();
std::string getTLSCipherPolicyId()const;
protected:
void parse(const std::string &payload);
private:
std::string tLSCipherPolicyId_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERLISTENERATTRIBUTEEXRESULT_H_
#endif // !ALIBABACLOUD_SLB_MODEL_CREATETLSCIPHERPOLICYRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPSREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPSREQUEST_H_
#ifndef ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT DescribeMasterSlaveVServerGroupsRequest : public RpcServiceRequest
class ALIBABACLOUD_SLB_EXPORT DeleteTLSCipherPolicyRequest : public RpcServiceRequest
{
public:
DescribeMasterSlaveVServerGroupsRequest();
~DescribeMasterSlaveVServerGroupsRequest();
DeleteTLSCipherPolicyRequest();
~DeleteTLSCipherPolicyRequest();
std::string getAccess_key_id()const;
void setAccess_key_id(const std::string& access_key_id);
@@ -41,6 +41,8 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTLSCipherPolicyId()const;
void setTLSCipherPolicyId(const std::string& tLSCipherPolicyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
@@ -49,24 +51,19 @@ namespace AlibabaCloud
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getLoadBalancerId()const;
void setLoadBalancerId(const std::string& loadBalancerId);
private:
std::string access_key_id_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string tLSCipherPolicyId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string tags_;
std::string loadBalancerId_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPSREQUEST_H_
#endif // !ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SLB_MODEL_DELETEMASTERSLAVEVSERVERGROUPRESULT_H_
#define ALIBABACLOUD_SLB_MODEL_DELETEMASTERSLAVEVSERVERGROUPRESULT_H_
#ifndef ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYRESULT_H_
#define ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYRESULT_H_
#include <string>
#include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT DeleteMasterSlaveVServerGroupResult : public ServiceResult
class ALIBABACLOUD_SLB_EXPORT DeleteTLSCipherPolicyResult : public ServiceResult
{
public:
DeleteMasterSlaveVServerGroupResult();
explicit DeleteMasterSlaveVServerGroupResult(const std::string &payload);
~DeleteMasterSlaveVServerGroupResult();
DeleteTLSCipherPolicyResult();
explicit DeleteTLSCipherPolicyResult(const std::string &payload);
~DeleteTLSCipherPolicyResult();
protected:
void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_DELETEMASTERSLAVEVSERVERGROUPRESULT_H_
#endif // !ALIBABACLOUD_SLB_MODEL_DELETETLSCIPHERPOLICYRESULT_H_

View File

@@ -44,7 +44,10 @@ namespace AlibabaCloud
long expireTimeStamp;
std::string cACertificateId;
std::string createTime;
std::string standardType;
std::string cACertificateName;
int encryptionKeyLength;
std::string encryptionAlgorithm;
std::string regionId;
std::string expireTime;
std::vector<CACertificate::Tag> tags;

View File

@@ -32,6 +32,18 @@ namespace AlibabaCloud
class ALIBABACLOUD_SLB_EXPORT DescribeDomainExtensionAttributeResult : public ServiceResult
{
public:
struct Certificate
{
std::string certificateId;
std::string encryptionAlgorithm;
};
struct ServerCertificate
{
std::string certificateId;
std::string bindingType;
std::string encryptionAlgorithm;
std::string standardType;
};
DescribeDomainExtensionAttributeResult();
@@ -39,6 +51,8 @@ namespace AlibabaCloud
~DescribeDomainExtensionAttributeResult();
std::string getDomainExtensionId()const;
int getListenerPort()const;
std::vector<Certificate> getCertificates()const;
std::vector<ServerCertificate> getServerCertificates()const;
std::string getServerCertificateId()const;
std::string getLoadBalancerId()const;
std::string getDomain()const;
@@ -48,6 +62,8 @@ namespace AlibabaCloud
private:
std::string domainExtensionId_;
int listenerPort_;
std::vector<Certificate> certificates_;
std::vector<ServerCertificate> serverCertificates_;
std::string serverCertificateId_;
std::string loadBalancerId_;
std::string domain_;

View File

@@ -34,7 +34,21 @@ namespace AlibabaCloud
public:
struct DomainExtension
{
struct Certificate
{
std::string certificateId;
std::string encryptionAlgorithm;
};
struct ServerCertificate
{
std::string certificateId;
std::string bindingType;
std::string encryptionAlgorithm;
std::string standardType;
};
std::string domainExtensionId;
std::vector<DomainExtension::Certificate> certificates;
std::vector<DomainExtension::ServerCertificate> serverCertificates;
std::string serverCertificateId;
std::string domain;
};

View File

@@ -71,10 +71,13 @@ namespace AlibabaCloud
std::string getLoadBalancerId()const;
std::vector<BackendServer> getBackendServers()const;
std::string getHasReservedInfo()const;
std::string getBusinessStatus()const;
std::string getReservedInfoBandwidth()const;
std::string getModificationProtectionStatus()const;
std::string getLoadBalancerSpec()const;
std::string getNetworkType()const;
int getBandwidth()const;
std::string getModificationProtectionReason()const;
std::string getAssociatedCenId()const;
std::vector<std::string> getListenerPorts()const;
std::string getMasterZoneId()const;
@@ -120,10 +123,13 @@ namespace AlibabaCloud
std::string loadBalancerId_;
std::vector<BackendServer> backendServers_;
std::string hasReservedInfo_;
std::string businessStatus_;
std::string reservedInfoBandwidth_;
std::string modificationProtectionStatus_;
std::string loadBalancerSpec_;
std::string networkType_;
int bandwidth_;
std::string modificationProtectionReason_;
std::string associatedCenId_;
std::vector<std::string> listenerPorts_;
std::string masterZoneId_;

View File

@@ -42,10 +42,31 @@ namespace AlibabaCloud
};
struct DomainExtension
{
struct Certificate
{
std::string certificateId;
std::string encryptionAlgorithm;
};
struct ServerCertificate
{
std::string certificateId;
std::string bindingType;
std::string encryptionAlgorithm;
std::string standardType;
};
std::string domainExtensionId;
std::vector<DomainExtension::ServerCertificate> serverCertificates1;
std::vector<DomainExtension::Certificate> certificates;
std::string serverCertificateId;
std::string domain;
};
struct ServerCertificate2
{
std::string certificateId;
std::string bindingType;
std::string encryptionAlgorithm;
std::string standardType;
};
DescribeLoadBalancerHTTPSListenerAttributeResult();
@@ -66,6 +87,7 @@ namespace AlibabaCloud
int getHealthCheckInterval()const;
std::string getTLSCipherPolicy()const;
std::string getCACertificateId()const;
std::vector<ServerCertificate2> getServerCertificates()const;
std::string getXForwardedFor_ClientCertFingerprintAlias()const;
int getHealthCheckTimeout()const;
std::string getAclStatus()const;
@@ -124,6 +146,7 @@ namespace AlibabaCloud
int healthCheckInterval_;
std::string tLSCipherPolicy_;
std::string cACertificateId_;
std::vector<ServerCertificate2> serverCertificates_;
std::string xForwardedFor_ClientCertFingerprintAlias_;
int healthCheckTimeout_;
std::string aclStatus_;

View File

@@ -1,57 +0,0 @@
/*
* 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_DESCRIBELOADBALANCERLISTENERSEXREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_DESCRIBELOADBALANCERLISTENERSEXREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/slb/SlbExport.h>
namespace AlibabaCloud
{
namespace Slb
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT DescribeLoadBalancerListenersExRequest : public RpcServiceRequest
{
public:
DescribeLoadBalancerListenersExRequest();
~DescribeLoadBalancerListenersExRequest();
int getListenerPort()const;
void setListenerPort(int listenerPort);
std::string getProtocol()const;
void setProtocol(const std::string& protocol);
std::string getLoadBalancerId()const;
void setLoadBalancerId(const std::string& loadBalancerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
int listenerPort_;
std::string protocol_;
std::string loadBalancerId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_DESCRIBELOADBALANCERLISTENERSEXREQUEST_H_

View File

@@ -41,48 +41,26 @@ namespace AlibabaCloud
DescribeLoadBalancersRequest();
~DescribeLoadBalancersRequest();
std::string getAccess_key_id()const;
void setAccess_key_id(const std::string& access_key_id);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
bool getSupportPrivateLink()const;
void setSupportPrivateLink(bool supportPrivateLink);
std::string getNetworkType()const;
void setNetworkType(const std::string& networkType);
std::string getAddressIPVersion()const;
void setAddressIPVersion(const std::string& addressIPVersion);
std::string getMasterZoneId()const;
void setMasterZoneId(const std::string& masterZoneId);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getLoadBalancerName()const;
void setLoadBalancerName(const std::string& loadBalancerName);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getAddressType()const;
void setAddressType(const std::string& addressType);
std::string getSlaveZoneId()const;
void setSlaveZoneId(const std::string& slaveZoneId);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
std::string getFuzzy()const;
void setFuzzy(const std::string& fuzzy);
std::string getAddress()const;
void setAddress(const std::string& address);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getServerId()const;
void setServerId(const std::string& serverId);
std::string getLoadBalancerStatus()const;
void setLoadBalancerStatus(const std::string& loadBalancerStatus);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getServerIntranetAddress()const;
@@ -93,38 +71,63 @@ namespace AlibabaCloud
void setLoadBalancerId(const std::string& loadBalancerId);
std::string getInternetChargeType()const;
void setInternetChargeType(const std::string& internetChargeType);
std::string getAccess_key_id()const;
void setAccess_key_id(const std::string& access_key_id);
bool getSupportPrivateLink()const;
void setSupportPrivateLink(bool supportPrivateLink);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getAddressType()const;
void setAddressType(const std::string& addressType);
std::string getFuzzy()const;
void setFuzzy(const std::string& fuzzy);
std::string getBusinessStatus()const;
void setBusinessStatus(const std::string& businessStatus);
std::string getAddress()const;
void setAddress(const std::string& address);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getLoadBalancerStatus()const;
void setLoadBalancerStatus(const std::string& loadBalancerStatus);
std::string getVpcId()const;
void setVpcId(const std::string& vpcId);
std::string getPayType()const;
void setPayType(const std::string& payType);
private:
std::string access_key_id_;
long resourceOwnerId_;
bool supportPrivateLink_;
std::string networkType_;
std::string addressIPVersion_;
std::string masterZoneId_;
int pageNumber_;
std::string resourceGroupId_;
std::string loadBalancerName_;
std::string regionId_;
int pageSize_;
std::string addressType_;
std::string slaveZoneId_;
std::vector<Tag> tag_;
std::string fuzzy_;
std::string address_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string serverId_;
std::string loadBalancerStatus_;
std::string tags_;
std::string serverIntranetAddress_;
std::string vSwitchId_;
std::string loadBalancerId_;
std::string internetChargeType_;
std::string access_key_id_;
bool supportPrivateLink_;
int pageNumber_;
std::string regionId_;
int pageSize_;
std::string addressType_;
std::string fuzzy_;
std::string businessStatus_;
std::string address_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string loadBalancerStatus_;
std::string vpcId_;
std::string payType_;

View File

@@ -47,11 +47,14 @@ namespace AlibabaCloud
std::string loadBalancerId;
std::string payType;
std::string slaveZoneId;
std::string businessStatus;
std::string modificationProtectionStatus;
std::string internetChargeType;
std::string regionIdAlias;
std::string loadBalancerName;
std::string vpcId;
std::string networkType;
std::string modificationProtectionReason;
std::string regionId;
std::string addressType;
std::string loadBalancerStatus;

View File

@@ -1,67 +0,0 @@
/*
* 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_DESCRIBEMASTERSLAVEVSERVERGROUPATTRIBUTERESULT_H_
#define ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPATTRIBUTERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/slb/SlbExport.h>
namespace AlibabaCloud
{
namespace Slb
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT DescribeMasterSlaveVServerGroupAttributeResult : public ServiceResult
{
public:
struct MasterSlaveBackendServer
{
std::string type;
std::string serverId;
std::string description;
std::string vpcId;
std::string eniHost;
int port;
std::string serverIp;
int isBackup;
int weight;
};
DescribeMasterSlaveVServerGroupAttributeResult();
explicit DescribeMasterSlaveVServerGroupAttributeResult(const std::string &payload);
~DescribeMasterSlaveVServerGroupAttributeResult();
std::string getMasterSlaveVServerGroupId()const;
std::vector<MasterSlaveBackendServer> getMasterSlaveBackendServers()const;
std::string getMasterSlaveVServerGroupName()const;
protected:
void parse(const std::string &payload);
private:
std::string masterSlaveVServerGroupId_;
std::vector<MasterSlaveBackendServer> masterSlaveBackendServers_;
std::string masterSlaveVServerGroupName_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPATTRIBUTERESULT_H_

View File

@@ -45,11 +45,14 @@ namespace AlibabaCloud
std::string createTime;
std::vector<std::string> subjectAlternativeNames;
std::string aliCloudCertificateId;
std::string standardType;
std::string regionIdAlias;
std::string aliCloudCertificateName;
int isAliCloudCertificate;
int encryptionKeyLength;
std::string serverCertificateId;
std::string serverCertificateName;
std::string encryptionAlgorithm;
std::string regionId;
std::string expireTime;
std::vector<ServerCertificate::Tag> tags;

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPATTRIBUTEREQUEST_H_
#ifndef ALIBABACLOUD_SLB_MODEL_LISTTLSCIPHERPOLICIESREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_LISTTLSCIPHERPOLICIESREQUEST_H_
#include <string>
#include <vector>
@@ -28,45 +28,54 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT DescribeMasterSlaveVServerGroupAttributeRequest : public RpcServiceRequest
class ALIBABACLOUD_SLB_EXPORT ListTLSCipherPoliciesRequest : public RpcServiceRequest
{
public:
DescribeMasterSlaveVServerGroupAttributeRequest();
~DescribeMasterSlaveVServerGroupAttributeRequest();
ListTLSCipherPoliciesRequest();
~ListTLSCipherPoliciesRequest();
std::string getAccess_key_id()const;
void setAccess_key_id(const std::string& access_key_id);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
bool getIncludeListener()const;
void setIncludeListener(bool includeListener);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getTLSCipherPolicyId()const;
void setTLSCipherPolicyId(const std::string& tLSCipherPolicyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getMasterSlaveVServerGroupId()const;
void setMasterSlaveVServerGroupId(const std::string& masterSlaveVServerGroupId);
std::string getNextToken()const;
void setNextToken(const std::string& nextToken);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getName()const;
void setName(const std::string& name);
int getMaxItems()const;
void setMaxItems(int maxItems);
private:
std::string access_key_id_;
long resourceOwnerId_;
bool includeListener_;
std::string accessKeyId_;
std::string tLSCipherPolicyId_;
std::string regionId_;
std::string masterSlaveVServerGroupId_;
std::string nextToken_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
long ownerId_;
std::string tags_;
std::string name_;
int maxItems_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPATTRIBUTEREQUEST_H_
#endif // !ALIBABACLOUD_SLB_MODEL_LISTTLSCIPHERPOLICIESREQUEST_H_

View File

@@ -0,0 +1,73 @@
/*
* 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_LISTTLSCIPHERPOLICIESRESULT_H_
#define ALIBABACLOUD_SLB_MODEL_LISTTLSCIPHERPOLICIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/slb/SlbExport.h>
namespace AlibabaCloud
{
namespace Slb
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT ListTLSCipherPoliciesResult : public ServiceResult
{
public:
struct TLSCipherPolicy
{
struct RelateListener
{
int port;
std::string loadBalancerId;
std::string protocol;
};
std::string status;
std::vector<TLSCipherPolicy::RelateListener> relateListeners;
std::vector<std::string> ciphers;
std::string instanceId;
long createTime;
std::vector<std::string> tLSVersions;
std::string name;
};
ListTLSCipherPoliciesResult();
explicit ListTLSCipherPoliciesResult(const std::string &payload);
~ListTLSCipherPoliciesResult();
int getTotalCount()const;
std::string getNextToken()const;
std::vector<TLSCipherPolicy> getTLSCipherPolicies()const;
bool getIsTruncated()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::string nextToken_;
std::vector<TLSCipherPolicy> tLSCipherPolicies_;
bool isTruncated_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_LISTTLSCIPHERPOLICIESRESULT_H_

View File

@@ -30,6 +30,13 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_SLB_EXPORT SetDomainExtensionAttributeRequest : public RpcServiceRequest
{
public:
struct ServerCertificate
{
std::string bindingType;
std::string certificateId;
std::string standardType;
};
public:
SetDomainExtensionAttributeRequest();
@@ -39,6 +46,8 @@ namespace AlibabaCloud
void setAccess_key_id(const std::string& access_key_id);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<ServerCertificate> getServerCertificate()const;
void setServerCertificate(const std::vector<ServerCertificate>& serverCertificate);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getDomainExtensionId()const;
@@ -47,6 +56,8 @@ namespace AlibabaCloud
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::vector<std::string> getCertificateId()const;
void setCertificateId(const std::vector<std::string>& certificateId);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getServerCertificateId()const;
@@ -57,10 +68,12 @@ namespace AlibabaCloud
private:
std::string access_key_id_;
long resourceOwnerId_;
std::vector<ServerCertificate> serverCertificate_;
std::string regionId_;
std::string domainExtensionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::vector<std::string> certificateId_;
long ownerId_;
std::string serverCertificateId_;
std::string tags_;

View File

@@ -30,6 +30,13 @@ namespace AlibabaCloud
{
class ALIBABACLOUD_SLB_EXPORT SetLoadBalancerHTTPSListenerAttributeRequest : public RpcServiceRequest
{
public:
struct ServerCertificate
{
std::string bindingType;
std::string certificateId;
std::string standardType;
};
public:
SetLoadBalancerHTTPSListenerAttributeRequest();
@@ -37,6 +44,8 @@ namespace AlibabaCloud
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::vector<ServerCertificate> getServerCertificate()const;
void setServerCertificate(const std::vector<ServerCertificate>& serverCertificate);
int getHealthCheckTimeout()const;
void setHealthCheckTimeout(int healthCheckTimeout);
std::string getXForwardedFor()const;
@@ -150,6 +159,7 @@ namespace AlibabaCloud
private:
long resourceOwnerId_;
std::vector<ServerCertificate> serverCertificate_;
int healthCheckTimeout_;
std::string xForwardedFor_;
std::string healthCheckURI_;

View File

@@ -1,66 +0,0 @@
/*
* 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_SETLOADBALANCERLISTENERATTRIBUTEEXREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERLISTENERATTRIBUTEEXREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/slb/SlbExport.h>
namespace AlibabaCloud
{
namespace Slb
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT SetLoadBalancerListenerAttributeExRequest : public RpcServiceRequest
{
public:
struct KvAttribute
{
std::string value;
std::string key;
};
public:
SetLoadBalancerListenerAttributeExRequest();
~SetLoadBalancerListenerAttributeExRequest();
int getListenerPort()const;
void setListenerPort(int listenerPort);
std::vector<KvAttribute> getKvAttribute()const;
void setKvAttribute(const std::vector<KvAttribute>& kvAttribute);
std::string getProtocol()const;
void setProtocol(const std::string& protocol);
std::string getLoadBalancerId()const;
void setLoadBalancerId(const std::string& loadBalancerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
private:
int listenerPort_;
std::vector<KvAttribute> kvAttribute_;
std::string protocol_;
std::string loadBalancerId_;
std::string regionId_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERLISTENERATTRIBUTEEXREQUEST_H_

View File

@@ -0,0 +1,69 @@
/*
* 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_SETLOADBALANCERMODIFICATIONPROTECTIONREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERMODIFICATIONPROTECTIONREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/slb/SlbExport.h>
namespace AlibabaCloud
{
namespace Slb
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT SetLoadBalancerModificationProtectionRequest : public RpcServiceRequest
{
public:
SetLoadBalancerModificationProtectionRequest();
~SetLoadBalancerModificationProtectionRequest();
std::string getModificationProtectionReason()const;
void setModificationProtectionReason(const std::string& modificationProtectionReason);
long getResourceOwnerId()const;
void setResourceOwnerId(long resourceOwnerId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getModificationProtectionStatus()const;
void setModificationProtectionStatus(const std::string& modificationProtectionStatus);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getLoadBalancerId()const;
void setLoadBalancerId(const std::string& loadBalancerId);
private:
std::string modificationProtectionReason_;
long resourceOwnerId_;
std::string regionId_;
std::string resourceOwnerAccount_;
std::string modificationProtectionStatus_;
std::string ownerAccount_;
long ownerId_;
std::string loadBalancerId_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERMODIFICATIONPROTECTIONREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPSRESULT_H_
#define ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPSRESULT_H_
#ifndef ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERMODIFICATIONPROTECTIONRESULT_H_
#define ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERMODIFICATIONPROTECTIONRESULT_H_
#include <string>
#include <vector>
@@ -29,28 +29,21 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT DescribeMasterSlaveVServerGroupsResult : public ServiceResult
class ALIBABACLOUD_SLB_EXPORT SetLoadBalancerModificationProtectionResult : public ServiceResult
{
public:
struct MasterSlaveVServerGroup
{
std::string masterSlaveVServerGroupId;
std::string masterSlaveVServerGroupName;
};
DescribeMasterSlaveVServerGroupsResult();
explicit DescribeMasterSlaveVServerGroupsResult(const std::string &payload);
~DescribeMasterSlaveVServerGroupsResult();
std::vector<MasterSlaveVServerGroup> getMasterSlaveVServerGroups()const;
SetLoadBalancerModificationProtectionResult();
explicit SetLoadBalancerModificationProtectionResult(const std::string &payload);
~SetLoadBalancerModificationProtectionResult();
protected:
void parse(const std::string &payload);
private:
std::vector<MasterSlaveVServerGroup> masterSlaveVServerGroups_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_DESCRIBEMASTERSLAVEVSERVERGROUPSRESULT_H_
#endif // !ALIBABACLOUD_SLB_MODEL_SETLOADBALANCERMODIFICATIONPROTECTIONRESULT_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SLB_MODEL_CREATEMASTERSLAVEVSERVERGROUPREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_CREATEMASTERSLAVEVSERVERGROUPREQUEST_H_
#ifndef ALIBABACLOUD_SLB_MODEL_SETTLSCIPHERPOLICYATTRIBUTEREQUEST_H_
#define ALIBABACLOUD_SLB_MODEL_SETTLSCIPHERPOLICYATTRIBUTEREQUEST_H_
#include <string>
#include <vector>
@@ -28,12 +28,12 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT CreateMasterSlaveVServerGroupRequest : public RpcServiceRequest
class ALIBABACLOUD_SLB_EXPORT SetTLSCipherPolicyAttributeRequest : public RpcServiceRequest
{
public:
CreateMasterSlaveVServerGroupRequest();
~CreateMasterSlaveVServerGroupRequest();
SetTLSCipherPolicyAttributeRequest();
~SetTLSCipherPolicyAttributeRequest();
std::string getAccess_key_id()const;
void setAccess_key_id(const std::string& access_key_id);
@@ -41,38 +41,38 @@ namespace AlibabaCloud
void setResourceOwnerId(long resourceOwnerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getMasterSlaveBackendServers()const;
void setMasterSlaveBackendServers(const std::string& masterSlaveBackendServers);
std::string getTLSCipherPolicyId()const;
void setTLSCipherPolicyId(const std::string& tLSCipherPolicyId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::vector<std::string> getCiphers()const;
void setCiphers(const std::vector<std::string>& ciphers);
std::vector<std::string> getTLSVersions()const;
void setTLSVersions(const std::vector<std::string>& tLSVersions);
std::string getResourceOwnerAccount()const;
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getMasterSlaveVServerGroupName()const;
void setMasterSlaveVServerGroupName(const std::string& masterSlaveVServerGroupName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTags()const;
void setTags(const std::string& tags);
std::string getLoadBalancerId()const;
void setLoadBalancerId(const std::string& loadBalancerId);
std::string getName()const;
void setName(const std::string& name);
private:
std::string access_key_id_;
long resourceOwnerId_;
std::string accessKeyId_;
std::string masterSlaveBackendServers_;
std::string tLSCipherPolicyId_;
std::string regionId_;
std::vector<std::string> ciphers_;
std::vector<std::string> tLSVersions_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string masterSlaveVServerGroupName_;
long ownerId_;
std::string tags_;
std::string loadBalancerId_;
std::string name_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_CREATEMASTERSLAVEVSERVERGROUPREQUEST_H_
#endif // !ALIBABACLOUD_SLB_MODEL_SETTLSCIPHERPOLICYATTRIBUTEREQUEST_H_

View File

@@ -14,8 +14,8 @@
* limitations under the License.
*/
#ifndef ALIBABACLOUD_SLB_MODEL_DESCRIBELOADBALANCERLISTENERSEXRESULT_H_
#define ALIBABACLOUD_SLB_MODEL_DESCRIBELOADBALANCERLISTENERSEXRESULT_H_
#ifndef ALIBABACLOUD_SLB_MODEL_SETTLSCIPHERPOLICYATTRIBUTERESULT_H_
#define ALIBABACLOUD_SLB_MODEL_SETTLSCIPHERPOLICYATTRIBUTERESULT_H_
#include <string>
#include <vector>
@@ -29,31 +29,23 @@ namespace AlibabaCloud
{
namespace Model
{
class ALIBABACLOUD_SLB_EXPORT DescribeLoadBalancerListenersExResult : public ServiceResult
class ALIBABACLOUD_SLB_EXPORT SetTLSCipherPolicyAttributeResult : public ServiceResult
{
public:
struct ListenerAttributeExResponseModel
{
int listenerPort;
std::string protocol;
std::string recordCustomizedHeaders;
};
DescribeLoadBalancerListenersExResult();
explicit DescribeLoadBalancerListenersExResult(const std::string &payload);
~DescribeLoadBalancerListenersExResult();
std::string getLoadBalancerId()const;
std::vector<ListenerAttributeExResponseModel> getListenerExtendedAttributes()const;
SetTLSCipherPolicyAttributeResult();
explicit SetTLSCipherPolicyAttributeResult(const std::string &payload);
~SetTLSCipherPolicyAttributeResult();
std::string getTaskId()const;
protected:
void parse(const std::string &payload);
private:
std::string loadBalancerId_;
std::vector<ListenerAttributeExResponseModel> listenerExtendedAttributes_;
std::string taskId_;
};
}
}
}
#endif // !ALIBABACLOUD_SLB_MODEL_DESCRIBELOADBALANCERLISTENERSEXRESULT_H_
#endif // !ALIBABACLOUD_SLB_MODEL_SETTLSCIPHERPOLICYATTRIBUTERESULT_H_

View File

@@ -51,6 +51,8 @@ namespace AlibabaCloud
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getStandardType()const;
void setStandardType(const std::string& standardType);
long getOwnerId()const;
void setOwnerId(long ownerId);
@@ -63,6 +65,7 @@ namespace AlibabaCloud
std::string cACertificate_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string standardType_;
long ownerId_;
};

View File

@@ -55,6 +55,8 @@ namespace AlibabaCloud
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
std::string getOwnerAccount()const;
void setOwnerAccount(const std::string& ownerAccount);
std::string getStandardType()const;
void setStandardType(const std::string& standardType);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getTags()const;
@@ -75,6 +77,7 @@ namespace AlibabaCloud
std::string regionId_;
std::string resourceOwnerAccount_;
std::string ownerAccount_;
std::string standardType_;
long ownerId_;
std::string tags_;
std::string aliCloudCertificateRegionId_;