Upgrade SDK.

This commit is contained in:
sdk-team
2022-01-18 09:08:01 +00:00
parent f5a4f56f2c
commit 8ca3ea3fdf
79 changed files with 3384 additions and 4088 deletions

View File

@@ -1,60 +1,54 @@
/*
* 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_CREATECERTIFICATEBYCERTIFICATEIDREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEBYCERTIFICATEIDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT CreateCertificateByCertificateIdRequest : public RpcServiceRequest
{
public:
CreateCertificateByCertificateIdRequest();
~CreateCertificateByCertificateIdRequest();
long getCertificateId()const;
void setCertificateId(long certificateId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
long certificateId_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEBYCERTIFICATEIDREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEBYCERTIFICATEIDREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEBYCERTIFICATEIDREQUEST_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 CreateCertificateByCertificateIdRequest : public RpcServiceRequest {
public:
CreateCertificateByCertificateIdRequest();
~CreateCertificateByCertificateIdRequest();
long getCertificateId() const;
void setCertificateId(long certificateId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
long certificateId_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEBYCERTIFICATEIDREQUEST_H_

View File

@@ -1,66 +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_CREATECERTIFICATEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT CreateCertificateRequest : public RpcServiceRequest
{
public:
CreateCertificateRequest();
~CreateCertificateRequest();
std::string getCertificate()const;
void setCertificate(const std::string& certificate);
std::string getPrivateKey()const;
void setPrivateKey(const std::string& privateKey);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
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);
std::string getCertificateName()const;
void setCertificateName(const std::string& certificateName);
private:
std::string certificate_;
std::string privateKey_;
std::string sourceIp_;
std::string lang_;
std::string instanceId_;
std::string domain_;
std::string certificateName_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEREQUEST_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 CreateCertificateRequest : public RpcServiceRequest {
public:
CreateCertificateRequest();
~CreateCertificateRequest();
std::string getCertificate() const;
void setCertificate(const std::string &certificate);
std::string getPrivateKey() const;
void setPrivateKey(const std::string &privateKey);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
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);
std::string getCertificateName() const;
void setCertificateName(const std::string &certificateName);
private:
std::string certificate_;
std::string privateKey_;
std::string sourceIp_;
std::string lang_;
std::string instanceId_;
std::string domain_;
std::string certificateName_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATECERTIFICATEREQUEST_H_

View File

@@ -1,120 +1,114 @@
/*
* 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_CREATEDOMAINREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT CreateDomainRequest : public RpcServiceRequest
{
public:
CreateDomainRequest();
~CreateDomainRequest();
int getIpFollowStatus()const;
void setIpFollowStatus(int ipFollowStatus);
std::string getSniHost()const;
void setSniHost(const std::string& sniHost);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getHttpPort()const;
void setHttpPort(const std::string& httpPort);
std::string getHttp2Port()const;
void setHttp2Port(const std::string& http2Port);
int getWriteTime()const;
void setWriteTime(int writeTime);
int getSniStatus()const;
void setSniStatus(int sniStatus);
std::string getLang()const;
void setLang(const std::string& lang);
int getAccessHeaderMode()const;
void setAccessHeaderMode(int accessHeaderMode);
std::string getAccessType()const;
void setAccessType(const std::string& accessType);
std::string getLogHeaders()const;
void setLogHeaders(const std::string& logHeaders);
std::string getAccessHeaders()const;
void setAccessHeaders(const std::string& accessHeaders);
int getConnectionTime()const;
void setConnectionTime(int connectionTime);
int getClusterType()const;
void setClusterType(int clusterType);
std::string getCloudNativeInstances()const;
void setCloudNativeInstances(const std::string& cloudNativeInstances);
int getHttpsRedirect()const;
void setHttpsRedirect(int httpsRedirect);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIps()const;
void setSourceIps(const std::string& sourceIps);
std::string getDomain()const;
void setDomain(const std::string& domain);
int getIsAccessProduct()const;
void setIsAccessProduct(int isAccessProduct);
int getReadTime()const;
void setReadTime(int readTime);
std::string getHttpsPort()const;
void setHttpsPort(const std::string& httpsPort);
int getLoadBalancing()const;
void setLoadBalancing(int loadBalancing);
int getHttpToUserIp()const;
void setHttpToUserIp(int httpToUserIp);
private:
int ipFollowStatus_;
std::string sniHost_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string httpPort_;
std::string http2Port_;
int writeTime_;
int sniStatus_;
std::string lang_;
int accessHeaderMode_;
std::string accessType_;
std::string logHeaders_;
std::string accessHeaders_;
int connectionTime_;
int clusterType_;
std::string cloudNativeInstances_;
int httpsRedirect_;
std::string instanceId_;
std::string sourceIps_;
std::string domain_;
int isAccessProduct_;
int readTime_;
std::string httpsPort_;
int loadBalancing_;
int httpToUserIp_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEDOMAINREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEDOMAINREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEDOMAINREQUEST_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 CreateDomainRequest : public RpcServiceRequest {
public:
CreateDomainRequest();
~CreateDomainRequest();
int getIpFollowStatus() const;
void setIpFollowStatus(int ipFollowStatus);
std::string getSniHost() const;
void setSniHost(const std::string &sniHost);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getHttpPort() const;
void setHttpPort(const std::string &httpPort);
std::string getHttp2Port() const;
void setHttp2Port(const std::string &http2Port);
int getWriteTime() const;
void setWriteTime(int writeTime);
int getSniStatus() const;
void setSniStatus(int sniStatus);
std::string getLang() const;
void setLang(const std::string &lang);
int getAccessHeaderMode() const;
void setAccessHeaderMode(int accessHeaderMode);
std::string getAccessType() const;
void setAccessType(const std::string &accessType);
std::string getLogHeaders() const;
void setLogHeaders(const std::string &logHeaders);
std::string getAccessHeaders() const;
void setAccessHeaders(const std::string &accessHeaders);
int getConnectionTime() const;
void setConnectionTime(int connectionTime);
int getClusterType() const;
void setClusterType(int clusterType);
std::string getCloudNativeInstances() const;
void setCloudNativeInstances(const std::string &cloudNativeInstances);
int getHttpsRedirect() const;
void setHttpsRedirect(int httpsRedirect);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIps() const;
void setSourceIps(const std::string &sourceIps);
std::string getDomain() const;
void setDomain(const std::string &domain);
int getIsAccessProduct() const;
void setIsAccessProduct(int isAccessProduct);
int getReadTime() const;
void setReadTime(int readTime);
std::string getHttpsPort() const;
void setHttpsPort(const std::string &httpsPort);
int getLoadBalancing() const;
void setLoadBalancing(int loadBalancing);
int getHttpToUserIp() const;
void setHttpToUserIp(int httpToUserIp);
private:
int ipFollowStatus_;
std::string sniHost_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string httpPort_;
std::string http2Port_;
int writeTime_;
int sniStatus_;
std::string lang_;
int accessHeaderMode_;
std::string accessType_;
std::string logHeaders_;
std::string accessHeaders_;
int connectionTime_;
int clusterType_;
std::string cloudNativeInstances_;
int httpsRedirect_;
std::string instanceId_;
std::string sourceIps_;
std::string domain_;
int isAccessProduct_;
int readTime_;
std::string httpsPort_;
int loadBalancing_;
int httpToUserIp_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEDOMAINREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_CREATEPROTECTIONMODULERULEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEPROTECTIONMODULERULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT CreateProtectionModuleRuleRequest : public RpcServiceRequest
{
public:
CreateProtectionModuleRuleRequest();
~CreateProtectionModuleRuleRequest();
std::string getDefenseType()const;
void setDefenseType(const std::string& defenseType);
std::string getRule()const;
void setRule(const std::string& rule);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string defenseType_;
std::string rule_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEPROTECTIONMODULERULEREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEPROTECTIONMODULERULEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEPROTECTIONMODULERULEREQUEST_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 CreateProtectionModuleRuleRequest : public RpcServiceRequest {
public:
CreateProtectionModuleRuleRequest();
~CreateProtectionModuleRuleRequest();
std::string getDefenseType() const;
void setDefenseType(const std::string &defenseType);
std::string getRule() const;
void setRule(const std::string &rule);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string defenseType_;
std::string rule_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_CREATEPROTECTIONMODULERULEREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* 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_DELETEDOMAINREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DeleteDomainRequest : public RpcServiceRequest
{
public:
DeleteDomainRequest();
~DeleteDomainRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEDOMAINREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEDOMAINREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEDOMAINREQUEST_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 DeleteDomainRequest : public RpcServiceRequest {
public:
DeleteDomainRequest();
~DeleteDomainRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEDOMAINREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* 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_DELETEINSTANCEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEINSTANCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DeleteInstanceRequest : public RpcServiceRequest
{
public:
DeleteInstanceRequest();
~DeleteInstanceRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEINSTANCEREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEINSTANCEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEINSTANCEREQUEST_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 DeleteInstanceRequest : public RpcServiceRequest {
public:
DeleteInstanceRequest();
~DeleteInstanceRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEINSTANCEREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_DELETEPROTECTIONMODULERULEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEPROTECTIONMODULERULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DeleteProtectionModuleRuleRequest : public RpcServiceRequest
{
public:
DeleteProtectionModuleRuleRequest();
~DeleteProtectionModuleRuleRequest();
std::string getDefenseType()const;
void setDefenseType(const std::string& defenseType);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
long getRuleId()const;
void setRuleId(long ruleId);
private:
std::string defenseType_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEPROTECTIONMODULERULEREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEPROTECTIONMODULERULEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEPROTECTIONMODULERULEREQUEST_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 DeleteProtectionModuleRuleRequest : public RpcServiceRequest {
public:
DeleteProtectionModuleRuleRequest();
~DeleteProtectionModuleRuleRequest();
std::string getDefenseType() const;
void setDefenseType(const std::string &defenseType);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
long getRuleId() const;
void setRuleId(long ruleId);
private:
std::string defenseType_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
long ruleId_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DELETEPROTECTIONMODULERULEREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_DESCRIBECERTMATCHSTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTMATCHSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeCertMatchStatusRequest : public RpcServiceRequest
{
public:
DescribeCertMatchStatusRequest();
~DescribeCertMatchStatusRequest();
std::string getCertificate()const;
void setCertificate(const std::string& certificate);
std::string getPrivateKey()const;
void setPrivateKey(const std::string& privateKey);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string certificate_;
std::string privateKey_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTMATCHSTATUSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTMATCHSTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTMATCHSTATUSREQUEST_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 DescribeCertMatchStatusRequest : public RpcServiceRequest {
public:
DescribeCertMatchStatusRequest();
~DescribeCertMatchStatusRequest();
std::string getCertificate() const;
void setCertificate(const std::string &certificate);
std::string getPrivateKey() const;
void setPrivateKey(const std::string &privateKey);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string certificate_;
std::string privateKey_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTMATCHSTATUSREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* 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_DESCRIBECERTIFICATESREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTIFICATESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeCertificatesRequest : public RpcServiceRequest
{
public:
DescribeCertificatesRequest();
~DescribeCertificatesRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTIFICATESREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTIFICATESREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTIFICATESREQUEST_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 DescribeCertificatesRequest : public RpcServiceRequest {
public:
DescribeCertificatesRequest();
~DescribeCertificatesRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBECERTIFICATESREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* 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_DESCRIBEDOMAINADVANCECONFIGSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINADVANCECONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeDomainAdvanceConfigsRequest : public RpcServiceRequest
{
public:
DescribeDomainAdvanceConfigsRequest();
~DescribeDomainAdvanceConfigsRequest();
std::string getDomainList()const;
void setDomainList(const std::string& domainList);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string domainList_;
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINADVANCECONFIGSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINADVANCECONFIGSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINADVANCECONFIGSREQUEST_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 DescribeDomainAdvanceConfigsRequest : public RpcServiceRequest {
public:
DescribeDomainAdvanceConfigsRequest();
~DescribeDomainAdvanceConfigsRequest();
std::string getDomainList() const;
void setDomainList(const std::string &domainList);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string domainList_;
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINADVANCECONFIGSREQUEST_H_

View File

@@ -1,72 +1,66 @@
/*
* 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_DESCRIBEDOMAINBASICCONFIGSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINBASICCONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeDomainBasicConfigsRequest : public RpcServiceRequest
{
public:
DescribeDomainBasicConfigsRequest();
~DescribeDomainBasicConfigsRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getAccessType()const;
void setAccessType(const std::string& accessType);
int getCloudNativeProductId()const;
void setCloudNativeProductId(int cloudNativeProductId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getDomainKey()const;
void setDomainKey(const std::string& domainKey);
private:
int pageNumber_;
std::string resourceGroupId_;
std::string sourceIp_;
int pageSize_;
std::string lang_;
std::string accessType_;
int cloudNativeProductId_;
std::string instanceId_;
std::string domainKey_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINBASICCONFIGSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINBASICCONFIGSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINBASICCONFIGSREQUEST_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 DescribeDomainBasicConfigsRequest : public RpcServiceRequest {
public:
DescribeDomainBasicConfigsRequest();
~DescribeDomainBasicConfigsRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getLang() const;
void setLang(const std::string &lang);
std::string getAccessType() const;
void setAccessType(const std::string &accessType);
int getCloudNativeProductId() const;
void setCloudNativeProductId(int cloudNativeProductId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getDomainKey() const;
void setDomainKey(const std::string &domainKey);
private:
int pageNumber_;
std::string resourceGroupId_;
std::string sourceIp_;
int pageSize_;
std::string lang_;
std::string accessType_;
int cloudNativeProductId_;
std::string instanceId_;
std::string domainKey_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINBASICCONFIGSREQUEST_H_

View File

@@ -40,8 +40,8 @@ namespace AlibabaCloud
long version;
int ccStatus;
int wafMode;
int wafStatus;
std::string domain;
int wafStatus;
std::string accessType;
int ccMode;
};

View File

@@ -1,69 +1,63 @@
/*
* 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_DESCRIBEDOMAINLISTREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINLISTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeDomainListRequest : public RpcServiceRequest
{
public:
DescribeDomainListRequest();
~DescribeDomainListRequest();
std::vector<std::string> getDomainNames()const;
void setDomainNames(const std::vector<std::string>& domainNames);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
int getIsSub()const;
void setIsSub(int isSub);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
std::vector<std::string> domainNames_;
int pageNumber_;
std::string resourceGroupId_;
std::string sourceIp_;
int pageSize_;
std::string domainName_;
int isSub_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINLISTREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINLISTREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINLISTREQUEST_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 DescribeDomainListRequest : public RpcServiceRequest {
public:
DescribeDomainListRequest();
~DescribeDomainListRequest();
std::vector<std::string> getDomainNames() const;
void setDomainNames(const std::vector<std::string> &domainNames);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getDomainName() const;
void setDomainName(const std::string &domainName);
int getIsSub() const;
void setIsSub(int isSub);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
std::vector<std::string> domainNames_;
int pageNumber_;
std::string resourceGroupId_;
std::string sourceIp_;
int pageSize_;
std::string domainName_;
int isSub_;
std::string instanceId_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINLISTREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* 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_DESCRIBEDOMAINNAMESREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINNAMESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeDomainNamesRequest : public RpcServiceRequest
{
public:
DescribeDomainNamesRequest();
~DescribeDomainNamesRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getCallSource()const;
void setCallSource(const std::string& callSource);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
std::string callSource_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINNAMESREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINNAMESREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINNAMESREQUEST_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 DescribeDomainNamesRequest : public RpcServiceRequest {
public:
DescribeDomainNamesRequest();
~DescribeDomainNamesRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
void setLang(const std::string &lang);
std::string getCallSource() const;
void setCallSource(const std::string &callSource);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
std::string callSource_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINNAMESREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* 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_DESCRIBEDOMAINREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeDomainRequest : public RpcServiceRequest
{
public:
DescribeDomainRequest();
~DescribeDomainRequest();
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
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:
std::string sourceIp_;
std::string lang_;
std::string instanceId_;
std::string domain_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINREQUEST_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 DescribeDomainRequest : public RpcServiceRequest {
public:
DescribeDomainRequest();
~DescribeDomainRequest();
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
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:
std::string sourceIp_;
std::string lang_;
std::string instanceId_;
std::string domain_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* 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_DESCRIBEDOMAINRULEGROUPREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINRULEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeDomainRuleGroupRequest : public RpcServiceRequest
{
public:
DescribeDomainRuleGroupRequest();
~DescribeDomainRuleGroupRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINRULEGROUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINRULEGROUPREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINRULEGROUPREQUEST_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 DescribeDomainRuleGroupRequest : public RpcServiceRequest {
public:
DescribeDomainRuleGroupRequest();
~DescribeDomainRuleGroupRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEDOMAINRULEGROUPREQUEST_H_

View File

@@ -38,11 +38,13 @@ namespace AlibabaCloud
explicit DescribeDomainRuleGroupResult(const std::string &payload);
~DescribeDomainRuleGroupResult();
long getRuleGroupId()const;
int getWafAiStatus()const;
protected:
void parse(const std::string &payload);
private:
long ruleGroupId_;
int wafAiStatus_;
};
}

View File

@@ -1,60 +1,54 @@
/*
* 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_DESCRIBEINSTANCEINFOREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCEINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeInstanceInfoRequest : public RpcServiceRequest
{
public:
DescribeInstanceInfoRequest();
~DescribeInstanceInfoRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getInstanceSource()const;
void setInstanceSource(const std::string& instanceSource);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string instanceSource_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCEINFOREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCEINFOREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCEINFOREQUEST_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 DescribeInstanceInfoRequest : public RpcServiceRequest {
public:
DescribeInstanceInfoRequest();
~DescribeInstanceInfoRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getInstanceSource() const;
void setInstanceSource(const std::string &instanceSource);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string instanceSource_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCEINFOREQUEST_H_

View File

@@ -37,8 +37,8 @@ namespace AlibabaCloud
int status;
std::string subscriptionType;
int trial;
std::string instanceId;
std::string version;
std::string instanceId;
int inDebt;
std::string region;
int remainDay;

View File

@@ -1,57 +1,51 @@
/*
* 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_DESCRIBEINSTANCESPECINFOREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCESPECINFOREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeInstanceSpecInfoRequest : public RpcServiceRequest
{
public:
DescribeInstanceSpecInfoRequest();
~DescribeInstanceSpecInfoRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCESPECINFOREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCESPECINFOREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCESPECINFOREQUEST_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 DescribeInstanceSpecInfoRequest : public RpcServiceRequest {
public:
DescribeInstanceSpecInfoRequest();
~DescribeInstanceSpecInfoRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEINSTANCESPECINFOREQUEST_H_

View File

@@ -1,66 +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_DESCRIBELOGSERVICESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBELOGSERVICESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeLogServiceStatusRequest : public RpcServiceRequest
{
public:
DescribeLogServiceStatusRequest();
~DescribeLogServiceStatusRequest();
std::vector<std::string> getDomainNames()const;
void setDomainNames(const std::vector<std::string>& domainNames);
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRegion()const;
void setRegion(const std::string& region);
private:
std::vector<std::string> domainNames_;
int pageNumber_;
std::string resourceGroupId_;
std::string sourceIp_;
int pageSize_;
std::string instanceId_;
std::string region_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBELOGSERVICESTATUSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBELOGSERVICESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBELOGSERVICESTATUSREQUEST_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 DescribeLogServiceStatusRequest : public RpcServiceRequest {
public:
DescribeLogServiceStatusRequest();
~DescribeLogServiceStatusRequest();
std::vector<std::string> getDomainNames() const;
void setDomainNames(const std::vector<std::string> &domainNames);
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getRegion() const;
void setRegion(const std::string &region);
private:
std::vector<std::string> domainNames_;
int pageNumber_;
std::string resourceGroupId_;
std::string sourceIp_;
int pageSize_;
std::string instanceId_;
std::string region_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBELOGSERVICESTATUSREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_DESCRIBEPROTECTIONMODULECODECONFIGREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULECODECONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeProtectionModuleCodeConfigRequest : public RpcServiceRequest
{
public:
DescribeProtectionModuleCodeConfigRequest();
~DescribeProtectionModuleCodeConfigRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
int getCodeValue()const;
void setCodeValue(int codeValue);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
int getCodeType()const;
void setCodeType(int codeType);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string lang_;
int codeValue_;
std::string instanceId_;
int codeType_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULECODECONFIGREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULECODECONFIGREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULECODECONFIGREQUEST_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 DescribeProtectionModuleCodeConfigRequest : public RpcServiceRequest {
public:
DescribeProtectionModuleCodeConfigRequest();
~DescribeProtectionModuleCodeConfigRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
void setLang(const std::string &lang);
int getCodeValue() const;
void setCodeValue(int codeValue);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
int getCodeType() const;
void setCodeType(int codeType);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string lang_;
int codeValue_;
std::string instanceId_;
int codeType_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULECODECONFIGREQUEST_H_

View File

@@ -1,72 +1,66 @@
/*
* 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_DESCRIBEPROTECTIONMODULERULESREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULERULESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeProtectionModuleRulesRequest : public RpcServiceRequest
{
public:
DescribeProtectionModuleRulesRequest();
~DescribeProtectionModuleRulesRequest();
int getPageNumber()const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
int getPageSize()const;
void setPageSize(int pageSize);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getDefenseType()const;
void setDefenseType(const std::string& defenseType);
std::string getQuery()const;
void setQuery(const std::string& query);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getDomain()const;
void setDomain(const std::string& domain);
private:
int pageNumber_;
std::string resourceGroupId_;
std::string sourceIp_;
int pageSize_;
std::string lang_;
std::string defenseType_;
std::string query_;
std::string instanceId_;
std::string domain_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULERULESREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULERULESREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULERULESREQUEST_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 DescribeProtectionModuleRulesRequest : public RpcServiceRequest {
public:
DescribeProtectionModuleRulesRequest();
~DescribeProtectionModuleRulesRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getLang() const;
void setLang(const std::string &lang);
std::string getDefenseType() const;
void setDefenseType(const std::string &defenseType);
std::string getQuery() const;
void setQuery(const std::string &query);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getDomain() const;
void setDomain(const std::string &domain);
private:
int pageNumber_;
std::string resourceGroupId_;
std::string sourceIp_;
int pageSize_;
std::string lang_;
std::string defenseType_;
std::string query_;
std::string instanceId_;
std::string domain_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULERULESREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* 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_DESCRIBEPROTECTIONMODULESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeProtectionModuleStatusRequest : public RpcServiceRequest
{
public:
DescribeProtectionModuleStatusRequest();
~DescribeProtectionModuleStatusRequest();
std::string getDefenseType()const;
void setDefenseType(const std::string& defenseType);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string defenseType_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULESTATUSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULESTATUSREQUEST_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 DescribeProtectionModuleStatusRequest : public RpcServiceRequest {
public:
DescribeProtectionModuleStatusRequest();
~DescribeProtectionModuleStatusRequest();
std::string getDefenseType() const;
void setDefenseType(const std::string &defenseType);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string defenseType_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEPROTECTIONMODULESTATUSREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* 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_DESCRIBEWAFSOURCEIPSEGMENTREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEWAFSOURCEIPSEGMENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT DescribeWafSourceIpSegmentRequest : public RpcServiceRequest
{
public:
DescribeWafSourceIpSegmentRequest();
~DescribeWafSourceIpSegmentRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEWAFSOURCEIPSEGMENTREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEWAFSOURCEIPSEGMENTREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEWAFSOURCEIPSEGMENTREQUEST_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 DescribeWafSourceIpSegmentRequest : public RpcServiceRequest {
public:
DescribeWafSourceIpSegmentRequest();
~DescribeWafSourceIpSegmentRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_DESCRIBEWAFSOURCEIPSEGMENTREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_MODIFYDOMAINIPV6STATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINIPV6STATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyDomainIpv6StatusRequest : public RpcServiceRequest
{
public:
ModifyDomainIpv6StatusRequest();
~ModifyDomainIpv6StatusRequest();
std::string getWafVersion()const;
void setWafVersion(const std::string& wafVersion);
std::string getEnabled()const;
void setEnabled(const std::string& enabled);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string wafVersion_;
std::string enabled_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINIPV6STATUSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINIPV6STATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINIPV6STATUSREQUEST_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 ModifyDomainIpv6StatusRequest : public RpcServiceRequest {
public:
ModifyDomainIpv6StatusRequest();
~ModifyDomainIpv6StatusRequest();
std::string getWafVersion() const;
void setWafVersion(const std::string &wafVersion);
std::string getEnabled() const;
void setEnabled(const std::string &enabled);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string wafVersion_;
std::string enabled_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINIPV6STATUSREQUEST_H_

View File

@@ -1,123 +1,117 @@
/*
* 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_MODIFYDOMAINREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyDomainRequest : public RpcServiceRequest
{
public:
ModifyDomainRequest();
~ModifyDomainRequest();
int getIpFollowStatus()const;
void setIpFollowStatus(int ipFollowStatus);
std::string getSniHost()const;
void setSniHost(const std::string& sniHost);
int getHybridCloudType()const;
void setHybridCloudType(int hybridCloudType);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getHttpPort()const;
void setHttpPort(const std::string& httpPort);
std::string getHttp2Port()const;
void setHttp2Port(const std::string& http2Port);
int getWriteTime()const;
void setWriteTime(int writeTime);
int getSniStatus()const;
void setSniStatus(int sniStatus);
std::string getLang()const;
void setLang(const std::string& lang);
int getAccessHeaderMode()const;
void setAccessHeaderMode(int accessHeaderMode);
std::string getAccessType()const;
void setAccessType(const std::string& accessType);
int getBindingIpv6()const;
void setBindingIpv6(int bindingIpv6);
std::string getLogHeaders()const;
void setLogHeaders(const std::string& logHeaders);
std::string getAccessHeaders()const;
void setAccessHeaders(const std::string& accessHeaders);
int getConnectionTime()const;
void setConnectionTime(int connectionTime);
int getClusterType()const;
void setClusterType(int clusterType);
std::string getCloudNativeInstances()const;
void setCloudNativeInstances(const std::string& cloudNativeInstances);
int getHttpsRedirect()const;
void setHttpsRedirect(int httpsRedirect);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIps()const;
void setSourceIps(const std::string& sourceIps);
std::string getDomain()const;
void setDomain(const std::string& domain);
int getIsAccessProduct()const;
void setIsAccessProduct(int isAccessProduct);
int getReadTime()const;
void setReadTime(int readTime);
std::string getHttpsPort()const;
void setHttpsPort(const std::string& httpsPort);
int getLoadBalancing()const;
void setLoadBalancing(int loadBalancing);
int getHttpToUserIp()const;
void setHttpToUserIp(int httpToUserIp);
private:
int ipFollowStatus_;
std::string sniHost_;
int hybridCloudType_;
std::string sourceIp_;
std::string httpPort_;
std::string http2Port_;
int writeTime_;
int sniStatus_;
std::string lang_;
int accessHeaderMode_;
std::string accessType_;
int bindingIpv6_;
std::string logHeaders_;
std::string accessHeaders_;
int connectionTime_;
int clusterType_;
std::string cloudNativeInstances_;
int httpsRedirect_;
std::string instanceId_;
std::string sourceIps_;
std::string domain_;
int isAccessProduct_;
int readTime_;
std::string httpsPort_;
int loadBalancing_;
int httpToUserIp_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINREQUEST_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 ModifyDomainRequest : public RpcServiceRequest {
public:
ModifyDomainRequest();
~ModifyDomainRequest();
int getIpFollowStatus() const;
void setIpFollowStatus(int ipFollowStatus);
std::string getSniHost() const;
void setSniHost(const std::string &sniHost);
int getHybridCloudType() const;
void setHybridCloudType(int hybridCloudType);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getHttpPort() const;
void setHttpPort(const std::string &httpPort);
std::string getHttp2Port() const;
void setHttp2Port(const std::string &http2Port);
int getWriteTime() const;
void setWriteTime(int writeTime);
int getSniStatus() const;
void setSniStatus(int sniStatus);
std::string getLang() const;
void setLang(const std::string &lang);
int getAccessHeaderMode() const;
void setAccessHeaderMode(int accessHeaderMode);
std::string getAccessType() const;
void setAccessType(const std::string &accessType);
int getBindingIpv6() const;
void setBindingIpv6(int bindingIpv6);
std::string getLogHeaders() const;
void setLogHeaders(const std::string &logHeaders);
std::string getAccessHeaders() const;
void setAccessHeaders(const std::string &accessHeaders);
int getConnectionTime() const;
void setConnectionTime(int connectionTime);
int getClusterType() const;
void setClusterType(int clusterType);
std::string getCloudNativeInstances() const;
void setCloudNativeInstances(const std::string &cloudNativeInstances);
int getHttpsRedirect() const;
void setHttpsRedirect(int httpsRedirect);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIps() const;
void setSourceIps(const std::string &sourceIps);
std::string getDomain() const;
void setDomain(const std::string &domain);
int getIsAccessProduct() const;
void setIsAccessProduct(int isAccessProduct);
int getReadTime() const;
void setReadTime(int readTime);
std::string getHttpsPort() const;
void setHttpsPort(const std::string &httpsPort);
int getLoadBalancing() const;
void setLoadBalancing(int loadBalancing);
int getHttpToUserIp() const;
void setHttpToUserIp(int httpToUserIp);
private:
int ipFollowStatus_;
std::string sniHost_;
int hybridCloudType_;
std::string sourceIp_;
std::string httpPort_;
std::string http2Port_;
int writeTime_;
int sniStatus_;
std::string lang_;
int accessHeaderMode_;
std::string accessType_;
int bindingIpv6_;
std::string logHeaders_;
std::string accessHeaders_;
int connectionTime_;
int clusterType_;
std::string cloudNativeInstances_;
int httpsRedirect_;
std::string instanceId_;
std::string sourceIps_;
std::string domain_;
int isAccessProduct_;
int readTime_;
std::string httpsPort_;
int loadBalancing_;
int httpToUserIp_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYDOMAINREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* 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_MODIFYLOGRETRIEVALSTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGRETRIEVALSTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyLogRetrievalStatusRequest : public RpcServiceRequest
{
public:
ModifyLogRetrievalStatusRequest();
~ModifyLogRetrievalStatusRequest();
int getEnabled()const;
void setEnabled(int enabled);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
int enabled_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGRETRIEVALSTATUSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGRETRIEVALSTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGRETRIEVALSTATUSREQUEST_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 ModifyLogRetrievalStatusRequest : public RpcServiceRequest {
public:
ModifyLogRetrievalStatusRequest();
~ModifyLogRetrievalStatusRequest();
int getEnabled() const;
void setEnabled(int enabled);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
int enabled_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGRETRIEVALSTATUSREQUEST_H_

View File

@@ -1,60 +1,54 @@
/*
* 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_MODIFYLOGSERVICESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGSERVICESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyLogServiceStatusRequest : public RpcServiceRequest
{
public:
ModifyLogServiceStatusRequest();
~ModifyLogServiceStatusRequest();
int getEnabled()const;
void setEnabled(int enabled);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
int enabled_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGSERVICESTATUSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGSERVICESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGSERVICESTATUSREQUEST_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 ModifyLogServiceStatusRequest : public RpcServiceRequest {
public:
ModifyLogServiceStatusRequest();
~ModifyLogServiceStatusRequest();
int getEnabled() const;
void setEnabled(int enabled);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
int enabled_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYLOGSERVICESTATUSREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_MODIFYPROTECTIONMODULEMODEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULEMODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyProtectionModuleModeRequest : public RpcServiceRequest
{
public:
ModifyProtectionModuleModeRequest();
~ModifyProtectionModuleModeRequest();
std::string getDefenseType()const;
void setDefenseType(const std::string& defenseType);
int getMode()const;
void setMode(int mode);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string defenseType_;
int mode_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULEMODEREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULEMODEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULEMODEREQUEST_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 ModifyProtectionModuleModeRequest : public RpcServiceRequest {
public:
ModifyProtectionModuleModeRequest();
~ModifyProtectionModuleModeRequest();
std::string getDefenseType() const;
void setDefenseType(const std::string &defenseType);
int getMode() const;
void setMode(int mode);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string defenseType_;
int mode_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULEMODEREQUEST_H_

View File

@@ -1,69 +1,63 @@
/*
* 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_MODIFYPROTECTIONMODULERULEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULERULEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyProtectionModuleRuleRequest : public RpcServiceRequest
{
public:
ModifyProtectionModuleRuleRequest();
~ModifyProtectionModuleRuleRequest();
std::string getRule()const;
void setRule(const std::string& rule);
long getLockVersion()const;
void setLockVersion(long lockVersion);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
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);
long getRuleId()const;
void setRuleId(long ruleId);
private:
std::string rule_;
long lockVersion_;
std::string sourceIp_;
std::string lang_;
std::string defenseType_;
std::string instanceId_;
std::string domain_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULERULEREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULERULEREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULERULEREQUEST_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 ModifyProtectionModuleRuleRequest : public RpcServiceRequest {
public:
ModifyProtectionModuleRuleRequest();
~ModifyProtectionModuleRuleRequest();
std::string getRule() const;
void setRule(const std::string &rule);
long getLockVersion() const;
void setLockVersion(long lockVersion);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
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);
long getRuleId() const;
void setRuleId(long ruleId);
private:
std::string rule_;
long lockVersion_;
std::string sourceIp_;
std::string lang_;
std::string defenseType_;
std::string instanceId_;
std::string domain_;
long ruleId_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULERULEREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_MODIFYPROTECTIONMODULESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyProtectionModuleStatusRequest : public RpcServiceRequest
{
public:
ModifyProtectionModuleStatusRequest();
~ModifyProtectionModuleStatusRequest();
std::string getDefenseType()const;
void setDefenseType(const std::string& defenseType);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
int getModuleStatus()const;
void setModuleStatus(int moduleStatus);
std::string getLang()const;
void setLang(const std::string& lang);
private:
std::string defenseType_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
int moduleStatus_;
std::string lang_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULESTATUSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULESTATUSREQUEST_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 ModifyProtectionModuleStatusRequest : public RpcServiceRequest {
public:
ModifyProtectionModuleStatusRequest();
~ModifyProtectionModuleStatusRequest();
std::string getDefenseType() const;
void setDefenseType(const std::string &defenseType);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
int getModuleStatus() const;
void setModuleStatus(int moduleStatus);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string defenseType_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
int moduleStatus_;
std::string lang_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONMODULESTATUSREQUEST_H_

View File

@@ -1,63 +1,57 @@
/*
* 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_MODIFYPROTECTIONRULECACHESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULECACHESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyProtectionRuleCacheStatusRequest : public RpcServiceRequest
{
public:
ModifyProtectionRuleCacheStatusRequest();
~ModifyProtectionRuleCacheStatusRequest();
std::string getDefenseType()const;
void setDefenseType(const std::string& defenseType);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getDomain()const;
void setDomain(const std::string& domain);
std::string getLang()const;
void setLang(const std::string& lang);
long getRuleId()const;
void setRuleId(long ruleId);
private:
std::string defenseType_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULECACHESTATUSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULECACHESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULECACHESTATUSREQUEST_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 ModifyProtectionRuleCacheStatusRequest : public RpcServiceRequest {
public:
ModifyProtectionRuleCacheStatusRequest();
~ModifyProtectionRuleCacheStatusRequest();
std::string getDefenseType() const;
void setDefenseType(const std::string &defenseType);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getDomain() const;
void setDomain(const std::string &domain);
std::string getLang() const;
void setLang(const std::string &lang);
long getRuleId() const;
void setRuleId(long ruleId);
private:
std::string defenseType_;
std::string instanceId_;
std::string sourceIp_;
std::string domain_;
std::string lang_;
long ruleId_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULECACHESTATUSREQUEST_H_

View File

@@ -1,69 +1,63 @@
/*
* 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_MODIFYPROTECTIONRULESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULESTATUSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT ModifyProtectionRuleStatusRequest : public RpcServiceRequest
{
public:
ModifyProtectionRuleStatusRequest();
~ModifyProtectionRuleStatusRequest();
long getLockVersion()const;
void setLockVersion(long lockVersion);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getDefenseType()const;
void setDefenseType(const std::string& defenseType);
int getRuleStatus()const;
void setRuleStatus(int ruleStatus);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getDomain()const;
void setDomain(const std::string& domain);
long getRuleId()const;
void setRuleId(long ruleId);
private:
long lockVersion_;
std::string sourceIp_;
std::string lang_;
std::string defenseType_;
int ruleStatus_;
std::string instanceId_;
std::string domain_;
long ruleId_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULESTATUSREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULESTATUSREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULESTATUSREQUEST_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 ModifyProtectionRuleStatusRequest : public RpcServiceRequest {
public:
ModifyProtectionRuleStatusRequest();
~ModifyProtectionRuleStatusRequest();
long getLockVersion() const;
void setLockVersion(long lockVersion);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
void setLang(const std::string &lang);
std::string getDefenseType() const;
void setDefenseType(const std::string &defenseType);
int getRuleStatus() const;
void setRuleStatus(int ruleStatus);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getDomain() const;
void setDomain(const std::string &domain);
long getRuleId() const;
void setRuleId(long ruleId);
private:
long lockVersion_;
std::string sourceIp_;
std::string lang_;
std::string defenseType_;
int ruleStatus_;
std::string instanceId_;
std::string domain_;
long ruleId_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MODIFYPROTECTIONRULESTATUSREQUEST_H_

View File

@@ -1,57 +1,51 @@
/*
* 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_MOVERESOURCEGROUPREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MOVERESOURCEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT MoveResourceGroupRequest : public RpcServiceRequest
{
public:
MoveResourceGroupRequest();
~MoveResourceGroupRequest();
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getResourceId()const;
void setResourceId(const std::string& resourceId);
std::string getResourceType()const;
void setResourceType(const std::string& resourceType);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string resourceId_;
std::string resourceType_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MOVERESOURCEGROUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_MOVERESOURCEGROUPREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_MOVERESOURCEGROUPREQUEST_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 MoveResourceGroupRequest : public RpcServiceRequest {
public:
MoveResourceGroupRequest();
~MoveResourceGroupRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getResourceId() const;
void setResourceId(const std::string &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string resourceId_;
std::string resourceType_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_MOVERESOURCEGROUPREQUEST_H_

View File

@@ -1,66 +1,63 @@
/*
* 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_SETDOMAINRULEGROUPREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_SETDOMAINRULEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/waf-openapi/Waf_openapiExport.h>
namespace AlibabaCloud
{
namespace Waf_openapi
{
namespace Model
{
class ALIBABACLOUD_WAF_OPENAPI_EXPORT SetDomainRuleGroupRequest : public RpcServiceRequest
{
public:
SetDomainRuleGroupRequest();
~SetDomainRuleGroupRequest();
long getWafVersion()const;
void setWafVersion(long wafVersion);
long getRuleGroupId()const;
void setRuleGroupId(long ruleGroupId);
std::string getResourceGroupId()const;
void setResourceGroupId(const std::string& resourceGroupId);
std::string getSourceIp()const;
void setSourceIp(const std::string& sourceIp);
std::string getLang()const;
void setLang(const std::string& lang);
std::string getDomains()const;
void setDomains(const std::string& domains);
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
private:
long wafVersion_;
long ruleGroupId_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string lang_;
std::string domains_;
std::string instanceId_;
};
}
}
}
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_SETDOMAINRULEGROUPREQUEST_H_
*/
#ifndef ALIBABACLOUD_WAF_OPENAPI_MODEL_SETDOMAINRULEGROUPREQUEST_H_
#define ALIBABACLOUD_WAF_OPENAPI_MODEL_SETDOMAINRULEGROUPREQUEST_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 SetDomainRuleGroupRequest : public RpcServiceRequest {
public:
SetDomainRuleGroupRequest();
~SetDomainRuleGroupRequest();
long getWafVersion() const;
void setWafVersion(long wafVersion);
int getWafAiStatus() const;
void setWafAiStatus(int wafAiStatus);
long getRuleGroupId() const;
void setRuleGroupId(long ruleGroupId);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getLang() const;
void setLang(const std::string &lang);
std::string getDomains() const;
void setDomains(const std::string &domains);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
long wafVersion_;
int wafAiStatus_;
long ruleGroupId_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string lang_;
std::string domains_;
std::string instanceId_;
};
} // namespace Model
} // namespace Waf_openapi
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_WAF_OPENAPI_MODEL_SETDOMAINRULEGROUPREQUEST_H_

View File

@@ -1,84 +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.
*/
#include <alibabacloud/waf-openapi/model/CreateCertificateByCertificateIdRequest.h>
using AlibabaCloud::Waf_openapi::Model::CreateCertificateByCertificateIdRequest;
CreateCertificateByCertificateIdRequest::CreateCertificateByCertificateIdRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "CreateCertificateByCertificateId")
{
setMethod(HttpRequest::Method::Post);
}
CreateCertificateByCertificateIdRequest::~CreateCertificateByCertificateIdRequest()
{}
long CreateCertificateByCertificateIdRequest::getCertificateId()const
{
return certificateId_;
*/
#include <alibabacloud/waf-openapi/model/CreateCertificateByCertificateIdRequest.h>
using AlibabaCloud::Waf_openapi::Model::CreateCertificateByCertificateIdRequest;
CreateCertificateByCertificateIdRequest::CreateCertificateByCertificateIdRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "CreateCertificateByCertificateId") {
setMethod(HttpRequest::Method::Post);
}
void CreateCertificateByCertificateIdRequest::setCertificateId(long certificateId)
{
certificateId_ = certificateId;
setParameter("CertificateId", std::to_string(certificateId));
CreateCertificateByCertificateIdRequest::~CreateCertificateByCertificateIdRequest() {}
long CreateCertificateByCertificateIdRequest::getCertificateId() const {
return certificateId_;
}
std::string CreateCertificateByCertificateIdRequest::getInstanceId()const
{
return instanceId_;
void CreateCertificateByCertificateIdRequest::setCertificateId(long certificateId) {
certificateId_ = certificateId;
setParameter(std::string("CertificateId"), std::to_string(certificateId));
}
void CreateCertificateByCertificateIdRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string CreateCertificateByCertificateIdRequest::getInstanceId() const {
return instanceId_;
}
std::string CreateCertificateByCertificateIdRequest::getSourceIp()const
{
return sourceIp_;
void CreateCertificateByCertificateIdRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void CreateCertificateByCertificateIdRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string CreateCertificateByCertificateIdRequest::getSourceIp() const {
return sourceIp_;
}
std::string CreateCertificateByCertificateIdRequest::getDomain()const
{
return domain_;
void CreateCertificateByCertificateIdRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void CreateCertificateByCertificateIdRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string CreateCertificateByCertificateIdRequest::getDomain() const {
return domain_;
}
std::string CreateCertificateByCertificateIdRequest::getLang()const
{
return lang_;
void CreateCertificateByCertificateIdRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void CreateCertificateByCertificateIdRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string CreateCertificateByCertificateIdRequest::getLang() const {
return lang_;
}
void CreateCertificateByCertificateIdRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,106 +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/CreateCertificateRequest.h>
using AlibabaCloud::Waf_openapi::Model::CreateCertificateRequest;
CreateCertificateRequest::CreateCertificateRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "CreateCertificate")
{
setMethod(HttpRequest::Method::Post);
}
CreateCertificateRequest::~CreateCertificateRequest()
{}
std::string CreateCertificateRequest::getCertificate()const
{
return certificate_;
*/
#include <alibabacloud/waf-openapi/model/CreateCertificateRequest.h>
using AlibabaCloud::Waf_openapi::Model::CreateCertificateRequest;
CreateCertificateRequest::CreateCertificateRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "CreateCertificate") {
setMethod(HttpRequest::Method::Post);
}
void CreateCertificateRequest::setCertificate(const std::string& certificate)
{
certificate_ = certificate;
setParameter("Certificate", certificate);
CreateCertificateRequest::~CreateCertificateRequest() {}
std::string CreateCertificateRequest::getCertificate() const {
return certificate_;
}
std::string CreateCertificateRequest::getPrivateKey()const
{
return privateKey_;
void CreateCertificateRequest::setCertificate(const std::string &certificate) {
certificate_ = certificate;
setParameter(std::string("Certificate"), certificate);
}
void CreateCertificateRequest::setPrivateKey(const std::string& privateKey)
{
privateKey_ = privateKey;
setParameter("PrivateKey", privateKey);
std::string CreateCertificateRequest::getPrivateKey() const {
return privateKey_;
}
std::string CreateCertificateRequest::getSourceIp()const
{
return sourceIp_;
void CreateCertificateRequest::setPrivateKey(const std::string &privateKey) {
privateKey_ = privateKey;
setParameter(std::string("PrivateKey"), privateKey);
}
void CreateCertificateRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string CreateCertificateRequest::getSourceIp() const {
return sourceIp_;
}
std::string CreateCertificateRequest::getLang()const
{
return lang_;
void CreateCertificateRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void CreateCertificateRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string CreateCertificateRequest::getLang() const {
return lang_;
}
std::string CreateCertificateRequest::getInstanceId()const
{
return instanceId_;
void CreateCertificateRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void CreateCertificateRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string CreateCertificateRequest::getInstanceId() const {
return instanceId_;
}
std::string CreateCertificateRequest::getDomain()const
{
return domain_;
void CreateCertificateRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void CreateCertificateRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string CreateCertificateRequest::getDomain() const {
return domain_;
}
std::string CreateCertificateRequest::getCertificateName()const
{
return certificateName_;
void CreateCertificateRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void CreateCertificateRequest::setCertificateName(const std::string& certificateName)
{
certificateName_ = certificateName;
setParameter("CertificateName", certificateName);
std::string CreateCertificateRequest::getCertificateName() const {
return certificateName_;
}
void CreateCertificateRequest::setCertificateName(const std::string &certificateName) {
certificateName_ = certificateName;
setParameter(std::string("CertificateName"), certificateName);
}

View File

@@ -1,304 +1,252 @@
/*
* 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/CreateDomainRequest.h>
using AlibabaCloud::Waf_openapi::Model::CreateDomainRequest;
CreateDomainRequest::CreateDomainRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "CreateDomain")
{
setMethod(HttpRequest::Method::Post);
}
CreateDomainRequest::~CreateDomainRequest()
{}
int CreateDomainRequest::getIpFollowStatus()const
{
return ipFollowStatus_;
*/
#include <alibabacloud/waf-openapi/model/CreateDomainRequest.h>
using AlibabaCloud::Waf_openapi::Model::CreateDomainRequest;
CreateDomainRequest::CreateDomainRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "CreateDomain") {
setMethod(HttpRequest::Method::Post);
}
void CreateDomainRequest::setIpFollowStatus(int ipFollowStatus)
{
ipFollowStatus_ = ipFollowStatus;
setParameter("IpFollowStatus", std::to_string(ipFollowStatus));
CreateDomainRequest::~CreateDomainRequest() {}
int CreateDomainRequest::getIpFollowStatus() const {
return ipFollowStatus_;
}
std::string CreateDomainRequest::getSniHost()const
{
return sniHost_;
void CreateDomainRequest::setIpFollowStatus(int ipFollowStatus) {
ipFollowStatus_ = ipFollowStatus;
setParameter(std::string("IpFollowStatus"), std::to_string(ipFollowStatus));
}
void CreateDomainRequest::setSniHost(const std::string& sniHost)
{
sniHost_ = sniHost;
setParameter("SniHost", sniHost);
std::string CreateDomainRequest::getSniHost() const {
return sniHost_;
}
std::string CreateDomainRequest::getResourceGroupId()const
{
return resourceGroupId_;
void CreateDomainRequest::setSniHost(const std::string &sniHost) {
sniHost_ = sniHost;
setParameter(std::string("SniHost"), sniHost);
}
void CreateDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
std::string CreateDomainRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string CreateDomainRequest::getSourceIp()const
{
return sourceIp_;
void CreateDomainRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void CreateDomainRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string CreateDomainRequest::getSourceIp() const {
return sourceIp_;
}
std::string CreateDomainRequest::getHttpPort()const
{
return httpPort_;
void CreateDomainRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void CreateDomainRequest::setHttpPort(const std::string& httpPort)
{
httpPort_ = httpPort;
setParameter("HttpPort", httpPort);
std::string CreateDomainRequest::getHttpPort() const {
return httpPort_;
}
std::string CreateDomainRequest::getHttp2Port()const
{
return http2Port_;
void CreateDomainRequest::setHttpPort(const std::string &httpPort) {
httpPort_ = httpPort;
setParameter(std::string("HttpPort"), httpPort);
}
void CreateDomainRequest::setHttp2Port(const std::string& http2Port)
{
http2Port_ = http2Port;
setParameter("Http2Port", http2Port);
std::string CreateDomainRequest::getHttp2Port() const {
return http2Port_;
}
int CreateDomainRequest::getWriteTime()const
{
return writeTime_;
void CreateDomainRequest::setHttp2Port(const std::string &http2Port) {
http2Port_ = http2Port;
setParameter(std::string("Http2Port"), http2Port);
}
void CreateDomainRequest::setWriteTime(int writeTime)
{
writeTime_ = writeTime;
setParameter("WriteTime", std::to_string(writeTime));
int CreateDomainRequest::getWriteTime() const {
return writeTime_;
}
int CreateDomainRequest::getSniStatus()const
{
return sniStatus_;
void CreateDomainRequest::setWriteTime(int writeTime) {
writeTime_ = writeTime;
setParameter(std::string("WriteTime"), std::to_string(writeTime));
}
void CreateDomainRequest::setSniStatus(int sniStatus)
{
sniStatus_ = sniStatus;
setParameter("SniStatus", std::to_string(sniStatus));
int CreateDomainRequest::getSniStatus() const {
return sniStatus_;
}
std::string CreateDomainRequest::getLang()const
{
return lang_;
void CreateDomainRequest::setSniStatus(int sniStatus) {
sniStatus_ = sniStatus;
setParameter(std::string("SniStatus"), std::to_string(sniStatus));
}
void CreateDomainRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string CreateDomainRequest::getLang() const {
return lang_;
}
int CreateDomainRequest::getAccessHeaderMode()const
{
return accessHeaderMode_;
void CreateDomainRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void CreateDomainRequest::setAccessHeaderMode(int accessHeaderMode)
{
accessHeaderMode_ = accessHeaderMode;
setParameter("AccessHeaderMode", std::to_string(accessHeaderMode));
int CreateDomainRequest::getAccessHeaderMode() const {
return accessHeaderMode_;
}
std::string CreateDomainRequest::getAccessType()const
{
return accessType_;
void CreateDomainRequest::setAccessHeaderMode(int accessHeaderMode) {
accessHeaderMode_ = accessHeaderMode;
setParameter(std::string("AccessHeaderMode"), std::to_string(accessHeaderMode));
}
void CreateDomainRequest::setAccessType(const std::string& accessType)
{
accessType_ = accessType;
setParameter("AccessType", accessType);
std::string CreateDomainRequest::getAccessType() const {
return accessType_;
}
std::string CreateDomainRequest::getLogHeaders()const
{
return logHeaders_;
void CreateDomainRequest::setAccessType(const std::string &accessType) {
accessType_ = accessType;
setParameter(std::string("AccessType"), accessType);
}
void CreateDomainRequest::setLogHeaders(const std::string& logHeaders)
{
logHeaders_ = logHeaders;
setParameter("LogHeaders", logHeaders);
std::string CreateDomainRequest::getLogHeaders() const {
return logHeaders_;
}
std::string CreateDomainRequest::getAccessHeaders()const
{
return accessHeaders_;
void CreateDomainRequest::setLogHeaders(const std::string &logHeaders) {
logHeaders_ = logHeaders;
setParameter(std::string("LogHeaders"), logHeaders);
}
void CreateDomainRequest::setAccessHeaders(const std::string& accessHeaders)
{
accessHeaders_ = accessHeaders;
setParameter("AccessHeaders", accessHeaders);
std::string CreateDomainRequest::getAccessHeaders() const {
return accessHeaders_;
}
int CreateDomainRequest::getConnectionTime()const
{
return connectionTime_;
void CreateDomainRequest::setAccessHeaders(const std::string &accessHeaders) {
accessHeaders_ = accessHeaders;
setParameter(std::string("AccessHeaders"), accessHeaders);
}
void CreateDomainRequest::setConnectionTime(int connectionTime)
{
connectionTime_ = connectionTime;
setParameter("ConnectionTime", std::to_string(connectionTime));
int CreateDomainRequest::getConnectionTime() const {
return connectionTime_;
}
int CreateDomainRequest::getClusterType()const
{
return clusterType_;
void CreateDomainRequest::setConnectionTime(int connectionTime) {
connectionTime_ = connectionTime;
setParameter(std::string("ConnectionTime"), std::to_string(connectionTime));
}
void CreateDomainRequest::setClusterType(int clusterType)
{
clusterType_ = clusterType;
setParameter("ClusterType", std::to_string(clusterType));
int CreateDomainRequest::getClusterType() const {
return clusterType_;
}
std::string CreateDomainRequest::getCloudNativeInstances()const
{
return cloudNativeInstances_;
void CreateDomainRequest::setClusterType(int clusterType) {
clusterType_ = clusterType;
setParameter(std::string("ClusterType"), std::to_string(clusterType));
}
void CreateDomainRequest::setCloudNativeInstances(const std::string& cloudNativeInstances)
{
cloudNativeInstances_ = cloudNativeInstances;
setParameter("CloudNativeInstances", cloudNativeInstances);
std::string CreateDomainRequest::getCloudNativeInstances() const {
return cloudNativeInstances_;
}
int CreateDomainRequest::getHttpsRedirect()const
{
return httpsRedirect_;
void CreateDomainRequest::setCloudNativeInstances(const std::string &cloudNativeInstances) {
cloudNativeInstances_ = cloudNativeInstances;
setParameter(std::string("CloudNativeInstances"), cloudNativeInstances);
}
void CreateDomainRequest::setHttpsRedirect(int httpsRedirect)
{
httpsRedirect_ = httpsRedirect;
setParameter("HttpsRedirect", std::to_string(httpsRedirect));
int CreateDomainRequest::getHttpsRedirect() const {
return httpsRedirect_;
}
std::string CreateDomainRequest::getInstanceId()const
{
return instanceId_;
void CreateDomainRequest::setHttpsRedirect(int httpsRedirect) {
httpsRedirect_ = httpsRedirect;
setParameter(std::string("HttpsRedirect"), std::to_string(httpsRedirect));
}
void CreateDomainRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string CreateDomainRequest::getInstanceId() const {
return instanceId_;
}
std::string CreateDomainRequest::getSourceIps()const
{
return sourceIps_;
void CreateDomainRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void CreateDomainRequest::setSourceIps(const std::string& sourceIps)
{
sourceIps_ = sourceIps;
setParameter("SourceIps", sourceIps);
std::string CreateDomainRequest::getSourceIps() const {
return sourceIps_;
}
std::string CreateDomainRequest::getDomain()const
{
return domain_;
void CreateDomainRequest::setSourceIps(const std::string &sourceIps) {
sourceIps_ = sourceIps;
setParameter(std::string("SourceIps"), sourceIps);
}
void CreateDomainRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string CreateDomainRequest::getDomain() const {
return domain_;
}
int CreateDomainRequest::getIsAccessProduct()const
{
return isAccessProduct_;
void CreateDomainRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void CreateDomainRequest::setIsAccessProduct(int isAccessProduct)
{
isAccessProduct_ = isAccessProduct;
setParameter("IsAccessProduct", std::to_string(isAccessProduct));
int CreateDomainRequest::getIsAccessProduct() const {
return isAccessProduct_;
}
int CreateDomainRequest::getReadTime()const
{
return readTime_;
void CreateDomainRequest::setIsAccessProduct(int isAccessProduct) {
isAccessProduct_ = isAccessProduct;
setParameter(std::string("IsAccessProduct"), std::to_string(isAccessProduct));
}
void CreateDomainRequest::setReadTime(int readTime)
{
readTime_ = readTime;
setParameter("ReadTime", std::to_string(readTime));
int CreateDomainRequest::getReadTime() const {
return readTime_;
}
std::string CreateDomainRequest::getHttpsPort()const
{
return httpsPort_;
void CreateDomainRequest::setReadTime(int readTime) {
readTime_ = readTime;
setParameter(std::string("ReadTime"), std::to_string(readTime));
}
void CreateDomainRequest::setHttpsPort(const std::string& httpsPort)
{
httpsPort_ = httpsPort;
setParameter("HttpsPort", httpsPort);
std::string CreateDomainRequest::getHttpsPort() const {
return httpsPort_;
}
int CreateDomainRequest::getLoadBalancing()const
{
return loadBalancing_;
void CreateDomainRequest::setHttpsPort(const std::string &httpsPort) {
httpsPort_ = httpsPort;
setParameter(std::string("HttpsPort"), httpsPort);
}
void CreateDomainRequest::setLoadBalancing(int loadBalancing)
{
loadBalancing_ = loadBalancing;
setParameter("LoadBalancing", std::to_string(loadBalancing));
int CreateDomainRequest::getLoadBalancing() const {
return loadBalancing_;
}
int CreateDomainRequest::getHttpToUserIp()const
{
return httpToUserIp_;
void CreateDomainRequest::setLoadBalancing(int loadBalancing) {
loadBalancing_ = loadBalancing;
setParameter(std::string("LoadBalancing"), std::to_string(loadBalancing));
}
void CreateDomainRequest::setHttpToUserIp(int httpToUserIp)
{
httpToUserIp_ = httpToUserIp;
setParameter("HttpToUserIp", std::to_string(httpToUserIp));
int CreateDomainRequest::getHttpToUserIp() const {
return httpToUserIp_;
}
void CreateDomainRequest::setHttpToUserIp(int httpToUserIp) {
httpToUserIp_ = httpToUserIp;
setParameter(std::string("HttpToUserIp"), std::to_string(httpToUserIp));
}

View File

@@ -1,95 +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.
*/
#include <alibabacloud/waf-openapi/model/CreateProtectionModuleRuleRequest.h>
using AlibabaCloud::Waf_openapi::Model::CreateProtectionModuleRuleRequest;
CreateProtectionModuleRuleRequest::CreateProtectionModuleRuleRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "CreateProtectionModuleRule")
{
setMethod(HttpRequest::Method::Post);
}
CreateProtectionModuleRuleRequest::~CreateProtectionModuleRuleRequest()
{}
std::string CreateProtectionModuleRuleRequest::getDefenseType()const
{
return defenseType_;
*/
#include <alibabacloud/waf-openapi/model/CreateProtectionModuleRuleRequest.h>
using AlibabaCloud::Waf_openapi::Model::CreateProtectionModuleRuleRequest;
CreateProtectionModuleRuleRequest::CreateProtectionModuleRuleRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "CreateProtectionModuleRule") {
setMethod(HttpRequest::Method::Post);
}
void CreateProtectionModuleRuleRequest::setDefenseType(const std::string& defenseType)
{
defenseType_ = defenseType;
setParameter("DefenseType", defenseType);
CreateProtectionModuleRuleRequest::~CreateProtectionModuleRuleRequest() {}
std::string CreateProtectionModuleRuleRequest::getDefenseType() const {
return defenseType_;
}
std::string CreateProtectionModuleRuleRequest::getRule()const
{
return rule_;
void CreateProtectionModuleRuleRequest::setDefenseType(const std::string &defenseType) {
defenseType_ = defenseType;
setParameter(std::string("DefenseType"), defenseType);
}
void CreateProtectionModuleRuleRequest::setRule(const std::string& rule)
{
rule_ = rule;
setParameter("Rule", rule);
std::string CreateProtectionModuleRuleRequest::getRule() const {
return rule_;
}
std::string CreateProtectionModuleRuleRequest::getInstanceId()const
{
return instanceId_;
void CreateProtectionModuleRuleRequest::setRule(const std::string &rule) {
rule_ = rule;
setParameter(std::string("Rule"), rule);
}
void CreateProtectionModuleRuleRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string CreateProtectionModuleRuleRequest::getInstanceId() const {
return instanceId_;
}
std::string CreateProtectionModuleRuleRequest::getSourceIp()const
{
return sourceIp_;
void CreateProtectionModuleRuleRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void CreateProtectionModuleRuleRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string CreateProtectionModuleRuleRequest::getSourceIp() const {
return sourceIp_;
}
std::string CreateProtectionModuleRuleRequest::getDomain()const
{
return domain_;
void CreateProtectionModuleRuleRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void CreateProtectionModuleRuleRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string CreateProtectionModuleRuleRequest::getDomain() const {
return domain_;
}
std::string CreateProtectionModuleRuleRequest::getLang()const
{
return lang_;
void CreateProtectionModuleRuleRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void CreateProtectionModuleRuleRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string CreateProtectionModuleRuleRequest::getLang() const {
return lang_;
}
void CreateProtectionModuleRuleRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,73 +1,63 @@
/*
* 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/DeleteDomainRequest.h>
using AlibabaCloud::Waf_openapi::Model::DeleteDomainRequest;
DeleteDomainRequest::DeleteDomainRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DeleteDomain")
{
setMethod(HttpRequest::Method::Post);
}
DeleteDomainRequest::~DeleteDomainRequest()
{}
std::string DeleteDomainRequest::getInstanceId()const
{
return instanceId_;
*/
#include <alibabacloud/waf-openapi/model/DeleteDomainRequest.h>
using AlibabaCloud::Waf_openapi::Model::DeleteDomainRequest;
DeleteDomainRequest::DeleteDomainRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DeleteDomain") {
setMethod(HttpRequest::Method::Post);
}
void DeleteDomainRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
DeleteDomainRequest::~DeleteDomainRequest() {}
std::string DeleteDomainRequest::getInstanceId() const {
return instanceId_;
}
std::string DeleteDomainRequest::getSourceIp()const
{
return sourceIp_;
void DeleteDomainRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DeleteDomainRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DeleteDomainRequest::getSourceIp() const {
return sourceIp_;
}
std::string DeleteDomainRequest::getDomain()const
{
return domain_;
void DeleteDomainRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DeleteDomainRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string DeleteDomainRequest::getDomain() const {
return domain_;
}
std::string DeleteDomainRequest::getLang()const
{
return lang_;
void DeleteDomainRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void DeleteDomainRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DeleteDomainRequest::getLang() const {
return lang_;
}
void DeleteDomainRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,73 +1,63 @@
/*
* 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/DeleteInstanceRequest.h>
using AlibabaCloud::Waf_openapi::Model::DeleteInstanceRequest;
DeleteInstanceRequest::DeleteInstanceRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DeleteInstance")
{
setMethod(HttpRequest::Method::Post);
}
DeleteInstanceRequest::~DeleteInstanceRequest()
{}
std::string DeleteInstanceRequest::getResourceGroupId()const
{
return resourceGroupId_;
*/
#include <alibabacloud/waf-openapi/model/DeleteInstanceRequest.h>
using AlibabaCloud::Waf_openapi::Model::DeleteInstanceRequest;
DeleteInstanceRequest::DeleteInstanceRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DeleteInstance") {
setMethod(HttpRequest::Method::Post);
}
void DeleteInstanceRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
DeleteInstanceRequest::~DeleteInstanceRequest() {}
std::string DeleteInstanceRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DeleteInstanceRequest::getInstanceId()const
{
return instanceId_;
void DeleteInstanceRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DeleteInstanceRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DeleteInstanceRequest::getInstanceId() const {
return instanceId_;
}
std::string DeleteInstanceRequest::getSourceIp()const
{
return sourceIp_;
void DeleteInstanceRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DeleteInstanceRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DeleteInstanceRequest::getSourceIp() const {
return sourceIp_;
}
std::string DeleteInstanceRequest::getLang()const
{
return lang_;
void DeleteInstanceRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DeleteInstanceRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DeleteInstanceRequest::getLang() const {
return lang_;
}
void DeleteInstanceRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,95 +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.
*/
#include <alibabacloud/waf-openapi/model/DeleteProtectionModuleRuleRequest.h>
using AlibabaCloud::Waf_openapi::Model::DeleteProtectionModuleRuleRequest;
DeleteProtectionModuleRuleRequest::DeleteProtectionModuleRuleRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DeleteProtectionModuleRule")
{
setMethod(HttpRequest::Method::Post);
}
DeleteProtectionModuleRuleRequest::~DeleteProtectionModuleRuleRequest()
{}
std::string DeleteProtectionModuleRuleRequest::getDefenseType()const
{
return defenseType_;
*/
#include <alibabacloud/waf-openapi/model/DeleteProtectionModuleRuleRequest.h>
using AlibabaCloud::Waf_openapi::Model::DeleteProtectionModuleRuleRequest;
DeleteProtectionModuleRuleRequest::DeleteProtectionModuleRuleRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DeleteProtectionModuleRule") {
setMethod(HttpRequest::Method::Post);
}
void DeleteProtectionModuleRuleRequest::setDefenseType(const std::string& defenseType)
{
defenseType_ = defenseType;
setParameter("DefenseType", defenseType);
DeleteProtectionModuleRuleRequest::~DeleteProtectionModuleRuleRequest() {}
std::string DeleteProtectionModuleRuleRequest::getDefenseType() const {
return defenseType_;
}
std::string DeleteProtectionModuleRuleRequest::getInstanceId()const
{
return instanceId_;
void DeleteProtectionModuleRuleRequest::setDefenseType(const std::string &defenseType) {
defenseType_ = defenseType;
setParameter(std::string("DefenseType"), defenseType);
}
void DeleteProtectionModuleRuleRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DeleteProtectionModuleRuleRequest::getInstanceId() const {
return instanceId_;
}
std::string DeleteProtectionModuleRuleRequest::getSourceIp()const
{
return sourceIp_;
void DeleteProtectionModuleRuleRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DeleteProtectionModuleRuleRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DeleteProtectionModuleRuleRequest::getSourceIp() const {
return sourceIp_;
}
std::string DeleteProtectionModuleRuleRequest::getDomain()const
{
return domain_;
void DeleteProtectionModuleRuleRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DeleteProtectionModuleRuleRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string DeleteProtectionModuleRuleRequest::getDomain() const {
return domain_;
}
std::string DeleteProtectionModuleRuleRequest::getLang()const
{
return lang_;
void DeleteProtectionModuleRuleRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void DeleteProtectionModuleRuleRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DeleteProtectionModuleRuleRequest::getLang() const {
return lang_;
}
long DeleteProtectionModuleRuleRequest::getRuleId()const
{
return ruleId_;
void DeleteProtectionModuleRuleRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void DeleteProtectionModuleRuleRequest::setRuleId(long ruleId)
{
ruleId_ = ruleId;
setParameter("RuleId", std::to_string(ruleId));
long DeleteProtectionModuleRuleRequest::getRuleId() const {
return ruleId_;
}
void DeleteProtectionModuleRuleRequest::setRuleId(long ruleId) {
ruleId_ = ruleId;
setParameter(std::string("RuleId"), std::to_string(ruleId));
}

View File

@@ -1,95 +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.
*/
#include <alibabacloud/waf-openapi/model/DescribeCertMatchStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeCertMatchStatusRequest;
DescribeCertMatchStatusRequest::DescribeCertMatchStatusRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeCertMatchStatus")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCertMatchStatusRequest::~DescribeCertMatchStatusRequest()
{}
std::string DescribeCertMatchStatusRequest::getCertificate()const
{
return certificate_;
*/
#include <alibabacloud/waf-openapi/model/DescribeCertMatchStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeCertMatchStatusRequest;
DescribeCertMatchStatusRequest::DescribeCertMatchStatusRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeCertMatchStatus") {
setMethod(HttpRequest::Method::Post);
}
void DescribeCertMatchStatusRequest::setCertificate(const std::string& certificate)
{
certificate_ = certificate;
setParameter("Certificate", certificate);
DescribeCertMatchStatusRequest::~DescribeCertMatchStatusRequest() {}
std::string DescribeCertMatchStatusRequest::getCertificate() const {
return certificate_;
}
std::string DescribeCertMatchStatusRequest::getPrivateKey()const
{
return privateKey_;
void DescribeCertMatchStatusRequest::setCertificate(const std::string &certificate) {
certificate_ = certificate;
setParameter(std::string("Certificate"), certificate);
}
void DescribeCertMatchStatusRequest::setPrivateKey(const std::string& privateKey)
{
privateKey_ = privateKey;
setParameter("PrivateKey", privateKey);
std::string DescribeCertMatchStatusRequest::getPrivateKey() const {
return privateKey_;
}
std::string DescribeCertMatchStatusRequest::getInstanceId()const
{
return instanceId_;
void DescribeCertMatchStatusRequest::setPrivateKey(const std::string &privateKey) {
privateKey_ = privateKey;
setParameter(std::string("PrivateKey"), privateKey);
}
void DescribeCertMatchStatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeCertMatchStatusRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeCertMatchStatusRequest::getSourceIp()const
{
return sourceIp_;
void DescribeCertMatchStatusRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeCertMatchStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeCertMatchStatusRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeCertMatchStatusRequest::getDomain()const
{
return domain_;
void DescribeCertMatchStatusRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeCertMatchStatusRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string DescribeCertMatchStatusRequest::getDomain() const {
return domain_;
}
std::string DescribeCertMatchStatusRequest::getLang()const
{
return lang_;
void DescribeCertMatchStatusRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void DescribeCertMatchStatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeCertMatchStatusRequest::getLang() const {
return lang_;
}
void DescribeCertMatchStatusRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,73 +1,63 @@
/*
* 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/DescribeCertificatesRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeCertificatesRequest;
DescribeCertificatesRequest::DescribeCertificatesRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeCertificates")
{
setMethod(HttpRequest::Method::Post);
}
DescribeCertificatesRequest::~DescribeCertificatesRequest()
{}
std::string DescribeCertificatesRequest::getInstanceId()const
{
return instanceId_;
*/
#include <alibabacloud/waf-openapi/model/DescribeCertificatesRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeCertificatesRequest;
DescribeCertificatesRequest::DescribeCertificatesRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeCertificates") {
setMethod(HttpRequest::Method::Post);
}
void DescribeCertificatesRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
DescribeCertificatesRequest::~DescribeCertificatesRequest() {}
std::string DescribeCertificatesRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeCertificatesRequest::getSourceIp()const
{
return sourceIp_;
void DescribeCertificatesRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeCertificatesRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeCertificatesRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeCertificatesRequest::getDomain()const
{
return domain_;
void DescribeCertificatesRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeCertificatesRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string DescribeCertificatesRequest::getDomain() const {
return domain_;
}
std::string DescribeCertificatesRequest::getLang()const
{
return lang_;
void DescribeCertificatesRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void DescribeCertificatesRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeCertificatesRequest::getLang() const {
return lang_;
}
void DescribeCertificatesRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -43,14 +43,14 @@ void DescribeCertificatesResult::parse(const std::string &payload)
for (auto valueCertificatesCertificate : allCertificatesNode)
{
Certificate certificatesObject;
if(!valueCertificatesCertificate["CommonName"].isNull())
certificatesObject.commonName = valueCertificatesCertificate["CommonName"].asString();
if(!valueCertificatesCertificate["IsUsing"].isNull())
certificatesObject.isUsing = valueCertificatesCertificate["IsUsing"].asString() == "true";
if(!valueCertificatesCertificate["CertificateName"].isNull())
certificatesObject.certificateName = valueCertificatesCertificate["CertificateName"].asString();
if(!valueCertificatesCertificate["CertificateId"].isNull())
certificatesObject.certificateId = std::stol(valueCertificatesCertificate["CertificateId"].asString());
if(!valueCertificatesCertificate["CommonName"].isNull())
certificatesObject.commonName = valueCertificatesCertificate["CommonName"].asString();
auto allSans = value["Sans"]["San"];
for (auto value : allSans)
certificatesObject.sans.push_back(value.asString());

View File

@@ -1,84 +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.
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainAdvanceConfigsRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainAdvanceConfigsRequest;
DescribeDomainAdvanceConfigsRequest::DescribeDomainAdvanceConfigsRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainAdvanceConfigs")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDomainAdvanceConfigsRequest::~DescribeDomainAdvanceConfigsRequest()
{}
std::string DescribeDomainAdvanceConfigsRequest::getDomainList()const
{
return domainList_;
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainAdvanceConfigsRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainAdvanceConfigsRequest;
DescribeDomainAdvanceConfigsRequest::DescribeDomainAdvanceConfigsRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainAdvanceConfigs") {
setMethod(HttpRequest::Method::Post);
}
void DescribeDomainAdvanceConfigsRequest::setDomainList(const std::string& domainList)
{
domainList_ = domainList;
setParameter("DomainList", domainList);
DescribeDomainAdvanceConfigsRequest::~DescribeDomainAdvanceConfigsRequest() {}
std::string DescribeDomainAdvanceConfigsRequest::getDomainList() const {
return domainList_;
}
std::string DescribeDomainAdvanceConfigsRequest::getResourceGroupId()const
{
return resourceGroupId_;
void DescribeDomainAdvanceConfigsRequest::setDomainList(const std::string &domainList) {
domainList_ = domainList;
setParameter(std::string("DomainList"), domainList);
}
void DescribeDomainAdvanceConfigsRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
std::string DescribeDomainAdvanceConfigsRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeDomainAdvanceConfigsRequest::getInstanceId()const
{
return instanceId_;
void DescribeDomainAdvanceConfigsRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeDomainAdvanceConfigsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeDomainAdvanceConfigsRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeDomainAdvanceConfigsRequest::getSourceIp()const
{
return sourceIp_;
void DescribeDomainAdvanceConfigsRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeDomainAdvanceConfigsRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeDomainAdvanceConfigsRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeDomainAdvanceConfigsRequest::getLang()const
{
return lang_;
void DescribeDomainAdvanceConfigsRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeDomainAdvanceConfigsRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeDomainAdvanceConfigsRequest::getLang() const {
return lang_;
}
void DescribeDomainAdvanceConfigsRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,128 +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/DescribeDomainBasicConfigsRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainBasicConfigsRequest;
DescribeDomainBasicConfigsRequest::DescribeDomainBasicConfigsRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainBasicConfigs")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDomainBasicConfigsRequest::~DescribeDomainBasicConfigsRequest()
{}
int DescribeDomainBasicConfigsRequest::getPageNumber()const
{
return pageNumber_;
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainBasicConfigsRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainBasicConfigsRequest;
DescribeDomainBasicConfigsRequest::DescribeDomainBasicConfigsRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainBasicConfigs") {
setMethod(HttpRequest::Method::Post);
}
void DescribeDomainBasicConfigsRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
DescribeDomainBasicConfigsRequest::~DescribeDomainBasicConfigsRequest() {}
int DescribeDomainBasicConfigsRequest::getPageNumber() const {
return pageNumber_;
}
std::string DescribeDomainBasicConfigsRequest::getResourceGroupId()const
{
return resourceGroupId_;
void DescribeDomainBasicConfigsRequest::setPageNumber(int pageNumber) {
pageNumber_ = pageNumber;
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
}
void DescribeDomainBasicConfigsRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
std::string DescribeDomainBasicConfigsRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeDomainBasicConfigsRequest::getSourceIp()const
{
return sourceIp_;
void DescribeDomainBasicConfigsRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeDomainBasicConfigsRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeDomainBasicConfigsRequest::getSourceIp() const {
return sourceIp_;
}
int DescribeDomainBasicConfigsRequest::getPageSize()const
{
return pageSize_;
void DescribeDomainBasicConfigsRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeDomainBasicConfigsRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
int DescribeDomainBasicConfigsRequest::getPageSize() const {
return pageSize_;
}
std::string DescribeDomainBasicConfigsRequest::getLang()const
{
return lang_;
void DescribeDomainBasicConfigsRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
void DescribeDomainBasicConfigsRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeDomainBasicConfigsRequest::getLang() const {
return lang_;
}
std::string DescribeDomainBasicConfigsRequest::getAccessType()const
{
return accessType_;
void DescribeDomainBasicConfigsRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void DescribeDomainBasicConfigsRequest::setAccessType(const std::string& accessType)
{
accessType_ = accessType;
setParameter("AccessType", accessType);
std::string DescribeDomainBasicConfigsRequest::getAccessType() const {
return accessType_;
}
int DescribeDomainBasicConfigsRequest::getCloudNativeProductId()const
{
return cloudNativeProductId_;
void DescribeDomainBasicConfigsRequest::setAccessType(const std::string &accessType) {
accessType_ = accessType;
setParameter(std::string("AccessType"), accessType);
}
void DescribeDomainBasicConfigsRequest::setCloudNativeProductId(int cloudNativeProductId)
{
cloudNativeProductId_ = cloudNativeProductId;
setParameter("CloudNativeProductId", std::to_string(cloudNativeProductId));
int DescribeDomainBasicConfigsRequest::getCloudNativeProductId() const {
return cloudNativeProductId_;
}
std::string DescribeDomainBasicConfigsRequest::getInstanceId()const
{
return instanceId_;
void DescribeDomainBasicConfigsRequest::setCloudNativeProductId(int cloudNativeProductId) {
cloudNativeProductId_ = cloudNativeProductId;
setParameter(std::string("CloudNativeProductId"), std::to_string(cloudNativeProductId));
}
void DescribeDomainBasicConfigsRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeDomainBasicConfigsRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeDomainBasicConfigsRequest::getDomainKey()const
{
return domainKey_;
void DescribeDomainBasicConfigsRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeDomainBasicConfigsRequest::setDomainKey(const std::string& domainKey)
{
domainKey_ = domainKey;
setParameter("DomainKey", domainKey);
std::string DescribeDomainBasicConfigsRequest::getDomainKey() const {
return domainKey_;
}
void DescribeDomainBasicConfigsRequest::setDomainKey(const std::string &domainKey) {
domainKey_ = domainKey;
setParameter(std::string("DomainKey"), domainKey);
}

View File

@@ -43,26 +43,26 @@ void DescribeDomainBasicConfigsResult::parse(const std::string &payload)
for (auto valueDomainConfigsDomainConfig : allDomainConfigsNode)
{
DomainConfig domainConfigsObject;
if(!valueDomainConfigsDomainConfig["Owner"].isNull())
domainConfigsObject.owner = valueDomainConfigsDomainConfig["Owner"].asString();
if(!valueDomainConfigsDomainConfig["WafStatus"].isNull())
domainConfigsObject.wafStatus = std::stoi(valueDomainConfigsDomainConfig["WafStatus"].asString());
if(!valueDomainConfigsDomainConfig["CcStatus"].isNull())
domainConfigsObject.ccStatus = std::stoi(valueDomainConfigsDomainConfig["CcStatus"].asString());
if(!valueDomainConfigsDomainConfig["CcMode"].isNull())
domainConfigsObject.ccMode = std::stoi(valueDomainConfigsDomainConfig["CcMode"].asString());
if(!valueDomainConfigsDomainConfig["AclStatus"].isNull())
domainConfigsObject.aclStatus = std::stoi(valueDomainConfigsDomainConfig["AclStatus"].asString());
if(!valueDomainConfigsDomainConfig["WafMode"].isNull())
domainConfigsObject.wafMode = std::stoi(valueDomainConfigsDomainConfig["WafMode"].asString());
if(!valueDomainConfigsDomainConfig["Version"].isNull())
domainConfigsObject.version = std::stol(valueDomainConfigsDomainConfig["Version"].asString());
if(!valueDomainConfigsDomainConfig["Domain"].isNull())
domainConfigsObject.domain = valueDomainConfigsDomainConfig["Domain"].asString();
if(!valueDomainConfigsDomainConfig["Status"].isNull())
domainConfigsObject.status = std::stoi(valueDomainConfigsDomainConfig["Status"].asString());
if(!valueDomainConfigsDomainConfig["Domain"].isNull())
domainConfigsObject.domain = valueDomainConfigsDomainConfig["Domain"].asString();
if(!valueDomainConfigsDomainConfig["Owner"].isNull())
domainConfigsObject.owner = valueDomainConfigsDomainConfig["Owner"].asString();
if(!valueDomainConfigsDomainConfig["CcMode"].isNull())
domainConfigsObject.ccMode = std::stoi(valueDomainConfigsDomainConfig["CcMode"].asString());
if(!valueDomainConfigsDomainConfig["CcStatus"].isNull())
domainConfigsObject.ccStatus = std::stoi(valueDomainConfigsDomainConfig["CcStatus"].asString());
if(!valueDomainConfigsDomainConfig["AccessType"].isNull())
domainConfigsObject.accessType = valueDomainConfigsDomainConfig["AccessType"].asString();
if(!valueDomainConfigsDomainConfig["Version"].isNull())
domainConfigsObject.version = std::stol(valueDomainConfigsDomainConfig["Version"].asString());
if(!valueDomainConfigsDomainConfig["AclStatus"].isNull())
domainConfigsObject.aclStatus = std::stoi(valueDomainConfigsDomainConfig["AclStatus"].asString());
if(!valueDomainConfigsDomainConfig["WafStatus"].isNull())
domainConfigsObject.wafStatus = std::stoi(valueDomainConfigsDomainConfig["WafStatus"].asString());
if(!valueDomainConfigsDomainConfig["WafMode"].isNull())
domainConfigsObject.wafMode = std::stoi(valueDomainConfigsDomainConfig["WafMode"].asString());
domainConfigs_.push_back(domainConfigsObject);
}
if(!value["TotalCount"].isNull())

View File

@@ -1,119 +1,98 @@
/*
* 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/DescribeDomainListRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainListRequest;
DescribeDomainListRequest::DescribeDomainListRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainList")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDomainListRequest::~DescribeDomainListRequest()
{}
std::vector<std::string> DescribeDomainListRequest::getDomainNames()const
{
return domainNames_;
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainListRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainListRequest;
DescribeDomainListRequest::DescribeDomainListRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainList") {
setMethod(HttpRequest::Method::Post);
}
void DescribeDomainListRequest::setDomainNames(const std::vector<std::string>& domainNames)
{
domainNames_ = domainNames;
for(int dep1 = 0; dep1!= domainNames.size(); dep1++) {
setParameter("DomainNames."+ std::to_string(dep1), domainNames.at(dep1));
}
DescribeDomainListRequest::~DescribeDomainListRequest() {}
std::vector<std::string> DescribeDomainListRequest::getDomainNames() const {
return domainNames_;
}
int DescribeDomainListRequest::getPageNumber()const
{
return pageNumber_;
void DescribeDomainListRequest::setDomainNames(const std::vector<std::string> &domainNames) {
domainNames_ = domainNames;
}
void DescribeDomainListRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
int DescribeDomainListRequest::getPageNumber() const {
return pageNumber_;
}
std::string DescribeDomainListRequest::getResourceGroupId()const
{
return resourceGroupId_;
void DescribeDomainListRequest::setPageNumber(int pageNumber) {
pageNumber_ = pageNumber;
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
}
void DescribeDomainListRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
std::string DescribeDomainListRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeDomainListRequest::getSourceIp()const
{
return sourceIp_;
void DescribeDomainListRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeDomainListRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeDomainListRequest::getSourceIp() const {
return sourceIp_;
}
int DescribeDomainListRequest::getPageSize()const
{
return pageSize_;
void DescribeDomainListRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeDomainListRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
int DescribeDomainListRequest::getPageSize() const {
return pageSize_;
}
std::string DescribeDomainListRequest::getDomainName()const
{
return domainName_;
void DescribeDomainListRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
void DescribeDomainListRequest::setDomainName(const std::string& domainName)
{
domainName_ = domainName;
setParameter("DomainName", domainName);
std::string DescribeDomainListRequest::getDomainName() const {
return domainName_;
}
int DescribeDomainListRequest::getIsSub()const
{
return isSub_;
void DescribeDomainListRequest::setDomainName(const std::string &domainName) {
domainName_ = domainName;
setParameter(std::string("DomainName"), domainName);
}
void DescribeDomainListRequest::setIsSub(int isSub)
{
isSub_ = isSub;
setParameter("IsSub", std::to_string(isSub));
int DescribeDomainListRequest::getIsSub() const {
return isSub_;
}
std::string DescribeDomainListRequest::getInstanceId()const
{
return instanceId_;
void DescribeDomainListRequest::setIsSub(int isSub) {
isSub_ = isSub;
setParameter(std::string("IsSub"), std::to_string(isSub));
}
void DescribeDomainListRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeDomainListRequest::getInstanceId() const {
return instanceId_;
}
void DescribeDomainListRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}

View File

@@ -1,84 +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.
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainNamesRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainNamesRequest;
DescribeDomainNamesRequest::DescribeDomainNamesRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainNames")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDomainNamesRequest::~DescribeDomainNamesRequest()
{}
std::string DescribeDomainNamesRequest::getResourceGroupId()const
{
return resourceGroupId_;
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainNamesRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainNamesRequest;
DescribeDomainNamesRequest::DescribeDomainNamesRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainNames") {
setMethod(HttpRequest::Method::Post);
}
void DescribeDomainNamesRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
DescribeDomainNamesRequest::~DescribeDomainNamesRequest() {}
std::string DescribeDomainNamesRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeDomainNamesRequest::getInstanceId()const
{
return instanceId_;
void DescribeDomainNamesRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeDomainNamesRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeDomainNamesRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeDomainNamesRequest::getSourceIp()const
{
return sourceIp_;
void DescribeDomainNamesRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeDomainNamesRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeDomainNamesRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeDomainNamesRequest::getLang()const
{
return lang_;
void DescribeDomainNamesRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeDomainNamesRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeDomainNamesRequest::getLang() const {
return lang_;
}
std::string DescribeDomainNamesRequest::getCallSource()const
{
return callSource_;
void DescribeDomainNamesRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void DescribeDomainNamesRequest::setCallSource(const std::string& callSource)
{
callSource_ = callSource;
setParameter("CallSource", callSource);
std::string DescribeDomainNamesRequest::getCallSource() const {
return callSource_;
}
void DescribeDomainNamesRequest::setCallSource(const std::string &callSource) {
callSource_ = callSource;
setParameter(std::string("CallSource"), callSource);
}

View File

@@ -1,73 +1,63 @@
/*
* 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/DescribeDomainRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainRequest;
DescribeDomainRequest::DescribeDomainRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomain")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDomainRequest::~DescribeDomainRequest()
{}
std::string DescribeDomainRequest::getSourceIp()const
{
return sourceIp_;
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainRequest;
DescribeDomainRequest::DescribeDomainRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomain") {
setMethod(HttpRequest::Method::Post);
}
void DescribeDomainRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
DescribeDomainRequest::~DescribeDomainRequest() {}
std::string DescribeDomainRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeDomainRequest::getLang()const
{
return lang_;
void DescribeDomainRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeDomainRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeDomainRequest::getLang() const {
return lang_;
}
std::string DescribeDomainRequest::getInstanceId()const
{
return instanceId_;
void DescribeDomainRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void DescribeDomainRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeDomainRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeDomainRequest::getDomain()const
{
return domain_;
void DescribeDomainRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeDomainRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string DescribeDomainRequest::getDomain() const {
return domain_;
}
void DescribeDomainRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}

View File

@@ -40,56 +40,56 @@ void DescribeDomainResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto domainNode = value["Domain"];
if(!domainNode["IpFollowStatus"].isNull())
domain_.ipFollowStatus = std::stoi(domainNode["IpFollowStatus"].asString());
if(!domainNode["HttpToUserIp"].isNull())
domain_.httpToUserIp = std::stoi(domainNode["HttpToUserIp"].asString());
if(!domainNode["HttpsRedirect"].isNull())
domain_.httpsRedirect = std::stoi(domainNode["HttpsRedirect"].asString());
if(!domainNode["LoadBalancing"].isNull())
domain_.loadBalancing = std::stoi(domainNode["LoadBalancing"].asString());
if(!domainNode["Cname"].isNull())
domain_.cname = domainNode["Cname"].asString();
if(!domainNode["SniStatus"].isNull())
domain_.sniStatus = std::stoi(domainNode["SniStatus"].asString());
if(!domainNode["IsAccessProduct"].isNull())
domain_.isAccessProduct = std::stoi(domainNode["IsAccessProduct"].asString());
if(!domainNode["AccessHeaderMode"].isNull())
domain_.accessHeaderMode = std::stoi(domainNode["AccessHeaderMode"].asString());
if(!domainNode["HttpsRedirect"].isNull())
domain_.httpsRedirect = std::stoi(domainNode["HttpsRedirect"].asString());
if(!domainNode["IpFollowStatus"].isNull())
domain_.ipFollowStatus = std::stoi(domainNode["IpFollowStatus"].asString());
if(!domainNode["LoadBalancing"].isNull())
domain_.loadBalancing = std::stoi(domainNode["LoadBalancing"].asString());
if(!domainNode["AccessType"].isNull())
domain_.accessType = domainNode["AccessType"].asString();
if(!domainNode["Version"].isNull())
domain_.version = std::stol(domainNode["Version"].asString());
if(!domainNode["ClusterType"].isNull())
domain_.clusterType = std::stoi(domainNode["ClusterType"].asString());
if(!domainNode["ConnectionTime"].isNull())
domain_.connectionTime = std::stoi(domainNode["ConnectionTime"].asString());
if(!domainNode["ReadTime"].isNull())
domain_.readTime = std::stoi(domainNode["ReadTime"].asString());
if(!domainNode["WriteTime"].isNull())
domain_.writeTime = std::stoi(domainNode["WriteTime"].asString());
if(!domainNode["ResourceGroupId"].isNull())
domain_.resourceGroupId = domainNode["ResourceGroupId"].asString();
if(!domainNode["AccessType"].isNull())
domain_.accessType = domainNode["AccessType"].asString();
if(!domainNode["SniStatus"].isNull())
domain_.sniStatus = std::stoi(domainNode["SniStatus"].asString());
if(!domainNode["SniHost"].isNull())
domain_.sniHost = domainNode["SniHost"].asString();
if(!domainNode["ResourceGroupId"].isNull())
domain_.resourceGroupId = domainNode["ResourceGroupId"].asString();
if(!domainNode["Cname"].isNull())
domain_.cname = domainNode["Cname"].asString();
if(!domainNode["ConnectionTime"].isNull())
domain_.connectionTime = std::stoi(domainNode["ConnectionTime"].asString());
auto allLogHeadersNode = domainNode["LogHeaders"]["LogHeader"];
for (auto domainNodeLogHeadersLogHeader : allLogHeadersNode)
{
Domain::LogHeader logHeaderObject;
if(!domainNodeLogHeadersLogHeader["v"].isNull())
logHeaderObject.v = domainNodeLogHeadersLogHeader["v"].asString();
if(!domainNodeLogHeadersLogHeader["k"].isNull())
logHeaderObject.k = domainNodeLogHeadersLogHeader["k"].asString();
if(!domainNodeLogHeadersLogHeader["v"].isNull())
logHeaderObject.v = domainNodeLogHeadersLogHeader["v"].asString();
domain_.logHeaders.push_back(logHeaderObject);
}
auto allCloudNativeInstancesNode = domainNode["CloudNativeInstances"]["CloudNativeInstancesItem"];
for (auto domainNodeCloudNativeInstancesCloudNativeInstancesItem : allCloudNativeInstancesNode)
{
Domain::CloudNativeInstancesItem cloudNativeInstancesItemObject;
if(!domainNodeCloudNativeInstancesCloudNativeInstancesItem["CloudNativeProductName"].isNull())
cloudNativeInstancesItemObject.cloudNativeProductName = domainNodeCloudNativeInstancesCloudNativeInstancesItem["CloudNativeProductName"].asString();
if(!domainNodeCloudNativeInstancesCloudNativeInstancesItem["RedirectionTypeName"].isNull())
cloudNativeInstancesItemObject.redirectionTypeName = domainNodeCloudNativeInstancesCloudNativeInstancesItem["RedirectionTypeName"].asString();
if(!domainNodeCloudNativeInstancesCloudNativeInstancesItem["CloudNativeProductName"].isNull())
cloudNativeInstancesItemObject.cloudNativeProductName = domainNodeCloudNativeInstancesCloudNativeInstancesItem["CloudNativeProductName"].asString();
if(!domainNodeCloudNativeInstancesCloudNativeInstancesItem["InstanceId"].isNull())
cloudNativeInstancesItemObject.instanceId = domainNodeCloudNativeInstancesCloudNativeInstancesItem["InstanceId"].asString();
if(!domainNodeCloudNativeInstancesCloudNativeInstancesItem["IPAddressList"].isNull())
@@ -98,29 +98,29 @@ void DescribeDomainResult::parse(const std::string &payload)
for (auto domainNodeCloudNativeInstancesCloudNativeInstancesItemProtocolPortConfigsProtocolPortConfigsItem : allProtocolPortConfigsNode)
{
Domain::CloudNativeInstancesItem::ProtocolPortConfigsItem protocolPortConfigsObject;
if(!domainNodeCloudNativeInstancesCloudNativeInstancesItemProtocolPortConfigsProtocolPortConfigsItem["Protocol"].isNull())
protocolPortConfigsObject.protocol = domainNodeCloudNativeInstancesCloudNativeInstancesItemProtocolPortConfigsProtocolPortConfigsItem["Protocol"].asString();
if(!domainNodeCloudNativeInstancesCloudNativeInstancesItemProtocolPortConfigsProtocolPortConfigsItem["Ports"].isNull())
protocolPortConfigsObject.ports = domainNodeCloudNativeInstancesCloudNativeInstancesItemProtocolPortConfigsProtocolPortConfigsItem["Ports"].asString();
if(!domainNodeCloudNativeInstancesCloudNativeInstancesItemProtocolPortConfigsProtocolPortConfigsItem["Protocol"].isNull())
protocolPortConfigsObject.protocol = domainNodeCloudNativeInstancesCloudNativeInstancesItemProtocolPortConfigsProtocolPortConfigsItem["Protocol"].asString();
cloudNativeInstancesItemObject.protocolPortConfigs.push_back(protocolPortConfigsObject);
}
domain_.cloudNativeInstances.push_back(cloudNativeInstancesItemObject);
}
auto allSourceIps = domainNode["SourceIps"]["SourceIp"];
for (auto value : allSourceIps)
domain_.sourceIps.push_back(value.asString());
auto allHttp2Port = domainNode["Http2Port"]["Http2Port"];
for (auto value : allHttp2Port)
domain_.http2Port.push_back(value.asString());
auto allHttpPort = domainNode["HttpPort"]["HttpPort"];
for (auto value : allHttpPort)
domain_.httpPort.push_back(value.asString());
auto allAccessHeaders = domainNode["AccessHeaders"]["AccessHeaders"];
for (auto value : allAccessHeaders)
domain_.accessHeaders.push_back(value.asString());
auto allHttp2Port = domainNode["Http2Port"]["Http2Port"];
for (auto value : allHttp2Port)
domain_.http2Port.push_back(value.asString());
auto allSourceIps = domainNode["SourceIps"]["SourceIp"];
for (auto value : allSourceIps)
domain_.sourceIps.push_back(value.asString());
auto allHttpsPort = domainNode["HttpsPort"]["HttpsPort"];
for (auto value : allHttpsPort)
domain_.httpsPort.push_back(value.asString());
auto allAccessHeaders = domainNode["AccessHeaders"]["AccessHeaders"];
for (auto value : allAccessHeaders)
domain_.accessHeaders.push_back(value.asString());
}

View File

@@ -1,73 +1,63 @@
/*
* 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/DescribeDomainRuleGroupRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainRuleGroupRequest;
DescribeDomainRuleGroupRequest::DescribeDomainRuleGroupRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainRuleGroup")
{
setMethod(HttpRequest::Method::Post);
}
DescribeDomainRuleGroupRequest::~DescribeDomainRuleGroupRequest()
{}
std::string DescribeDomainRuleGroupRequest::getInstanceId()const
{
return instanceId_;
*/
#include <alibabacloud/waf-openapi/model/DescribeDomainRuleGroupRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeDomainRuleGroupRequest;
DescribeDomainRuleGroupRequest::DescribeDomainRuleGroupRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeDomainRuleGroup") {
setMethod(HttpRequest::Method::Post);
}
void DescribeDomainRuleGroupRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
DescribeDomainRuleGroupRequest::~DescribeDomainRuleGroupRequest() {}
std::string DescribeDomainRuleGroupRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeDomainRuleGroupRequest::getSourceIp()const
{
return sourceIp_;
void DescribeDomainRuleGroupRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeDomainRuleGroupRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeDomainRuleGroupRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeDomainRuleGroupRequest::getDomain()const
{
return domain_;
void DescribeDomainRuleGroupRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeDomainRuleGroupRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string DescribeDomainRuleGroupRequest::getDomain() const {
return domain_;
}
std::string DescribeDomainRuleGroupRequest::getLang()const
{
return lang_;
void DescribeDomainRuleGroupRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void DescribeDomainRuleGroupRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeDomainRuleGroupRequest::getLang() const {
return lang_;
}
void DescribeDomainRuleGroupRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -41,6 +41,8 @@ void DescribeDomainRuleGroupResult::parse(const std::string &payload)
setRequestId(value["RequestId"].asString());
if(!value["RuleGroupId"].isNull())
ruleGroupId_ = std::stol(value["RuleGroupId"].asString());
if(!value["WafAiStatus"].isNull())
wafAiStatus_ = std::stoi(value["WafAiStatus"].asString());
}
@@ -49,3 +51,8 @@ long DescribeDomainRuleGroupResult::getRuleGroupId()const
return ruleGroupId_;
}
int DescribeDomainRuleGroupResult::getWafAiStatus()const
{
return wafAiStatus_;
}

View File

@@ -1,84 +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.
*/
#include <alibabacloud/waf-openapi/model/DescribeInstanceInfoRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeInstanceInfoRequest;
DescribeInstanceInfoRequest::DescribeInstanceInfoRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeInstanceInfo")
{
setMethod(HttpRequest::Method::Post);
}
DescribeInstanceInfoRequest::~DescribeInstanceInfoRequest()
{}
std::string DescribeInstanceInfoRequest::getResourceGroupId()const
{
return resourceGroupId_;
*/
#include <alibabacloud/waf-openapi/model/DescribeInstanceInfoRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeInstanceInfoRequest;
DescribeInstanceInfoRequest::DescribeInstanceInfoRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeInstanceInfo") {
setMethod(HttpRequest::Method::Post);
}
void DescribeInstanceInfoRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
DescribeInstanceInfoRequest::~DescribeInstanceInfoRequest() {}
std::string DescribeInstanceInfoRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeInstanceInfoRequest::getInstanceId()const
{
return instanceId_;
void DescribeInstanceInfoRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeInstanceInfoRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeInstanceInfoRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeInstanceInfoRequest::getSourceIp()const
{
return sourceIp_;
void DescribeInstanceInfoRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeInstanceInfoRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeInstanceInfoRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeInstanceInfoRequest::getInstanceSource()const
{
return instanceSource_;
void DescribeInstanceInfoRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeInstanceInfoRequest::setInstanceSource(const std::string& instanceSource)
{
instanceSource_ = instanceSource;
setParameter("InstanceSource", instanceSource);
std::string DescribeInstanceInfoRequest::getInstanceSource() const {
return instanceSource_;
}
std::string DescribeInstanceInfoRequest::getLang()const
{
return lang_;
void DescribeInstanceInfoRequest::setInstanceSource(const std::string &instanceSource) {
instanceSource_ = instanceSource;
setParameter(std::string("InstanceSource"), instanceSource);
}
void DescribeInstanceInfoRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeInstanceInfoRequest::getLang() const {
return lang_;
}
void DescribeInstanceInfoRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -40,26 +40,26 @@ void DescribeInstanceInfoResult::parse(const std::string &payload)
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto instanceInfoNode = value["InstanceInfo"];
if(!instanceInfoNode["InDebt"].isNull())
instanceInfo_.inDebt = std::stoi(instanceInfoNode["InDebt"].asString());
if(!instanceInfoNode["InstanceId"].isNull())
instanceInfo_.instanceId = instanceInfoNode["InstanceId"].asString();
if(!instanceInfoNode["PayType"].isNull())
instanceInfo_.payType = std::stoi(instanceInfoNode["PayType"].asString());
if(!instanceInfoNode["Status"].isNull())
instanceInfo_.status = std::stoi(instanceInfoNode["Status"].asString());
if(!instanceInfoNode["EndDate"].isNull())
instanceInfo_.endDate = std::stol(instanceInfoNode["EndDate"].asString());
if(!instanceInfoNode["Version"].isNull())
instanceInfo_.version = instanceInfoNode["Version"].asString();
if(!instanceInfoNode["RemainDay"].isNull())
instanceInfo_.remainDay = std::stoi(instanceInfoNode["RemainDay"].asString());
if(!instanceInfoNode["Region"].isNull())
instanceInfo_.region = instanceInfoNode["Region"].asString();
if(!instanceInfoNode["Trial"].isNull())
instanceInfo_.trial = std::stoi(instanceInfoNode["Trial"].asString());
if(!instanceInfoNode["Status"].isNull())
instanceInfo_.status = std::stoi(instanceInfoNode["Status"].asString());
if(!instanceInfoNode["PayType"].isNull())
instanceInfo_.payType = std::stoi(instanceInfoNode["PayType"].asString());
if(!instanceInfoNode["InDebt"].isNull())
instanceInfo_.inDebt = std::stoi(instanceInfoNode["InDebt"].asString());
if(!instanceInfoNode["InstanceId"].isNull())
instanceInfo_.instanceId = instanceInfoNode["InstanceId"].asString();
if(!instanceInfoNode["SubscriptionType"].isNull())
instanceInfo_.subscriptionType = instanceInfoNode["SubscriptionType"].asString();
if(!instanceInfoNode["Version"].isNull())
instanceInfo_.version = instanceInfoNode["Version"].asString();
if(!instanceInfoNode["Trial"].isNull())
instanceInfo_.trial = std::stoi(instanceInfoNode["Trial"].asString());
}

View File

@@ -1,73 +1,63 @@
/*
* 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/DescribeInstanceSpecInfoRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeInstanceSpecInfoRequest;
DescribeInstanceSpecInfoRequest::DescribeInstanceSpecInfoRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeInstanceSpecInfo")
{
setMethod(HttpRequest::Method::Post);
}
DescribeInstanceSpecInfoRequest::~DescribeInstanceSpecInfoRequest()
{}
std::string DescribeInstanceSpecInfoRequest::getResourceGroupId()const
{
return resourceGroupId_;
*/
#include <alibabacloud/waf-openapi/model/DescribeInstanceSpecInfoRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeInstanceSpecInfoRequest;
DescribeInstanceSpecInfoRequest::DescribeInstanceSpecInfoRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeInstanceSpecInfo") {
setMethod(HttpRequest::Method::Post);
}
void DescribeInstanceSpecInfoRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
DescribeInstanceSpecInfoRequest::~DescribeInstanceSpecInfoRequest() {}
std::string DescribeInstanceSpecInfoRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeInstanceSpecInfoRequest::getInstanceId()const
{
return instanceId_;
void DescribeInstanceSpecInfoRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeInstanceSpecInfoRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeInstanceSpecInfoRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeInstanceSpecInfoRequest::getSourceIp()const
{
return sourceIp_;
void DescribeInstanceSpecInfoRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeInstanceSpecInfoRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeInstanceSpecInfoRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeInstanceSpecInfoRequest::getLang()const
{
return lang_;
void DescribeInstanceSpecInfoRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeInstanceSpecInfoRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeInstanceSpecInfoRequest::getLang() const {
return lang_;
}
void DescribeInstanceSpecInfoRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -43,18 +43,18 @@ void DescribeInstanceSpecInfoResult::parse(const std::string &payload)
for (auto valueInstanceSpecInfosInstanceSpecInfo : allInstanceSpecInfosNode)
{
InstanceSpecInfo instanceSpecInfosObject;
if(!valueInstanceSpecInfosInstanceSpecInfo["Value"].isNull())
instanceSpecInfosObject.value = valueInstanceSpecInfosInstanceSpecInfo["Value"].asString();
if(!valueInstanceSpecInfosInstanceSpecInfo["Code"].isNull())
instanceSpecInfosObject.code = valueInstanceSpecInfosInstanceSpecInfo["Code"].asString();
if(!valueInstanceSpecInfosInstanceSpecInfo["Value"].isNull())
instanceSpecInfosObject.value = valueInstanceSpecInfosInstanceSpecInfo["Value"].asString();
instanceSpecInfos_.push_back(instanceSpecInfosObject);
}
if(!value["InstanceId"].isNull())
instanceId_ = value["InstanceId"].asString();
if(!value["Version"].isNull())
version_ = value["Version"].asString();
if(!value["ExpireTime"].isNull())
expireTime_ = std::stol(value["ExpireTime"].asString());
if(!value["Version"].isNull())
version_ = value["Version"].asString();
}

View File

@@ -1,108 +1,89 @@
/*
* 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/DescribeLogServiceStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeLogServiceStatusRequest;
DescribeLogServiceStatusRequest::DescribeLogServiceStatusRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeLogServiceStatus")
{
setMethod(HttpRequest::Method::Post);
}
DescribeLogServiceStatusRequest::~DescribeLogServiceStatusRequest()
{}
std::vector<std::string> DescribeLogServiceStatusRequest::getDomainNames()const
{
return domainNames_;
*/
#include <alibabacloud/waf-openapi/model/DescribeLogServiceStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeLogServiceStatusRequest;
DescribeLogServiceStatusRequest::DescribeLogServiceStatusRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeLogServiceStatus") {
setMethod(HttpRequest::Method::Post);
}
void DescribeLogServiceStatusRequest::setDomainNames(const std::vector<std::string>& domainNames)
{
domainNames_ = domainNames;
for(int dep1 = 0; dep1!= domainNames.size(); dep1++) {
setParameter("DomainNames."+ std::to_string(dep1), domainNames.at(dep1));
}
DescribeLogServiceStatusRequest::~DescribeLogServiceStatusRequest() {}
std::vector<std::string> DescribeLogServiceStatusRequest::getDomainNames() const {
return domainNames_;
}
int DescribeLogServiceStatusRequest::getPageNumber()const
{
return pageNumber_;
void DescribeLogServiceStatusRequest::setDomainNames(const std::vector<std::string> &domainNames) {
domainNames_ = domainNames;
}
void DescribeLogServiceStatusRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
int DescribeLogServiceStatusRequest::getPageNumber() const {
return pageNumber_;
}
std::string DescribeLogServiceStatusRequest::getResourceGroupId()const
{
return resourceGroupId_;
void DescribeLogServiceStatusRequest::setPageNumber(int pageNumber) {
pageNumber_ = pageNumber;
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
}
void DescribeLogServiceStatusRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
std::string DescribeLogServiceStatusRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeLogServiceStatusRequest::getSourceIp()const
{
return sourceIp_;
void DescribeLogServiceStatusRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeLogServiceStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeLogServiceStatusRequest::getSourceIp() const {
return sourceIp_;
}
int DescribeLogServiceStatusRequest::getPageSize()const
{
return pageSize_;
void DescribeLogServiceStatusRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeLogServiceStatusRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
int DescribeLogServiceStatusRequest::getPageSize() const {
return pageSize_;
}
std::string DescribeLogServiceStatusRequest::getInstanceId()const
{
return instanceId_;
void DescribeLogServiceStatusRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
void DescribeLogServiceStatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeLogServiceStatusRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeLogServiceStatusRequest::getRegion()const
{
return region_;
void DescribeLogServiceStatusRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeLogServiceStatusRequest::setRegion(const std::string& region)
{
region_ = region;
setParameter("Region", region);
std::string DescribeLogServiceStatusRequest::getRegion() const {
return region_;
}
void DescribeLogServiceStatusRequest::setRegion(const std::string &region) {
region_ = region;
setParameter(std::string("Region"), region);
}

View File

@@ -43,10 +43,10 @@ void DescribeLogServiceStatusResult::parse(const std::string &payload)
for (auto valueDomainStatusstatus : allDomainStatusNode)
{
Status domainStatusObject;
if(!valueDomainStatusstatus["SlsLogActive"].isNull())
domainStatusObject.slsLogActive = std::stoi(valueDomainStatusstatus["SlsLogActive"].asString());
if(!valueDomainStatusstatus["Domain"].isNull())
domainStatusObject.domain = valueDomainStatusstatus["Domain"].asString();
if(!valueDomainStatusstatus["SlsLogActive"].isNull())
domainStatusObject.slsLogActive = std::stoi(valueDomainStatusstatus["SlsLogActive"].asString());
domainStatus_.push_back(domainStatusObject);
}
if(!value["TotalCount"].isNull())

View File

@@ -1,95 +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.
*/
#include <alibabacloud/waf-openapi/model/DescribeProtectionModuleCodeConfigRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeProtectionModuleCodeConfigRequest;
DescribeProtectionModuleCodeConfigRequest::DescribeProtectionModuleCodeConfigRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeProtectionModuleCodeConfig")
{
setMethod(HttpRequest::Method::Post);
}
DescribeProtectionModuleCodeConfigRequest::~DescribeProtectionModuleCodeConfigRequest()
{}
std::string DescribeProtectionModuleCodeConfigRequest::getResourceGroupId()const
{
return resourceGroupId_;
*/
#include <alibabacloud/waf-openapi/model/DescribeProtectionModuleCodeConfigRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeProtectionModuleCodeConfigRequest;
DescribeProtectionModuleCodeConfigRequest::DescribeProtectionModuleCodeConfigRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeProtectionModuleCodeConfig") {
setMethod(HttpRequest::Method::Post);
}
void DescribeProtectionModuleCodeConfigRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
DescribeProtectionModuleCodeConfigRequest::~DescribeProtectionModuleCodeConfigRequest() {}
std::string DescribeProtectionModuleCodeConfigRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeProtectionModuleCodeConfigRequest::getSourceIp()const
{
return sourceIp_;
void DescribeProtectionModuleCodeConfigRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeProtectionModuleCodeConfigRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeProtectionModuleCodeConfigRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeProtectionModuleCodeConfigRequest::getLang()const
{
return lang_;
void DescribeProtectionModuleCodeConfigRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeProtectionModuleCodeConfigRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeProtectionModuleCodeConfigRequest::getLang() const {
return lang_;
}
int DescribeProtectionModuleCodeConfigRequest::getCodeValue()const
{
return codeValue_;
void DescribeProtectionModuleCodeConfigRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void DescribeProtectionModuleCodeConfigRequest::setCodeValue(int codeValue)
{
codeValue_ = codeValue;
setParameter("CodeValue", std::to_string(codeValue));
int DescribeProtectionModuleCodeConfigRequest::getCodeValue() const {
return codeValue_;
}
std::string DescribeProtectionModuleCodeConfigRequest::getInstanceId()const
{
return instanceId_;
void DescribeProtectionModuleCodeConfigRequest::setCodeValue(int codeValue) {
codeValue_ = codeValue;
setParameter(std::string("CodeValue"), std::to_string(codeValue));
}
void DescribeProtectionModuleCodeConfigRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeProtectionModuleCodeConfigRequest::getInstanceId() const {
return instanceId_;
}
int DescribeProtectionModuleCodeConfigRequest::getCodeType()const
{
return codeType_;
void DescribeProtectionModuleCodeConfigRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeProtectionModuleCodeConfigRequest::setCodeType(int codeType)
{
codeType_ = codeType;
setParameter("CodeType", std::to_string(codeType));
int DescribeProtectionModuleCodeConfigRequest::getCodeType() const {
return codeType_;
}
void DescribeProtectionModuleCodeConfigRequest::setCodeType(int codeType) {
codeType_ = codeType;
setParameter(std::string("CodeType"), std::to_string(codeType));
}

View File

@@ -1,128 +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/DescribeProtectionModuleRulesRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeProtectionModuleRulesRequest;
DescribeProtectionModuleRulesRequest::DescribeProtectionModuleRulesRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeProtectionModuleRules")
{
setMethod(HttpRequest::Method::Post);
}
DescribeProtectionModuleRulesRequest::~DescribeProtectionModuleRulesRequest()
{}
int DescribeProtectionModuleRulesRequest::getPageNumber()const
{
return pageNumber_;
*/
#include <alibabacloud/waf-openapi/model/DescribeProtectionModuleRulesRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeProtectionModuleRulesRequest;
DescribeProtectionModuleRulesRequest::DescribeProtectionModuleRulesRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeProtectionModuleRules") {
setMethod(HttpRequest::Method::Post);
}
void DescribeProtectionModuleRulesRequest::setPageNumber(int pageNumber)
{
pageNumber_ = pageNumber;
setParameter("PageNumber", std::to_string(pageNumber));
DescribeProtectionModuleRulesRequest::~DescribeProtectionModuleRulesRequest() {}
int DescribeProtectionModuleRulesRequest::getPageNumber() const {
return pageNumber_;
}
std::string DescribeProtectionModuleRulesRequest::getResourceGroupId()const
{
return resourceGroupId_;
void DescribeProtectionModuleRulesRequest::setPageNumber(int pageNumber) {
pageNumber_ = pageNumber;
setParameter(std::string("PageNumber"), std::to_string(pageNumber));
}
void DescribeProtectionModuleRulesRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
std::string DescribeProtectionModuleRulesRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeProtectionModuleRulesRequest::getSourceIp()const
{
return sourceIp_;
void DescribeProtectionModuleRulesRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeProtectionModuleRulesRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeProtectionModuleRulesRequest::getSourceIp() const {
return sourceIp_;
}
int DescribeProtectionModuleRulesRequest::getPageSize()const
{
return pageSize_;
void DescribeProtectionModuleRulesRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeProtectionModuleRulesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setParameter("PageSize", std::to_string(pageSize));
int DescribeProtectionModuleRulesRequest::getPageSize() const {
return pageSize_;
}
std::string DescribeProtectionModuleRulesRequest::getLang()const
{
return lang_;
void DescribeProtectionModuleRulesRequest::setPageSize(int pageSize) {
pageSize_ = pageSize;
setParameter(std::string("PageSize"), std::to_string(pageSize));
}
void DescribeProtectionModuleRulesRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeProtectionModuleRulesRequest::getLang() const {
return lang_;
}
std::string DescribeProtectionModuleRulesRequest::getDefenseType()const
{
return defenseType_;
void DescribeProtectionModuleRulesRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void DescribeProtectionModuleRulesRequest::setDefenseType(const std::string& defenseType)
{
defenseType_ = defenseType;
setParameter("DefenseType", defenseType);
std::string DescribeProtectionModuleRulesRequest::getDefenseType() const {
return defenseType_;
}
std::string DescribeProtectionModuleRulesRequest::getQuery()const
{
return query_;
void DescribeProtectionModuleRulesRequest::setDefenseType(const std::string &defenseType) {
defenseType_ = defenseType;
setParameter(std::string("DefenseType"), defenseType);
}
void DescribeProtectionModuleRulesRequest::setQuery(const std::string& query)
{
query_ = query;
setParameter("Query", query);
std::string DescribeProtectionModuleRulesRequest::getQuery() const {
return query_;
}
std::string DescribeProtectionModuleRulesRequest::getInstanceId()const
{
return instanceId_;
void DescribeProtectionModuleRulesRequest::setQuery(const std::string &query) {
query_ = query;
setParameter(std::string("Query"), query);
}
void DescribeProtectionModuleRulesRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeProtectionModuleRulesRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeProtectionModuleRulesRequest::getDomain()const
{
return domain_;
void DescribeProtectionModuleRulesRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeProtectionModuleRulesRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string DescribeProtectionModuleRulesRequest::getDomain() const {
return domain_;
}
void DescribeProtectionModuleRulesRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}

View File

@@ -43,16 +43,16 @@ void DescribeProtectionModuleRulesResult::parse(const std::string &payload)
for (auto valueRulesRule : allRulesNode)
{
Rule rulesObject;
if(!valueRulesRule["RuleId"].isNull())
rulesObject.ruleId = std::stol(valueRulesRule["RuleId"].asString());
if(!valueRulesRule["Version"].isNull())
rulesObject.version = std::stol(valueRulesRule["Version"].asString());
if(!valueRulesRule["Content"].isNull())
rulesObject.content = valueRulesRule["Content"].asString();
if(!valueRulesRule["Time"].isNull())
rulesObject.time = std::stol(valueRulesRule["Time"].asString());
if(!valueRulesRule["Status"].isNull())
rulesObject.status = std::stol(valueRulesRule["Status"].asString());
if(!valueRulesRule["Time"].isNull())
rulesObject.time = std::stol(valueRulesRule["Time"].asString());
if(!valueRulesRule["Content"].isNull())
rulesObject.content = valueRulesRule["Content"].asString();
if(!valueRulesRule["Version"].isNull())
rulesObject.version = std::stol(valueRulesRule["Version"].asString());
if(!valueRulesRule["RuleId"].isNull())
rulesObject.ruleId = std::stol(valueRulesRule["RuleId"].asString());
rules_.push_back(rulesObject);
}
if(!value["TotalCount"].isNull())

View File

@@ -1,84 +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.
*/
#include <alibabacloud/waf-openapi/model/DescribeProtectionModuleStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeProtectionModuleStatusRequest;
DescribeProtectionModuleStatusRequest::DescribeProtectionModuleStatusRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeProtectionModuleStatus")
{
setMethod(HttpRequest::Method::Post);
}
DescribeProtectionModuleStatusRequest::~DescribeProtectionModuleStatusRequest()
{}
std::string DescribeProtectionModuleStatusRequest::getDefenseType()const
{
return defenseType_;
*/
#include <alibabacloud/waf-openapi/model/DescribeProtectionModuleStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeProtectionModuleStatusRequest;
DescribeProtectionModuleStatusRequest::DescribeProtectionModuleStatusRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeProtectionModuleStatus") {
setMethod(HttpRequest::Method::Post);
}
void DescribeProtectionModuleStatusRequest::setDefenseType(const std::string& defenseType)
{
defenseType_ = defenseType;
setParameter("DefenseType", defenseType);
DescribeProtectionModuleStatusRequest::~DescribeProtectionModuleStatusRequest() {}
std::string DescribeProtectionModuleStatusRequest::getDefenseType() const {
return defenseType_;
}
std::string DescribeProtectionModuleStatusRequest::getInstanceId()const
{
return instanceId_;
void DescribeProtectionModuleStatusRequest::setDefenseType(const std::string &defenseType) {
defenseType_ = defenseType;
setParameter(std::string("DefenseType"), defenseType);
}
void DescribeProtectionModuleStatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeProtectionModuleStatusRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeProtectionModuleStatusRequest::getSourceIp()const
{
return sourceIp_;
void DescribeProtectionModuleStatusRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeProtectionModuleStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeProtectionModuleStatusRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeProtectionModuleStatusRequest::getDomain()const
{
return domain_;
void DescribeProtectionModuleStatusRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeProtectionModuleStatusRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string DescribeProtectionModuleStatusRequest::getDomain() const {
return domain_;
}
std::string DescribeProtectionModuleStatusRequest::getLang()const
{
return lang_;
void DescribeProtectionModuleStatusRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void DescribeProtectionModuleStatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeProtectionModuleStatusRequest::getLang() const {
return lang_;
}
void DescribeProtectionModuleStatusRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,73 +1,63 @@
/*
* 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/DescribeWafSourceIpSegmentRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeWafSourceIpSegmentRequest;
DescribeWafSourceIpSegmentRequest::DescribeWafSourceIpSegmentRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeWafSourceIpSegment")
{
setMethod(HttpRequest::Method::Post);
}
DescribeWafSourceIpSegmentRequest::~DescribeWafSourceIpSegmentRequest()
{}
std::string DescribeWafSourceIpSegmentRequest::getResourceGroupId()const
{
return resourceGroupId_;
*/
#include <alibabacloud/waf-openapi/model/DescribeWafSourceIpSegmentRequest.h>
using AlibabaCloud::Waf_openapi::Model::DescribeWafSourceIpSegmentRequest;
DescribeWafSourceIpSegmentRequest::DescribeWafSourceIpSegmentRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "DescribeWafSourceIpSegment") {
setMethod(HttpRequest::Method::Post);
}
void DescribeWafSourceIpSegmentRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
DescribeWafSourceIpSegmentRequest::~DescribeWafSourceIpSegmentRequest() {}
std::string DescribeWafSourceIpSegmentRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string DescribeWafSourceIpSegmentRequest::getInstanceId()const
{
return instanceId_;
void DescribeWafSourceIpSegmentRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void DescribeWafSourceIpSegmentRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string DescribeWafSourceIpSegmentRequest::getInstanceId() const {
return instanceId_;
}
std::string DescribeWafSourceIpSegmentRequest::getSourceIp()const
{
return sourceIp_;
void DescribeWafSourceIpSegmentRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void DescribeWafSourceIpSegmentRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string DescribeWafSourceIpSegmentRequest::getSourceIp() const {
return sourceIp_;
}
std::string DescribeWafSourceIpSegmentRequest::getLang()const
{
return lang_;
void DescribeWafSourceIpSegmentRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void DescribeWafSourceIpSegmentRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string DescribeWafSourceIpSegmentRequest::getLang() const {
return lang_;
}
void DescribeWafSourceIpSegmentRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,95 +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.
*/
#include <alibabacloud/waf-openapi/model/ModifyDomainIpv6StatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyDomainIpv6StatusRequest;
ModifyDomainIpv6StatusRequest::ModifyDomainIpv6StatusRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyDomainIpv6Status")
{
setMethod(HttpRequest::Method::Post);
}
ModifyDomainIpv6StatusRequest::~ModifyDomainIpv6StatusRequest()
{}
std::string ModifyDomainIpv6StatusRequest::getWafVersion()const
{
return wafVersion_;
*/
#include <alibabacloud/waf-openapi/model/ModifyDomainIpv6StatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyDomainIpv6StatusRequest;
ModifyDomainIpv6StatusRequest::ModifyDomainIpv6StatusRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyDomainIpv6Status") {
setMethod(HttpRequest::Method::Post);
}
void ModifyDomainIpv6StatusRequest::setWafVersion(const std::string& wafVersion)
{
wafVersion_ = wafVersion;
setParameter("WafVersion", wafVersion);
ModifyDomainIpv6StatusRequest::~ModifyDomainIpv6StatusRequest() {}
std::string ModifyDomainIpv6StatusRequest::getWafVersion() const {
return wafVersion_;
}
std::string ModifyDomainIpv6StatusRequest::getEnabled()const
{
return enabled_;
void ModifyDomainIpv6StatusRequest::setWafVersion(const std::string &wafVersion) {
wafVersion_ = wafVersion;
setParameter(std::string("WafVersion"), wafVersion);
}
void ModifyDomainIpv6StatusRequest::setEnabled(const std::string& enabled)
{
enabled_ = enabled;
setParameter("Enabled", enabled);
std::string ModifyDomainIpv6StatusRequest::getEnabled() const {
return enabled_;
}
std::string ModifyDomainIpv6StatusRequest::getInstanceId()const
{
return instanceId_;
void ModifyDomainIpv6StatusRequest::setEnabled(const std::string &enabled) {
enabled_ = enabled;
setParameter(std::string("Enabled"), enabled);
}
void ModifyDomainIpv6StatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string ModifyDomainIpv6StatusRequest::getInstanceId() const {
return instanceId_;
}
std::string ModifyDomainIpv6StatusRequest::getSourceIp()const
{
return sourceIp_;
void ModifyDomainIpv6StatusRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void ModifyDomainIpv6StatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string ModifyDomainIpv6StatusRequest::getSourceIp() const {
return sourceIp_;
}
std::string ModifyDomainIpv6StatusRequest::getDomain()const
{
return domain_;
void ModifyDomainIpv6StatusRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void ModifyDomainIpv6StatusRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string ModifyDomainIpv6StatusRequest::getDomain() const {
return domain_;
}
std::string ModifyDomainIpv6StatusRequest::getLang()const
{
return lang_;
void ModifyDomainIpv6StatusRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void ModifyDomainIpv6StatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string ModifyDomainIpv6StatusRequest::getLang() const {
return lang_;
}
void ModifyDomainIpv6StatusRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,315 +1,261 @@
/*
* 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/ModifyDomainRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyDomainRequest;
ModifyDomainRequest::ModifyDomainRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyDomain")
{
setMethod(HttpRequest::Method::Post);
}
ModifyDomainRequest::~ModifyDomainRequest()
{}
int ModifyDomainRequest::getIpFollowStatus()const
{
return ipFollowStatus_;
*/
#include <alibabacloud/waf-openapi/model/ModifyDomainRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyDomainRequest;
ModifyDomainRequest::ModifyDomainRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyDomain") {
setMethod(HttpRequest::Method::Post);
}
void ModifyDomainRequest::setIpFollowStatus(int ipFollowStatus)
{
ipFollowStatus_ = ipFollowStatus;
setParameter("IpFollowStatus", std::to_string(ipFollowStatus));
ModifyDomainRequest::~ModifyDomainRequest() {}
int ModifyDomainRequest::getIpFollowStatus() const {
return ipFollowStatus_;
}
std::string ModifyDomainRequest::getSniHost()const
{
return sniHost_;
void ModifyDomainRequest::setIpFollowStatus(int ipFollowStatus) {
ipFollowStatus_ = ipFollowStatus;
setParameter(std::string("IpFollowStatus"), std::to_string(ipFollowStatus));
}
void ModifyDomainRequest::setSniHost(const std::string& sniHost)
{
sniHost_ = sniHost;
setParameter("SniHost", sniHost);
std::string ModifyDomainRequest::getSniHost() const {
return sniHost_;
}
int ModifyDomainRequest::getHybridCloudType()const
{
return hybridCloudType_;
void ModifyDomainRequest::setSniHost(const std::string &sniHost) {
sniHost_ = sniHost;
setParameter(std::string("SniHost"), sniHost);
}
void ModifyDomainRequest::setHybridCloudType(int hybridCloudType)
{
hybridCloudType_ = hybridCloudType;
setParameter("HybridCloudType", std::to_string(hybridCloudType));
int ModifyDomainRequest::getHybridCloudType() const {
return hybridCloudType_;
}
std::string ModifyDomainRequest::getSourceIp()const
{
return sourceIp_;
void ModifyDomainRequest::setHybridCloudType(int hybridCloudType) {
hybridCloudType_ = hybridCloudType;
setParameter(std::string("HybridCloudType"), std::to_string(hybridCloudType));
}
void ModifyDomainRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string ModifyDomainRequest::getSourceIp() const {
return sourceIp_;
}
std::string ModifyDomainRequest::getHttpPort()const
{
return httpPort_;
void ModifyDomainRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void ModifyDomainRequest::setHttpPort(const std::string& httpPort)
{
httpPort_ = httpPort;
setParameter("HttpPort", httpPort);
std::string ModifyDomainRequest::getHttpPort() const {
return httpPort_;
}
std::string ModifyDomainRequest::getHttp2Port()const
{
return http2Port_;
void ModifyDomainRequest::setHttpPort(const std::string &httpPort) {
httpPort_ = httpPort;
setParameter(std::string("HttpPort"), httpPort);
}
void ModifyDomainRequest::setHttp2Port(const std::string& http2Port)
{
http2Port_ = http2Port;
setParameter("Http2Port", http2Port);
std::string ModifyDomainRequest::getHttp2Port() const {
return http2Port_;
}
int ModifyDomainRequest::getWriteTime()const
{
return writeTime_;
void ModifyDomainRequest::setHttp2Port(const std::string &http2Port) {
http2Port_ = http2Port;
setParameter(std::string("Http2Port"), http2Port);
}
void ModifyDomainRequest::setWriteTime(int writeTime)
{
writeTime_ = writeTime;
setParameter("WriteTime", std::to_string(writeTime));
int ModifyDomainRequest::getWriteTime() const {
return writeTime_;
}
int ModifyDomainRequest::getSniStatus()const
{
return sniStatus_;
void ModifyDomainRequest::setWriteTime(int writeTime) {
writeTime_ = writeTime;
setParameter(std::string("WriteTime"), std::to_string(writeTime));
}
void ModifyDomainRequest::setSniStatus(int sniStatus)
{
sniStatus_ = sniStatus;
setParameter("SniStatus", std::to_string(sniStatus));
int ModifyDomainRequest::getSniStatus() const {
return sniStatus_;
}
std::string ModifyDomainRequest::getLang()const
{
return lang_;
void ModifyDomainRequest::setSniStatus(int sniStatus) {
sniStatus_ = sniStatus;
setParameter(std::string("SniStatus"), std::to_string(sniStatus));
}
void ModifyDomainRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string ModifyDomainRequest::getLang() const {
return lang_;
}
int ModifyDomainRequest::getAccessHeaderMode()const
{
return accessHeaderMode_;
void ModifyDomainRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void ModifyDomainRequest::setAccessHeaderMode(int accessHeaderMode)
{
accessHeaderMode_ = accessHeaderMode;
setParameter("AccessHeaderMode", std::to_string(accessHeaderMode));
int ModifyDomainRequest::getAccessHeaderMode() const {
return accessHeaderMode_;
}
std::string ModifyDomainRequest::getAccessType()const
{
return accessType_;
void ModifyDomainRequest::setAccessHeaderMode(int accessHeaderMode) {
accessHeaderMode_ = accessHeaderMode;
setParameter(std::string("AccessHeaderMode"), std::to_string(accessHeaderMode));
}
void ModifyDomainRequest::setAccessType(const std::string& accessType)
{
accessType_ = accessType;
setParameter("AccessType", accessType);
std::string ModifyDomainRequest::getAccessType() const {
return accessType_;
}
int ModifyDomainRequest::getBindingIpv6()const
{
return bindingIpv6_;
void ModifyDomainRequest::setAccessType(const std::string &accessType) {
accessType_ = accessType;
setParameter(std::string("AccessType"), accessType);
}
void ModifyDomainRequest::setBindingIpv6(int bindingIpv6)
{
bindingIpv6_ = bindingIpv6;
setParameter("BindingIpv6", std::to_string(bindingIpv6));
int ModifyDomainRequest::getBindingIpv6() const {
return bindingIpv6_;
}
std::string ModifyDomainRequest::getLogHeaders()const
{
return logHeaders_;
void ModifyDomainRequest::setBindingIpv6(int bindingIpv6) {
bindingIpv6_ = bindingIpv6;
setParameter(std::string("BindingIpv6"), std::to_string(bindingIpv6));
}
void ModifyDomainRequest::setLogHeaders(const std::string& logHeaders)
{
logHeaders_ = logHeaders;
setParameter("LogHeaders", logHeaders);
std::string ModifyDomainRequest::getLogHeaders() const {
return logHeaders_;
}
std::string ModifyDomainRequest::getAccessHeaders()const
{
return accessHeaders_;
void ModifyDomainRequest::setLogHeaders(const std::string &logHeaders) {
logHeaders_ = logHeaders;
setParameter(std::string("LogHeaders"), logHeaders);
}
void ModifyDomainRequest::setAccessHeaders(const std::string& accessHeaders)
{
accessHeaders_ = accessHeaders;
setParameter("AccessHeaders", accessHeaders);
std::string ModifyDomainRequest::getAccessHeaders() const {
return accessHeaders_;
}
int ModifyDomainRequest::getConnectionTime()const
{
return connectionTime_;
void ModifyDomainRequest::setAccessHeaders(const std::string &accessHeaders) {
accessHeaders_ = accessHeaders;
setParameter(std::string("AccessHeaders"), accessHeaders);
}
void ModifyDomainRequest::setConnectionTime(int connectionTime)
{
connectionTime_ = connectionTime;
setParameter("ConnectionTime", std::to_string(connectionTime));
int ModifyDomainRequest::getConnectionTime() const {
return connectionTime_;
}
int ModifyDomainRequest::getClusterType()const
{
return clusterType_;
void ModifyDomainRequest::setConnectionTime(int connectionTime) {
connectionTime_ = connectionTime;
setParameter(std::string("ConnectionTime"), std::to_string(connectionTime));
}
void ModifyDomainRequest::setClusterType(int clusterType)
{
clusterType_ = clusterType;
setParameter("ClusterType", std::to_string(clusterType));
int ModifyDomainRequest::getClusterType() const {
return clusterType_;
}
std::string ModifyDomainRequest::getCloudNativeInstances()const
{
return cloudNativeInstances_;
void ModifyDomainRequest::setClusterType(int clusterType) {
clusterType_ = clusterType;
setParameter(std::string("ClusterType"), std::to_string(clusterType));
}
void ModifyDomainRequest::setCloudNativeInstances(const std::string& cloudNativeInstances)
{
cloudNativeInstances_ = cloudNativeInstances;
setParameter("CloudNativeInstances", cloudNativeInstances);
std::string ModifyDomainRequest::getCloudNativeInstances() const {
return cloudNativeInstances_;
}
int ModifyDomainRequest::getHttpsRedirect()const
{
return httpsRedirect_;
void ModifyDomainRequest::setCloudNativeInstances(const std::string &cloudNativeInstances) {
cloudNativeInstances_ = cloudNativeInstances;
setParameter(std::string("CloudNativeInstances"), cloudNativeInstances);
}
void ModifyDomainRequest::setHttpsRedirect(int httpsRedirect)
{
httpsRedirect_ = httpsRedirect;
setParameter("HttpsRedirect", std::to_string(httpsRedirect));
int ModifyDomainRequest::getHttpsRedirect() const {
return httpsRedirect_;
}
std::string ModifyDomainRequest::getInstanceId()const
{
return instanceId_;
void ModifyDomainRequest::setHttpsRedirect(int httpsRedirect) {
httpsRedirect_ = httpsRedirect;
setParameter(std::string("HttpsRedirect"), std::to_string(httpsRedirect));
}
void ModifyDomainRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string ModifyDomainRequest::getInstanceId() const {
return instanceId_;
}
std::string ModifyDomainRequest::getSourceIps()const
{
return sourceIps_;
void ModifyDomainRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void ModifyDomainRequest::setSourceIps(const std::string& sourceIps)
{
sourceIps_ = sourceIps;
setParameter("SourceIps", sourceIps);
std::string ModifyDomainRequest::getSourceIps() const {
return sourceIps_;
}
std::string ModifyDomainRequest::getDomain()const
{
return domain_;
void ModifyDomainRequest::setSourceIps(const std::string &sourceIps) {
sourceIps_ = sourceIps;
setParameter(std::string("SourceIps"), sourceIps);
}
void ModifyDomainRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string ModifyDomainRequest::getDomain() const {
return domain_;
}
int ModifyDomainRequest::getIsAccessProduct()const
{
return isAccessProduct_;
void ModifyDomainRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void ModifyDomainRequest::setIsAccessProduct(int isAccessProduct)
{
isAccessProduct_ = isAccessProduct;
setParameter("IsAccessProduct", std::to_string(isAccessProduct));
int ModifyDomainRequest::getIsAccessProduct() const {
return isAccessProduct_;
}
int ModifyDomainRequest::getReadTime()const
{
return readTime_;
void ModifyDomainRequest::setIsAccessProduct(int isAccessProduct) {
isAccessProduct_ = isAccessProduct;
setParameter(std::string("IsAccessProduct"), std::to_string(isAccessProduct));
}
void ModifyDomainRequest::setReadTime(int readTime)
{
readTime_ = readTime;
setParameter("ReadTime", std::to_string(readTime));
int ModifyDomainRequest::getReadTime() const {
return readTime_;
}
std::string ModifyDomainRequest::getHttpsPort()const
{
return httpsPort_;
void ModifyDomainRequest::setReadTime(int readTime) {
readTime_ = readTime;
setParameter(std::string("ReadTime"), std::to_string(readTime));
}
void ModifyDomainRequest::setHttpsPort(const std::string& httpsPort)
{
httpsPort_ = httpsPort;
setParameter("HttpsPort", httpsPort);
std::string ModifyDomainRequest::getHttpsPort() const {
return httpsPort_;
}
int ModifyDomainRequest::getLoadBalancing()const
{
return loadBalancing_;
void ModifyDomainRequest::setHttpsPort(const std::string &httpsPort) {
httpsPort_ = httpsPort;
setParameter(std::string("HttpsPort"), httpsPort);
}
void ModifyDomainRequest::setLoadBalancing(int loadBalancing)
{
loadBalancing_ = loadBalancing;
setParameter("LoadBalancing", std::to_string(loadBalancing));
int ModifyDomainRequest::getLoadBalancing() const {
return loadBalancing_;
}
int ModifyDomainRequest::getHttpToUserIp()const
{
return httpToUserIp_;
void ModifyDomainRequest::setLoadBalancing(int loadBalancing) {
loadBalancing_ = loadBalancing;
setParameter(std::string("LoadBalancing"), std::to_string(loadBalancing));
}
void ModifyDomainRequest::setHttpToUserIp(int httpToUserIp)
{
httpToUserIp_ = httpToUserIp;
setParameter("HttpToUserIp", std::to_string(httpToUserIp));
int ModifyDomainRequest::getHttpToUserIp() const {
return httpToUserIp_;
}
void ModifyDomainRequest::setHttpToUserIp(int httpToUserIp) {
httpToUserIp_ = httpToUserIp;
setParameter(std::string("HttpToUserIp"), std::to_string(httpToUserIp));
}

View File

@@ -1,84 +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.
*/
#include <alibabacloud/waf-openapi/model/ModifyLogRetrievalStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyLogRetrievalStatusRequest;
ModifyLogRetrievalStatusRequest::ModifyLogRetrievalStatusRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyLogRetrievalStatus")
{
setMethod(HttpRequest::Method::Post);
}
ModifyLogRetrievalStatusRequest::~ModifyLogRetrievalStatusRequest()
{}
int ModifyLogRetrievalStatusRequest::getEnabled()const
{
return enabled_;
*/
#include <alibabacloud/waf-openapi/model/ModifyLogRetrievalStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyLogRetrievalStatusRequest;
ModifyLogRetrievalStatusRequest::ModifyLogRetrievalStatusRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyLogRetrievalStatus") {
setMethod(HttpRequest::Method::Post);
}
void ModifyLogRetrievalStatusRequest::setEnabled(int enabled)
{
enabled_ = enabled;
setParameter("Enabled", std::to_string(enabled));
ModifyLogRetrievalStatusRequest::~ModifyLogRetrievalStatusRequest() {}
int ModifyLogRetrievalStatusRequest::getEnabled() const {
return enabled_;
}
std::string ModifyLogRetrievalStatusRequest::getInstanceId()const
{
return instanceId_;
void ModifyLogRetrievalStatusRequest::setEnabled(int enabled) {
enabled_ = enabled;
setParameter(std::string("Enabled"), std::to_string(enabled));
}
void ModifyLogRetrievalStatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string ModifyLogRetrievalStatusRequest::getInstanceId() const {
return instanceId_;
}
std::string ModifyLogRetrievalStatusRequest::getSourceIp()const
{
return sourceIp_;
void ModifyLogRetrievalStatusRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void ModifyLogRetrievalStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string ModifyLogRetrievalStatusRequest::getSourceIp() const {
return sourceIp_;
}
std::string ModifyLogRetrievalStatusRequest::getDomain()const
{
return domain_;
void ModifyLogRetrievalStatusRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void ModifyLogRetrievalStatusRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string ModifyLogRetrievalStatusRequest::getDomain() const {
return domain_;
}
std::string ModifyLogRetrievalStatusRequest::getLang()const
{
return lang_;
void ModifyLogRetrievalStatusRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void ModifyLogRetrievalStatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string ModifyLogRetrievalStatusRequest::getLang() const {
return lang_;
}
void ModifyLogRetrievalStatusRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,84 +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.
*/
#include <alibabacloud/waf-openapi/model/ModifyLogServiceStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyLogServiceStatusRequest;
ModifyLogServiceStatusRequest::ModifyLogServiceStatusRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyLogServiceStatus")
{
setMethod(HttpRequest::Method::Post);
}
ModifyLogServiceStatusRequest::~ModifyLogServiceStatusRequest()
{}
int ModifyLogServiceStatusRequest::getEnabled()const
{
return enabled_;
*/
#include <alibabacloud/waf-openapi/model/ModifyLogServiceStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyLogServiceStatusRequest;
ModifyLogServiceStatusRequest::ModifyLogServiceStatusRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyLogServiceStatus") {
setMethod(HttpRequest::Method::Post);
}
void ModifyLogServiceStatusRequest::setEnabled(int enabled)
{
enabled_ = enabled;
setParameter("Enabled", std::to_string(enabled));
ModifyLogServiceStatusRequest::~ModifyLogServiceStatusRequest() {}
int ModifyLogServiceStatusRequest::getEnabled() const {
return enabled_;
}
std::string ModifyLogServiceStatusRequest::getInstanceId()const
{
return instanceId_;
void ModifyLogServiceStatusRequest::setEnabled(int enabled) {
enabled_ = enabled;
setParameter(std::string("Enabled"), std::to_string(enabled));
}
void ModifyLogServiceStatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string ModifyLogServiceStatusRequest::getInstanceId() const {
return instanceId_;
}
std::string ModifyLogServiceStatusRequest::getSourceIp()const
{
return sourceIp_;
void ModifyLogServiceStatusRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void ModifyLogServiceStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string ModifyLogServiceStatusRequest::getSourceIp() const {
return sourceIp_;
}
std::string ModifyLogServiceStatusRequest::getDomain()const
{
return domain_;
void ModifyLogServiceStatusRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void ModifyLogServiceStatusRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string ModifyLogServiceStatusRequest::getDomain() const {
return domain_;
}
std::string ModifyLogServiceStatusRequest::getLang()const
{
return lang_;
void ModifyLogServiceStatusRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void ModifyLogServiceStatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string ModifyLogServiceStatusRequest::getLang() const {
return lang_;
}
void ModifyLogServiceStatusRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,95 +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.
*/
#include <alibabacloud/waf-openapi/model/ModifyProtectionModuleModeRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionModuleModeRequest;
ModifyProtectionModuleModeRequest::ModifyProtectionModuleModeRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionModuleMode")
{
setMethod(HttpRequest::Method::Post);
}
ModifyProtectionModuleModeRequest::~ModifyProtectionModuleModeRequest()
{}
std::string ModifyProtectionModuleModeRequest::getDefenseType()const
{
return defenseType_;
*/
#include <alibabacloud/waf-openapi/model/ModifyProtectionModuleModeRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionModuleModeRequest;
ModifyProtectionModuleModeRequest::ModifyProtectionModuleModeRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionModuleMode") {
setMethod(HttpRequest::Method::Post);
}
void ModifyProtectionModuleModeRequest::setDefenseType(const std::string& defenseType)
{
defenseType_ = defenseType;
setParameter("DefenseType", defenseType);
ModifyProtectionModuleModeRequest::~ModifyProtectionModuleModeRequest() {}
std::string ModifyProtectionModuleModeRequest::getDefenseType() const {
return defenseType_;
}
int ModifyProtectionModuleModeRequest::getMode()const
{
return mode_;
void ModifyProtectionModuleModeRequest::setDefenseType(const std::string &defenseType) {
defenseType_ = defenseType;
setParameter(std::string("DefenseType"), defenseType);
}
void ModifyProtectionModuleModeRequest::setMode(int mode)
{
mode_ = mode;
setParameter("Mode", std::to_string(mode));
int ModifyProtectionModuleModeRequest::getMode() const {
return mode_;
}
std::string ModifyProtectionModuleModeRequest::getInstanceId()const
{
return instanceId_;
void ModifyProtectionModuleModeRequest::setMode(int mode) {
mode_ = mode;
setParameter(std::string("Mode"), std::to_string(mode));
}
void ModifyProtectionModuleModeRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string ModifyProtectionModuleModeRequest::getInstanceId() const {
return instanceId_;
}
std::string ModifyProtectionModuleModeRequest::getSourceIp()const
{
return sourceIp_;
void ModifyProtectionModuleModeRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void ModifyProtectionModuleModeRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string ModifyProtectionModuleModeRequest::getSourceIp() const {
return sourceIp_;
}
std::string ModifyProtectionModuleModeRequest::getDomain()const
{
return domain_;
void ModifyProtectionModuleModeRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void ModifyProtectionModuleModeRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string ModifyProtectionModuleModeRequest::getDomain() const {
return domain_;
}
std::string ModifyProtectionModuleModeRequest::getLang()const
{
return lang_;
void ModifyProtectionModuleModeRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void ModifyProtectionModuleModeRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string ModifyProtectionModuleModeRequest::getLang() const {
return lang_;
}
void ModifyProtectionModuleModeRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,117 +1,99 @@
/*
* 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/ModifyProtectionModuleRuleRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionModuleRuleRequest;
ModifyProtectionModuleRuleRequest::ModifyProtectionModuleRuleRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionModuleRule")
{
setMethod(HttpRequest::Method::Post);
}
ModifyProtectionModuleRuleRequest::~ModifyProtectionModuleRuleRequest()
{}
std::string ModifyProtectionModuleRuleRequest::getRule()const
{
return rule_;
*/
#include <alibabacloud/waf-openapi/model/ModifyProtectionModuleRuleRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionModuleRuleRequest;
ModifyProtectionModuleRuleRequest::ModifyProtectionModuleRuleRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionModuleRule") {
setMethod(HttpRequest::Method::Post);
}
void ModifyProtectionModuleRuleRequest::setRule(const std::string& rule)
{
rule_ = rule;
setParameter("Rule", rule);
ModifyProtectionModuleRuleRequest::~ModifyProtectionModuleRuleRequest() {}
std::string ModifyProtectionModuleRuleRequest::getRule() const {
return rule_;
}
long ModifyProtectionModuleRuleRequest::getLockVersion()const
{
return lockVersion_;
void ModifyProtectionModuleRuleRequest::setRule(const std::string &rule) {
rule_ = rule;
setParameter(std::string("Rule"), rule);
}
void ModifyProtectionModuleRuleRequest::setLockVersion(long lockVersion)
{
lockVersion_ = lockVersion;
setParameter("LockVersion", std::to_string(lockVersion));
long ModifyProtectionModuleRuleRequest::getLockVersion() const {
return lockVersion_;
}
std::string ModifyProtectionModuleRuleRequest::getSourceIp()const
{
return sourceIp_;
void ModifyProtectionModuleRuleRequest::setLockVersion(long lockVersion) {
lockVersion_ = lockVersion;
setParameter(std::string("LockVersion"), std::to_string(lockVersion));
}
void ModifyProtectionModuleRuleRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string ModifyProtectionModuleRuleRequest::getSourceIp() const {
return sourceIp_;
}
std::string ModifyProtectionModuleRuleRequest::getLang()const
{
return lang_;
void ModifyProtectionModuleRuleRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void ModifyProtectionModuleRuleRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string ModifyProtectionModuleRuleRequest::getLang() const {
return lang_;
}
std::string ModifyProtectionModuleRuleRequest::getDefenseType()const
{
return defenseType_;
void ModifyProtectionModuleRuleRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void ModifyProtectionModuleRuleRequest::setDefenseType(const std::string& defenseType)
{
defenseType_ = defenseType;
setParameter("DefenseType", defenseType);
std::string ModifyProtectionModuleRuleRequest::getDefenseType() const {
return defenseType_;
}
std::string ModifyProtectionModuleRuleRequest::getInstanceId()const
{
return instanceId_;
void ModifyProtectionModuleRuleRequest::setDefenseType(const std::string &defenseType) {
defenseType_ = defenseType;
setParameter(std::string("DefenseType"), defenseType);
}
void ModifyProtectionModuleRuleRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string ModifyProtectionModuleRuleRequest::getInstanceId() const {
return instanceId_;
}
std::string ModifyProtectionModuleRuleRequest::getDomain()const
{
return domain_;
void ModifyProtectionModuleRuleRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void ModifyProtectionModuleRuleRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string ModifyProtectionModuleRuleRequest::getDomain() const {
return domain_;
}
long ModifyProtectionModuleRuleRequest::getRuleId()const
{
return ruleId_;
void ModifyProtectionModuleRuleRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void ModifyProtectionModuleRuleRequest::setRuleId(long ruleId)
{
ruleId_ = ruleId;
setParameter("RuleId", std::to_string(ruleId));
long ModifyProtectionModuleRuleRequest::getRuleId() const {
return ruleId_;
}
void ModifyProtectionModuleRuleRequest::setRuleId(long ruleId) {
ruleId_ = ruleId;
setParameter(std::string("RuleId"), std::to_string(ruleId));
}

View File

@@ -1,95 +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.
*/
#include <alibabacloud/waf-openapi/model/ModifyProtectionModuleStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionModuleStatusRequest;
ModifyProtectionModuleStatusRequest::ModifyProtectionModuleStatusRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionModuleStatus")
{
setMethod(HttpRequest::Method::Post);
}
ModifyProtectionModuleStatusRequest::~ModifyProtectionModuleStatusRequest()
{}
std::string ModifyProtectionModuleStatusRequest::getDefenseType()const
{
return defenseType_;
*/
#include <alibabacloud/waf-openapi/model/ModifyProtectionModuleStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionModuleStatusRequest;
ModifyProtectionModuleStatusRequest::ModifyProtectionModuleStatusRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionModuleStatus") {
setMethod(HttpRequest::Method::Post);
}
void ModifyProtectionModuleStatusRequest::setDefenseType(const std::string& defenseType)
{
defenseType_ = defenseType;
setParameter("DefenseType", defenseType);
ModifyProtectionModuleStatusRequest::~ModifyProtectionModuleStatusRequest() {}
std::string ModifyProtectionModuleStatusRequest::getDefenseType() const {
return defenseType_;
}
std::string ModifyProtectionModuleStatusRequest::getInstanceId()const
{
return instanceId_;
void ModifyProtectionModuleStatusRequest::setDefenseType(const std::string &defenseType) {
defenseType_ = defenseType;
setParameter(std::string("DefenseType"), defenseType);
}
void ModifyProtectionModuleStatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string ModifyProtectionModuleStatusRequest::getInstanceId() const {
return instanceId_;
}
std::string ModifyProtectionModuleStatusRequest::getSourceIp()const
{
return sourceIp_;
void ModifyProtectionModuleStatusRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void ModifyProtectionModuleStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string ModifyProtectionModuleStatusRequest::getSourceIp() const {
return sourceIp_;
}
std::string ModifyProtectionModuleStatusRequest::getDomain()const
{
return domain_;
void ModifyProtectionModuleStatusRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void ModifyProtectionModuleStatusRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string ModifyProtectionModuleStatusRequest::getDomain() const {
return domain_;
}
int ModifyProtectionModuleStatusRequest::getModuleStatus()const
{
return moduleStatus_;
void ModifyProtectionModuleStatusRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void ModifyProtectionModuleStatusRequest::setModuleStatus(int moduleStatus)
{
moduleStatus_ = moduleStatus;
setParameter("ModuleStatus", std::to_string(moduleStatus));
int ModifyProtectionModuleStatusRequest::getModuleStatus() const {
return moduleStatus_;
}
std::string ModifyProtectionModuleStatusRequest::getLang()const
{
return lang_;
void ModifyProtectionModuleStatusRequest::setModuleStatus(int moduleStatus) {
moduleStatus_ = moduleStatus;
setParameter(std::string("ModuleStatus"), std::to_string(moduleStatus));
}
void ModifyProtectionModuleStatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string ModifyProtectionModuleStatusRequest::getLang() const {
return lang_;
}
void ModifyProtectionModuleStatusRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}

View File

@@ -1,95 +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.
*/
#include <alibabacloud/waf-openapi/model/ModifyProtectionRuleCacheStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionRuleCacheStatusRequest;
ModifyProtectionRuleCacheStatusRequest::ModifyProtectionRuleCacheStatusRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionRuleCacheStatus")
{
setMethod(HttpRequest::Method::Post);
}
ModifyProtectionRuleCacheStatusRequest::~ModifyProtectionRuleCacheStatusRequest()
{}
std::string ModifyProtectionRuleCacheStatusRequest::getDefenseType()const
{
return defenseType_;
*/
#include <alibabacloud/waf-openapi/model/ModifyProtectionRuleCacheStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionRuleCacheStatusRequest;
ModifyProtectionRuleCacheStatusRequest::ModifyProtectionRuleCacheStatusRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionRuleCacheStatus") {
setMethod(HttpRequest::Method::Post);
}
void ModifyProtectionRuleCacheStatusRequest::setDefenseType(const std::string& defenseType)
{
defenseType_ = defenseType;
setParameter("DefenseType", defenseType);
ModifyProtectionRuleCacheStatusRequest::~ModifyProtectionRuleCacheStatusRequest() {}
std::string ModifyProtectionRuleCacheStatusRequest::getDefenseType() const {
return defenseType_;
}
std::string ModifyProtectionRuleCacheStatusRequest::getInstanceId()const
{
return instanceId_;
void ModifyProtectionRuleCacheStatusRequest::setDefenseType(const std::string &defenseType) {
defenseType_ = defenseType;
setParameter(std::string("DefenseType"), defenseType);
}
void ModifyProtectionRuleCacheStatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string ModifyProtectionRuleCacheStatusRequest::getInstanceId() const {
return instanceId_;
}
std::string ModifyProtectionRuleCacheStatusRequest::getSourceIp()const
{
return sourceIp_;
void ModifyProtectionRuleCacheStatusRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void ModifyProtectionRuleCacheStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string ModifyProtectionRuleCacheStatusRequest::getSourceIp() const {
return sourceIp_;
}
std::string ModifyProtectionRuleCacheStatusRequest::getDomain()const
{
return domain_;
void ModifyProtectionRuleCacheStatusRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void ModifyProtectionRuleCacheStatusRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string ModifyProtectionRuleCacheStatusRequest::getDomain() const {
return domain_;
}
std::string ModifyProtectionRuleCacheStatusRequest::getLang()const
{
return lang_;
void ModifyProtectionRuleCacheStatusRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void ModifyProtectionRuleCacheStatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string ModifyProtectionRuleCacheStatusRequest::getLang() const {
return lang_;
}
long ModifyProtectionRuleCacheStatusRequest::getRuleId()const
{
return ruleId_;
void ModifyProtectionRuleCacheStatusRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void ModifyProtectionRuleCacheStatusRequest::setRuleId(long ruleId)
{
ruleId_ = ruleId;
setParameter("RuleId", std::to_string(ruleId));
long ModifyProtectionRuleCacheStatusRequest::getRuleId() const {
return ruleId_;
}
void ModifyProtectionRuleCacheStatusRequest::setRuleId(long ruleId) {
ruleId_ = ruleId;
setParameter(std::string("RuleId"), std::to_string(ruleId));
}

View File

@@ -1,117 +1,99 @@
/*
* 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/ModifyProtectionRuleStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionRuleStatusRequest;
ModifyProtectionRuleStatusRequest::ModifyProtectionRuleStatusRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionRuleStatus")
{
setMethod(HttpRequest::Method::Post);
}
ModifyProtectionRuleStatusRequest::~ModifyProtectionRuleStatusRequest()
{}
long ModifyProtectionRuleStatusRequest::getLockVersion()const
{
return lockVersion_;
*/
#include <alibabacloud/waf-openapi/model/ModifyProtectionRuleStatusRequest.h>
using AlibabaCloud::Waf_openapi::Model::ModifyProtectionRuleStatusRequest;
ModifyProtectionRuleStatusRequest::ModifyProtectionRuleStatusRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "ModifyProtectionRuleStatus") {
setMethod(HttpRequest::Method::Post);
}
void ModifyProtectionRuleStatusRequest::setLockVersion(long lockVersion)
{
lockVersion_ = lockVersion;
setParameter("LockVersion", std::to_string(lockVersion));
ModifyProtectionRuleStatusRequest::~ModifyProtectionRuleStatusRequest() {}
long ModifyProtectionRuleStatusRequest::getLockVersion() const {
return lockVersion_;
}
std::string ModifyProtectionRuleStatusRequest::getSourceIp()const
{
return sourceIp_;
void ModifyProtectionRuleStatusRequest::setLockVersion(long lockVersion) {
lockVersion_ = lockVersion;
setParameter(std::string("LockVersion"), std::to_string(lockVersion));
}
void ModifyProtectionRuleStatusRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string ModifyProtectionRuleStatusRequest::getSourceIp() const {
return sourceIp_;
}
std::string ModifyProtectionRuleStatusRequest::getLang()const
{
return lang_;
void ModifyProtectionRuleStatusRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void ModifyProtectionRuleStatusRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string ModifyProtectionRuleStatusRequest::getLang() const {
return lang_;
}
std::string ModifyProtectionRuleStatusRequest::getDefenseType()const
{
return defenseType_;
void ModifyProtectionRuleStatusRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void ModifyProtectionRuleStatusRequest::setDefenseType(const std::string& defenseType)
{
defenseType_ = defenseType;
setParameter("DefenseType", defenseType);
std::string ModifyProtectionRuleStatusRequest::getDefenseType() const {
return defenseType_;
}
int ModifyProtectionRuleStatusRequest::getRuleStatus()const
{
return ruleStatus_;
void ModifyProtectionRuleStatusRequest::setDefenseType(const std::string &defenseType) {
defenseType_ = defenseType;
setParameter(std::string("DefenseType"), defenseType);
}
void ModifyProtectionRuleStatusRequest::setRuleStatus(int ruleStatus)
{
ruleStatus_ = ruleStatus;
setParameter("RuleStatus", std::to_string(ruleStatus));
int ModifyProtectionRuleStatusRequest::getRuleStatus() const {
return ruleStatus_;
}
std::string ModifyProtectionRuleStatusRequest::getInstanceId()const
{
return instanceId_;
void ModifyProtectionRuleStatusRequest::setRuleStatus(int ruleStatus) {
ruleStatus_ = ruleStatus;
setParameter(std::string("RuleStatus"), std::to_string(ruleStatus));
}
void ModifyProtectionRuleStatusRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string ModifyProtectionRuleStatusRequest::getInstanceId() const {
return instanceId_;
}
std::string ModifyProtectionRuleStatusRequest::getDomain()const
{
return domain_;
void ModifyProtectionRuleStatusRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}
void ModifyProtectionRuleStatusRequest::setDomain(const std::string& domain)
{
domain_ = domain;
setParameter("Domain", domain);
std::string ModifyProtectionRuleStatusRequest::getDomain() const {
return domain_;
}
long ModifyProtectionRuleStatusRequest::getRuleId()const
{
return ruleId_;
void ModifyProtectionRuleStatusRequest::setDomain(const std::string &domain) {
domain_ = domain;
setParameter(std::string("Domain"), domain);
}
void ModifyProtectionRuleStatusRequest::setRuleId(long ruleId)
{
ruleId_ = ruleId;
setParameter("RuleId", std::to_string(ruleId));
long ModifyProtectionRuleStatusRequest::getRuleId() const {
return ruleId_;
}
void ModifyProtectionRuleStatusRequest::setRuleId(long ruleId) {
ruleId_ = ruleId;
setParameter(std::string("RuleId"), std::to_string(ruleId));
}

View File

@@ -1,73 +1,63 @@
/*
* 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/MoveResourceGroupRequest.h>
using AlibabaCloud::Waf_openapi::Model::MoveResourceGroupRequest;
MoveResourceGroupRequest::MoveResourceGroupRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "MoveResourceGroup")
{
setMethod(HttpRequest::Method::Post);
}
MoveResourceGroupRequest::~MoveResourceGroupRequest()
{}
std::string MoveResourceGroupRequest::getResourceGroupId()const
{
return resourceGroupId_;
*/
#include <alibabacloud/waf-openapi/model/MoveResourceGroupRequest.h>
using AlibabaCloud::Waf_openapi::Model::MoveResourceGroupRequest;
MoveResourceGroupRequest::MoveResourceGroupRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "MoveResourceGroup") {
setMethod(HttpRequest::Method::Post);
}
void MoveResourceGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
MoveResourceGroupRequest::~MoveResourceGroupRequest() {}
std::string MoveResourceGroupRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string MoveResourceGroupRequest::getSourceIp()const
{
return sourceIp_;
void MoveResourceGroupRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void MoveResourceGroupRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string MoveResourceGroupRequest::getSourceIp() const {
return sourceIp_;
}
std::string MoveResourceGroupRequest::getResourceId()const
{
return resourceId_;
void MoveResourceGroupRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void MoveResourceGroupRequest::setResourceId(const std::string& resourceId)
{
resourceId_ = resourceId;
setParameter("ResourceId", resourceId);
std::string MoveResourceGroupRequest::getResourceId() const {
return resourceId_;
}
std::string MoveResourceGroupRequest::getResourceType()const
{
return resourceType_;
void MoveResourceGroupRequest::setResourceId(const std::string &resourceId) {
resourceId_ = resourceId;
setParameter(std::string("ResourceId"), resourceId);
}
void MoveResourceGroupRequest::setResourceType(const std::string& resourceType)
{
resourceType_ = resourceType;
setParameter("ResourceType", resourceType);
std::string MoveResourceGroupRequest::getResourceType() const {
return resourceType_;
}
void MoveResourceGroupRequest::setResourceType(const std::string &resourceType) {
resourceType_ = resourceType;
setParameter(std::string("ResourceType"), resourceType);
}

View File

@@ -1,106 +1,99 @@
/*
* 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/SetDomainRuleGroupRequest.h>
using AlibabaCloud::Waf_openapi::Model::SetDomainRuleGroupRequest;
SetDomainRuleGroupRequest::SetDomainRuleGroupRequest() :
RpcServiceRequest("waf-openapi", "2019-09-10", "SetDomainRuleGroup")
{
setMethod(HttpRequest::Method::Post);
}
SetDomainRuleGroupRequest::~SetDomainRuleGroupRequest()
{}
long SetDomainRuleGroupRequest::getWafVersion()const
{
return wafVersion_;
*/
#include <alibabacloud/waf-openapi/model/SetDomainRuleGroupRequest.h>
using AlibabaCloud::Waf_openapi::Model::SetDomainRuleGroupRequest;
SetDomainRuleGroupRequest::SetDomainRuleGroupRequest()
: RpcServiceRequest("waf-openapi", "2019-09-10", "SetDomainRuleGroup") {
setMethod(HttpRequest::Method::Post);
}
void SetDomainRuleGroupRequest::setWafVersion(long wafVersion)
{
wafVersion_ = wafVersion;
setParameter("WafVersion", std::to_string(wafVersion));
SetDomainRuleGroupRequest::~SetDomainRuleGroupRequest() {}
long SetDomainRuleGroupRequest::getWafVersion() const {
return wafVersion_;
}
long SetDomainRuleGroupRequest::getRuleGroupId()const
{
return ruleGroupId_;
void SetDomainRuleGroupRequest::setWafVersion(long wafVersion) {
wafVersion_ = wafVersion;
setParameter(std::string("WafVersion"), std::to_string(wafVersion));
}
void SetDomainRuleGroupRequest::setRuleGroupId(long ruleGroupId)
{
ruleGroupId_ = ruleGroupId;
setParameter("RuleGroupId", std::to_string(ruleGroupId));
int SetDomainRuleGroupRequest::getWafAiStatus() const {
return wafAiStatus_;
}
std::string SetDomainRuleGroupRequest::getResourceGroupId()const
{
return resourceGroupId_;
void SetDomainRuleGroupRequest::setWafAiStatus(int wafAiStatus) {
wafAiStatus_ = wafAiStatus;
setParameter(std::string("WafAiStatus"), std::to_string(wafAiStatus));
}
void SetDomainRuleGroupRequest::setResourceGroupId(const std::string& resourceGroupId)
{
resourceGroupId_ = resourceGroupId;
setParameter("ResourceGroupId", resourceGroupId);
long SetDomainRuleGroupRequest::getRuleGroupId() const {
return ruleGroupId_;
}
std::string SetDomainRuleGroupRequest::getSourceIp()const
{
return sourceIp_;
void SetDomainRuleGroupRequest::setRuleGroupId(long ruleGroupId) {
ruleGroupId_ = ruleGroupId;
setParameter(std::string("RuleGroupId"), std::to_string(ruleGroupId));
}
void SetDomainRuleGroupRequest::setSourceIp(const std::string& sourceIp)
{
sourceIp_ = sourceIp;
setParameter("SourceIp", sourceIp);
std::string SetDomainRuleGroupRequest::getResourceGroupId() const {
return resourceGroupId_;
}
std::string SetDomainRuleGroupRequest::getLang()const
{
return lang_;
void SetDomainRuleGroupRequest::setResourceGroupId(const std::string &resourceGroupId) {
resourceGroupId_ = resourceGroupId;
setParameter(std::string("ResourceGroupId"), resourceGroupId);
}
void SetDomainRuleGroupRequest::setLang(const std::string& lang)
{
lang_ = lang;
setParameter("Lang", lang);
std::string SetDomainRuleGroupRequest::getSourceIp() const {
return sourceIp_;
}
std::string SetDomainRuleGroupRequest::getDomains()const
{
return domains_;
void SetDomainRuleGroupRequest::setSourceIp(const std::string &sourceIp) {
sourceIp_ = sourceIp;
setParameter(std::string("SourceIp"), sourceIp);
}
void SetDomainRuleGroupRequest::setDomains(const std::string& domains)
{
domains_ = domains;
setParameter("Domains", domains);
std::string SetDomainRuleGroupRequest::getLang() const {
return lang_;
}
std::string SetDomainRuleGroupRequest::getInstanceId()const
{
return instanceId_;
void SetDomainRuleGroupRequest::setLang(const std::string &lang) {
lang_ = lang;
setParameter(std::string("Lang"), lang);
}
void SetDomainRuleGroupRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setParameter("InstanceId", instanceId);
std::string SetDomainRuleGroupRequest::getDomains() const {
return domains_;
}
void SetDomainRuleGroupRequest::setDomains(const std::string &domains) {
domains_ = domains;
setParameter(std::string("Domains"), domains);
}
std::string SetDomainRuleGroupRequest::getInstanceId() const {
return instanceId_;
}
void SetDomainRuleGroupRequest::setInstanceId(const std::string &instanceId) {
instanceId_ = instanceId;
setParameter(std::string("InstanceId"), instanceId);
}