Skip to content

Commit

Permalink
Generated 2020-06-16 for Alb.
Browse files Browse the repository at this point in the history
  • Loading branch information
sdk-team committed Dec 23, 2024
1 parent 574a5e9 commit 48362f9
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.36.2031
1.36.2032
2 changes: 2 additions & 0 deletions alb/include/alibabacloud/alb/model/CreateListenerRequest.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ class ALIBABACLOUD_ALB_EXPORT CreateListenerRequest : public RpcServiceRequest {
std::string xForwardedForClientCertSubjectDNAlias;
bool xForwardedForClientSourceIpsEnabled;
bool xForwardedForClientCertIssuerDNEnabled;
bool xForwardedForHostEnabled;
std::string xForwardedForProcessingMode;
bool xForwardedForClientCertFingerprintEnabled;
std::string xForwardedForClientCertIssuerDNAlias;
bool xForwardedForProtoEnabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ namespace AlibabaCloud
bool xForwardedForClientSourceIpsEnabled;
std::string xForwardedForClientCertFingerprintAlias;
bool xForwardedForClientCertFingerprintEnabled;
bool xForwardedForHostEnabled;
std::string xForwardedForClientSourceIpsTrusted;
std::string xForwardedForClientCertIssuerDNAlias;
std::string xForwardedForClientCertClientVerifyAlias;
Expand All @@ -72,6 +73,7 @@ namespace AlibabaCloud
bool xForwardedForProtoEnabled;
bool xForwardedForClientSrcPortEnabled;
bool xForwardedForEnabled;
std::string xForwardedForProcessingMode;
bool xForwardedForSLBPortEnabled;
bool xForwardedForClientCertIssuerDNEnabled;
bool xForwardedForClientCertClientVerifyEnabled;
Expand Down
2 changes: 2 additions & 0 deletions alb/include/alibabacloud/alb/model/ListListenersResult.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ namespace AlibabaCloud
bool xForwardedForClientSourceIpsEnabled;
std::string xForwardedForClientCertFingerprintAlias;
bool xForwardedForClientCertFingerprintEnabled;
bool xForwardedForHostEnabled;
std::string xForwardedForClientSourceIpsTrusted;
std::string xForwardedForClientCertIssuerDNAlias;
std::string xForwardedForClientCertClientVerifyAlias;
Expand All @@ -64,6 +65,7 @@ namespace AlibabaCloud
bool xForwardedForProtoEnabled;
bool xForwardedForClientSrcPortEnabled;
bool xForwardedForEnabled;
std::string xForwardedForProcessingMode;
bool xForwardedForSLBPortEnabled;
bool xForwardedForClientCertIssuerDNEnabled;
bool xForwardedForClientCertClientVerifyEnabled;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class ALIBABACLOUD_ALB_EXPORT UpdateListenerAttributeRequest : public RpcService
std::string xForwardedForClientCertSubjectDNAlias;
bool xForwardedForClientSourceIpsEnabled;
bool xForwardedForClientCertIssuerDNEnabled;
bool xForwardedForHostEnabled;
std::string xForwardedForProcessingMode;
bool xForwardedForClientCertFingerprintEnabled;
std::string xForwardedForClientCertIssuerDNAlias;
bool xForwardedForProtoEnabled;
Expand Down
2 changes: 2 additions & 0 deletions alb/src/model/CreateListenerRequest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ void CreateListenerRequest::setXForwardedForConfig(const CreateListenerRequest::
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertSubjectDNAlias", xForwardedForConfig.xForwardedForClientCertSubjectDNAlias);
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientSourceIpsEnabled", xForwardedForConfig.xForwardedForClientSourceIpsEnabled ? "true" : "false");
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertIssuerDNEnabled", xForwardedForConfig.xForwardedForClientCertIssuerDNEnabled ? "true" : "false");
setParameter(std::string("XForwardedForConfig") + ".XForwardedForHostEnabled", xForwardedForConfig.xForwardedForHostEnabled ? "true" : "false");
setParameter(std::string("XForwardedForConfig") + ".XForwardedForProcessingMode", xForwardedForConfig.xForwardedForProcessingMode);
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertFingerprintEnabled", xForwardedForConfig.xForwardedForClientCertFingerprintEnabled ? "true" : "false");
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertIssuerDNAlias", xForwardedForConfig.xForwardedForClientCertIssuerDNAlias);
setParameter(std::string("XForwardedForConfig") + ".XForwardedForProtoEnabled", xForwardedForConfig.xForwardedForProtoEnabled ? "true" : "false");
Expand Down
4 changes: 4 additions & 0 deletions alb/src/model/GetListenerAttributeResult.cc
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ void GetListenerAttributeResult::parse(const std::string &payload)
xForwardedForConfig_.xForwardedForClientSrcPortEnabled = xForwardedForConfigNode["XForwardedForClientSrcPortEnabled"].asString() == "true";
if(!xForwardedForConfigNode["XForwardedForEnabled"].isNull())
xForwardedForConfig_.xForwardedForEnabled = xForwardedForConfigNode["XForwardedForEnabled"].asString() == "true";
if(!xForwardedForConfigNode["XForwardedForProcessingMode"].isNull())
xForwardedForConfig_.xForwardedForProcessingMode = xForwardedForConfigNode["XForwardedForProcessingMode"].asString();
if(!xForwardedForConfigNode["XForwardedForProtoEnabled"].isNull())
xForwardedForConfig_.xForwardedForProtoEnabled = xForwardedForConfigNode["XForwardedForProtoEnabled"].asString() == "true";
if(!xForwardedForConfigNode["XForwardedForSLBIdEnabled"].isNull())
Expand All @@ -161,6 +163,8 @@ void GetListenerAttributeResult::parse(const std::string &payload)
xForwardedForConfig_.xForwardedForClientSourceIpsEnabled = xForwardedForConfigNode["XForwardedForClientSourceIpsEnabled"].asString() == "true";
if(!xForwardedForConfigNode["XForwardedForClientSourceIpsTrusted"].isNull())
xForwardedForConfig_.xForwardedForClientSourceIpsTrusted = xForwardedForConfigNode["XForwardedForClientSourceIpsTrusted"].asString();
if(!xForwardedForConfigNode["XForwardedForHostEnabled"].isNull())
xForwardedForConfig_.xForwardedForHostEnabled = xForwardedForConfigNode["XForwardedForHostEnabled"].asString() == "true";
if(!value["CaEnabled"].isNull())
caEnabled_ = value["CaEnabled"].asString() == "true";
if(!value["GzipEnabled"].isNull())
Expand Down
4 changes: 4 additions & 0 deletions alb/src/model/ListListenersResult.cc
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ void ListListenersResult::parse(const std::string &payload)
listenersObject.xForwardedForConfig.xForwardedForClientSrcPortEnabled = xForwardedForConfigNode["XForwardedForClientSrcPortEnabled"].asString() == "true";
if(!xForwardedForConfigNode["XForwardedForEnabled"].isNull())
listenersObject.xForwardedForConfig.xForwardedForEnabled = xForwardedForConfigNode["XForwardedForEnabled"].asString() == "true";
if(!xForwardedForConfigNode["XForwardedForProcessingMode"].isNull())
listenersObject.xForwardedForConfig.xForwardedForProcessingMode = xForwardedForConfigNode["XForwardedForProcessingMode"].asString();
if(!xForwardedForConfigNode["XForwardedForProtoEnabled"].isNull())
listenersObject.xForwardedForConfig.xForwardedForProtoEnabled = xForwardedForConfigNode["XForwardedForProtoEnabled"].asString() == "true";
if(!xForwardedForConfigNode["XForwardedForSLBIdEnabled"].isNull())
Expand All @@ -158,6 +160,8 @@ void ListListenersResult::parse(const std::string &payload)
listenersObject.xForwardedForConfig.xForwardedForClientSourceIpsEnabled = xForwardedForConfigNode["XForwardedForClientSourceIpsEnabled"].asString() == "true";
if(!xForwardedForConfigNode["XForwardedForClientSourceIpsTrusted"].isNull())
listenersObject.xForwardedForConfig.xForwardedForClientSourceIpsTrusted = xForwardedForConfigNode["XForwardedForClientSourceIpsTrusted"].asString();
if(!xForwardedForConfigNode["XForwardedForHostEnabled"].isNull())
listenersObject.xForwardedForConfig.xForwardedForHostEnabled = xForwardedForConfigNode["XForwardedForHostEnabled"].asString() == "true";
listeners_.push_back(listenersObject);
}
if(!value["MaxResults"].isNull())
Expand Down
2 changes: 2 additions & 0 deletions alb/src/model/UpdateListenerAttributeRequest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ void UpdateListenerAttributeRequest::setXForwardedForConfig(const UpdateListener
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertSubjectDNAlias", xForwardedForConfig.xForwardedForClientCertSubjectDNAlias);
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientSourceIpsEnabled", xForwardedForConfig.xForwardedForClientSourceIpsEnabled ? "true" : "false");
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertIssuerDNEnabled", xForwardedForConfig.xForwardedForClientCertIssuerDNEnabled ? "true" : "false");
setParameter(std::string("XForwardedForConfig") + ".XForwardedForHostEnabled", xForwardedForConfig.xForwardedForHostEnabled ? "true" : "false");
setParameter(std::string("XForwardedForConfig") + ".XForwardedForProcessingMode", xForwardedForConfig.xForwardedForProcessingMode);
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertFingerprintEnabled", xForwardedForConfig.xForwardedForClientCertFingerprintEnabled ? "true" : "false");
setParameter(std::string("XForwardedForConfig") + ".XForwardedForClientCertIssuerDNAlias", xForwardedForConfig.xForwardedForClientCertIssuerDNAlias);
setParameter(std::string("XForwardedForConfig") + ".XForwardedForProtoEnabled", xForwardedForConfig.xForwardedForProtoEnabled ? "true" : "false");
Expand Down

0 comments on commit 48362f9

Please sign in to comment.