Upgrade SDK.
This commit is contained in:
@@ -59,10 +59,16 @@ set(waf-openapi_public_header_model
|
|||||||
include/alibabacloud/waf-openapi/model/DescribeLogServiceStatusResult.h
|
include/alibabacloud/waf-openapi/model/DescribeLogServiceStatusResult.h
|
||||||
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleCodeConfigRequest.h
|
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleCodeConfigRequest.h
|
||||||
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleCodeConfigResult.h
|
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleCodeConfigResult.h
|
||||||
|
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleModeRequest.h
|
||||||
|
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleModeResult.h
|
||||||
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleRulesRequest.h
|
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleRulesRequest.h
|
||||||
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleRulesResult.h
|
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleRulesResult.h
|
||||||
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleStatusRequest.h
|
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleStatusRequest.h
|
||||||
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleStatusResult.h
|
include/alibabacloud/waf-openapi/model/DescribeProtectionModuleStatusResult.h
|
||||||
|
include/alibabacloud/waf-openapi/model/DescribeRuleGroupsRequest.h
|
||||||
|
include/alibabacloud/waf-openapi/model/DescribeRuleGroupsResult.h
|
||||||
|
include/alibabacloud/waf-openapi/model/DescribeRulesRequest.h
|
||||||
|
include/alibabacloud/waf-openapi/model/DescribeRulesResult.h
|
||||||
include/alibabacloud/waf-openapi/model/DescribeWafSourceIpSegmentRequest.h
|
include/alibabacloud/waf-openapi/model/DescribeWafSourceIpSegmentRequest.h
|
||||||
include/alibabacloud/waf-openapi/model/DescribeWafSourceIpSegmentResult.h
|
include/alibabacloud/waf-openapi/model/DescribeWafSourceIpSegmentResult.h
|
||||||
include/alibabacloud/waf-openapi/model/ModifyDomainRequest.h
|
include/alibabacloud/waf-openapi/model/ModifyDomainRequest.h
|
||||||
@@ -128,10 +134,16 @@ set(waf-openapi_src
|
|||||||
src/model/DescribeLogServiceStatusResult.cc
|
src/model/DescribeLogServiceStatusResult.cc
|
||||||
src/model/DescribeProtectionModuleCodeConfigRequest.cc
|
src/model/DescribeProtectionModuleCodeConfigRequest.cc
|
||||||
src/model/DescribeProtectionModuleCodeConfigResult.cc
|
src/model/DescribeProtectionModuleCodeConfigResult.cc
|
||||||
|
src/model/DescribeProtectionModuleModeRequest.cc
|
||||||
|
src/model/DescribeProtectionModuleModeResult.cc
|
||||||
src/model/DescribeProtectionModuleRulesRequest.cc
|
src/model/DescribeProtectionModuleRulesRequest.cc
|
||||||
src/model/DescribeProtectionModuleRulesResult.cc
|
src/model/DescribeProtectionModuleRulesResult.cc
|
||||||
src/model/DescribeProtectionModuleStatusRequest.cc
|
src/model/DescribeProtectionModuleStatusRequest.cc
|
||||||
src/model/DescribeProtectionModuleStatusResult.cc
|
src/model/DescribeProtectionModuleStatusResult.cc
|
||||||
|
src/model/DescribeRuleGroupsRequest.cc
|
||||||
|
src/model/DescribeRuleGroupsResult.cc
|
||||||
|
src/model/DescribeRulesRequest.cc
|
||||||
|
src/model/DescribeRulesResult.cc
|
||||||
src/model/DescribeWafSourceIpSegmentRequest.cc
|
src/model/DescribeWafSourceIpSegmentRequest.cc
|
||||||
src/model/DescribeWafSourceIpSegmentResult.cc
|
src/model/DescribeWafSourceIpSegmentResult.cc
|
||||||
src/model/ModifyDomainRequest.cc
|
src/model/ModifyDomainRequest.cc
|
||||||
|
|||||||
@@ -60,10 +60,16 @@
|
|||||||
#include "model/DescribeLogServiceStatusResult.h"
|
#include "model/DescribeLogServiceStatusResult.h"
|
||||||
#include "model/DescribeProtectionModuleCodeConfigRequest.h"
|
#include "model/DescribeProtectionModuleCodeConfigRequest.h"
|
||||||
#include "model/DescribeProtectionModuleCodeConfigResult.h"
|
#include "model/DescribeProtectionModuleCodeConfigResult.h"
|
||||||
|
#include "model/DescribeProtectionModuleModeRequest.h"
|
||||||
|
#include "model/DescribeProtectionModuleModeResult.h"
|
||||||
#include "model/DescribeProtectionModuleRulesRequest.h"
|
#include "model/DescribeProtectionModuleRulesRequest.h"
|
||||||
#include "model/DescribeProtectionModuleRulesResult.h"
|
#include "model/DescribeProtectionModuleRulesResult.h"
|
||||||
#include "model/DescribeProtectionModuleStatusRequest.h"
|
#include "model/DescribeProtectionModuleStatusRequest.h"
|
||||||
#include "model/DescribeProtectionModuleStatusResult.h"
|
#include "model/DescribeProtectionModuleStatusResult.h"
|
||||||
|
#include "model/DescribeRuleGroupsRequest.h"
|
||||||
|
#include "model/DescribeRuleGroupsResult.h"
|
||||||
|
#include "model/DescribeRulesRequest.h"
|
||||||
|
#include "model/DescribeRulesResult.h"
|
||||||
#include "model/DescribeWafSourceIpSegmentRequest.h"
|
#include "model/DescribeWafSourceIpSegmentRequest.h"
|
||||||
#include "model/DescribeWafSourceIpSegmentResult.h"
|
#include "model/DescribeWafSourceIpSegmentResult.h"
|
||||||
#include "model/ModifyDomainRequest.h"
|
#include "model/ModifyDomainRequest.h"
|
||||||
@@ -154,12 +160,21 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DescribeProtectionModuleCodeConfigResult> DescribeProtectionModuleCodeConfigOutcome;
|
typedef Outcome<Error, Model::DescribeProtectionModuleCodeConfigResult> DescribeProtectionModuleCodeConfigOutcome;
|
||||||
typedef std::future<DescribeProtectionModuleCodeConfigOutcome> DescribeProtectionModuleCodeConfigOutcomeCallable;
|
typedef std::future<DescribeProtectionModuleCodeConfigOutcome> DescribeProtectionModuleCodeConfigOutcomeCallable;
|
||||||
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeProtectionModuleCodeConfigRequest&, const DescribeProtectionModuleCodeConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProtectionModuleCodeConfigAsyncHandler;
|
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeProtectionModuleCodeConfigRequest&, const DescribeProtectionModuleCodeConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProtectionModuleCodeConfigAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeProtectionModuleModeResult> DescribeProtectionModuleModeOutcome;
|
||||||
|
typedef std::future<DescribeProtectionModuleModeOutcome> DescribeProtectionModuleModeOutcomeCallable;
|
||||||
|
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeProtectionModuleModeRequest&, const DescribeProtectionModuleModeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProtectionModuleModeAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeProtectionModuleRulesResult> DescribeProtectionModuleRulesOutcome;
|
typedef Outcome<Error, Model::DescribeProtectionModuleRulesResult> DescribeProtectionModuleRulesOutcome;
|
||||||
typedef std::future<DescribeProtectionModuleRulesOutcome> DescribeProtectionModuleRulesOutcomeCallable;
|
typedef std::future<DescribeProtectionModuleRulesOutcome> DescribeProtectionModuleRulesOutcomeCallable;
|
||||||
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeProtectionModuleRulesRequest&, const DescribeProtectionModuleRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProtectionModuleRulesAsyncHandler;
|
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeProtectionModuleRulesRequest&, const DescribeProtectionModuleRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProtectionModuleRulesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeProtectionModuleStatusResult> DescribeProtectionModuleStatusOutcome;
|
typedef Outcome<Error, Model::DescribeProtectionModuleStatusResult> DescribeProtectionModuleStatusOutcome;
|
||||||
typedef std::future<DescribeProtectionModuleStatusOutcome> DescribeProtectionModuleStatusOutcomeCallable;
|
typedef std::future<DescribeProtectionModuleStatusOutcome> DescribeProtectionModuleStatusOutcomeCallable;
|
||||||
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeProtectionModuleStatusRequest&, const DescribeProtectionModuleStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProtectionModuleStatusAsyncHandler;
|
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeProtectionModuleStatusRequest&, const DescribeProtectionModuleStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeProtectionModuleStatusAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeRuleGroupsResult> DescribeRuleGroupsOutcome;
|
||||||
|
typedef std::future<DescribeRuleGroupsOutcome> DescribeRuleGroupsOutcomeCallable;
|
||||||
|
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeRuleGroupsRequest&, const DescribeRuleGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRuleGroupsAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DescribeRulesResult> DescribeRulesOutcome;
|
||||||
|
typedef std::future<DescribeRulesOutcome> DescribeRulesOutcomeCallable;
|
||||||
|
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeRulesRequest&, const DescribeRulesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRulesAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DescribeWafSourceIpSegmentResult> DescribeWafSourceIpSegmentOutcome;
|
typedef Outcome<Error, Model::DescribeWafSourceIpSegmentResult> DescribeWafSourceIpSegmentOutcome;
|
||||||
typedef std::future<DescribeWafSourceIpSegmentOutcome> DescribeWafSourceIpSegmentOutcomeCallable;
|
typedef std::future<DescribeWafSourceIpSegmentOutcome> DescribeWafSourceIpSegmentOutcomeCallable;
|
||||||
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeWafSourceIpSegmentRequest&, const DescribeWafSourceIpSegmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWafSourceIpSegmentAsyncHandler;
|
typedef std::function<void(const Waf_openapiClient*, const Model::DescribeWafSourceIpSegmentRequest&, const DescribeWafSourceIpSegmentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeWafSourceIpSegmentAsyncHandler;
|
||||||
@@ -258,12 +273,21 @@ namespace AlibabaCloud
|
|||||||
DescribeProtectionModuleCodeConfigOutcome describeProtectionModuleCodeConfig(const Model::DescribeProtectionModuleCodeConfigRequest &request)const;
|
DescribeProtectionModuleCodeConfigOutcome describeProtectionModuleCodeConfig(const Model::DescribeProtectionModuleCodeConfigRequest &request)const;
|
||||||
void describeProtectionModuleCodeConfigAsync(const Model::DescribeProtectionModuleCodeConfigRequest& request, const DescribeProtectionModuleCodeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeProtectionModuleCodeConfigAsync(const Model::DescribeProtectionModuleCodeConfigRequest& request, const DescribeProtectionModuleCodeConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeProtectionModuleCodeConfigOutcomeCallable describeProtectionModuleCodeConfigCallable(const Model::DescribeProtectionModuleCodeConfigRequest& request) const;
|
DescribeProtectionModuleCodeConfigOutcomeCallable describeProtectionModuleCodeConfigCallable(const Model::DescribeProtectionModuleCodeConfigRequest& request) const;
|
||||||
|
DescribeProtectionModuleModeOutcome describeProtectionModuleMode(const Model::DescribeProtectionModuleModeRequest &request)const;
|
||||||
|
void describeProtectionModuleModeAsync(const Model::DescribeProtectionModuleModeRequest& request, const DescribeProtectionModuleModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeProtectionModuleModeOutcomeCallable describeProtectionModuleModeCallable(const Model::DescribeProtectionModuleModeRequest& request) const;
|
||||||
DescribeProtectionModuleRulesOutcome describeProtectionModuleRules(const Model::DescribeProtectionModuleRulesRequest &request)const;
|
DescribeProtectionModuleRulesOutcome describeProtectionModuleRules(const Model::DescribeProtectionModuleRulesRequest &request)const;
|
||||||
void describeProtectionModuleRulesAsync(const Model::DescribeProtectionModuleRulesRequest& request, const DescribeProtectionModuleRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeProtectionModuleRulesAsync(const Model::DescribeProtectionModuleRulesRequest& request, const DescribeProtectionModuleRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeProtectionModuleRulesOutcomeCallable describeProtectionModuleRulesCallable(const Model::DescribeProtectionModuleRulesRequest& request) const;
|
DescribeProtectionModuleRulesOutcomeCallable describeProtectionModuleRulesCallable(const Model::DescribeProtectionModuleRulesRequest& request) const;
|
||||||
DescribeProtectionModuleStatusOutcome describeProtectionModuleStatus(const Model::DescribeProtectionModuleStatusRequest &request)const;
|
DescribeProtectionModuleStatusOutcome describeProtectionModuleStatus(const Model::DescribeProtectionModuleStatusRequest &request)const;
|
||||||
void describeProtectionModuleStatusAsync(const Model::DescribeProtectionModuleStatusRequest& request, const DescribeProtectionModuleStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeProtectionModuleStatusAsync(const Model::DescribeProtectionModuleStatusRequest& request, const DescribeProtectionModuleStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeProtectionModuleStatusOutcomeCallable describeProtectionModuleStatusCallable(const Model::DescribeProtectionModuleStatusRequest& request) const;
|
DescribeProtectionModuleStatusOutcomeCallable describeProtectionModuleStatusCallable(const Model::DescribeProtectionModuleStatusRequest& request) const;
|
||||||
|
DescribeRuleGroupsOutcome describeRuleGroups(const Model::DescribeRuleGroupsRequest &request)const;
|
||||||
|
void describeRuleGroupsAsync(const Model::DescribeRuleGroupsRequest& request, const DescribeRuleGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeRuleGroupsOutcomeCallable describeRuleGroupsCallable(const Model::DescribeRuleGroupsRequest& request) const;
|
||||||
|
DescribeRulesOutcome describeRules(const Model::DescribeRulesRequest &request)const;
|
||||||
|
void describeRulesAsync(const Model::DescribeRulesRequest& request, const DescribeRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DescribeRulesOutcomeCallable describeRulesCallable(const Model::DescribeRulesRequest& request) const;
|
||||||
DescribeWafSourceIpSegmentOutcome describeWafSourceIpSegment(const Model::DescribeWafSourceIpSegmentRequest &request)const;
|
DescribeWafSourceIpSegmentOutcome describeWafSourceIpSegment(const Model::DescribeWafSourceIpSegmentRequest &request)const;
|
||||||
void describeWafSourceIpSegmentAsync(const Model::DescribeWafSourceIpSegmentRequest& request, const DescribeWafSourceIpSegmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void describeWafSourceIpSegmentAsync(const Model::DescribeWafSourceIpSegmentRequest& request, const DescribeWafSourceIpSegmentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DescribeWafSourceIpSegmentOutcomeCallable describeWafSourceIpSegmentCallable(const Model::DescribeWafSourceIpSegmentRequest& request) const;
|
DescribeWafSourceIpSegmentOutcomeCallable describeWafSourceIpSegmentCallable(const Model::DescribeWafSourceIpSegmentRequest& request) const;
|
||||||
|
|||||||
@@ -30,8 +30,12 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT CreateCertificateByCertificateIdRequest :
|
|||||||
public:
|
public:
|
||||||
CreateCertificateByCertificateIdRequest();
|
CreateCertificateByCertificateIdRequest();
|
||||||
~CreateCertificateByCertificateIdRequest();
|
~CreateCertificateByCertificateIdRequest();
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
long getCertificateId() const;
|
long getCertificateId() const;
|
||||||
@@ -42,7 +46,9 @@ public:
|
|||||||
void setDomain(const std::string &domain);
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
long certificateId_;
|
long certificateId_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
|
|||||||
@@ -34,8 +34,12 @@ public:
|
|||||||
void setCertificate(const std::string &certificate);
|
void setCertificate(const std::string &certificate);
|
||||||
std::string getPrivateKey() const;
|
std::string getPrivateKey() const;
|
||||||
void setPrivateKey(const std::string &privateKey);
|
void setPrivateKey(const std::string &privateKey);
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
@@ -48,7 +52,9 @@ public:
|
|||||||
private:
|
private:
|
||||||
std::string certificate_;
|
std::string certificate_;
|
||||||
std::string privateKey_;
|
std::string privateKey_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string domain_;
|
std::string domain_;
|
||||||
|
|||||||
@@ -64,6 +64,8 @@ public:
|
|||||||
void setReadTime(int readTime);
|
void setReadTime(int readTime);
|
||||||
std::string getHttpsPort() const;
|
std::string getHttpsPort() const;
|
||||||
void setHttpsPort(const std::string &httpsPort);
|
void setHttpsPort(const std::string &httpsPort);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
int getSniStatus() const;
|
int getSniStatus() const;
|
||||||
void setSniStatus(int sniStatus);
|
void setSniStatus(int sniStatus);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
@@ -107,6 +109,7 @@ private:
|
|||||||
std::string domain_;
|
std::string domain_;
|
||||||
int readTime_;
|
int readTime_;
|
||||||
std::string httpsPort_;
|
std::string httpsPort_;
|
||||||
|
std::string regionId_;
|
||||||
int sniStatus_;
|
int sniStatus_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
bool retry_;
|
bool retry_;
|
||||||
|
|||||||
@@ -30,26 +30,32 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT CreateProtectionModuleRuleRequest : public
|
|||||||
public:
|
public:
|
||||||
CreateProtectionModuleRuleRequest();
|
CreateProtectionModuleRuleRequest();
|
||||||
~CreateProtectionModuleRuleRequest();
|
~CreateProtectionModuleRuleRequest();
|
||||||
std::string getDefenseType() const;
|
|
||||||
void setDefenseType(const std::string &defenseType);
|
|
||||||
std::string getRule() const;
|
std::string getRule() const;
|
||||||
void setRule(const std::string &rule);
|
void setRule(const std::string &rule);
|
||||||
std::string getInstanceId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getDomain() const;
|
std::string getRegionId() const;
|
||||||
void setDomain(const std::string &domain);
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getDefenseType() const;
|
||||||
|
void setDefenseType(const std::string &defenseType);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDomain() const;
|
||||||
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string defenseType_;
|
|
||||||
std::string rule_;
|
std::string rule_;
|
||||||
std::string instanceId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string domain_;
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string defenseType_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string domain_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -30,20 +30,26 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT DeleteDomainRequest : public RpcServiceReq
|
|||||||
public:
|
public:
|
||||||
DeleteDomainRequest();
|
DeleteDomainRequest();
|
||||||
~DeleteDomainRequest();
|
~DeleteDomainRequest();
|
||||||
std::string getInstanceId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getDomain() const;
|
std::string getRegionId() const;
|
||||||
void setDomain(const std::string &domain);
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDomain() const;
|
||||||
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string instanceId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string domain_;
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string domain_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -32,18 +32,21 @@ public:
|
|||||||
~DeleteInstanceRequest();
|
~DeleteInstanceRequest();
|
||||||
std::string getResourceGroupId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getInstanceId() const;
|
|
||||||
void setInstanceId(const std::string &instanceId);
|
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string instanceId_;
|
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -30,25 +30,31 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT DeleteProtectionModuleRuleRequest : public
|
|||||||
public:
|
public:
|
||||||
DeleteProtectionModuleRuleRequest();
|
DeleteProtectionModuleRuleRequest();
|
||||||
~DeleteProtectionModuleRuleRequest();
|
~DeleteProtectionModuleRuleRequest();
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
std::string getDefenseType() const;
|
std::string getDefenseType() const;
|
||||||
void setDefenseType(const std::string &defenseType);
|
void setDefenseType(const std::string &defenseType);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setInstanceId(const std::string &instanceId);
|
||||||
std::string getSourceIp() const;
|
|
||||||
void setSourceIp(const std::string &sourceIp);
|
|
||||||
std::string getDomain() const;
|
std::string getDomain() const;
|
||||||
void setDomain(const std::string &domain);
|
void setDomain(const std::string &domain);
|
||||||
std::string getLang() const;
|
|
||||||
void setLang(const std::string &lang);
|
|
||||||
long getRuleId() const;
|
long getRuleId() const;
|
||||||
void setRuleId(long ruleId);
|
void setRuleId(long ruleId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::string lang_;
|
||||||
std::string defenseType_;
|
std::string defenseType_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string sourceIp_;
|
|
||||||
std::string domain_;
|
std::string domain_;
|
||||||
std::string lang_;
|
|
||||||
long ruleId_;
|
long ruleId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -34,22 +34,28 @@ public:
|
|||||||
void setCertificate(const std::string &certificate);
|
void setCertificate(const std::string &certificate);
|
||||||
std::string getPrivateKey() const;
|
std::string getPrivateKey() const;
|
||||||
void setPrivateKey(const std::string &privateKey);
|
void setPrivateKey(const std::string &privateKey);
|
||||||
std::string getInstanceId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getDomain() const;
|
std::string getRegionId() const;
|
||||||
void setDomain(const std::string &domain);
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDomain() const;
|
||||||
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string certificate_;
|
std::string certificate_;
|
||||||
std::string privateKey_;
|
std::string privateKey_;
|
||||||
std::string instanceId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string domain_;
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string domain_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -30,8 +30,12 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeCertificatesRequest : public RpcSe
|
|||||||
public:
|
public:
|
||||||
DescribeCertificatesRequest();
|
DescribeCertificatesRequest();
|
||||||
~DescribeCertificatesRequest();
|
~DescribeCertificatesRequest();
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
@@ -40,7 +44,9 @@ public:
|
|||||||
void setDomain(const std::string &domain);
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string domain_;
|
std::string domain_;
|
||||||
|
|||||||
@@ -34,19 +34,22 @@ public:
|
|||||||
void setDomainList(const std::string &domainList);
|
void setDomainList(const std::string &domainList);
|
||||||
std::string getResourceGroupId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getInstanceId() const;
|
|
||||||
void setInstanceId(const std::string &instanceId);
|
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string domainList_;
|
std::string domainList_;
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string instanceId_;
|
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ public:
|
|||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
@@ -53,6 +55,7 @@ private:
|
|||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
std::string accessType_;
|
std::string accessType_;
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ public:
|
|||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getDomainName() const;
|
std::string getDomainName() const;
|
||||||
@@ -52,6 +54,7 @@ private:
|
|||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
int isSub_;
|
int isSub_;
|
||||||
|
|||||||
@@ -32,20 +32,23 @@ public:
|
|||||||
~DescribeDomainNamesRequest();
|
~DescribeDomainNamesRequest();
|
||||||
std::string getResourceGroupId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getInstanceId() const;
|
|
||||||
void setInstanceId(const std::string &instanceId);
|
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
std::string getCallSource() const;
|
std::string getCallSource() const;
|
||||||
void setCallSource(const std::string &callSource);
|
void setCallSource(const std::string &callSource);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string instanceId_;
|
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
std::string callSource_;
|
std::string callSource_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -30,8 +30,12 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeDomainRequest : public RpcServiceR
|
|||||||
public:
|
public:
|
||||||
DescribeDomainRequest();
|
DescribeDomainRequest();
|
||||||
~DescribeDomainRequest();
|
~DescribeDomainRequest();
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
@@ -40,7 +44,9 @@ public:
|
|||||||
void setDomain(const std::string &domain);
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string domain_;
|
std::string domain_;
|
||||||
|
|||||||
@@ -30,20 +30,26 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeDomainRuleGroupRequest : public Rp
|
|||||||
public:
|
public:
|
||||||
DescribeDomainRuleGroupRequest();
|
DescribeDomainRuleGroupRequest();
|
||||||
~DescribeDomainRuleGroupRequest();
|
~DescribeDomainRuleGroupRequest();
|
||||||
std::string getInstanceId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getDomain() const;
|
std::string getRegionId() const;
|
||||||
void setDomain(const std::string &domain);
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDomain() const;
|
||||||
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string instanceId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string domain_;
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string domain_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -32,21 +32,24 @@ public:
|
|||||||
~DescribeInstanceInfoRequest();
|
~DescribeInstanceInfoRequest();
|
||||||
std::string getResourceGroupId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getInstanceId() const;
|
|
||||||
void setInstanceId(const std::string &instanceId);
|
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getInstanceSource() const;
|
std::string getInstanceSource() const;
|
||||||
void setInstanceSource(const std::string &instanceSource);
|
void setInstanceSource(const std::string &instanceSource);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string instanceId_;
|
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string instanceSource_;
|
std::string instanceSource_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -32,18 +32,21 @@ public:
|
|||||||
~DescribeInstanceSpecInfoRequest();
|
~DescribeInstanceSpecInfoRequest();
|
||||||
std::string getResourceGroupId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getInstanceId() const;
|
|
||||||
void setInstanceId(const std::string &instanceId);
|
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string instanceId_;
|
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -38,6 +38,8 @@ public:
|
|||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
@@ -50,6 +52,7 @@ private:
|
|||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string region_;
|
std::string region_;
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ public:
|
|||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
int getCodeValue() const;
|
int getCodeValue() const;
|
||||||
@@ -46,6 +48,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
int codeValue_;
|
int codeValue_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
|
|||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* 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_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULEMODEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULEMODEREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Waf_openapi {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeProtectionModuleModeRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeProtectionModuleModeRequest();
|
||||||
|
~DescribeProtectionModuleModeRequest();
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
std::string getDefenseType() const;
|
||||||
|
void setDefenseType(const std::string &defenseType);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDomain() const;
|
||||||
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::string lang_;
|
||||||
|
std::string defenseType_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string domain_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Waf_openapi
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULEMODEREQUEST_H_
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* 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_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULEMODERESULT_H_
|
||||||
|
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULEMODERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Waf_openapi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeProtectionModuleModeResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DescribeProtectionModuleModeResult();
|
||||||
|
explicit DescribeProtectionModuleModeResult(const std::string &payload);
|
||||||
|
~DescribeProtectionModuleModeResult();
|
||||||
|
int getLearnStatus()const;
|
||||||
|
int getMode()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int learnStatus_;
|
||||||
|
int mode_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULEMODERESULT_H_
|
||||||
@@ -36,6 +36,8 @@ public:
|
|||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
int getPageSize() const;
|
int getPageSize() const;
|
||||||
void setPageSize(int pageSize);
|
void setPageSize(int pageSize);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
@@ -53,6 +55,7 @@ private:
|
|||||||
int pageNumber_;
|
int pageNumber_;
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
int pageSize_;
|
int pageSize_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
std::string defenseType_;
|
std::string defenseType_;
|
||||||
|
|||||||
@@ -30,23 +30,29 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeProtectionModuleStatusRequest : pu
|
|||||||
public:
|
public:
|
||||||
DescribeProtectionModuleStatusRequest();
|
DescribeProtectionModuleStatusRequest();
|
||||||
~DescribeProtectionModuleStatusRequest();
|
~DescribeProtectionModuleStatusRequest();
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
std::string getDefenseType() const;
|
std::string getDefenseType() const;
|
||||||
void setDefenseType(const std::string &defenseType);
|
void setDefenseType(const std::string &defenseType);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setInstanceId(const std::string &instanceId);
|
||||||
std::string getSourceIp() const;
|
|
||||||
void setSourceIp(const std::string &sourceIp);
|
|
||||||
std::string getDomain() const;
|
std::string getDomain() const;
|
||||||
void setDomain(const std::string &domain);
|
void setDomain(const std::string &domain);
|
||||||
std::string getLang() const;
|
|
||||||
void setLang(const std::string &lang);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::string lang_;
|
||||||
std::string defenseType_;
|
std::string defenseType_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string sourceIp_;
|
|
||||||
std::string domain_;
|
std::string domain_;
|
||||||
std::string lang_;
|
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -0,0 +1,72 @@
|
|||||||
|
/*
|
||||||
|
* 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_WAF_OPENAPI_MODEL_DESCRIBERULEGROUPSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULEGROUPSREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Waf_openapi {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeRuleGroupsRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeRuleGroupsRequest();
|
||||||
|
~DescribeRuleGroupsRequest();
|
||||||
|
int getType() const;
|
||||||
|
void setType(int type);
|
||||||
|
std::string getWafLang() const;
|
||||||
|
void setWafLang(const std::string &wafLang);
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
long getPolicyId() const;
|
||||||
|
void setPolicyId(long policyId);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
int getCurrentPage() const;
|
||||||
|
void setCurrentPage(int currentPage);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getRegion() const;
|
||||||
|
void setRegion(const std::string ®ion);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int type_;
|
||||||
|
std::string wafLang_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
long policyId_;
|
||||||
|
std::string regionId_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string lang_;
|
||||||
|
int currentPage_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string region_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Waf_openapi
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULEGROUPSREQUEST_H_
|
||||||
@@ -0,0 +1,70 @@
|
|||||||
|
/*
|
||||||
|
* 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_WAF_OPENAPI_MODEL_DESCRIBERULEGROUPSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULEGROUPSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Waf_openapi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeRuleGroupsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct RuleGroupsItem
|
||||||
|
{
|
||||||
|
std::string desc;
|
||||||
|
int type;
|
||||||
|
long templatePolicyId;
|
||||||
|
long wafVersion;
|
||||||
|
long ruleGroupUpdateTime;
|
||||||
|
int ruleCnt;
|
||||||
|
std::vector<std::string> domainList;
|
||||||
|
std::string ruleGroupTemplateName;
|
||||||
|
long policyId;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeRuleGroupsResult();
|
||||||
|
explicit DescribeRuleGroupsResult(const std::string &payload);
|
||||||
|
~DescribeRuleGroupsResult();
|
||||||
|
std::vector<RuleGroupsItem> getRuleGroups()const;
|
||||||
|
int getTotal()const;
|
||||||
|
int getTaskStatus()const;
|
||||||
|
std::string getWafTaskId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::vector<RuleGroupsItem> ruleGroups_;
|
||||||
|
int total_;
|
||||||
|
int taskStatus_;
|
||||||
|
std::string wafTaskId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULEGROUPSRESULT_H_
|
||||||
@@ -0,0 +1,81 @@
|
|||||||
|
/*
|
||||||
|
* 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_WAF_OPENAPI_MODEL_DESCRIBERULESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESREQUEST_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <map>
|
||||||
|
|
||||||
|
namespace AlibabaCloud {
|
||||||
|
namespace Waf_openapi {
|
||||||
|
namespace Model {
|
||||||
|
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeRulesRequest : public RpcServiceRequest {
|
||||||
|
public:
|
||||||
|
DescribeRulesRequest();
|
||||||
|
~DescribeRulesRequest();
|
||||||
|
long getRuleGroupId() const;
|
||||||
|
void setRuleGroupId(long ruleGroupId);
|
||||||
|
int getProtectionType() const;
|
||||||
|
void setProtectionType(int protectionType);
|
||||||
|
int getPageNumber() const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
std::string getCveIdKey() const;
|
||||||
|
void setCveIdKey(const std::string &cveIdKey);
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
int getPageSize() const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
|
int getRiskLevel() const;
|
||||||
|
void setRiskLevel(int riskLevel);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getRuleIdKey() const;
|
||||||
|
void setRuleIdKey(const std::string &ruleIdKey);
|
||||||
|
std::string getRegion() const;
|
||||||
|
void setRegion(const std::string ®ion);
|
||||||
|
int getApplicationType() const;
|
||||||
|
void setApplicationType(int applicationType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
long ruleGroupId_;
|
||||||
|
int protectionType_;
|
||||||
|
int pageNumber_;
|
||||||
|
std::string cveIdKey_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
|
int pageSize_;
|
||||||
|
std::string lang_;
|
||||||
|
int riskLevel_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string ruleIdKey_;
|
||||||
|
std::string region_;
|
||||||
|
int applicationType_;
|
||||||
|
};
|
||||||
|
} // namespace Model
|
||||||
|
} // namespace Waf_openapi
|
||||||
|
} // namespace AlibabaCloud
|
||||||
|
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESREQUEST_H_
|
||||||
@@ -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_WAF_OPENAPI_MODEL_DESCRIBERULESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Waf_openapi
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeRulesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct RulesItem
|
||||||
|
{
|
||||||
|
int applicationType;
|
||||||
|
std::string description;
|
||||||
|
int protectionType;
|
||||||
|
long ruleId;
|
||||||
|
long updateTime;
|
||||||
|
std::string cveId;
|
||||||
|
int riskLevel;
|
||||||
|
std::string ruleName;
|
||||||
|
std::string cveUrl;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DescribeRulesResult();
|
||||||
|
explicit DescribeRulesResult(const std::string &payload);
|
||||||
|
~DescribeRulesResult();
|
||||||
|
int getTotalCount()const;
|
||||||
|
std::string getRuleGroupTemplateId()const;
|
||||||
|
std::string getRuleGroupName()const;
|
||||||
|
long getIsSubscribe()const;
|
||||||
|
std::vector<RulesItem> getRules()const;
|
||||||
|
std::string getRuleGroupTemplateName()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
std::string ruleGroupTemplateId_;
|
||||||
|
std::string ruleGroupName_;
|
||||||
|
long isSubscribe_;
|
||||||
|
std::vector<RulesItem> rules_;
|
||||||
|
std::string ruleGroupTemplateName_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBERULESRESULT_H_
|
||||||
@@ -32,18 +32,21 @@ public:
|
|||||||
~DescribeWafSourceIpSegmentRequest();
|
~DescribeWafSourceIpSegmentRequest();
|
||||||
std::string getResourceGroupId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getInstanceId() const;
|
|
||||||
void setInstanceId(const std::string &instanceId);
|
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string instanceId_;
|
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -34,22 +34,28 @@ public:
|
|||||||
void setWafVersion(const std::string &wafVersion);
|
void setWafVersion(const std::string &wafVersion);
|
||||||
std::string getEnabled() const;
|
std::string getEnabled() const;
|
||||||
void setEnabled(const std::string &enabled);
|
void setEnabled(const std::string &enabled);
|
||||||
std::string getInstanceId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getDomain() const;
|
std::string getRegionId() const;
|
||||||
void setDomain(const std::string &domain);
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDomain() const;
|
||||||
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string wafVersion_;
|
std::string wafVersion_;
|
||||||
std::string enabled_;
|
std::string enabled_;
|
||||||
std::string instanceId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string domain_;
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string domain_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -36,6 +36,8 @@ public:
|
|||||||
void setKeepalive(bool keepalive);
|
void setKeepalive(bool keepalive);
|
||||||
std::string getSniHost() const;
|
std::string getSniHost() const;
|
||||||
void setSniHost(const std::string &sniHost);
|
void setSniHost(const std::string &sniHost);
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
int getHybridCloudType() const;
|
int getHybridCloudType() const;
|
||||||
void setHybridCloudType(int hybridCloudType);
|
void setHybridCloudType(int hybridCloudType);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
@@ -64,6 +66,8 @@ public:
|
|||||||
void setReadTime(int readTime);
|
void setReadTime(int readTime);
|
||||||
std::string getHttpsPort() const;
|
std::string getHttpsPort() const;
|
||||||
void setHttpsPort(const std::string &httpsPort);
|
void setHttpsPort(const std::string &httpsPort);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
int getSniStatus() const;
|
int getSniStatus() const;
|
||||||
void setSniStatus(int sniStatus);
|
void setSniStatus(int sniStatus);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
@@ -95,6 +99,7 @@ private:
|
|||||||
int ipFollowStatus_;
|
int ipFollowStatus_;
|
||||||
bool keepalive_;
|
bool keepalive_;
|
||||||
std::string sniHost_;
|
std::string sniHost_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
int hybridCloudType_;
|
int hybridCloudType_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string httpPort_;
|
std::string httpPort_;
|
||||||
@@ -109,6 +114,7 @@ private:
|
|||||||
std::string domain_;
|
std::string domain_;
|
||||||
int readTime_;
|
int readTime_;
|
||||||
std::string httpsPort_;
|
std::string httpsPort_;
|
||||||
|
std::string regionId_;
|
||||||
int sniStatus_;
|
int sniStatus_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
bool retry_;
|
bool retry_;
|
||||||
|
|||||||
@@ -32,21 +32,27 @@ public:
|
|||||||
~ModifyLogRetrievalStatusRequest();
|
~ModifyLogRetrievalStatusRequest();
|
||||||
int getEnabled() const;
|
int getEnabled() const;
|
||||||
void setEnabled(int enabled);
|
void setEnabled(int enabled);
|
||||||
std::string getInstanceId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getDomain() const;
|
std::string getRegionId() const;
|
||||||
void setDomain(const std::string &domain);
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDomain() const;
|
||||||
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int enabled_;
|
int enabled_;
|
||||||
std::string instanceId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string domain_;
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string domain_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -32,21 +32,27 @@ public:
|
|||||||
~ModifyLogServiceStatusRequest();
|
~ModifyLogServiceStatusRequest();
|
||||||
int getEnabled() const;
|
int getEnabled() const;
|
||||||
void setEnabled(int enabled);
|
void setEnabled(int enabled);
|
||||||
std::string getInstanceId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getDomain() const;
|
std::string getRegionId() const;
|
||||||
void setDomain(const std::string &domain);
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDomain() const;
|
||||||
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
int enabled_;
|
int enabled_;
|
||||||
std::string instanceId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string domain_;
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string domain_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -30,26 +30,32 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyProtectionModuleModeRequest : public
|
|||||||
public:
|
public:
|
||||||
ModifyProtectionModuleModeRequest();
|
ModifyProtectionModuleModeRequest();
|
||||||
~ModifyProtectionModuleModeRequest();
|
~ModifyProtectionModuleModeRequest();
|
||||||
std::string getDefenseType() const;
|
|
||||||
void setDefenseType(const std::string &defenseType);
|
|
||||||
int getMode() const;
|
int getMode() const;
|
||||||
void setMode(int mode);
|
void setMode(int mode);
|
||||||
std::string getInstanceId() const;
|
std::string getResourceGroupId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
std::string getDomain() const;
|
std::string getRegionId() const;
|
||||||
void setDomain(const std::string &domain);
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
|
std::string getDefenseType() const;
|
||||||
|
void setDefenseType(const std::string &defenseType);
|
||||||
|
std::string getInstanceId() const;
|
||||||
|
void setInstanceId(const std::string &instanceId);
|
||||||
|
std::string getDomain() const;
|
||||||
|
void setDomain(const std::string &domain);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string defenseType_;
|
|
||||||
int mode_;
|
int mode_;
|
||||||
std::string instanceId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
std::string domain_;
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
|
std::string defenseType_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string domain_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -34,8 +34,12 @@ public:
|
|||||||
void setRule(const std::string &rule);
|
void setRule(const std::string &rule);
|
||||||
long getLockVersion() const;
|
long getLockVersion() const;
|
||||||
void setLockVersion(long lockVersion);
|
void setLockVersion(long lockVersion);
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
std::string getDefenseType() const;
|
std::string getDefenseType() const;
|
||||||
@@ -50,7 +54,9 @@ public:
|
|||||||
private:
|
private:
|
||||||
std::string rule_;
|
std::string rule_;
|
||||||
long lockVersion_;
|
long lockVersion_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
std::string defenseType_;
|
std::string defenseType_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
|
|||||||
@@ -30,26 +30,32 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyProtectionModuleStatusRequest : publ
|
|||||||
public:
|
public:
|
||||||
ModifyProtectionModuleStatusRequest();
|
ModifyProtectionModuleStatusRequest();
|
||||||
~ModifyProtectionModuleStatusRequest();
|
~ModifyProtectionModuleStatusRequest();
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
std::string getDefenseType() const;
|
std::string getDefenseType() const;
|
||||||
void setDefenseType(const std::string &defenseType);
|
void setDefenseType(const std::string &defenseType);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setInstanceId(const std::string &instanceId);
|
||||||
std::string getSourceIp() const;
|
|
||||||
void setSourceIp(const std::string &sourceIp);
|
|
||||||
std::string getDomain() const;
|
std::string getDomain() const;
|
||||||
void setDomain(const std::string &domain);
|
void setDomain(const std::string &domain);
|
||||||
int getModuleStatus() const;
|
int getModuleStatus() const;
|
||||||
void setModuleStatus(int moduleStatus);
|
void setModuleStatus(int moduleStatus);
|
||||||
std::string getLang() const;
|
|
||||||
void setLang(const std::string &lang);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::string lang_;
|
||||||
std::string defenseType_;
|
std::string defenseType_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string sourceIp_;
|
|
||||||
std::string domain_;
|
std::string domain_;
|
||||||
int moduleStatus_;
|
int moduleStatus_;
|
||||||
std::string lang_;
|
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
} // namespace Waf_openapi
|
} // namespace Waf_openapi
|
||||||
|
|||||||
@@ -30,25 +30,31 @@ class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyProtectionRuleCacheStatusRequest : p
|
|||||||
public:
|
public:
|
||||||
ModifyProtectionRuleCacheStatusRequest();
|
ModifyProtectionRuleCacheStatusRequest();
|
||||||
~ModifyProtectionRuleCacheStatusRequest();
|
~ModifyProtectionRuleCacheStatusRequest();
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
|
std::string getSourceIp() const;
|
||||||
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
|
std::string getLang() const;
|
||||||
|
void setLang(const std::string &lang);
|
||||||
std::string getDefenseType() const;
|
std::string getDefenseType() const;
|
||||||
void setDefenseType(const std::string &defenseType);
|
void setDefenseType(const std::string &defenseType);
|
||||||
std::string getInstanceId() const;
|
std::string getInstanceId() const;
|
||||||
void setInstanceId(const std::string &instanceId);
|
void setInstanceId(const std::string &instanceId);
|
||||||
std::string getSourceIp() const;
|
|
||||||
void setSourceIp(const std::string &sourceIp);
|
|
||||||
std::string getDomain() const;
|
std::string getDomain() const;
|
||||||
void setDomain(const std::string &domain);
|
void setDomain(const std::string &domain);
|
||||||
std::string getLang() const;
|
|
||||||
void setLang(const std::string &lang);
|
|
||||||
long getRuleId() const;
|
long getRuleId() const;
|
||||||
void setRuleId(long ruleId);
|
void setRuleId(long ruleId);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::string lang_;
|
||||||
std::string defenseType_;
|
std::string defenseType_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
std::string sourceIp_;
|
|
||||||
std::string domain_;
|
std::string domain_;
|
||||||
std::string lang_;
|
|
||||||
long ruleId_;
|
long ruleId_;
|
||||||
};
|
};
|
||||||
} // namespace Model
|
} // namespace Model
|
||||||
|
|||||||
@@ -32,8 +32,12 @@ public:
|
|||||||
~ModifyProtectionRuleStatusRequest();
|
~ModifyProtectionRuleStatusRequest();
|
||||||
long getLockVersion() const;
|
long getLockVersion() const;
|
||||||
void setLockVersion(long lockVersion);
|
void setLockVersion(long lockVersion);
|
||||||
|
std::string getResourceGroupId() const;
|
||||||
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
std::string getDefenseType() const;
|
std::string getDefenseType() const;
|
||||||
@@ -49,7 +53,9 @@ public:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
long lockVersion_;
|
long lockVersion_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
std::string defenseType_;
|
std::string defenseType_;
|
||||||
int ruleStatus_;
|
int ruleStatus_;
|
||||||
|
|||||||
@@ -34,6 +34,8 @@ public:
|
|||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getResourceId() const;
|
std::string getResourceId() const;
|
||||||
void setResourceId(const std::string &resourceId);
|
void setResourceId(const std::string &resourceId);
|
||||||
std::string getResourceType() const;
|
std::string getResourceType() const;
|
||||||
@@ -42,6 +44,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string resourceId_;
|
std::string resourceId_;
|
||||||
std::string resourceType_;
|
std::string resourceType_;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -40,6 +40,8 @@ public:
|
|||||||
void setResourceGroupId(const std::string &resourceGroupId);
|
void setResourceGroupId(const std::string &resourceGroupId);
|
||||||
std::string getSourceIp() const;
|
std::string getSourceIp() const;
|
||||||
void setSourceIp(const std::string &sourceIp);
|
void setSourceIp(const std::string &sourceIp);
|
||||||
|
std::string getRegionId() const;
|
||||||
|
void setRegionId(const std::string ®ionId);
|
||||||
std::string getLang() const;
|
std::string getLang() const;
|
||||||
void setLang(const std::string &lang);
|
void setLang(const std::string &lang);
|
||||||
std::string getDomains() const;
|
std::string getDomains() const;
|
||||||
@@ -53,6 +55,7 @@ private:
|
|||||||
long ruleGroupId_;
|
long ruleGroupId_;
|
||||||
std::string resourceGroupId_;
|
std::string resourceGroupId_;
|
||||||
std::string sourceIp_;
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
std::string lang_;
|
std::string lang_;
|
||||||
std::string domains_;
|
std::string domains_;
|
||||||
std::string instanceId_;
|
std::string instanceId_;
|
||||||
|
|||||||
@@ -735,6 +735,42 @@ Waf_openapiClient::DescribeProtectionModuleCodeConfigOutcomeCallable Waf_openapi
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Waf_openapiClient::DescribeProtectionModuleModeOutcome Waf_openapiClient::describeProtectionModuleMode(const DescribeProtectionModuleModeRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeProtectionModuleModeOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeProtectionModuleModeOutcome(DescribeProtectionModuleModeResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeProtectionModuleModeOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void Waf_openapiClient::describeProtectionModuleModeAsync(const DescribeProtectionModuleModeRequest& request, const DescribeProtectionModuleModeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeProtectionModuleMode(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
Waf_openapiClient::DescribeProtectionModuleModeOutcomeCallable Waf_openapiClient::describeProtectionModuleModeCallable(const DescribeProtectionModuleModeRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeProtectionModuleModeOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeProtectionModuleMode(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
Waf_openapiClient::DescribeProtectionModuleRulesOutcome Waf_openapiClient::describeProtectionModuleRules(const DescribeProtectionModuleRulesRequest &request) const
|
Waf_openapiClient::DescribeProtectionModuleRulesOutcome Waf_openapiClient::describeProtectionModuleRules(const DescribeProtectionModuleRulesRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -807,6 +843,78 @@ Waf_openapiClient::DescribeProtectionModuleStatusOutcomeCallable Waf_openapiClie
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Waf_openapiClient::DescribeRuleGroupsOutcome Waf_openapiClient::describeRuleGroups(const DescribeRuleGroupsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeRuleGroupsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeRuleGroupsOutcome(DescribeRuleGroupsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeRuleGroupsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void Waf_openapiClient::describeRuleGroupsAsync(const DescribeRuleGroupsRequest& request, const DescribeRuleGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeRuleGroups(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
Waf_openapiClient::DescribeRuleGroupsOutcomeCallable Waf_openapiClient::describeRuleGroupsCallable(const DescribeRuleGroupsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeRuleGroupsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeRuleGroups(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
|
Waf_openapiClient::DescribeRulesOutcome Waf_openapiClient::describeRules(const DescribeRulesRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DescribeRulesOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DescribeRulesOutcome(DescribeRulesResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DescribeRulesOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void Waf_openapiClient::describeRulesAsync(const DescribeRulesRequest& request, const DescribeRulesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, describeRules(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
Waf_openapiClient::DescribeRulesOutcomeCallable Waf_openapiClient::describeRulesCallable(const DescribeRulesRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DescribeRulesOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->describeRules(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
Waf_openapiClient::DescribeWafSourceIpSegmentOutcome Waf_openapiClient::describeWafSourceIpSegment(const DescribeWafSourceIpSegmentRequest &request) const
|
Waf_openapiClient::DescribeWafSourceIpSegmentOutcome Waf_openapiClient::describeWafSourceIpSegment(const DescribeWafSourceIpSegmentRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
@@ -25,6 +25,15 @@ CreateCertificateByCertificateIdRequest::CreateCertificateByCertificateIdRequest
|
|||||||
|
|
||||||
CreateCertificateByCertificateIdRequest::~CreateCertificateByCertificateIdRequest() {}
|
CreateCertificateByCertificateIdRequest::~CreateCertificateByCertificateIdRequest() {}
|
||||||
|
|
||||||
|
std::string CreateCertificateByCertificateIdRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateCertificateByCertificateIdRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateCertificateByCertificateIdRequest::getSourceIp() const {
|
std::string CreateCertificateByCertificateIdRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -34,6 +43,15 @@ void CreateCertificateByCertificateIdRequest::setSourceIp(const std::string &sou
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateCertificateByCertificateIdRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateCertificateByCertificateIdRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateCertificateByCertificateIdRequest::getLang() const {
|
std::string CreateCertificateByCertificateIdRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,6 +43,15 @@ void CreateCertificateRequest::setPrivateKey(const std::string &privateKey) {
|
|||||||
setParameter(std::string("PrivateKey"), privateKey);
|
setParameter(std::string("PrivateKey"), privateKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateCertificateRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateCertificateRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateCertificateRequest::getSourceIp() const {
|
std::string CreateCertificateRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -52,6 +61,15 @@ void CreateCertificateRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateCertificateRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateCertificateRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string CreateCertificateRequest::getLang() const {
|
std::string CreateCertificateRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -178,6 +178,15 @@ void CreateDomainRequest::setHttpsPort(const std::string &httpsPort) {
|
|||||||
setParameter(std::string("HttpsPort"), httpsPort);
|
setParameter(std::string("HttpsPort"), httpsPort);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateDomainRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDomainRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
int CreateDomainRequest::getSniStatus() const {
|
int CreateDomainRequest::getSniStatus() const {
|
||||||
return sniStatus_;
|
return sniStatus_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,15 +25,6 @@ CreateProtectionModuleRuleRequest::CreateProtectionModuleRuleRequest()
|
|||||||
|
|
||||||
CreateProtectionModuleRuleRequest::~CreateProtectionModuleRuleRequest() {}
|
CreateProtectionModuleRuleRequest::~CreateProtectionModuleRuleRequest() {}
|
||||||
|
|
||||||
std::string CreateProtectionModuleRuleRequest::getDefenseType() const {
|
|
||||||
return defenseType_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void CreateProtectionModuleRuleRequest::setDefenseType(const std::string &defenseType) {
|
|
||||||
defenseType_ = defenseType;
|
|
||||||
setParameter(std::string("DefenseType"), defenseType);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string CreateProtectionModuleRuleRequest::getRule() const {
|
std::string CreateProtectionModuleRuleRequest::getRule() const {
|
||||||
return rule_;
|
return rule_;
|
||||||
}
|
}
|
||||||
@@ -43,13 +34,13 @@ void CreateProtectionModuleRuleRequest::setRule(const std::string &rule) {
|
|||||||
setParameter(std::string("Rule"), rule);
|
setParameter(std::string("Rule"), rule);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateProtectionModuleRuleRequest::getInstanceId() const {
|
std::string CreateProtectionModuleRuleRequest::getResourceGroupId() const {
|
||||||
return instanceId_;
|
return resourceGroupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateProtectionModuleRuleRequest::setInstanceId(const std::string &instanceId) {
|
void CreateProtectionModuleRuleRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
instanceId_ = instanceId;
|
resourceGroupId_ = resourceGroupId;
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateProtectionModuleRuleRequest::getSourceIp() const {
|
std::string CreateProtectionModuleRuleRequest::getSourceIp() const {
|
||||||
@@ -61,13 +52,13 @@ void CreateProtectionModuleRuleRequest::setSourceIp(const std::string &sourceIp)
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateProtectionModuleRuleRequest::getDomain() const {
|
std::string CreateProtectionModuleRuleRequest::getRegionId() const {
|
||||||
return domain_;
|
return regionId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CreateProtectionModuleRuleRequest::setDomain(const std::string &domain) {
|
void CreateProtectionModuleRuleRequest::setRegionId(const std::string ®ionId) {
|
||||||
domain_ = domain;
|
regionId_ = regionId;
|
||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("RegionId"), regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string CreateProtectionModuleRuleRequest::getLang() const {
|
std::string CreateProtectionModuleRuleRequest::getLang() const {
|
||||||
@@ -79,3 +70,30 @@ void CreateProtectionModuleRuleRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string CreateProtectionModuleRuleRequest::getDefenseType() const {
|
||||||
|
return defenseType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateProtectionModuleRuleRequest::setDefenseType(const std::string &defenseType) {
|
||||||
|
defenseType_ = defenseType;
|
||||||
|
setParameter(std::string("DefenseType"), defenseType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateProtectionModuleRuleRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateProtectionModuleRuleRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateProtectionModuleRuleRequest::getDomain() const {
|
||||||
|
return domain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateProtectionModuleRuleRequest::setDomain(const std::string &domain) {
|
||||||
|
domain_ = domain;
|
||||||
|
setParameter(std::string("Domain"), domain);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,13 +25,13 @@ DeleteDomainRequest::DeleteDomainRequest()
|
|||||||
|
|
||||||
DeleteDomainRequest::~DeleteDomainRequest() {}
|
DeleteDomainRequest::~DeleteDomainRequest() {}
|
||||||
|
|
||||||
std::string DeleteDomainRequest::getInstanceId() const {
|
std::string DeleteDomainRequest::getResourceGroupId() const {
|
||||||
return instanceId_;
|
return resourceGroupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteDomainRequest::setInstanceId(const std::string &instanceId) {
|
void DeleteDomainRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
instanceId_ = instanceId;
|
resourceGroupId_ = resourceGroupId;
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeleteDomainRequest::getSourceIp() const {
|
std::string DeleteDomainRequest::getSourceIp() const {
|
||||||
@@ -43,13 +43,13 @@ void DeleteDomainRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeleteDomainRequest::getDomain() const {
|
std::string DeleteDomainRequest::getRegionId() const {
|
||||||
return domain_;
|
return regionId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeleteDomainRequest::setDomain(const std::string &domain) {
|
void DeleteDomainRequest::setRegionId(const std::string ®ionId) {
|
||||||
domain_ = domain;
|
regionId_ = regionId;
|
||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("RegionId"), regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeleteDomainRequest::getLang() const {
|
std::string DeleteDomainRequest::getLang() const {
|
||||||
@@ -61,3 +61,21 @@ void DeleteDomainRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DeleteDomainRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteDomainRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteDomainRequest::getDomain() const {
|
||||||
|
return domain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteDomainRequest::setDomain(const std::string &domain) {
|
||||||
|
domain_ = domain;
|
||||||
|
setParameter(std::string("Domain"), domain);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,15 +34,6 @@ void DeleteInstanceRequest::setResourceGroupId(const std::string &resourceGroupI
|
|||||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeleteInstanceRequest::getInstanceId() const {
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteInstanceRequest::setInstanceId(const std::string &instanceId) {
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteInstanceRequest::getSourceIp() const {
|
std::string DeleteInstanceRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -52,6 +43,15 @@ void DeleteInstanceRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DeleteInstanceRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteInstanceRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DeleteInstanceRequest::getLang() const {
|
std::string DeleteInstanceRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
@@ -61,3 +61,12 @@ void DeleteInstanceRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DeleteInstanceRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteInstanceRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,42 @@ DeleteProtectionModuleRuleRequest::DeleteProtectionModuleRuleRequest()
|
|||||||
|
|
||||||
DeleteProtectionModuleRuleRequest::~DeleteProtectionModuleRuleRequest() {}
|
DeleteProtectionModuleRuleRequest::~DeleteProtectionModuleRuleRequest() {}
|
||||||
|
|
||||||
|
std::string DeleteProtectionModuleRuleRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteProtectionModuleRuleRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteProtectionModuleRuleRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteProtectionModuleRuleRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteProtectionModuleRuleRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteProtectionModuleRuleRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteProtectionModuleRuleRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteProtectionModuleRuleRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DeleteProtectionModuleRuleRequest::getDefenseType() const {
|
std::string DeleteProtectionModuleRuleRequest::getDefenseType() const {
|
||||||
return defenseType_;
|
return defenseType_;
|
||||||
}
|
}
|
||||||
@@ -43,15 +79,6 @@ void DeleteProtectionModuleRuleRequest::setInstanceId(const std::string &instanc
|
|||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeleteProtectionModuleRuleRequest::getSourceIp() const {
|
|
||||||
return sourceIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteProtectionModuleRuleRequest::setSourceIp(const std::string &sourceIp) {
|
|
||||||
sourceIp_ = sourceIp;
|
|
||||||
setParameter(std::string("SourceIp"), sourceIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DeleteProtectionModuleRuleRequest::getDomain() const {
|
std::string DeleteProtectionModuleRuleRequest::getDomain() const {
|
||||||
return domain_;
|
return domain_;
|
||||||
}
|
}
|
||||||
@@ -61,15 +88,6 @@ void DeleteProtectionModuleRuleRequest::setDomain(const std::string &domain) {
|
|||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("Domain"), domain);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DeleteProtectionModuleRuleRequest::getLang() const {
|
|
||||||
return lang_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DeleteProtectionModuleRuleRequest::setLang(const std::string &lang) {
|
|
||||||
lang_ = lang;
|
|
||||||
setParameter(std::string("Lang"), lang);
|
|
||||||
}
|
|
||||||
|
|
||||||
long DeleteProtectionModuleRuleRequest::getRuleId() const {
|
long DeleteProtectionModuleRuleRequest::getRuleId() const {
|
||||||
return ruleId_;
|
return ruleId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,13 +43,13 @@ void DescribeCertMatchStatusRequest::setPrivateKey(const std::string &privateKey
|
|||||||
setParameter(std::string("PrivateKey"), privateKey);
|
setParameter(std::string("PrivateKey"), privateKey);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeCertMatchStatusRequest::getInstanceId() const {
|
std::string DescribeCertMatchStatusRequest::getResourceGroupId() const {
|
||||||
return instanceId_;
|
return resourceGroupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescribeCertMatchStatusRequest::setInstanceId(const std::string &instanceId) {
|
void DescribeCertMatchStatusRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
instanceId_ = instanceId;
|
resourceGroupId_ = resourceGroupId;
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeCertMatchStatusRequest::getSourceIp() const {
|
std::string DescribeCertMatchStatusRequest::getSourceIp() const {
|
||||||
@@ -61,13 +61,13 @@ void DescribeCertMatchStatusRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeCertMatchStatusRequest::getDomain() const {
|
std::string DescribeCertMatchStatusRequest::getRegionId() const {
|
||||||
return domain_;
|
return regionId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescribeCertMatchStatusRequest::setDomain(const std::string &domain) {
|
void DescribeCertMatchStatusRequest::setRegionId(const std::string ®ionId) {
|
||||||
domain_ = domain;
|
regionId_ = regionId;
|
||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("RegionId"), regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeCertMatchStatusRequest::getLang() const {
|
std::string DescribeCertMatchStatusRequest::getLang() const {
|
||||||
@@ -79,3 +79,21 @@ void DescribeCertMatchStatusRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeCertMatchStatusRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCertMatchStatusRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeCertMatchStatusRequest::getDomain() const {
|
||||||
|
return domain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCertMatchStatusRequest::setDomain(const std::string &domain) {
|
||||||
|
domain_ = domain;
|
||||||
|
setParameter(std::string("Domain"), domain);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,15 @@ DescribeCertificatesRequest::DescribeCertificatesRequest()
|
|||||||
|
|
||||||
DescribeCertificatesRequest::~DescribeCertificatesRequest() {}
|
DescribeCertificatesRequest::~DescribeCertificatesRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeCertificatesRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCertificatesRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeCertificatesRequest::getSourceIp() const {
|
std::string DescribeCertificatesRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -34,6 +43,15 @@ void DescribeCertificatesRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeCertificatesRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeCertificatesRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeCertificatesRequest::getLang() const {
|
std::string DescribeCertificatesRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,15 +43,6 @@ void DescribeDomainAdvanceConfigsRequest::setResourceGroupId(const std::string &
|
|||||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainAdvanceConfigsRequest::getInstanceId() const {
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeDomainAdvanceConfigsRequest::setInstanceId(const std::string &instanceId) {
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeDomainAdvanceConfigsRequest::getSourceIp() const {
|
std::string DescribeDomainAdvanceConfigsRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -61,6 +52,15 @@ void DescribeDomainAdvanceConfigsRequest::setSourceIp(const std::string &sourceI
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainAdvanceConfigsRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainAdvanceConfigsRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDomainAdvanceConfigsRequest::getLang() const {
|
std::string DescribeDomainAdvanceConfigsRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
@@ -70,3 +70,12 @@ void DescribeDomainAdvanceConfigsRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainAdvanceConfigsRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainAdvanceConfigsRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,15 @@ void DescribeDomainBasicConfigsRequest::setSourceIp(const std::string &sourceIp)
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainBasicConfigsRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainBasicConfigsRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeDomainBasicConfigsRequest::getPageSize() const {
|
int DescribeDomainBasicConfigsRequest::getPageSize() const {
|
||||||
return pageSize_;
|
return pageSize_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -60,6 +60,15 @@ void DescribeDomainListRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainListRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainListRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeDomainListRequest::getPageSize() const {
|
int DescribeDomainListRequest::getPageSize() const {
|
||||||
return pageSize_;
|
return pageSize_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,15 +34,6 @@ void DescribeDomainNamesRequest::setResourceGroupId(const std::string &resourceG
|
|||||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainNamesRequest::getInstanceId() const {
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeDomainNamesRequest::setInstanceId(const std::string &instanceId) {
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeDomainNamesRequest::getSourceIp() const {
|
std::string DescribeDomainNamesRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -52,6 +43,15 @@ void DescribeDomainNamesRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainNamesRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainNamesRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDomainNamesRequest::getLang() const {
|
std::string DescribeDomainNamesRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
@@ -61,6 +61,15 @@ void DescribeDomainNamesRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainNamesRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainNamesRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDomainNamesRequest::getCallSource() const {
|
std::string DescribeDomainNamesRequest::getCallSource() const {
|
||||||
return callSource_;
|
return callSource_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,15 @@ DescribeDomainRequest::DescribeDomainRequest()
|
|||||||
|
|
||||||
DescribeDomainRequest::~DescribeDomainRequest() {}
|
DescribeDomainRequest::~DescribeDomainRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeDomainRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDomainRequest::getSourceIp() const {
|
std::string DescribeDomainRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -34,6 +43,15 @@ void DescribeDomainRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDomainRequest::getLang() const {
|
std::string DescribeDomainRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,13 +25,13 @@ DescribeDomainRuleGroupRequest::DescribeDomainRuleGroupRequest()
|
|||||||
|
|
||||||
DescribeDomainRuleGroupRequest::~DescribeDomainRuleGroupRequest() {}
|
DescribeDomainRuleGroupRequest::~DescribeDomainRuleGroupRequest() {}
|
||||||
|
|
||||||
std::string DescribeDomainRuleGroupRequest::getInstanceId() const {
|
std::string DescribeDomainRuleGroupRequest::getResourceGroupId() const {
|
||||||
return instanceId_;
|
return resourceGroupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescribeDomainRuleGroupRequest::setInstanceId(const std::string &instanceId) {
|
void DescribeDomainRuleGroupRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
instanceId_ = instanceId;
|
resourceGroupId_ = resourceGroupId;
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainRuleGroupRequest::getSourceIp() const {
|
std::string DescribeDomainRuleGroupRequest::getSourceIp() const {
|
||||||
@@ -43,13 +43,13 @@ void DescribeDomainRuleGroupRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainRuleGroupRequest::getDomain() const {
|
std::string DescribeDomainRuleGroupRequest::getRegionId() const {
|
||||||
return domain_;
|
return regionId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void DescribeDomainRuleGroupRequest::setDomain(const std::string &domain) {
|
void DescribeDomainRuleGroupRequest::setRegionId(const std::string ®ionId) {
|
||||||
domain_ = domain;
|
regionId_ = regionId;
|
||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("RegionId"), regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainRuleGroupRequest::getLang() const {
|
std::string DescribeDomainRuleGroupRequest::getLang() const {
|
||||||
@@ -61,3 +61,21 @@ void DescribeDomainRuleGroupRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainRuleGroupRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainRuleGroupRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainRuleGroupRequest::getDomain() const {
|
||||||
|
return domain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainRuleGroupRequest::setDomain(const std::string &domain) {
|
||||||
|
domain_ = domain;
|
||||||
|
setParameter(std::string("Domain"), domain);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,15 +34,6 @@ void DescribeInstanceInfoRequest::setResourceGroupId(const std::string &resource
|
|||||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeInstanceInfoRequest::getInstanceId() const {
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeInstanceInfoRequest::setInstanceId(const std::string &instanceId) {
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeInstanceInfoRequest::getSourceIp() const {
|
std::string DescribeInstanceInfoRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -52,6 +43,15 @@ void DescribeInstanceInfoRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeInstanceInfoRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeInstanceInfoRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeInstanceInfoRequest::getInstanceSource() const {
|
std::string DescribeInstanceInfoRequest::getInstanceSource() const {
|
||||||
return instanceSource_;
|
return instanceSource_;
|
||||||
}
|
}
|
||||||
@@ -70,3 +70,12 @@ void DescribeInstanceInfoRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeInstanceInfoRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeInstanceInfoRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,15 +34,6 @@ void DescribeInstanceSpecInfoRequest::setResourceGroupId(const std::string &reso
|
|||||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeInstanceSpecInfoRequest::getInstanceId() const {
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeInstanceSpecInfoRequest::setInstanceId(const std::string &instanceId) {
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeInstanceSpecInfoRequest::getSourceIp() const {
|
std::string DescribeInstanceSpecInfoRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -52,6 +43,15 @@ void DescribeInstanceSpecInfoRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeInstanceSpecInfoRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeInstanceSpecInfoRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeInstanceSpecInfoRequest::getLang() const {
|
std::string DescribeInstanceSpecInfoRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
@@ -61,3 +61,12 @@ void DescribeInstanceSpecInfoRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeInstanceSpecInfoRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeInstanceSpecInfoRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -60,6 +60,15 @@ void DescribeLogServiceStatusRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeLogServiceStatusRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeLogServiceStatusRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeLogServiceStatusRequest::getPageSize() const {
|
int DescribeLogServiceStatusRequest::getPageSize() const {
|
||||||
return pageSize_;
|
return pageSize_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,6 +43,15 @@ void DescribeProtectionModuleCodeConfigRequest::setSourceIp(const std::string &s
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleCodeConfigRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleCodeConfigRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeProtectionModuleCodeConfigRequest::getLang() const {
|
std::string DescribeProtectionModuleCodeConfigRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
|
|||||||
90
waf-openapi/src/model/DescribeProtectionModuleModeRequest.cc
Normal file
90
waf-openapi/src/model/DescribeProtectionModuleModeRequest.cc
Normal file
@@ -0,0 +1,90 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/waf-openapi/model/DescribeProtectionModuleModeRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Waf_openapi::Model::DescribeProtectionModuleModeRequest;
|
||||||
|
|
||||||
|
DescribeProtectionModuleModeRequest::DescribeProtectionModuleModeRequest()
|
||||||
|
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeProtectionModuleMode") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeProtectionModuleModeRequest::~DescribeProtectionModuleModeRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleModeRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleModeRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleModeRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleModeRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleModeRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleModeRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleModeRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleModeRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleModeRequest::getDefenseType() const {
|
||||||
|
return defenseType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleModeRequest::setDefenseType(const std::string &defenseType) {
|
||||||
|
defenseType_ = defenseType;
|
||||||
|
setParameter(std::string("DefenseType"), defenseType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleModeRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleModeRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleModeRequest::getDomain() const {
|
||||||
|
return domain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleModeRequest::setDomain(const std::string &domain) {
|
||||||
|
domain_ = domain;
|
||||||
|
setParameter(std::string("Domain"), domain);
|
||||||
|
}
|
||||||
|
|
||||||
58
waf-openapi/src/model/DescribeProtectionModuleModeResult.cc
Normal file
58
waf-openapi/src/model/DescribeProtectionModuleModeResult.cc
Normal file
@@ -0,0 +1,58 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/waf-openapi/model/DescribeProtectionModuleModeResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Waf_openapi;
|
||||||
|
using namespace AlibabaCloud::Waf_openapi::Model;
|
||||||
|
|
||||||
|
DescribeProtectionModuleModeResult::DescribeProtectionModuleModeResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeProtectionModuleModeResult::DescribeProtectionModuleModeResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeProtectionModuleModeResult::~DescribeProtectionModuleModeResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleModeResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["LearnStatus"].isNull())
|
||||||
|
learnStatus_ = std::stoi(value["LearnStatus"].asString());
|
||||||
|
if(!value["Mode"].isNull())
|
||||||
|
mode_ = std::stoi(value["Mode"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeProtectionModuleModeResult::getLearnStatus()const
|
||||||
|
{
|
||||||
|
return learnStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeProtectionModuleModeResult::getMode()const
|
||||||
|
{
|
||||||
|
return mode_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -52,6 +52,15 @@ void DescribeProtectionModuleRulesRequest::setSourceIp(const std::string &source
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleRulesRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleRulesRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
int DescribeProtectionModuleRulesRequest::getPageSize() const {
|
int DescribeProtectionModuleRulesRequest::getPageSize() const {
|
||||||
return pageSize_;
|
return pageSize_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,42 @@ DescribeProtectionModuleStatusRequest::DescribeProtectionModuleStatusRequest()
|
|||||||
|
|
||||||
DescribeProtectionModuleStatusRequest::~DescribeProtectionModuleStatusRequest() {}
|
DescribeProtectionModuleStatusRequest::~DescribeProtectionModuleStatusRequest() {}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleStatusRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleStatusRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleStatusRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleStatusRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleStatusRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleStatusRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeProtectionModuleStatusRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeProtectionModuleStatusRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeProtectionModuleStatusRequest::getDefenseType() const {
|
std::string DescribeProtectionModuleStatusRequest::getDefenseType() const {
|
||||||
return defenseType_;
|
return defenseType_;
|
||||||
}
|
}
|
||||||
@@ -43,15 +79,6 @@ void DescribeProtectionModuleStatusRequest::setInstanceId(const std::string &ins
|
|||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeProtectionModuleStatusRequest::getSourceIp() const {
|
|
||||||
return sourceIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeProtectionModuleStatusRequest::setSourceIp(const std::string &sourceIp) {
|
|
||||||
sourceIp_ = sourceIp;
|
|
||||||
setParameter(std::string("SourceIp"), sourceIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeProtectionModuleStatusRequest::getDomain() const {
|
std::string DescribeProtectionModuleStatusRequest::getDomain() const {
|
||||||
return domain_;
|
return domain_;
|
||||||
}
|
}
|
||||||
@@ -61,12 +88,3 @@ void DescribeProtectionModuleStatusRequest::setDomain(const std::string &domain)
|
|||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("Domain"), domain);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeProtectionModuleStatusRequest::getLang() const {
|
|
||||||
return lang_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeProtectionModuleStatusRequest::setLang(const std::string &lang) {
|
|
||||||
lang_ = lang;
|
|
||||||
setParameter(std::string("Lang"), lang);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
126
waf-openapi/src/model/DescribeRuleGroupsRequest.cc
Normal file
126
waf-openapi/src/model/DescribeRuleGroupsRequest.cc
Normal file
@@ -0,0 +1,126 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/waf-openapi/model/DescribeRuleGroupsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Waf_openapi::Model::DescribeRuleGroupsRequest;
|
||||||
|
|
||||||
|
DescribeRuleGroupsRequest::DescribeRuleGroupsRequest()
|
||||||
|
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeRuleGroups") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeRuleGroupsRequest::~DescribeRuleGroupsRequest() {}
|
||||||
|
|
||||||
|
int DescribeRuleGroupsRequest::getType() const {
|
||||||
|
return type_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setType(int type) {
|
||||||
|
type_ = type;
|
||||||
|
setParameter(std::string("Type"), std::to_string(type));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRuleGroupsRequest::getWafLang() const {
|
||||||
|
return wafLang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setWafLang(const std::string &wafLang) {
|
||||||
|
wafLang_ = wafLang;
|
||||||
|
setParameter(std::string("WafLang"), wafLang);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRuleGroupsRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRuleGroupsRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeRuleGroupsRequest::getPolicyId() const {
|
||||||
|
return policyId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setPolicyId(long policyId) {
|
||||||
|
policyId_ = policyId;
|
||||||
|
setParameter(std::string("PolicyId"), std::to_string(policyId));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRuleGroupsRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRuleGroupsRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRuleGroupsRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRuleGroupsRequest::getCurrentPage() const {
|
||||||
|
return currentPage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setCurrentPage(int currentPage) {
|
||||||
|
currentPage_ = currentPage;
|
||||||
|
setParameter(std::string("CurrentPage"), std::to_string(currentPage));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRuleGroupsRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRuleGroupsRequest::getRegion() const {
|
||||||
|
return region_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsRequest::setRegion(const std::string ®ion) {
|
||||||
|
region_ = region;
|
||||||
|
setParameter(std::string("Region"), region);
|
||||||
|
}
|
||||||
|
|
||||||
97
waf-openapi/src/model/DescribeRuleGroupsResult.cc
Normal file
97
waf-openapi/src/model/DescribeRuleGroupsResult.cc
Normal file
@@ -0,0 +1,97 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/waf-openapi/model/DescribeRuleGroupsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Waf_openapi;
|
||||||
|
using namespace AlibabaCloud::Waf_openapi::Model;
|
||||||
|
|
||||||
|
DescribeRuleGroupsResult::DescribeRuleGroupsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeRuleGroupsResult::DescribeRuleGroupsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeRuleGroupsResult::~DescribeRuleGroupsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeRuleGroupsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allRuleGroupsNode = value["RuleGroups"]["RuleGroupsItem"];
|
||||||
|
for (auto valueRuleGroupsRuleGroupsItem : allRuleGroupsNode)
|
||||||
|
{
|
||||||
|
RuleGroupsItem ruleGroupsObject;
|
||||||
|
if(!valueRuleGroupsRuleGroupsItem["Type"].isNull())
|
||||||
|
ruleGroupsObject.type = std::stoi(valueRuleGroupsRuleGroupsItem["Type"].asString());
|
||||||
|
if(!valueRuleGroupsRuleGroupsItem["RuleCnt"].isNull())
|
||||||
|
ruleGroupsObject.ruleCnt = std::stoi(valueRuleGroupsRuleGroupsItem["RuleCnt"].asString());
|
||||||
|
if(!valueRuleGroupsRuleGroupsItem["RuleGroupUpdateTime"].isNull())
|
||||||
|
ruleGroupsObject.ruleGroupUpdateTime = std::stol(valueRuleGroupsRuleGroupsItem["RuleGroupUpdateTime"].asString());
|
||||||
|
if(!valueRuleGroupsRuleGroupsItem["PolicyId"].isNull())
|
||||||
|
ruleGroupsObject.policyId = std::stol(valueRuleGroupsRuleGroupsItem["PolicyId"].asString());
|
||||||
|
if(!valueRuleGroupsRuleGroupsItem["Name"].isNull())
|
||||||
|
ruleGroupsObject.name = valueRuleGroupsRuleGroupsItem["Name"].asString();
|
||||||
|
if(!valueRuleGroupsRuleGroupsItem["TemplatePolicyId"].isNull())
|
||||||
|
ruleGroupsObject.templatePolicyId = std::stol(valueRuleGroupsRuleGroupsItem["TemplatePolicyId"].asString());
|
||||||
|
if(!valueRuleGroupsRuleGroupsItem["RuleGroupTemplateName"].isNull())
|
||||||
|
ruleGroupsObject.ruleGroupTemplateName = valueRuleGroupsRuleGroupsItem["RuleGroupTemplateName"].asString();
|
||||||
|
if(!valueRuleGroupsRuleGroupsItem["Desc"].isNull())
|
||||||
|
ruleGroupsObject.desc = valueRuleGroupsRuleGroupsItem["Desc"].asString();
|
||||||
|
if(!valueRuleGroupsRuleGroupsItem["WafVersion"].isNull())
|
||||||
|
ruleGroupsObject.wafVersion = std::stol(valueRuleGroupsRuleGroupsItem["WafVersion"].asString());
|
||||||
|
auto allDomainList = value["DomainList"]["Domain"];
|
||||||
|
for (auto value : allDomainList)
|
||||||
|
ruleGroupsObject.domainList.push_back(value.asString());
|
||||||
|
ruleGroups_.push_back(ruleGroupsObject);
|
||||||
|
}
|
||||||
|
if(!value["TaskStatus"].isNull())
|
||||||
|
taskStatus_ = std::stoi(value["TaskStatus"].asString());
|
||||||
|
if(!value["Total"].isNull())
|
||||||
|
total_ = std::stoi(value["Total"].asString());
|
||||||
|
if(!value["WafTaskId"].isNull())
|
||||||
|
wafTaskId_ = value["WafTaskId"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeRuleGroupsResult::RuleGroupsItem> DescribeRuleGroupsResult::getRuleGroups()const
|
||||||
|
{
|
||||||
|
return ruleGroups_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRuleGroupsResult::getTotal()const
|
||||||
|
{
|
||||||
|
return total_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRuleGroupsResult::getTaskStatus()const
|
||||||
|
{
|
||||||
|
return taskStatus_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRuleGroupsResult::getWafTaskId()const
|
||||||
|
{
|
||||||
|
return wafTaskId_;
|
||||||
|
}
|
||||||
|
|
||||||
153
waf-openapi/src/model/DescribeRulesRequest.cc
Normal file
153
waf-openapi/src/model/DescribeRulesRequest.cc
Normal file
@@ -0,0 +1,153 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/waf-openapi/model/DescribeRulesRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Waf_openapi::Model::DescribeRulesRequest;
|
||||||
|
|
||||||
|
DescribeRulesRequest::DescribeRulesRequest()
|
||||||
|
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeRules") {
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeRulesRequest::~DescribeRulesRequest() {}
|
||||||
|
|
||||||
|
long DescribeRulesRequest::getRuleGroupId() const {
|
||||||
|
return ruleGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setRuleGroupId(long ruleGroupId) {
|
||||||
|
ruleGroupId_ = ruleGroupId;
|
||||||
|
setParameter(std::string("RuleGroupId"), std::to_string(ruleGroupId));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRulesRequest::getProtectionType() const {
|
||||||
|
return protectionType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setProtectionType(int protectionType) {
|
||||||
|
protectionType_ = protectionType;
|
||||||
|
setParameter(std::string("ProtectionType"), std::to_string(protectionType));
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRulesRequest::getPageNumber() const {
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setPageNumber(int pageNumber) {
|
||||||
|
pageNumber_ = pageNumber;
|
||||||
|
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesRequest::getCveIdKey() const {
|
||||||
|
return cveIdKey_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setCveIdKey(const std::string &cveIdKey) {
|
||||||
|
cveIdKey_ = cveIdKey;
|
||||||
|
setParameter(std::string("CveIdKey"), cveIdKey);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRulesRequest::getPageSize() const {
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setPageSize(int pageSize) {
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter(std::string("PageSize"), std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRulesRequest::getRiskLevel() const {
|
||||||
|
return riskLevel_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setRiskLevel(int riskLevel) {
|
||||||
|
riskLevel_ = riskLevel;
|
||||||
|
setParameter(std::string("RiskLevel"), std::to_string(riskLevel));
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesRequest::getRuleIdKey() const {
|
||||||
|
return ruleIdKey_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setRuleIdKey(const std::string &ruleIdKey) {
|
||||||
|
ruleIdKey_ = ruleIdKey;
|
||||||
|
setParameter(std::string("RuleIdKey"), ruleIdKey);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesRequest::getRegion() const {
|
||||||
|
return region_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setRegion(const std::string ®ion) {
|
||||||
|
region_ = region;
|
||||||
|
setParameter(std::string("Region"), region);
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRulesRequest::getApplicationType() const {
|
||||||
|
return applicationType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeRulesRequest::setApplicationType(int applicationType) {
|
||||||
|
applicationType_ = applicationType;
|
||||||
|
setParameter(std::string("ApplicationType"), std::to_string(applicationType));
|
||||||
|
}
|
||||||
|
|
||||||
108
waf-openapi/src/model/DescribeRulesResult.cc
Normal file
108
waf-openapi/src/model/DescribeRulesResult.cc
Normal file
@@ -0,0 +1,108 @@
|
|||||||
|
/*
|
||||||
|
* 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/waf-openapi/model/DescribeRulesResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Waf_openapi;
|
||||||
|
using namespace AlibabaCloud::Waf_openapi::Model;
|
||||||
|
|
||||||
|
DescribeRulesResult::DescribeRulesResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DescribeRulesResult::DescribeRulesResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DescribeRulesResult::~DescribeRulesResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DescribeRulesResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allRulesNode = value["Rules"]["RulesItem"];
|
||||||
|
for (auto valueRulesRulesItem : allRulesNode)
|
||||||
|
{
|
||||||
|
RulesItem rulesObject;
|
||||||
|
if(!valueRulesRulesItem["RiskLevel"].isNull())
|
||||||
|
rulesObject.riskLevel = std::stoi(valueRulesRulesItem["RiskLevel"].asString());
|
||||||
|
if(!valueRulesRulesItem["UpdateTime"].isNull())
|
||||||
|
rulesObject.updateTime = std::stol(valueRulesRulesItem["UpdateTime"].asString());
|
||||||
|
if(!valueRulesRulesItem["Description"].isNull())
|
||||||
|
rulesObject.description = valueRulesRulesItem["Description"].asString();
|
||||||
|
if(!valueRulesRulesItem["CveUrl"].isNull())
|
||||||
|
rulesObject.cveUrl = valueRulesRulesItem["CveUrl"].asString();
|
||||||
|
if(!valueRulesRulesItem["ApplicationType"].isNull())
|
||||||
|
rulesObject.applicationType = std::stoi(valueRulesRulesItem["ApplicationType"].asString());
|
||||||
|
if(!valueRulesRulesItem["CveId"].isNull())
|
||||||
|
rulesObject.cveId = valueRulesRulesItem["CveId"].asString();
|
||||||
|
if(!valueRulesRulesItem["ProtectionType"].isNull())
|
||||||
|
rulesObject.protectionType = std::stoi(valueRulesRulesItem["ProtectionType"].asString());
|
||||||
|
if(!valueRulesRulesItem["RuleName"].isNull())
|
||||||
|
rulesObject.ruleName = valueRulesRulesItem["RuleName"].asString();
|
||||||
|
if(!valueRulesRulesItem["RuleId"].isNull())
|
||||||
|
rulesObject.ruleId = std::stol(valueRulesRulesItem["RuleId"].asString());
|
||||||
|
rules_.push_back(rulesObject);
|
||||||
|
}
|
||||||
|
if(!value["RuleGroupTemplateId"].isNull())
|
||||||
|
ruleGroupTemplateId_ = value["RuleGroupTemplateId"].asString();
|
||||||
|
if(!value["RuleGroupName"].isNull())
|
||||||
|
ruleGroupName_ = value["RuleGroupName"].asString();
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||||
|
if(!value["RuleGroupTemplateName"].isNull())
|
||||||
|
ruleGroupTemplateName_ = value["RuleGroupTemplateName"].asString();
|
||||||
|
if(!value["IsSubscribe"].isNull())
|
||||||
|
isSubscribe_ = std::stol(value["IsSubscribe"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int DescribeRulesResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesResult::getRuleGroupTemplateId()const
|
||||||
|
{
|
||||||
|
return ruleGroupTemplateId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesResult::getRuleGroupName()const
|
||||||
|
{
|
||||||
|
return ruleGroupName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
long DescribeRulesResult::getIsSubscribe()const
|
||||||
|
{
|
||||||
|
return isSubscribe_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<DescribeRulesResult::RulesItem> DescribeRulesResult::getRules()const
|
||||||
|
{
|
||||||
|
return rules_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DescribeRulesResult::getRuleGroupTemplateName()const
|
||||||
|
{
|
||||||
|
return ruleGroupTemplateName_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -34,15 +34,6 @@ void DescribeWafSourceIpSegmentRequest::setResourceGroupId(const std::string &re
|
|||||||
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeWafSourceIpSegmentRequest::getInstanceId() const {
|
|
||||||
return instanceId_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeWafSourceIpSegmentRequest::setInstanceId(const std::string &instanceId) {
|
|
||||||
instanceId_ = instanceId;
|
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeWafSourceIpSegmentRequest::getSourceIp() const {
|
std::string DescribeWafSourceIpSegmentRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -52,6 +43,15 @@ void DescribeWafSourceIpSegmentRequest::setSourceIp(const std::string &sourceIp)
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeWafSourceIpSegmentRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeWafSourceIpSegmentRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeWafSourceIpSegmentRequest::getLang() const {
|
std::string DescribeWafSourceIpSegmentRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
@@ -61,3 +61,12 @@ void DescribeWafSourceIpSegmentRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeWafSourceIpSegmentRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeWafSourceIpSegmentRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,13 +43,13 @@ void ModifyDomainIpv6StatusRequest::setEnabled(const std::string &enabled) {
|
|||||||
setParameter(std::string("Enabled"), enabled);
|
setParameter(std::string("Enabled"), enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyDomainIpv6StatusRequest::getInstanceId() const {
|
std::string ModifyDomainIpv6StatusRequest::getResourceGroupId() const {
|
||||||
return instanceId_;
|
return resourceGroupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModifyDomainIpv6StatusRequest::setInstanceId(const std::string &instanceId) {
|
void ModifyDomainIpv6StatusRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
instanceId_ = instanceId;
|
resourceGroupId_ = resourceGroupId;
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyDomainIpv6StatusRequest::getSourceIp() const {
|
std::string ModifyDomainIpv6StatusRequest::getSourceIp() const {
|
||||||
@@ -61,13 +61,13 @@ void ModifyDomainIpv6StatusRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyDomainIpv6StatusRequest::getDomain() const {
|
std::string ModifyDomainIpv6StatusRequest::getRegionId() const {
|
||||||
return domain_;
|
return regionId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModifyDomainIpv6StatusRequest::setDomain(const std::string &domain) {
|
void ModifyDomainIpv6StatusRequest::setRegionId(const std::string ®ionId) {
|
||||||
domain_ = domain;
|
regionId_ = regionId;
|
||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("RegionId"), regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyDomainIpv6StatusRequest::getLang() const {
|
std::string ModifyDomainIpv6StatusRequest::getLang() const {
|
||||||
@@ -79,3 +79,21 @@ void ModifyDomainIpv6StatusRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyDomainIpv6StatusRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyDomainIpv6StatusRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyDomainIpv6StatusRequest::getDomain() const {
|
||||||
|
return domain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyDomainIpv6StatusRequest::setDomain(const std::string &domain) {
|
||||||
|
domain_ = domain;
|
||||||
|
setParameter(std::string("Domain"), domain);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -52,6 +52,15 @@ void ModifyDomainRequest::setSniHost(const std::string &sniHost) {
|
|||||||
setParameter(std::string("SniHost"), sniHost);
|
setParameter(std::string("SniHost"), sniHost);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyDomainRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyDomainRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
int ModifyDomainRequest::getHybridCloudType() const {
|
int ModifyDomainRequest::getHybridCloudType() const {
|
||||||
return hybridCloudType_;
|
return hybridCloudType_;
|
||||||
}
|
}
|
||||||
@@ -178,6 +187,15 @@ void ModifyDomainRequest::setHttpsPort(const std::string &httpsPort) {
|
|||||||
setParameter(std::string("HttpsPort"), httpsPort);
|
setParameter(std::string("HttpsPort"), httpsPort);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyDomainRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyDomainRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
int ModifyDomainRequest::getSniStatus() const {
|
int ModifyDomainRequest::getSniStatus() const {
|
||||||
return sniStatus_;
|
return sniStatus_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,13 +34,13 @@ void ModifyLogRetrievalStatusRequest::setEnabled(int enabled) {
|
|||||||
setParameter(std::string("Enabled"), std::to_string(enabled));
|
setParameter(std::string("Enabled"), std::to_string(enabled));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyLogRetrievalStatusRequest::getInstanceId() const {
|
std::string ModifyLogRetrievalStatusRequest::getResourceGroupId() const {
|
||||||
return instanceId_;
|
return resourceGroupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModifyLogRetrievalStatusRequest::setInstanceId(const std::string &instanceId) {
|
void ModifyLogRetrievalStatusRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
instanceId_ = instanceId;
|
resourceGroupId_ = resourceGroupId;
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyLogRetrievalStatusRequest::getSourceIp() const {
|
std::string ModifyLogRetrievalStatusRequest::getSourceIp() const {
|
||||||
@@ -52,13 +52,13 @@ void ModifyLogRetrievalStatusRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyLogRetrievalStatusRequest::getDomain() const {
|
std::string ModifyLogRetrievalStatusRequest::getRegionId() const {
|
||||||
return domain_;
|
return regionId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModifyLogRetrievalStatusRequest::setDomain(const std::string &domain) {
|
void ModifyLogRetrievalStatusRequest::setRegionId(const std::string ®ionId) {
|
||||||
domain_ = domain;
|
regionId_ = regionId;
|
||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("RegionId"), regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyLogRetrievalStatusRequest::getLang() const {
|
std::string ModifyLogRetrievalStatusRequest::getLang() const {
|
||||||
@@ -70,3 +70,21 @@ void ModifyLogRetrievalStatusRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyLogRetrievalStatusRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyLogRetrievalStatusRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyLogRetrievalStatusRequest::getDomain() const {
|
||||||
|
return domain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyLogRetrievalStatusRequest::setDomain(const std::string &domain) {
|
||||||
|
domain_ = domain;
|
||||||
|
setParameter(std::string("Domain"), domain);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -34,13 +34,13 @@ void ModifyLogServiceStatusRequest::setEnabled(int enabled) {
|
|||||||
setParameter(std::string("Enabled"), std::to_string(enabled));
|
setParameter(std::string("Enabled"), std::to_string(enabled));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyLogServiceStatusRequest::getInstanceId() const {
|
std::string ModifyLogServiceStatusRequest::getResourceGroupId() const {
|
||||||
return instanceId_;
|
return resourceGroupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModifyLogServiceStatusRequest::setInstanceId(const std::string &instanceId) {
|
void ModifyLogServiceStatusRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
instanceId_ = instanceId;
|
resourceGroupId_ = resourceGroupId;
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyLogServiceStatusRequest::getSourceIp() const {
|
std::string ModifyLogServiceStatusRequest::getSourceIp() const {
|
||||||
@@ -52,13 +52,13 @@ void ModifyLogServiceStatusRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyLogServiceStatusRequest::getDomain() const {
|
std::string ModifyLogServiceStatusRequest::getRegionId() const {
|
||||||
return domain_;
|
return regionId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModifyLogServiceStatusRequest::setDomain(const std::string &domain) {
|
void ModifyLogServiceStatusRequest::setRegionId(const std::string ®ionId) {
|
||||||
domain_ = domain;
|
regionId_ = regionId;
|
||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("RegionId"), regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyLogServiceStatusRequest::getLang() const {
|
std::string ModifyLogServiceStatusRequest::getLang() const {
|
||||||
@@ -70,3 +70,21 @@ void ModifyLogServiceStatusRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyLogServiceStatusRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyLogServiceStatusRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyLogServiceStatusRequest::getDomain() const {
|
||||||
|
return domain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyLogServiceStatusRequest::setDomain(const std::string &domain) {
|
||||||
|
domain_ = domain;
|
||||||
|
setParameter(std::string("Domain"), domain);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -25,15 +25,6 @@ ModifyProtectionModuleModeRequest::ModifyProtectionModuleModeRequest()
|
|||||||
|
|
||||||
ModifyProtectionModuleModeRequest::~ModifyProtectionModuleModeRequest() {}
|
ModifyProtectionModuleModeRequest::~ModifyProtectionModuleModeRequest() {}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleModeRequest::getDefenseType() const {
|
|
||||||
return defenseType_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ModifyProtectionModuleModeRequest::setDefenseType(const std::string &defenseType) {
|
|
||||||
defenseType_ = defenseType;
|
|
||||||
setParameter(std::string("DefenseType"), defenseType);
|
|
||||||
}
|
|
||||||
|
|
||||||
int ModifyProtectionModuleModeRequest::getMode() const {
|
int ModifyProtectionModuleModeRequest::getMode() const {
|
||||||
return mode_;
|
return mode_;
|
||||||
}
|
}
|
||||||
@@ -43,13 +34,13 @@ void ModifyProtectionModuleModeRequest::setMode(int mode) {
|
|||||||
setParameter(std::string("Mode"), std::to_string(mode));
|
setParameter(std::string("Mode"), std::to_string(mode));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleModeRequest::getInstanceId() const {
|
std::string ModifyProtectionModuleModeRequest::getResourceGroupId() const {
|
||||||
return instanceId_;
|
return resourceGroupId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModifyProtectionModuleModeRequest::setInstanceId(const std::string &instanceId) {
|
void ModifyProtectionModuleModeRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
instanceId_ = instanceId;
|
resourceGroupId_ = resourceGroupId;
|
||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleModeRequest::getSourceIp() const {
|
std::string ModifyProtectionModuleModeRequest::getSourceIp() const {
|
||||||
@@ -61,13 +52,13 @@ void ModifyProtectionModuleModeRequest::setSourceIp(const std::string &sourceIp)
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleModeRequest::getDomain() const {
|
std::string ModifyProtectionModuleModeRequest::getRegionId() const {
|
||||||
return domain_;
|
return regionId_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void ModifyProtectionModuleModeRequest::setDomain(const std::string &domain) {
|
void ModifyProtectionModuleModeRequest::setRegionId(const std::string ®ionId) {
|
||||||
domain_ = domain;
|
regionId_ = regionId;
|
||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("RegionId"), regionId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleModeRequest::getLang() const {
|
std::string ModifyProtectionModuleModeRequest::getLang() const {
|
||||||
@@ -79,3 +70,30 @@ void ModifyProtectionModuleModeRequest::setLang(const std::string &lang) {
|
|||||||
setParameter(std::string("Lang"), lang);
|
setParameter(std::string("Lang"), lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionModuleModeRequest::getDefenseType() const {
|
||||||
|
return defenseType_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionModuleModeRequest::setDefenseType(const std::string &defenseType) {
|
||||||
|
defenseType_ = defenseType;
|
||||||
|
setParameter(std::string("DefenseType"), defenseType);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionModuleModeRequest::getInstanceId() const {
|
||||||
|
return instanceId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionModuleModeRequest::setInstanceId(const std::string &instanceId) {
|
||||||
|
instanceId_ = instanceId;
|
||||||
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionModuleModeRequest::getDomain() const {
|
||||||
|
return domain_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionModuleModeRequest::setDomain(const std::string &domain) {
|
||||||
|
domain_ = domain;
|
||||||
|
setParameter(std::string("Domain"), domain);
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -43,6 +43,15 @@ void ModifyProtectionModuleRuleRequest::setLockVersion(long lockVersion) {
|
|||||||
setParameter(std::string("LockVersion"), std::to_string(lockVersion));
|
setParameter(std::string("LockVersion"), std::to_string(lockVersion));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionModuleRuleRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionModuleRuleRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleRuleRequest::getSourceIp() const {
|
std::string ModifyProtectionModuleRuleRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -52,6 +61,15 @@ void ModifyProtectionModuleRuleRequest::setSourceIp(const std::string &sourceIp)
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionModuleRuleRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionModuleRuleRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleRuleRequest::getLang() const {
|
std::string ModifyProtectionModuleRuleRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -25,6 +25,42 @@ ModifyProtectionModuleStatusRequest::ModifyProtectionModuleStatusRequest()
|
|||||||
|
|
||||||
ModifyProtectionModuleStatusRequest::~ModifyProtectionModuleStatusRequest() {}
|
ModifyProtectionModuleStatusRequest::~ModifyProtectionModuleStatusRequest() {}
|
||||||
|
|
||||||
|
std::string ModifyProtectionModuleStatusRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionModuleStatusRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionModuleStatusRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionModuleStatusRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionModuleStatusRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionModuleStatusRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionModuleStatusRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionModuleStatusRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleStatusRequest::getDefenseType() const {
|
std::string ModifyProtectionModuleStatusRequest::getDefenseType() const {
|
||||||
return defenseType_;
|
return defenseType_;
|
||||||
}
|
}
|
||||||
@@ -43,15 +79,6 @@ void ModifyProtectionModuleStatusRequest::setInstanceId(const std::string &insta
|
|||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleStatusRequest::getSourceIp() const {
|
|
||||||
return sourceIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ModifyProtectionModuleStatusRequest::setSourceIp(const std::string &sourceIp) {
|
|
||||||
sourceIp_ = sourceIp;
|
|
||||||
setParameter(std::string("SourceIp"), sourceIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ModifyProtectionModuleStatusRequest::getDomain() const {
|
std::string ModifyProtectionModuleStatusRequest::getDomain() const {
|
||||||
return domain_;
|
return domain_;
|
||||||
}
|
}
|
||||||
@@ -70,12 +97,3 @@ void ModifyProtectionModuleStatusRequest::setModuleStatus(int moduleStatus) {
|
|||||||
setParameter(std::string("ModuleStatus"), std::to_string(moduleStatus));
|
setParameter(std::string("ModuleStatus"), std::to_string(moduleStatus));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionModuleStatusRequest::getLang() const {
|
|
||||||
return lang_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ModifyProtectionModuleStatusRequest::setLang(const std::string &lang) {
|
|
||||||
lang_ = lang;
|
|
||||||
setParameter(std::string("Lang"), lang);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,6 +25,42 @@ ModifyProtectionRuleCacheStatusRequest::ModifyProtectionRuleCacheStatusRequest()
|
|||||||
|
|
||||||
ModifyProtectionRuleCacheStatusRequest::~ModifyProtectionRuleCacheStatusRequest() {}
|
ModifyProtectionRuleCacheStatusRequest::~ModifyProtectionRuleCacheStatusRequest() {}
|
||||||
|
|
||||||
|
std::string ModifyProtectionRuleCacheStatusRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionRuleCacheStatusRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionRuleCacheStatusRequest::getSourceIp() const {
|
||||||
|
return sourceIp_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionRuleCacheStatusRequest::setSourceIp(const std::string &sourceIp) {
|
||||||
|
sourceIp_ = sourceIp;
|
||||||
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionRuleCacheStatusRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionRuleCacheStatusRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionRuleCacheStatusRequest::getLang() const {
|
||||||
|
return lang_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionRuleCacheStatusRequest::setLang(const std::string &lang) {
|
||||||
|
lang_ = lang;
|
||||||
|
setParameter(std::string("Lang"), lang);
|
||||||
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionRuleCacheStatusRequest::getDefenseType() const {
|
std::string ModifyProtectionRuleCacheStatusRequest::getDefenseType() const {
|
||||||
return defenseType_;
|
return defenseType_;
|
||||||
}
|
}
|
||||||
@@ -43,15 +79,6 @@ void ModifyProtectionRuleCacheStatusRequest::setInstanceId(const std::string &in
|
|||||||
setParameter(std::string("InstanceId"), instanceId);
|
setParameter(std::string("InstanceId"), instanceId);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionRuleCacheStatusRequest::getSourceIp() const {
|
|
||||||
return sourceIp_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ModifyProtectionRuleCacheStatusRequest::setSourceIp(const std::string &sourceIp) {
|
|
||||||
sourceIp_ = sourceIp;
|
|
||||||
setParameter(std::string("SourceIp"), sourceIp);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string ModifyProtectionRuleCacheStatusRequest::getDomain() const {
|
std::string ModifyProtectionRuleCacheStatusRequest::getDomain() const {
|
||||||
return domain_;
|
return domain_;
|
||||||
}
|
}
|
||||||
@@ -61,15 +88,6 @@ void ModifyProtectionRuleCacheStatusRequest::setDomain(const std::string &domain
|
|||||||
setParameter(std::string("Domain"), domain);
|
setParameter(std::string("Domain"), domain);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionRuleCacheStatusRequest::getLang() const {
|
|
||||||
return lang_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void ModifyProtectionRuleCacheStatusRequest::setLang(const std::string &lang) {
|
|
||||||
lang_ = lang;
|
|
||||||
setParameter(std::string("Lang"), lang);
|
|
||||||
}
|
|
||||||
|
|
||||||
long ModifyProtectionRuleCacheStatusRequest::getRuleId() const {
|
long ModifyProtectionRuleCacheStatusRequest::getRuleId() const {
|
||||||
return ruleId_;
|
return ruleId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,15 @@ void ModifyProtectionRuleStatusRequest::setLockVersion(long lockVersion) {
|
|||||||
setParameter(std::string("LockVersion"), std::to_string(lockVersion));
|
setParameter(std::string("LockVersion"), std::to_string(lockVersion));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionRuleStatusRequest::getResourceGroupId() const {
|
||||||
|
return resourceGroupId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionRuleStatusRequest::setResourceGroupId(const std::string &resourceGroupId) {
|
||||||
|
resourceGroupId_ = resourceGroupId;
|
||||||
|
setParameter(std::string("ResourceGroupId"), resourceGroupId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionRuleStatusRequest::getSourceIp() const {
|
std::string ModifyProtectionRuleStatusRequest::getSourceIp() const {
|
||||||
return sourceIp_;
|
return sourceIp_;
|
||||||
}
|
}
|
||||||
@@ -43,6 +52,15 @@ void ModifyProtectionRuleStatusRequest::setSourceIp(const std::string &sourceIp)
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ModifyProtectionRuleStatusRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ModifyProtectionRuleStatusRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string ModifyProtectionRuleStatusRequest::getLang() const {
|
std::string ModifyProtectionRuleStatusRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,6 +43,15 @@ void MoveResourceGroupRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string MoveResourceGroupRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void MoveResourceGroupRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string MoveResourceGroupRequest::getResourceId() const {
|
std::string MoveResourceGroupRequest::getResourceId() const {
|
||||||
return resourceId_;
|
return resourceId_;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -70,6 +70,15 @@ void SetDomainRuleGroupRequest::setSourceIp(const std::string &sourceIp) {
|
|||||||
setParameter(std::string("SourceIp"), sourceIp);
|
setParameter(std::string("SourceIp"), sourceIp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string SetDomainRuleGroupRequest::getRegionId() const {
|
||||||
|
return regionId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetDomainRuleGroupRequest::setRegionId(const std::string ®ionId) {
|
||||||
|
regionId_ = regionId;
|
||||||
|
setParameter(std::string("RegionId"), regionId);
|
||||||
|
}
|
||||||
|
|
||||||
std::string SetDomainRuleGroupRequest::getLang() const {
|
std::string SetDomainRuleGroupRequest::getLang() const {
|
||||||
return lang_;
|
return lang_;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user