@@ -27,20 +27,30 @@ set(jarvis_public_header_model
|
||||
include/alibabacloud/jarvis/model/CreateCpmcPunishFeedBackResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeAccessWhiteListSlbListRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeAccessWhiteListSlbListResult.h
|
||||
include/alibabacloud/jarvis/model/DescribePhoneInfoRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribePhoneInfoResult.h
|
||||
include/alibabacloud/jarvis/model/DeleteIpWhiteBaselineRequest.h
|
||||
include/alibabacloud/jarvis/model/DeleteIpWhiteBaselineResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeAccessWhitelistEcsListRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeAccessWhitelistEcsListResult.h
|
||||
include/alibabacloud/jarvis/model/DescribePhoneInfoRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribePhoneInfoResult.h
|
||||
include/alibabacloud/jarvis/model/ModifyUidWhiteListAutoShareRequest.h
|
||||
include/alibabacloud/jarvis/model/ModifyUidWhiteListAutoShareResult.h
|
||||
include/alibabacloud/jarvis/model/CreateConsoleAccessWhiteListRequest.h
|
||||
include/alibabacloud/jarvis/model/CreateConsoleAccessWhiteListResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeUidWhiteBaselineRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeUidWhiteBaselineResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeConsoleAccessWhiteListRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeConsoleAccessWhiteListResult.h
|
||||
include/alibabacloud/jarvis/model/DeleteWhiteListDbItemConditionalRequest.h
|
||||
include/alibabacloud/jarvis/model/DeleteWhiteListDbItemConditionalResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeIpWhiteBaselineRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeIpWhiteBaselineResult.h
|
||||
include/alibabacloud/jarvis/model/DeleteCdnIpRequest.h
|
||||
include/alibabacloud/jarvis/model/DeleteCdnIpResult.h
|
||||
include/alibabacloud/jarvis/model/CreateCdnIpRequest.h
|
||||
include/alibabacloud/jarvis/model/CreateCdnIpResult.h
|
||||
include/alibabacloud/jarvis/model/DeleteUidWhiteBaselineRequest.h
|
||||
include/alibabacloud/jarvis/model/DeleteUidWhiteBaselineResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeUidGcLevelRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeUidGcLevelResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeResetRecordQueryCountRequest.h
|
||||
@@ -51,14 +61,18 @@ set(jarvis_public_header_model
|
||||
include/alibabacloud/jarvis/model/CreateAllEcsWhiteListResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeRiskListDetailRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeRiskListDetailResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeEcsListPageRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeEcsListPageResult.h
|
||||
include/alibabacloud/jarvis/model/DeleteConsoleAccessWhiteListRequest.h
|
||||
include/alibabacloud/jarvis/model/DeleteConsoleAccessWhiteListResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeEcsListPageRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeEcsListPageResult.h
|
||||
include/alibabacloud/jarvis/model/CreateUidWhiteBaselineRequest.h
|
||||
include/alibabacloud/jarvis/model/CreateUidWhiteBaselineResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeSpecialEcsRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeSpecialEcsResult.h
|
||||
include/alibabacloud/jarvis/model/CreateAccessWhiteListGroupRequest.h
|
||||
include/alibabacloud/jarvis/model/CreateAccessWhiteListGroupResult.h
|
||||
include/alibabacloud/jarvis/model/DeleteWhiteListConditionalRequest.h
|
||||
include/alibabacloud/jarvis/model/DeleteWhiteListConditionalResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeDdosDefenseInfoRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeDdosDefenseInfoResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeCdnVendorRequest.h
|
||||
@@ -69,18 +83,24 @@ set(jarvis_public_header_model
|
||||
include/alibabacloud/jarvis/model/DescribeAccessWhiteListEipListResult.h
|
||||
include/alibabacloud/jarvis/model/ModifyAccessWhiteListAutoShareRequest.h
|
||||
include/alibabacloud/jarvis/model/ModifyAccessWhiteListAutoShareResult.h
|
||||
include/alibabacloud/jarvis/model/CreateIpWhiteBaselineRequest.h
|
||||
include/alibabacloud/jarvis/model/CreateIpWhiteBaselineResult.h
|
||||
include/alibabacloud/jarvis/model/CreateUidWhiteListGroupRequest.h
|
||||
include/alibabacloud/jarvis/model/CreateUidWhiteListGroupResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeCdnIpListRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeCdnIpListResult.h
|
||||
include/alibabacloud/jarvis/model/CreateCdnSubscriptionRequest.h
|
||||
include/alibabacloud/jarvis/model/CreateCdnSubscriptionResult.h
|
||||
include/alibabacloud/jarvis/model/DeleteCdnSubscriptionRequest.h
|
||||
include/alibabacloud/jarvis/model/DeleteCdnSubscriptionResult.h
|
||||
include/alibabacloud/jarvis/model/CreateCdnSubscriptionRequest.h
|
||||
include/alibabacloud/jarvis/model/CreateCdnSubscriptionResult.h
|
||||
include/alibabacloud/jarvis/model/ModifyIpWhiteBaselineRequest.h
|
||||
include/alibabacloud/jarvis/model/ModifyIpWhiteBaselineResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeCpmcPunishListRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeCpmcPunishListResult.h
|
||||
include/alibabacloud/jarvis/model/DeleteAccessWhiteListGroupRequest.h
|
||||
include/alibabacloud/jarvis/model/DeleteAccessWhiteListGroupResult.h
|
||||
include/alibabacloud/jarvis/model/ModifyUidWhiteBaselineRequest.h
|
||||
include/alibabacloud/jarvis/model/ModifyUidWhiteBaselineResult.h
|
||||
include/alibabacloud/jarvis/model/DescribeAccessWhiteListGroupRequest.h
|
||||
include/alibabacloud/jarvis/model/DescribeAccessWhiteListGroupResult.h
|
||||
include/alibabacloud/jarvis/model/DescribePunishListRequest.h
|
||||
@@ -100,20 +120,30 @@ set(jarvis_src
|
||||
src/model/CreateCpmcPunishFeedBackResult.cc
|
||||
src/model/DescribeAccessWhiteListSlbListRequest.cc
|
||||
src/model/DescribeAccessWhiteListSlbListResult.cc
|
||||
src/model/DescribePhoneInfoRequest.cc
|
||||
src/model/DescribePhoneInfoResult.cc
|
||||
src/model/DeleteIpWhiteBaselineRequest.cc
|
||||
src/model/DeleteIpWhiteBaselineResult.cc
|
||||
src/model/DescribeAccessWhitelistEcsListRequest.cc
|
||||
src/model/DescribeAccessWhitelistEcsListResult.cc
|
||||
src/model/DescribePhoneInfoRequest.cc
|
||||
src/model/DescribePhoneInfoResult.cc
|
||||
src/model/ModifyUidWhiteListAutoShareRequest.cc
|
||||
src/model/ModifyUidWhiteListAutoShareResult.cc
|
||||
src/model/CreateConsoleAccessWhiteListRequest.cc
|
||||
src/model/CreateConsoleAccessWhiteListResult.cc
|
||||
src/model/DescribeUidWhiteBaselineRequest.cc
|
||||
src/model/DescribeUidWhiteBaselineResult.cc
|
||||
src/model/DescribeConsoleAccessWhiteListRequest.cc
|
||||
src/model/DescribeConsoleAccessWhiteListResult.cc
|
||||
src/model/DeleteWhiteListDbItemConditionalRequest.cc
|
||||
src/model/DeleteWhiteListDbItemConditionalResult.cc
|
||||
src/model/DescribeIpWhiteBaselineRequest.cc
|
||||
src/model/DescribeIpWhiteBaselineResult.cc
|
||||
src/model/DeleteCdnIpRequest.cc
|
||||
src/model/DeleteCdnIpResult.cc
|
||||
src/model/CreateCdnIpRequest.cc
|
||||
src/model/CreateCdnIpResult.cc
|
||||
src/model/DeleteUidWhiteBaselineRequest.cc
|
||||
src/model/DeleteUidWhiteBaselineResult.cc
|
||||
src/model/DescribeUidGcLevelRequest.cc
|
||||
src/model/DescribeUidGcLevelResult.cc
|
||||
src/model/DescribeResetRecordQueryCountRequest.cc
|
||||
@@ -124,14 +154,18 @@ set(jarvis_src
|
||||
src/model/CreateAllEcsWhiteListResult.cc
|
||||
src/model/DescribeRiskListDetailRequest.cc
|
||||
src/model/DescribeRiskListDetailResult.cc
|
||||
src/model/DescribeEcsListPageRequest.cc
|
||||
src/model/DescribeEcsListPageResult.cc
|
||||
src/model/DeleteConsoleAccessWhiteListRequest.cc
|
||||
src/model/DeleteConsoleAccessWhiteListResult.cc
|
||||
src/model/DescribeEcsListPageRequest.cc
|
||||
src/model/DescribeEcsListPageResult.cc
|
||||
src/model/CreateUidWhiteBaselineRequest.cc
|
||||
src/model/CreateUidWhiteBaselineResult.cc
|
||||
src/model/DescribeSpecialEcsRequest.cc
|
||||
src/model/DescribeSpecialEcsResult.cc
|
||||
src/model/CreateAccessWhiteListGroupRequest.cc
|
||||
src/model/CreateAccessWhiteListGroupResult.cc
|
||||
src/model/DeleteWhiteListConditionalRequest.cc
|
||||
src/model/DeleteWhiteListConditionalResult.cc
|
||||
src/model/DescribeDdosDefenseInfoRequest.cc
|
||||
src/model/DescribeDdosDefenseInfoResult.cc
|
||||
src/model/DescribeCdnVendorRequest.cc
|
||||
@@ -142,18 +176,24 @@ set(jarvis_src
|
||||
src/model/DescribeAccessWhiteListEipListResult.cc
|
||||
src/model/ModifyAccessWhiteListAutoShareRequest.cc
|
||||
src/model/ModifyAccessWhiteListAutoShareResult.cc
|
||||
src/model/CreateIpWhiteBaselineRequest.cc
|
||||
src/model/CreateIpWhiteBaselineResult.cc
|
||||
src/model/CreateUidWhiteListGroupRequest.cc
|
||||
src/model/CreateUidWhiteListGroupResult.cc
|
||||
src/model/DescribeCdnIpListRequest.cc
|
||||
src/model/DescribeCdnIpListResult.cc
|
||||
src/model/CreateCdnSubscriptionRequest.cc
|
||||
src/model/CreateCdnSubscriptionResult.cc
|
||||
src/model/DeleteCdnSubscriptionRequest.cc
|
||||
src/model/DeleteCdnSubscriptionResult.cc
|
||||
src/model/CreateCdnSubscriptionRequest.cc
|
||||
src/model/CreateCdnSubscriptionResult.cc
|
||||
src/model/ModifyIpWhiteBaselineRequest.cc
|
||||
src/model/ModifyIpWhiteBaselineResult.cc
|
||||
src/model/DescribeCpmcPunishListRequest.cc
|
||||
src/model/DescribeCpmcPunishListResult.cc
|
||||
src/model/DeleteAccessWhiteListGroupRequest.cc
|
||||
src/model/DeleteAccessWhiteListGroupResult.cc
|
||||
src/model/ModifyUidWhiteBaselineRequest.cc
|
||||
src/model/ModifyUidWhiteBaselineResult.cc
|
||||
src/model/DescribeAccessWhiteListGroupRequest.cc
|
||||
src/model/DescribeAccessWhiteListGroupResult.cc
|
||||
src/model/DescribePunishListRequest.cc
|
||||
|
||||
@@ -28,20 +28,30 @@
|
||||
#include "model/CreateCpmcPunishFeedBackResult.h"
|
||||
#include "model/DescribeAccessWhiteListSlbListRequest.h"
|
||||
#include "model/DescribeAccessWhiteListSlbListResult.h"
|
||||
#include "model/DescribePhoneInfoRequest.h"
|
||||
#include "model/DescribePhoneInfoResult.h"
|
||||
#include "model/DeleteIpWhiteBaselineRequest.h"
|
||||
#include "model/DeleteIpWhiteBaselineResult.h"
|
||||
#include "model/DescribeAccessWhitelistEcsListRequest.h"
|
||||
#include "model/DescribeAccessWhitelistEcsListResult.h"
|
||||
#include "model/DescribePhoneInfoRequest.h"
|
||||
#include "model/DescribePhoneInfoResult.h"
|
||||
#include "model/ModifyUidWhiteListAutoShareRequest.h"
|
||||
#include "model/ModifyUidWhiteListAutoShareResult.h"
|
||||
#include "model/CreateConsoleAccessWhiteListRequest.h"
|
||||
#include "model/CreateConsoleAccessWhiteListResult.h"
|
||||
#include "model/DescribeUidWhiteBaselineRequest.h"
|
||||
#include "model/DescribeUidWhiteBaselineResult.h"
|
||||
#include "model/DescribeConsoleAccessWhiteListRequest.h"
|
||||
#include "model/DescribeConsoleAccessWhiteListResult.h"
|
||||
#include "model/DeleteWhiteListDbItemConditionalRequest.h"
|
||||
#include "model/DeleteWhiteListDbItemConditionalResult.h"
|
||||
#include "model/DescribeIpWhiteBaselineRequest.h"
|
||||
#include "model/DescribeIpWhiteBaselineResult.h"
|
||||
#include "model/DeleteCdnIpRequest.h"
|
||||
#include "model/DeleteCdnIpResult.h"
|
||||
#include "model/CreateCdnIpRequest.h"
|
||||
#include "model/CreateCdnIpResult.h"
|
||||
#include "model/DeleteUidWhiteBaselineRequest.h"
|
||||
#include "model/DeleteUidWhiteBaselineResult.h"
|
||||
#include "model/DescribeUidGcLevelRequest.h"
|
||||
#include "model/DescribeUidGcLevelResult.h"
|
||||
#include "model/DescribeResetRecordQueryCountRequest.h"
|
||||
@@ -52,14 +62,18 @@
|
||||
#include "model/CreateAllEcsWhiteListResult.h"
|
||||
#include "model/DescribeRiskListDetailRequest.h"
|
||||
#include "model/DescribeRiskListDetailResult.h"
|
||||
#include "model/DescribeEcsListPageRequest.h"
|
||||
#include "model/DescribeEcsListPageResult.h"
|
||||
#include "model/DeleteConsoleAccessWhiteListRequest.h"
|
||||
#include "model/DeleteConsoleAccessWhiteListResult.h"
|
||||
#include "model/DescribeEcsListPageRequest.h"
|
||||
#include "model/DescribeEcsListPageResult.h"
|
||||
#include "model/CreateUidWhiteBaselineRequest.h"
|
||||
#include "model/CreateUidWhiteBaselineResult.h"
|
||||
#include "model/DescribeSpecialEcsRequest.h"
|
||||
#include "model/DescribeSpecialEcsResult.h"
|
||||
#include "model/CreateAccessWhiteListGroupRequest.h"
|
||||
#include "model/CreateAccessWhiteListGroupResult.h"
|
||||
#include "model/DeleteWhiteListConditionalRequest.h"
|
||||
#include "model/DeleteWhiteListConditionalResult.h"
|
||||
#include "model/DescribeDdosDefenseInfoRequest.h"
|
||||
#include "model/DescribeDdosDefenseInfoResult.h"
|
||||
#include "model/DescribeCdnVendorRequest.h"
|
||||
@@ -70,18 +84,24 @@
|
||||
#include "model/DescribeAccessWhiteListEipListResult.h"
|
||||
#include "model/ModifyAccessWhiteListAutoShareRequest.h"
|
||||
#include "model/ModifyAccessWhiteListAutoShareResult.h"
|
||||
#include "model/CreateIpWhiteBaselineRequest.h"
|
||||
#include "model/CreateIpWhiteBaselineResult.h"
|
||||
#include "model/CreateUidWhiteListGroupRequest.h"
|
||||
#include "model/CreateUidWhiteListGroupResult.h"
|
||||
#include "model/DescribeCdnIpListRequest.h"
|
||||
#include "model/DescribeCdnIpListResult.h"
|
||||
#include "model/CreateCdnSubscriptionRequest.h"
|
||||
#include "model/CreateCdnSubscriptionResult.h"
|
||||
#include "model/DeleteCdnSubscriptionRequest.h"
|
||||
#include "model/DeleteCdnSubscriptionResult.h"
|
||||
#include "model/CreateCdnSubscriptionRequest.h"
|
||||
#include "model/CreateCdnSubscriptionResult.h"
|
||||
#include "model/ModifyIpWhiteBaselineRequest.h"
|
||||
#include "model/ModifyIpWhiteBaselineResult.h"
|
||||
#include "model/DescribeCpmcPunishListRequest.h"
|
||||
#include "model/DescribeCpmcPunishListResult.h"
|
||||
#include "model/DeleteAccessWhiteListGroupRequest.h"
|
||||
#include "model/DeleteAccessWhiteListGroupResult.h"
|
||||
#include "model/ModifyUidWhiteBaselineRequest.h"
|
||||
#include "model/ModifyUidWhiteBaselineResult.h"
|
||||
#include "model/DescribeAccessWhiteListGroupRequest.h"
|
||||
#include "model/DescribeAccessWhiteListGroupResult.h"
|
||||
#include "model/DescribePunishListRequest.h"
|
||||
@@ -110,27 +130,42 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeAccessWhiteListSlbListResult> DescribeAccessWhiteListSlbListOutcome;
|
||||
typedef std::future<DescribeAccessWhiteListSlbListOutcome> DescribeAccessWhiteListSlbListOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeAccessWhiteListSlbListRequest&, const DescribeAccessWhiteListSlbListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessWhiteListSlbListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePhoneInfoResult> DescribePhoneInfoOutcome;
|
||||
typedef std::future<DescribePhoneInfoOutcome> DescribePhoneInfoOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribePhoneInfoRequest&, const DescribePhoneInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePhoneInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteIpWhiteBaselineResult> DeleteIpWhiteBaselineOutcome;
|
||||
typedef std::future<DeleteIpWhiteBaselineOutcome> DeleteIpWhiteBaselineOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DeleteIpWhiteBaselineRequest&, const DeleteIpWhiteBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteIpWhiteBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAccessWhitelistEcsListResult> DescribeAccessWhitelistEcsListOutcome;
|
||||
typedef std::future<DescribeAccessWhitelistEcsListOutcome> DescribeAccessWhitelistEcsListOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeAccessWhitelistEcsListRequest&, const DescribeAccessWhitelistEcsListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessWhitelistEcsListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribePhoneInfoResult> DescribePhoneInfoOutcome;
|
||||
typedef std::future<DescribePhoneInfoOutcome> DescribePhoneInfoOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribePhoneInfoRequest&, const DescribePhoneInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePhoneInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyUidWhiteListAutoShareResult> ModifyUidWhiteListAutoShareOutcome;
|
||||
typedef std::future<ModifyUidWhiteListAutoShareOutcome> ModifyUidWhiteListAutoShareOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::ModifyUidWhiteListAutoShareRequest&, const ModifyUidWhiteListAutoShareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUidWhiteListAutoShareAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateConsoleAccessWhiteListResult> CreateConsoleAccessWhiteListOutcome;
|
||||
typedef std::future<CreateConsoleAccessWhiteListOutcome> CreateConsoleAccessWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::CreateConsoleAccessWhiteListRequest&, const CreateConsoleAccessWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConsoleAccessWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUidWhiteBaselineResult> DescribeUidWhiteBaselineOutcome;
|
||||
typedef std::future<DescribeUidWhiteBaselineOutcome> DescribeUidWhiteBaselineOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeUidWhiteBaselineRequest&, const DescribeUidWhiteBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUidWhiteBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConsoleAccessWhiteListResult> DescribeConsoleAccessWhiteListOutcome;
|
||||
typedef std::future<DescribeConsoleAccessWhiteListOutcome> DescribeConsoleAccessWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeConsoleAccessWhiteListRequest&, const DescribeConsoleAccessWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConsoleAccessWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteWhiteListDbItemConditionalResult> DeleteWhiteListDbItemConditionalOutcome;
|
||||
typedef std::future<DeleteWhiteListDbItemConditionalOutcome> DeleteWhiteListDbItemConditionalOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DeleteWhiteListDbItemConditionalRequest&, const DeleteWhiteListDbItemConditionalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteWhiteListDbItemConditionalAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeIpWhiteBaselineResult> DescribeIpWhiteBaselineOutcome;
|
||||
typedef std::future<DescribeIpWhiteBaselineOutcome> DescribeIpWhiteBaselineOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeIpWhiteBaselineRequest&, const DescribeIpWhiteBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeIpWhiteBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCdnIpResult> DeleteCdnIpOutcome;
|
||||
typedef std::future<DeleteCdnIpOutcome> DeleteCdnIpOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DeleteCdnIpRequest&, const DeleteCdnIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCdnIpAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCdnIpResult> CreateCdnIpOutcome;
|
||||
typedef std::future<CreateCdnIpOutcome> CreateCdnIpOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::CreateCdnIpRequest&, const CreateCdnIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCdnIpAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteUidWhiteBaselineResult> DeleteUidWhiteBaselineOutcome;
|
||||
typedef std::future<DeleteUidWhiteBaselineOutcome> DeleteUidWhiteBaselineOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DeleteUidWhiteBaselineRequest&, const DeleteUidWhiteBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUidWhiteBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUidGcLevelResult> DescribeUidGcLevelOutcome;
|
||||
typedef std::future<DescribeUidGcLevelOutcome> DescribeUidGcLevelOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeUidGcLevelRequest&, const DescribeUidGcLevelOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUidGcLevelAsyncHandler;
|
||||
@@ -146,18 +181,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRiskListDetailResult> DescribeRiskListDetailOutcome;
|
||||
typedef std::future<DescribeRiskListDetailOutcome> DescribeRiskListDetailOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeRiskListDetailRequest&, const DescribeRiskListDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRiskListDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEcsListPageResult> DescribeEcsListPageOutcome;
|
||||
typedef std::future<DescribeEcsListPageOutcome> DescribeEcsListPageOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeEcsListPageRequest&, const DescribeEcsListPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEcsListPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteConsoleAccessWhiteListResult> DeleteConsoleAccessWhiteListOutcome;
|
||||
typedef std::future<DeleteConsoleAccessWhiteListOutcome> DeleteConsoleAccessWhiteListOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DeleteConsoleAccessWhiteListRequest&, const DeleteConsoleAccessWhiteListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConsoleAccessWhiteListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEcsListPageResult> DescribeEcsListPageOutcome;
|
||||
typedef std::future<DescribeEcsListPageOutcome> DescribeEcsListPageOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeEcsListPageRequest&, const DescribeEcsListPageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEcsListPageAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUidWhiteBaselineResult> CreateUidWhiteBaselineOutcome;
|
||||
typedef std::future<CreateUidWhiteBaselineOutcome> CreateUidWhiteBaselineOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::CreateUidWhiteBaselineRequest&, const CreateUidWhiteBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUidWhiteBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSpecialEcsResult> DescribeSpecialEcsOutcome;
|
||||
typedef std::future<DescribeSpecialEcsOutcome> DescribeSpecialEcsOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeSpecialEcsRequest&, const DescribeSpecialEcsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSpecialEcsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateAccessWhiteListGroupResult> CreateAccessWhiteListGroupOutcome;
|
||||
typedef std::future<CreateAccessWhiteListGroupOutcome> CreateAccessWhiteListGroupOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::CreateAccessWhiteListGroupRequest&, const CreateAccessWhiteListGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateAccessWhiteListGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteWhiteListConditionalResult> DeleteWhiteListConditionalOutcome;
|
||||
typedef std::future<DeleteWhiteListConditionalOutcome> DeleteWhiteListConditionalOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DeleteWhiteListConditionalRequest&, const DeleteWhiteListConditionalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteWhiteListConditionalAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDdosDefenseInfoResult> DescribeDdosDefenseInfoOutcome;
|
||||
typedef std::future<DescribeDdosDefenseInfoOutcome> DescribeDdosDefenseInfoOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeDdosDefenseInfoRequest&, const DescribeDdosDefenseInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDdosDefenseInfoAsyncHandler;
|
||||
@@ -173,24 +214,33 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyAccessWhiteListAutoShareResult> ModifyAccessWhiteListAutoShareOutcome;
|
||||
typedef std::future<ModifyAccessWhiteListAutoShareOutcome> ModifyAccessWhiteListAutoShareOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::ModifyAccessWhiteListAutoShareRequest&, const ModifyAccessWhiteListAutoShareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyAccessWhiteListAutoShareAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateIpWhiteBaselineResult> CreateIpWhiteBaselineOutcome;
|
||||
typedef std::future<CreateIpWhiteBaselineOutcome> CreateIpWhiteBaselineOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::CreateIpWhiteBaselineRequest&, const CreateIpWhiteBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateIpWhiteBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateUidWhiteListGroupResult> CreateUidWhiteListGroupOutcome;
|
||||
typedef std::future<CreateUidWhiteListGroupOutcome> CreateUidWhiteListGroupOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::CreateUidWhiteListGroupRequest&, const CreateUidWhiteListGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateUidWhiteListGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnIpListResult> DescribeCdnIpListOutcome;
|
||||
typedef std::future<DescribeCdnIpListOutcome> DescribeCdnIpListOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeCdnIpListRequest&, const DescribeCdnIpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnIpListAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCdnSubscriptionResult> CreateCdnSubscriptionOutcome;
|
||||
typedef std::future<CreateCdnSubscriptionOutcome> CreateCdnSubscriptionOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::CreateCdnSubscriptionRequest&, const CreateCdnSubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCdnSubscriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteCdnSubscriptionResult> DeleteCdnSubscriptionOutcome;
|
||||
typedef std::future<DeleteCdnSubscriptionOutcome> DeleteCdnSubscriptionOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DeleteCdnSubscriptionRequest&, const DeleteCdnSubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteCdnSubscriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCdnSubscriptionResult> CreateCdnSubscriptionOutcome;
|
||||
typedef std::future<CreateCdnSubscriptionOutcome> CreateCdnSubscriptionOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::CreateCdnSubscriptionRequest&, const CreateCdnSubscriptionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCdnSubscriptionAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyIpWhiteBaselineResult> ModifyIpWhiteBaselineOutcome;
|
||||
typedef std::future<ModifyIpWhiteBaselineOutcome> ModifyIpWhiteBaselineOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::ModifyIpWhiteBaselineRequest&, const ModifyIpWhiteBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyIpWhiteBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCpmcPunishListResult> DescribeCpmcPunishListOutcome;
|
||||
typedef std::future<DescribeCpmcPunishListOutcome> DescribeCpmcPunishListOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeCpmcPunishListRequest&, const DescribeCpmcPunishListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCpmcPunishListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteAccessWhiteListGroupResult> DeleteAccessWhiteListGroupOutcome;
|
||||
typedef std::future<DeleteAccessWhiteListGroupOutcome> DeleteAccessWhiteListGroupOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DeleteAccessWhiteListGroupRequest&, const DeleteAccessWhiteListGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteAccessWhiteListGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyUidWhiteBaselineResult> ModifyUidWhiteBaselineOutcome;
|
||||
typedef std::future<ModifyUidWhiteBaselineOutcome> ModifyUidWhiteBaselineOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::ModifyUidWhiteBaselineRequest&, const ModifyUidWhiteBaselineOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyUidWhiteBaselineAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeAccessWhiteListGroupResult> DescribeAccessWhiteListGroupOutcome;
|
||||
typedef std::future<DescribeAccessWhiteListGroupOutcome> DescribeAccessWhiteListGroupOutcomeCallable;
|
||||
typedef std::function<void(const JarvisClient*, const Model::DescribeAccessWhiteListGroupRequest&, const DescribeAccessWhiteListGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeAccessWhiteListGroupAsyncHandler;
|
||||
@@ -220,27 +270,42 @@ namespace AlibabaCloud
|
||||
DescribeAccessWhiteListSlbListOutcome describeAccessWhiteListSlbList(const Model::DescribeAccessWhiteListSlbListRequest &request)const;
|
||||
void describeAccessWhiteListSlbListAsync(const Model::DescribeAccessWhiteListSlbListRequest& request, const DescribeAccessWhiteListSlbListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAccessWhiteListSlbListOutcomeCallable describeAccessWhiteListSlbListCallable(const Model::DescribeAccessWhiteListSlbListRequest& request) const;
|
||||
DescribePhoneInfoOutcome describePhoneInfo(const Model::DescribePhoneInfoRequest &request)const;
|
||||
void describePhoneInfoAsync(const Model::DescribePhoneInfoRequest& request, const DescribePhoneInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePhoneInfoOutcomeCallable describePhoneInfoCallable(const Model::DescribePhoneInfoRequest& request) const;
|
||||
DeleteIpWhiteBaselineOutcome deleteIpWhiteBaseline(const Model::DeleteIpWhiteBaselineRequest &request)const;
|
||||
void deleteIpWhiteBaselineAsync(const Model::DeleteIpWhiteBaselineRequest& request, const DeleteIpWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteIpWhiteBaselineOutcomeCallable deleteIpWhiteBaselineCallable(const Model::DeleteIpWhiteBaselineRequest& request) const;
|
||||
DescribeAccessWhitelistEcsListOutcome describeAccessWhitelistEcsList(const Model::DescribeAccessWhitelistEcsListRequest &request)const;
|
||||
void describeAccessWhitelistEcsListAsync(const Model::DescribeAccessWhitelistEcsListRequest& request, const DescribeAccessWhitelistEcsListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAccessWhitelistEcsListOutcomeCallable describeAccessWhitelistEcsListCallable(const Model::DescribeAccessWhitelistEcsListRequest& request) const;
|
||||
DescribePhoneInfoOutcome describePhoneInfo(const Model::DescribePhoneInfoRequest &request)const;
|
||||
void describePhoneInfoAsync(const Model::DescribePhoneInfoRequest& request, const DescribePhoneInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribePhoneInfoOutcomeCallable describePhoneInfoCallable(const Model::DescribePhoneInfoRequest& request) const;
|
||||
ModifyUidWhiteListAutoShareOutcome modifyUidWhiteListAutoShare(const Model::ModifyUidWhiteListAutoShareRequest &request)const;
|
||||
void modifyUidWhiteListAutoShareAsync(const Model::ModifyUidWhiteListAutoShareRequest& request, const ModifyUidWhiteListAutoShareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyUidWhiteListAutoShareOutcomeCallable modifyUidWhiteListAutoShareCallable(const Model::ModifyUidWhiteListAutoShareRequest& request) const;
|
||||
CreateConsoleAccessWhiteListOutcome createConsoleAccessWhiteList(const Model::CreateConsoleAccessWhiteListRequest &request)const;
|
||||
void createConsoleAccessWhiteListAsync(const Model::CreateConsoleAccessWhiteListRequest& request, const CreateConsoleAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConsoleAccessWhiteListOutcomeCallable createConsoleAccessWhiteListCallable(const Model::CreateConsoleAccessWhiteListRequest& request) const;
|
||||
DescribeUidWhiteBaselineOutcome describeUidWhiteBaseline(const Model::DescribeUidWhiteBaselineRequest &request)const;
|
||||
void describeUidWhiteBaselineAsync(const Model::DescribeUidWhiteBaselineRequest& request, const DescribeUidWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUidWhiteBaselineOutcomeCallable describeUidWhiteBaselineCallable(const Model::DescribeUidWhiteBaselineRequest& request) const;
|
||||
DescribeConsoleAccessWhiteListOutcome describeConsoleAccessWhiteList(const Model::DescribeConsoleAccessWhiteListRequest &request)const;
|
||||
void describeConsoleAccessWhiteListAsync(const Model::DescribeConsoleAccessWhiteListRequest& request, const DescribeConsoleAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConsoleAccessWhiteListOutcomeCallable describeConsoleAccessWhiteListCallable(const Model::DescribeConsoleAccessWhiteListRequest& request) const;
|
||||
DeleteWhiteListDbItemConditionalOutcome deleteWhiteListDbItemConditional(const Model::DeleteWhiteListDbItemConditionalRequest &request)const;
|
||||
void deleteWhiteListDbItemConditionalAsync(const Model::DeleteWhiteListDbItemConditionalRequest& request, const DeleteWhiteListDbItemConditionalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteWhiteListDbItemConditionalOutcomeCallable deleteWhiteListDbItemConditionalCallable(const Model::DeleteWhiteListDbItemConditionalRequest& request) const;
|
||||
DescribeIpWhiteBaselineOutcome describeIpWhiteBaseline(const Model::DescribeIpWhiteBaselineRequest &request)const;
|
||||
void describeIpWhiteBaselineAsync(const Model::DescribeIpWhiteBaselineRequest& request, const DescribeIpWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeIpWhiteBaselineOutcomeCallable describeIpWhiteBaselineCallable(const Model::DescribeIpWhiteBaselineRequest& request) const;
|
||||
DeleteCdnIpOutcome deleteCdnIp(const Model::DeleteCdnIpRequest &request)const;
|
||||
void deleteCdnIpAsync(const Model::DeleteCdnIpRequest& request, const DeleteCdnIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCdnIpOutcomeCallable deleteCdnIpCallable(const Model::DeleteCdnIpRequest& request) const;
|
||||
CreateCdnIpOutcome createCdnIp(const Model::CreateCdnIpRequest &request)const;
|
||||
void createCdnIpAsync(const Model::CreateCdnIpRequest& request, const CreateCdnIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCdnIpOutcomeCallable createCdnIpCallable(const Model::CreateCdnIpRequest& request) const;
|
||||
DeleteUidWhiteBaselineOutcome deleteUidWhiteBaseline(const Model::DeleteUidWhiteBaselineRequest &request)const;
|
||||
void deleteUidWhiteBaselineAsync(const Model::DeleteUidWhiteBaselineRequest& request, const DeleteUidWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUidWhiteBaselineOutcomeCallable deleteUidWhiteBaselineCallable(const Model::DeleteUidWhiteBaselineRequest& request) const;
|
||||
DescribeUidGcLevelOutcome describeUidGcLevel(const Model::DescribeUidGcLevelRequest &request)const;
|
||||
void describeUidGcLevelAsync(const Model::DescribeUidGcLevelRequest& request, const DescribeUidGcLevelAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUidGcLevelOutcomeCallable describeUidGcLevelCallable(const Model::DescribeUidGcLevelRequest& request) const;
|
||||
@@ -256,18 +321,24 @@ namespace AlibabaCloud
|
||||
DescribeRiskListDetailOutcome describeRiskListDetail(const Model::DescribeRiskListDetailRequest &request)const;
|
||||
void describeRiskListDetailAsync(const Model::DescribeRiskListDetailRequest& request, const DescribeRiskListDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRiskListDetailOutcomeCallable describeRiskListDetailCallable(const Model::DescribeRiskListDetailRequest& request) const;
|
||||
DescribeEcsListPageOutcome describeEcsListPage(const Model::DescribeEcsListPageRequest &request)const;
|
||||
void describeEcsListPageAsync(const Model::DescribeEcsListPageRequest& request, const DescribeEcsListPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEcsListPageOutcomeCallable describeEcsListPageCallable(const Model::DescribeEcsListPageRequest& request) const;
|
||||
DeleteConsoleAccessWhiteListOutcome deleteConsoleAccessWhiteList(const Model::DeleteConsoleAccessWhiteListRequest &request)const;
|
||||
void deleteConsoleAccessWhiteListAsync(const Model::DeleteConsoleAccessWhiteListRequest& request, const DeleteConsoleAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConsoleAccessWhiteListOutcomeCallable deleteConsoleAccessWhiteListCallable(const Model::DeleteConsoleAccessWhiteListRequest& request) const;
|
||||
DescribeEcsListPageOutcome describeEcsListPage(const Model::DescribeEcsListPageRequest &request)const;
|
||||
void describeEcsListPageAsync(const Model::DescribeEcsListPageRequest& request, const DescribeEcsListPageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEcsListPageOutcomeCallable describeEcsListPageCallable(const Model::DescribeEcsListPageRequest& request) const;
|
||||
CreateUidWhiteBaselineOutcome createUidWhiteBaseline(const Model::CreateUidWhiteBaselineRequest &request)const;
|
||||
void createUidWhiteBaselineAsync(const Model::CreateUidWhiteBaselineRequest& request, const CreateUidWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUidWhiteBaselineOutcomeCallable createUidWhiteBaselineCallable(const Model::CreateUidWhiteBaselineRequest& request) const;
|
||||
DescribeSpecialEcsOutcome describeSpecialEcs(const Model::DescribeSpecialEcsRequest &request)const;
|
||||
void describeSpecialEcsAsync(const Model::DescribeSpecialEcsRequest& request, const DescribeSpecialEcsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSpecialEcsOutcomeCallable describeSpecialEcsCallable(const Model::DescribeSpecialEcsRequest& request) const;
|
||||
CreateAccessWhiteListGroupOutcome createAccessWhiteListGroup(const Model::CreateAccessWhiteListGroupRequest &request)const;
|
||||
void createAccessWhiteListGroupAsync(const Model::CreateAccessWhiteListGroupRequest& request, const CreateAccessWhiteListGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateAccessWhiteListGroupOutcomeCallable createAccessWhiteListGroupCallable(const Model::CreateAccessWhiteListGroupRequest& request) const;
|
||||
DeleteWhiteListConditionalOutcome deleteWhiteListConditional(const Model::DeleteWhiteListConditionalRequest &request)const;
|
||||
void deleteWhiteListConditionalAsync(const Model::DeleteWhiteListConditionalRequest& request, const DeleteWhiteListConditionalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteWhiteListConditionalOutcomeCallable deleteWhiteListConditionalCallable(const Model::DeleteWhiteListConditionalRequest& request) const;
|
||||
DescribeDdosDefenseInfoOutcome describeDdosDefenseInfo(const Model::DescribeDdosDefenseInfoRequest &request)const;
|
||||
void describeDdosDefenseInfoAsync(const Model::DescribeDdosDefenseInfoRequest& request, const DescribeDdosDefenseInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDdosDefenseInfoOutcomeCallable describeDdosDefenseInfoCallable(const Model::DescribeDdosDefenseInfoRequest& request) const;
|
||||
@@ -283,24 +354,33 @@ namespace AlibabaCloud
|
||||
ModifyAccessWhiteListAutoShareOutcome modifyAccessWhiteListAutoShare(const Model::ModifyAccessWhiteListAutoShareRequest &request)const;
|
||||
void modifyAccessWhiteListAutoShareAsync(const Model::ModifyAccessWhiteListAutoShareRequest& request, const ModifyAccessWhiteListAutoShareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyAccessWhiteListAutoShareOutcomeCallable modifyAccessWhiteListAutoShareCallable(const Model::ModifyAccessWhiteListAutoShareRequest& request) const;
|
||||
CreateIpWhiteBaselineOutcome createIpWhiteBaseline(const Model::CreateIpWhiteBaselineRequest &request)const;
|
||||
void createIpWhiteBaselineAsync(const Model::CreateIpWhiteBaselineRequest& request, const CreateIpWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateIpWhiteBaselineOutcomeCallable createIpWhiteBaselineCallable(const Model::CreateIpWhiteBaselineRequest& request) const;
|
||||
CreateUidWhiteListGroupOutcome createUidWhiteListGroup(const Model::CreateUidWhiteListGroupRequest &request)const;
|
||||
void createUidWhiteListGroupAsync(const Model::CreateUidWhiteListGroupRequest& request, const CreateUidWhiteListGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateUidWhiteListGroupOutcomeCallable createUidWhiteListGroupCallable(const Model::CreateUidWhiteListGroupRequest& request) const;
|
||||
DescribeCdnIpListOutcome describeCdnIpList(const Model::DescribeCdnIpListRequest &request)const;
|
||||
void describeCdnIpListAsync(const Model::DescribeCdnIpListRequest& request, const DescribeCdnIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnIpListOutcomeCallable describeCdnIpListCallable(const Model::DescribeCdnIpListRequest& request) const;
|
||||
CreateCdnSubscriptionOutcome createCdnSubscription(const Model::CreateCdnSubscriptionRequest &request)const;
|
||||
void createCdnSubscriptionAsync(const Model::CreateCdnSubscriptionRequest& request, const CreateCdnSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCdnSubscriptionOutcomeCallable createCdnSubscriptionCallable(const Model::CreateCdnSubscriptionRequest& request) const;
|
||||
DeleteCdnSubscriptionOutcome deleteCdnSubscription(const Model::DeleteCdnSubscriptionRequest &request)const;
|
||||
void deleteCdnSubscriptionAsync(const Model::DeleteCdnSubscriptionRequest& request, const DeleteCdnSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteCdnSubscriptionOutcomeCallable deleteCdnSubscriptionCallable(const Model::DeleteCdnSubscriptionRequest& request) const;
|
||||
CreateCdnSubscriptionOutcome createCdnSubscription(const Model::CreateCdnSubscriptionRequest &request)const;
|
||||
void createCdnSubscriptionAsync(const Model::CreateCdnSubscriptionRequest& request, const CreateCdnSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCdnSubscriptionOutcomeCallable createCdnSubscriptionCallable(const Model::CreateCdnSubscriptionRequest& request) const;
|
||||
ModifyIpWhiteBaselineOutcome modifyIpWhiteBaseline(const Model::ModifyIpWhiteBaselineRequest &request)const;
|
||||
void modifyIpWhiteBaselineAsync(const Model::ModifyIpWhiteBaselineRequest& request, const ModifyIpWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyIpWhiteBaselineOutcomeCallable modifyIpWhiteBaselineCallable(const Model::ModifyIpWhiteBaselineRequest& request) const;
|
||||
DescribeCpmcPunishListOutcome describeCpmcPunishList(const Model::DescribeCpmcPunishListRequest &request)const;
|
||||
void describeCpmcPunishListAsync(const Model::DescribeCpmcPunishListRequest& request, const DescribeCpmcPunishListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCpmcPunishListOutcomeCallable describeCpmcPunishListCallable(const Model::DescribeCpmcPunishListRequest& request) const;
|
||||
DeleteAccessWhiteListGroupOutcome deleteAccessWhiteListGroup(const Model::DeleteAccessWhiteListGroupRequest &request)const;
|
||||
void deleteAccessWhiteListGroupAsync(const Model::DeleteAccessWhiteListGroupRequest& request, const DeleteAccessWhiteListGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteAccessWhiteListGroupOutcomeCallable deleteAccessWhiteListGroupCallable(const Model::DeleteAccessWhiteListGroupRequest& request) const;
|
||||
ModifyUidWhiteBaselineOutcome modifyUidWhiteBaseline(const Model::ModifyUidWhiteBaselineRequest &request)const;
|
||||
void modifyUidWhiteBaselineAsync(const Model::ModifyUidWhiteBaselineRequest& request, const ModifyUidWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyUidWhiteBaselineOutcomeCallable modifyUidWhiteBaselineCallable(const Model::ModifyUidWhiteBaselineRequest& request) const;
|
||||
DescribeAccessWhiteListGroupOutcome describeAccessWhiteListGroup(const Model::DescribeAccessWhiteListGroupRequest &request)const;
|
||||
void describeAccessWhiteListGroupAsync(const Model::DescribeAccessWhiteListGroupRequest& request, const DescribeAccessWhiteListGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeAccessWhiteListGroupOutcomeCallable describeAccessWhiteListGroupCallable(const Model::DescribeAccessWhiteListGroupRequest& request) const;
|
||||
|
||||
@@ -0,0 +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_JARVIS_MODEL_CREATEIPWHITEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_CREATEIPWHITEBASELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT CreateIpWhiteBaselineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateIpWhiteBaselineRequest();
|
||||
~CreateIpWhiteBaselineRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSrcIp()const;
|
||||
void setSrcIp(const std::string& srcIp);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string srcIp_;
|
||||
std::string sourceIp_;
|
||||
std::string remark_;
|
||||
std::string lang_;
|
||||
std::string sourceCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_CREATEIPWHITEBASELINEREQUEST_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_CREATEIPWHITEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_CREATEIPWHITEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT CreateIpWhiteBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateIpWhiteBaselineResult();
|
||||
explicit CreateIpWhiteBaselineResult(const std::string &payload);
|
||||
~CreateIpWhiteBaselineResult();
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_CREATEIPWHITEBASELINERESULT_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_CREATEUIDWHITEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_CREATEUIDWHITEBASELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT CreateUidWhiteBaselineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateUidWhiteBaselineRequest();
|
||||
~CreateUidWhiteBaselineRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
long getSrcUid()const;
|
||||
void setSrcUid(long srcUid);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string remark_;
|
||||
std::string lang_;
|
||||
long srcUid_;
|
||||
std::string sourceCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_CREATEUIDWHITEBASELINEREQUEST_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_CREATEUIDWHITEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_CREATEUIDWHITEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT CreateUidWhiteBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateUidWhiteBaselineResult();
|
||||
explicit CreateUidWhiteBaselineResult(const std::string &payload);
|
||||
~CreateUidWhiteBaselineResult();
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_CREATEUIDWHITEBASELINERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_JARVIS_MODEL_DELETEIPWHITEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DELETEIPWHITEBASELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DeleteIpWhiteBaselineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteIpWhiteBaselineRequest();
|
||||
~DeleteIpWhiteBaselineRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getWblIpList()const;
|
||||
void setWblIpList(const std::string& wblIpList);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string wblIpList_;
|
||||
std::string lang_;
|
||||
std::string sourceCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DELETEIPWHITEBASELINEREQUEST_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_DELETEIPWHITEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DELETEIPWHITEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DeleteIpWhiteBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteIpWhiteBaselineResult();
|
||||
explicit DeleteIpWhiteBaselineResult(const std::string &payload);
|
||||
~DeleteIpWhiteBaselineResult();
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DELETEIPWHITEBASELINERESULT_H_
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_JARVIS_MODEL_DELETEUIDWHITEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DELETEUIDWHITEBASELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DeleteUidWhiteBaselineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteUidWhiteBaselineRequest();
|
||||
~DeleteUidWhiteBaselineRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getWblUidList()const;
|
||||
void setWblUidList(const std::string& wblUidList);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string wblUidList_;
|
||||
std::string sourceIp_;
|
||||
std::string lang_;
|
||||
std::string sourceCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DELETEUIDWHITEBASELINEREQUEST_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_DELETEUIDWHITEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DELETEUIDWHITEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DeleteUidWhiteBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteUidWhiteBaselineResult();
|
||||
explicit DeleteUidWhiteBaselineResult(const std::string &payload);
|
||||
~DeleteUidWhiteBaselineResult();
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DELETEUIDWHITEBASELINERESULT_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_DELETEWHITELISTCONDITIONALREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DELETEWHITELISTCONDITIONALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DeleteWhiteListConditionalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteWhiteListConditionalRequest();
|
||||
~DeleteWhiteListConditionalRequest();
|
||||
|
||||
std::string getSrcIP()const;
|
||||
void setSrcIP(const std::string& srcIP);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getQueryProduct()const;
|
||||
void setQueryProduct(const std::string& queryProduct);
|
||||
std::string getDstIP()const;
|
||||
void setDstIP(const std::string& dstIP);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
|
||||
private:
|
||||
std::string srcIP_;
|
||||
std::string sourceIp_;
|
||||
std::string queryProduct_;
|
||||
std::string dstIP_;
|
||||
std::string lang_;
|
||||
std::string sourceCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DELETEWHITELISTCONDITIONALREQUEST_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_DELETEWHITELISTCONDITIONALRESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DELETEWHITELISTCONDITIONALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DeleteWhiteListConditionalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteWhiteListConditionalResult();
|
||||
explicit DeleteWhiteListConditionalResult(const std::string &payload);
|
||||
~DeleteWhiteListConditionalResult();
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DELETEWHITELISTCONDITIONALRESULT_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_DELETEWHITELISTDBITEMCONDITIONALREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DELETEWHITELISTDBITEMCONDITIONALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DeleteWhiteListDbItemConditionalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteWhiteListDbItemConditionalRequest();
|
||||
~DeleteWhiteListDbItemConditionalRequest();
|
||||
|
||||
std::string getSrcIP()const;
|
||||
void setSrcIP(const std::string& srcIP);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getQueryProduct()const;
|
||||
void setQueryProduct(const std::string& queryProduct);
|
||||
std::string getDstIP()const;
|
||||
void setDstIP(const std::string& dstIP);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
|
||||
private:
|
||||
std::string srcIP_;
|
||||
std::string sourceIp_;
|
||||
std::string queryProduct_;
|
||||
std::string dstIP_;
|
||||
std::string lang_;
|
||||
std::string sourceCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DELETEWHITELISTDBITEMCONDITIONALREQUEST_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_DELETEWHITELISTDBITEMCONDITIONALRESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DELETEWHITELISTDBITEMCONDITIONALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DeleteWhiteListDbItemConditionalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteWhiteListDbItemConditionalResult();
|
||||
explicit DeleteWhiteListDbItemConditionalResult(const std::string &payload);
|
||||
~DeleteWhiteListDbItemConditionalResult();
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DELETEWHITELISTDBITEMCONDITIONALRESULT_H_
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getPunishType()const;
|
||||
void setPunishType(const std::string& punishType);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getPunishStatus()const;
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
std::string srcIP_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
std::string punishType_;
|
||||
int currentPage_;
|
||||
std::string punishStatus_;
|
||||
std::string lang_;
|
||||
|
||||
@@ -40,18 +40,19 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct Data
|
||||
{
|
||||
std::string gmtCreate;
|
||||
int srcPort;
|
||||
std::string description;
|
||||
int feedBack;
|
||||
std::string gmtExpire;
|
||||
std::string punishType;
|
||||
int dstPort;
|
||||
std::string srcIP;
|
||||
std::string reason;
|
||||
std::string gmtCreate;
|
||||
std::string gmtExpire;
|
||||
std::string dstIP;
|
||||
std::string punishResult;
|
||||
std::string regionId;
|
||||
int dstPort;
|
||||
std::string protocol;
|
||||
std::string srcIP;
|
||||
std::string reason;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_JARVIS_MODEL_DESCRIBEIPWHITEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DESCRIBEIPWHITEBASELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DescribeIpWhiteBaselineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeIpWhiteBaselineRequest();
|
||||
~DescribeIpWhiteBaselineRequest();
|
||||
|
||||
std::string getSrcIp()const;
|
||||
void setSrcIp(const std::string& srcIp);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string srcIp_;
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::string remark_;
|
||||
std::string lang_;
|
||||
std::string sourceCode_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DESCRIBEIPWHITEBASELINEREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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_JARVIS_MODEL_DESCRIBEIPWHITEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DESCRIBEIPWHITEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DescribeIpWhiteBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageInfo
|
||||
{
|
||||
int pageSize;
|
||||
int currentPage;
|
||||
int total;
|
||||
};
|
||||
struct Data
|
||||
{
|
||||
std::string status;
|
||||
int beginTime;
|
||||
int realEndTime;
|
||||
int id;
|
||||
int ownerAliUid;
|
||||
int srcIp;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
DescribeIpWhiteBaselineResult();
|
||||
explicit DescribeIpWhiteBaselineResult(const std::string &payload);
|
||||
~DescribeIpWhiteBaselineResult();
|
||||
std::vector<Data> getDataList()const;
|
||||
PageInfo getPageInfo()const;
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Data> dataList_;
|
||||
PageInfo pageInfo_;
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DESCRIBEIPWHITEBASELINERESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_JARVIS_MODEL_DESCRIBEUIDWHITEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DESCRIBEUIDWHITEBASELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DescribeUidWhiteBaselineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUidWhiteBaselineRequest();
|
||||
~DescribeUidWhiteBaselineRequest();
|
||||
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
int getCurrentPage()const;
|
||||
void setCurrentPage(int currentPage);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
long getSrcUid()const;
|
||||
void setSrcUid(long srcUid);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string sourceIp_;
|
||||
int pageSize_;
|
||||
int currentPage_;
|
||||
std::string remark_;
|
||||
std::string lang_;
|
||||
long srcUid_;
|
||||
std::string sourceCode_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DESCRIBEUIDWHITEBASELINEREQUEST_H_
|
||||
@@ -0,0 +1,71 @@
|
||||
/*
|
||||
* 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_JARVIS_MODEL_DESCRIBEUIDWHITEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_DESCRIBEUIDWHITEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT DescribeUidWhiteBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageInfo
|
||||
{
|
||||
int pageSize;
|
||||
int currentPage;
|
||||
int total;
|
||||
};
|
||||
struct Data
|
||||
{
|
||||
std::string status;
|
||||
int beginTime;
|
||||
int realEndTime;
|
||||
long srcUid;
|
||||
int id;
|
||||
int ownerAliUid;
|
||||
std::string remark;
|
||||
};
|
||||
|
||||
|
||||
DescribeUidWhiteBaselineResult();
|
||||
explicit DescribeUidWhiteBaselineResult(const std::string &payload);
|
||||
~DescribeUidWhiteBaselineResult();
|
||||
std::vector<Data> getDataList()const;
|
||||
PageInfo getPageInfo()const;
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<Data> dataList_;
|
||||
PageInfo pageInfo_;
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_DESCRIBEUIDWHITEBASELINERESULT_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_MODIFYIPWHITEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_MODIFYIPWHITEBASELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT ModifyIpWhiteBaselineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyIpWhiteBaselineRequest();
|
||||
~ModifyIpWhiteBaselineRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSrcIp()const;
|
||||
void setSrcIp(const std::string& srcIp);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
int getId()const;
|
||||
void setId(int id);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string srcIp_;
|
||||
std::string sourceIp_;
|
||||
std::string remark_;
|
||||
int id_;
|
||||
std::string lang_;
|
||||
std::string sourceCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_MODIFYIPWHITEBASELINEREQUEST_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_MODIFYIPWHITEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_MODIFYIPWHITEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT ModifyIpWhiteBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyIpWhiteBaselineResult();
|
||||
explicit ModifyIpWhiteBaselineResult(const std::string &payload);
|
||||
~ModifyIpWhiteBaselineResult();
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_MODIFYIPWHITEBASELINERESULT_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_MODIFYUIDWHITEBASELINEREQUEST_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_MODIFYUIDWHITEBASELINEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT ModifyUidWhiteBaselineRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyUidWhiteBaselineRequest();
|
||||
~ModifyUidWhiteBaselineRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getSourceIp()const;
|
||||
void setSourceIp(const std::string& sourceIp);
|
||||
std::string getRemark()const;
|
||||
void setRemark(const std::string& remark);
|
||||
int getId()const;
|
||||
void setId(int id);
|
||||
std::string getLang()const;
|
||||
void setLang(const std::string& lang);
|
||||
long getSrcUid()const;
|
||||
void setSrcUid(long srcUid);
|
||||
std::string getSourceCode()const;
|
||||
void setSourceCode(const std::string& sourceCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string sourceIp_;
|
||||
std::string remark_;
|
||||
int id_;
|
||||
std::string lang_;
|
||||
long srcUid_;
|
||||
std::string sourceCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_MODIFYUIDWHITEBASELINEREQUEST_H_
|
||||
@@ -0,0 +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_JARVIS_MODEL_MODIFYUIDWHITEBASELINERESULT_H_
|
||||
#define ALIBABACLOUD_JARVIS_MODEL_MODIFYUIDWHITEBASELINERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/jarvis/JarvisExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Jarvis
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_JARVIS_EXPORT ModifyUidWhiteBaselineResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ModifyUidWhiteBaselineResult();
|
||||
explicit ModifyUidWhiteBaselineResult(const std::string &payload);
|
||||
~ModifyUidWhiteBaselineResult();
|
||||
std::string getModule()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string module_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_JARVIS_MODEL_MODIFYUIDWHITEBASELINERESULT_H_
|
||||
@@ -159,36 +159,36 @@ JarvisClient::DescribeAccessWhiteListSlbListOutcomeCallable JarvisClient::descri
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DescribePhoneInfoOutcome JarvisClient::describePhoneInfo(const DescribePhoneInfoRequest &request) const
|
||||
JarvisClient::DeleteIpWhiteBaselineOutcome JarvisClient::deleteIpWhiteBaseline(const DeleteIpWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePhoneInfoOutcome(endpointOutcome.error());
|
||||
return DeleteIpWhiteBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePhoneInfoOutcome(DescribePhoneInfoResult(outcome.result()));
|
||||
return DeleteIpWhiteBaselineOutcome(DeleteIpWhiteBaselineResult(outcome.result()));
|
||||
else
|
||||
return DescribePhoneInfoOutcome(outcome.error());
|
||||
return DeleteIpWhiteBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::describePhoneInfoAsync(const DescribePhoneInfoRequest& request, const DescribePhoneInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void JarvisClient::deleteIpWhiteBaselineAsync(const DeleteIpWhiteBaselineRequest& request, const DeleteIpWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePhoneInfo(request), context);
|
||||
handler(this, request, deleteIpWhiteBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DescribePhoneInfoOutcomeCallable JarvisClient::describePhoneInfoCallable(const DescribePhoneInfoRequest &request) const
|
||||
JarvisClient::DeleteIpWhiteBaselineOutcomeCallable JarvisClient::deleteIpWhiteBaselineCallable(const DeleteIpWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePhoneInfoOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<DeleteIpWhiteBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePhoneInfo(request);
|
||||
return this->deleteIpWhiteBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -231,6 +231,42 @@ JarvisClient::DescribeAccessWhitelistEcsListOutcomeCallable JarvisClient::descri
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DescribePhoneInfoOutcome JarvisClient::describePhoneInfo(const DescribePhoneInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribePhoneInfoOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribePhoneInfoOutcome(DescribePhoneInfoResult(outcome.result()));
|
||||
else
|
||||
return DescribePhoneInfoOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::describePhoneInfoAsync(const DescribePhoneInfoRequest& request, const DescribePhoneInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describePhoneInfo(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DescribePhoneInfoOutcomeCallable JarvisClient::describePhoneInfoCallable(const DescribePhoneInfoRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribePhoneInfoOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describePhoneInfo(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::ModifyUidWhiteListAutoShareOutcome JarvisClient::modifyUidWhiteListAutoShare(const ModifyUidWhiteListAutoShareRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -303,6 +339,42 @@ JarvisClient::CreateConsoleAccessWhiteListOutcomeCallable JarvisClient::createCo
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DescribeUidWhiteBaselineOutcome JarvisClient::describeUidWhiteBaseline(const DescribeUidWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeUidWhiteBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeUidWhiteBaselineOutcome(DescribeUidWhiteBaselineResult(outcome.result()));
|
||||
else
|
||||
return DescribeUidWhiteBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::describeUidWhiteBaselineAsync(const DescribeUidWhiteBaselineRequest& request, const DescribeUidWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeUidWhiteBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DescribeUidWhiteBaselineOutcomeCallable JarvisClient::describeUidWhiteBaselineCallable(const DescribeUidWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeUidWhiteBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeUidWhiteBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DescribeConsoleAccessWhiteListOutcome JarvisClient::describeConsoleAccessWhiteList(const DescribeConsoleAccessWhiteListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -339,6 +411,78 @@ JarvisClient::DescribeConsoleAccessWhiteListOutcomeCallable JarvisClient::descri
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DeleteWhiteListDbItemConditionalOutcome JarvisClient::deleteWhiteListDbItemConditional(const DeleteWhiteListDbItemConditionalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteWhiteListDbItemConditionalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteWhiteListDbItemConditionalOutcome(DeleteWhiteListDbItemConditionalResult(outcome.result()));
|
||||
else
|
||||
return DeleteWhiteListDbItemConditionalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::deleteWhiteListDbItemConditionalAsync(const DeleteWhiteListDbItemConditionalRequest& request, const DeleteWhiteListDbItemConditionalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteWhiteListDbItemConditional(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DeleteWhiteListDbItemConditionalOutcomeCallable JarvisClient::deleteWhiteListDbItemConditionalCallable(const DeleteWhiteListDbItemConditionalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteWhiteListDbItemConditionalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteWhiteListDbItemConditional(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DescribeIpWhiteBaselineOutcome JarvisClient::describeIpWhiteBaseline(const DescribeIpWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeIpWhiteBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeIpWhiteBaselineOutcome(DescribeIpWhiteBaselineResult(outcome.result()));
|
||||
else
|
||||
return DescribeIpWhiteBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::describeIpWhiteBaselineAsync(const DescribeIpWhiteBaselineRequest& request, const DescribeIpWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeIpWhiteBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DescribeIpWhiteBaselineOutcomeCallable JarvisClient::describeIpWhiteBaselineCallable(const DescribeIpWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeIpWhiteBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeIpWhiteBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DeleteCdnIpOutcome JarvisClient::deleteCdnIp(const DeleteCdnIpRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -411,6 +555,42 @@ JarvisClient::CreateCdnIpOutcomeCallable JarvisClient::createCdnIpCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DeleteUidWhiteBaselineOutcome JarvisClient::deleteUidWhiteBaseline(const DeleteUidWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteUidWhiteBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteUidWhiteBaselineOutcome(DeleteUidWhiteBaselineResult(outcome.result()));
|
||||
else
|
||||
return DeleteUidWhiteBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::deleteUidWhiteBaselineAsync(const DeleteUidWhiteBaselineRequest& request, const DeleteUidWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteUidWhiteBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DeleteUidWhiteBaselineOutcomeCallable JarvisClient::deleteUidWhiteBaselineCallable(const DeleteUidWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteUidWhiteBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteUidWhiteBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DescribeUidGcLevelOutcome JarvisClient::describeUidGcLevel(const DescribeUidGcLevelRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -591,6 +771,42 @@ JarvisClient::DescribeRiskListDetailOutcomeCallable JarvisClient::describeRiskLi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DeleteConsoleAccessWhiteListOutcome JarvisClient::deleteConsoleAccessWhiteList(const DeleteConsoleAccessWhiteListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteConsoleAccessWhiteListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteConsoleAccessWhiteListOutcome(DeleteConsoleAccessWhiteListResult(outcome.result()));
|
||||
else
|
||||
return DeleteConsoleAccessWhiteListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::deleteConsoleAccessWhiteListAsync(const DeleteConsoleAccessWhiteListRequest& request, const DeleteConsoleAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteConsoleAccessWhiteList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DeleteConsoleAccessWhiteListOutcomeCallable JarvisClient::deleteConsoleAccessWhiteListCallable(const DeleteConsoleAccessWhiteListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteConsoleAccessWhiteListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteConsoleAccessWhiteList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DescribeEcsListPageOutcome JarvisClient::describeEcsListPage(const DescribeEcsListPageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -627,36 +843,36 @@ JarvisClient::DescribeEcsListPageOutcomeCallable JarvisClient::describeEcsListPa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DeleteConsoleAccessWhiteListOutcome JarvisClient::deleteConsoleAccessWhiteList(const DeleteConsoleAccessWhiteListRequest &request) const
|
||||
JarvisClient::CreateUidWhiteBaselineOutcome JarvisClient::createUidWhiteBaseline(const CreateUidWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteConsoleAccessWhiteListOutcome(endpointOutcome.error());
|
||||
return CreateUidWhiteBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteConsoleAccessWhiteListOutcome(DeleteConsoleAccessWhiteListResult(outcome.result()));
|
||||
return CreateUidWhiteBaselineOutcome(CreateUidWhiteBaselineResult(outcome.result()));
|
||||
else
|
||||
return DeleteConsoleAccessWhiteListOutcome(outcome.error());
|
||||
return CreateUidWhiteBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::deleteConsoleAccessWhiteListAsync(const DeleteConsoleAccessWhiteListRequest& request, const DeleteConsoleAccessWhiteListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void JarvisClient::createUidWhiteBaselineAsync(const CreateUidWhiteBaselineRequest& request, const CreateUidWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteConsoleAccessWhiteList(request), context);
|
||||
handler(this, request, createUidWhiteBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DeleteConsoleAccessWhiteListOutcomeCallable JarvisClient::deleteConsoleAccessWhiteListCallable(const DeleteConsoleAccessWhiteListRequest &request) const
|
||||
JarvisClient::CreateUidWhiteBaselineOutcomeCallable JarvisClient::createUidWhiteBaselineCallable(const CreateUidWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteConsoleAccessWhiteListOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<CreateUidWhiteBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteConsoleAccessWhiteList(request);
|
||||
return this->createUidWhiteBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -735,6 +951,42 @@ JarvisClient::CreateAccessWhiteListGroupOutcomeCallable JarvisClient::createAcce
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DeleteWhiteListConditionalOutcome JarvisClient::deleteWhiteListConditional(const DeleteWhiteListConditionalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteWhiteListConditionalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteWhiteListConditionalOutcome(DeleteWhiteListConditionalResult(outcome.result()));
|
||||
else
|
||||
return DeleteWhiteListConditionalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::deleteWhiteListConditionalAsync(const DeleteWhiteListConditionalRequest& request, const DeleteWhiteListConditionalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteWhiteListConditional(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DeleteWhiteListConditionalOutcomeCallable JarvisClient::deleteWhiteListConditionalCallable(const DeleteWhiteListConditionalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteWhiteListConditionalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteWhiteListConditional(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DescribeDdosDefenseInfoOutcome JarvisClient::describeDdosDefenseInfo(const DescribeDdosDefenseInfoRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -915,6 +1167,42 @@ JarvisClient::ModifyAccessWhiteListAutoShareOutcomeCallable JarvisClient::modify
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::CreateIpWhiteBaselineOutcome JarvisClient::createIpWhiteBaseline(const CreateIpWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateIpWhiteBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateIpWhiteBaselineOutcome(CreateIpWhiteBaselineResult(outcome.result()));
|
||||
else
|
||||
return CreateIpWhiteBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::createIpWhiteBaselineAsync(const CreateIpWhiteBaselineRequest& request, const CreateIpWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createIpWhiteBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::CreateIpWhiteBaselineOutcomeCallable JarvisClient::createIpWhiteBaselineCallable(const CreateIpWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateIpWhiteBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createIpWhiteBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::CreateUidWhiteListGroupOutcome JarvisClient::createUidWhiteListGroup(const CreateUidWhiteListGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1275,42 @@ JarvisClient::DescribeCdnIpListOutcomeCallable JarvisClient::describeCdnIpListCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DeleteCdnSubscriptionOutcome JarvisClient::deleteCdnSubscription(const DeleteCdnSubscriptionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCdnSubscriptionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCdnSubscriptionOutcome(DeleteCdnSubscriptionResult(outcome.result()));
|
||||
else
|
||||
return DeleteCdnSubscriptionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::deleteCdnSubscriptionAsync(const DeleteCdnSubscriptionRequest& request, const DeleteCdnSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCdnSubscription(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DeleteCdnSubscriptionOutcomeCallable JarvisClient::deleteCdnSubscriptionCallable(const DeleteCdnSubscriptionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCdnSubscriptionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCdnSubscription(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::CreateCdnSubscriptionOutcome JarvisClient::createCdnSubscription(const CreateCdnSubscriptionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1023,36 +1347,36 @@ JarvisClient::CreateCdnSubscriptionOutcomeCallable JarvisClient::createCdnSubscr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DeleteCdnSubscriptionOutcome JarvisClient::deleteCdnSubscription(const DeleteCdnSubscriptionRequest &request) const
|
||||
JarvisClient::ModifyIpWhiteBaselineOutcome JarvisClient::modifyIpWhiteBaseline(const ModifyIpWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteCdnSubscriptionOutcome(endpointOutcome.error());
|
||||
return ModifyIpWhiteBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteCdnSubscriptionOutcome(DeleteCdnSubscriptionResult(outcome.result()));
|
||||
return ModifyIpWhiteBaselineOutcome(ModifyIpWhiteBaselineResult(outcome.result()));
|
||||
else
|
||||
return DeleteCdnSubscriptionOutcome(outcome.error());
|
||||
return ModifyIpWhiteBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::deleteCdnSubscriptionAsync(const DeleteCdnSubscriptionRequest& request, const DeleteCdnSubscriptionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
void JarvisClient::modifyIpWhiteBaselineAsync(const ModifyIpWhiteBaselineRequest& request, const ModifyIpWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteCdnSubscription(request), context);
|
||||
handler(this, request, modifyIpWhiteBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::DeleteCdnSubscriptionOutcomeCallable JarvisClient::deleteCdnSubscriptionCallable(const DeleteCdnSubscriptionRequest &request) const
|
||||
JarvisClient::ModifyIpWhiteBaselineOutcomeCallable JarvisClient::modifyIpWhiteBaselineCallable(const ModifyIpWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteCdnSubscriptionOutcome()>>(
|
||||
auto task = std::make_shared<std::packaged_task<ModifyIpWhiteBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteCdnSubscription(request);
|
||||
return this->modifyIpWhiteBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
@@ -1131,6 +1455,42 @@ JarvisClient::DeleteAccessWhiteListGroupOutcomeCallable JarvisClient::deleteAcce
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::ModifyUidWhiteBaselineOutcome JarvisClient::modifyUidWhiteBaseline(const ModifyUidWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ModifyUidWhiteBaselineOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ModifyUidWhiteBaselineOutcome(ModifyUidWhiteBaselineResult(outcome.result()));
|
||||
else
|
||||
return ModifyUidWhiteBaselineOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void JarvisClient::modifyUidWhiteBaselineAsync(const ModifyUidWhiteBaselineRequest& request, const ModifyUidWhiteBaselineAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, modifyUidWhiteBaseline(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
JarvisClient::ModifyUidWhiteBaselineOutcomeCallable JarvisClient::modifyUidWhiteBaselineCallable(const ModifyUidWhiteBaselineRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ModifyUidWhiteBaselineOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->modifyUidWhiteBaseline(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
JarvisClient::DescribeAccessWhiteListGroupOutcome JarvisClient::describeAccessWhiteListGroup(const DescribeAccessWhiteListGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string CreateAccessWhiteListGroupRequest::getNote()const
|
||||
void CreateAccessWhiteListGroupRequest::setNote(const std::string& note)
|
||||
{
|
||||
note_ = note;
|
||||
setParameter("Note", note);
|
||||
setCoreParameter("Note", note);
|
||||
}
|
||||
|
||||
long CreateAccessWhiteListGroupRequest::getResourceOwnerId()const
|
||||
@@ -44,7 +44,7 @@ long CreateAccessWhiteListGroupRequest::getResourceOwnerId()const
|
||||
void CreateAccessWhiteListGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateAccessWhiteListGroupRequest::getSrcIP()const
|
||||
@@ -55,7 +55,7 @@ std::string CreateAccessWhiteListGroupRequest::getSrcIP()const
|
||||
void CreateAccessWhiteListGroupRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string CreateAccessWhiteListGroupRequest::getSourceIp()const
|
||||
@@ -66,7 +66,7 @@ std::string CreateAccessWhiteListGroupRequest::getSourceIp()const
|
||||
void CreateAccessWhiteListGroupRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int CreateAccessWhiteListGroupRequest::getDstPort()const
|
||||
@@ -77,7 +77,7 @@ int CreateAccessWhiteListGroupRequest::getDstPort()const
|
||||
void CreateAccessWhiteListGroupRequest::setDstPort(int dstPort)
|
||||
{
|
||||
dstPort_ = dstPort;
|
||||
setParameter("DstPort", std::to_string(dstPort));
|
||||
setCoreParameter("DstPort", std::to_string(dstPort));
|
||||
}
|
||||
|
||||
std::string CreateAccessWhiteListGroupRequest::getInstanceIdList()const
|
||||
@@ -88,7 +88,7 @@ std::string CreateAccessWhiteListGroupRequest::getInstanceIdList()const
|
||||
void CreateAccessWhiteListGroupRequest::setInstanceIdList(const std::string& instanceIdList)
|
||||
{
|
||||
instanceIdList_ = instanceIdList;
|
||||
setParameter("InstanceIdList", instanceIdList);
|
||||
setCoreParameter("InstanceIdList", instanceIdList);
|
||||
}
|
||||
|
||||
int CreateAccessWhiteListGroupRequest::getLiveTime()const
|
||||
@@ -99,7 +99,7 @@ int CreateAccessWhiteListGroupRequest::getLiveTime()const
|
||||
void CreateAccessWhiteListGroupRequest::setLiveTime(int liveTime)
|
||||
{
|
||||
liveTime_ = liveTime;
|
||||
setParameter("LiveTime", std::to_string(liveTime));
|
||||
setCoreParameter("LiveTime", std::to_string(liveTime));
|
||||
}
|
||||
|
||||
std::string CreateAccessWhiteListGroupRequest::getProductName()const
|
||||
@@ -110,7 +110,7 @@ std::string CreateAccessWhiteListGroupRequest::getProductName()const
|
||||
void CreateAccessWhiteListGroupRequest::setProductName(const std::string& productName)
|
||||
{
|
||||
productName_ = productName;
|
||||
setParameter("ProductName", productName);
|
||||
setCoreParameter("ProductName", productName);
|
||||
}
|
||||
|
||||
int CreateAccessWhiteListGroupRequest::getWhiteListType()const
|
||||
@@ -121,7 +121,7 @@ int CreateAccessWhiteListGroupRequest::getWhiteListType()const
|
||||
void CreateAccessWhiteListGroupRequest::setWhiteListType(int whiteListType)
|
||||
{
|
||||
whiteListType_ = whiteListType;
|
||||
setParameter("WhiteListType", std::to_string(whiteListType));
|
||||
setCoreParameter("WhiteListType", std::to_string(whiteListType));
|
||||
}
|
||||
|
||||
std::string CreateAccessWhiteListGroupRequest::getInstanceInfoList()const
|
||||
@@ -132,7 +132,7 @@ std::string CreateAccessWhiteListGroupRequest::getInstanceInfoList()const
|
||||
void CreateAccessWhiteListGroupRequest::setInstanceInfoList(const std::string& instanceInfoList)
|
||||
{
|
||||
instanceInfoList_ = instanceInfoList;
|
||||
setParameter("InstanceInfoList", instanceInfoList);
|
||||
setCoreParameter("InstanceInfoList", instanceInfoList);
|
||||
}
|
||||
|
||||
std::string CreateAccessWhiteListGroupRequest::getLang()const
|
||||
@@ -143,7 +143,7 @@ std::string CreateAccessWhiteListGroupRequest::getLang()const
|
||||
void CreateAccessWhiteListGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateAccessWhiteListGroupRequest::getSourceCode()const
|
||||
@@ -154,6 +154,6 @@ std::string CreateAccessWhiteListGroupRequest::getSourceCode()const
|
||||
void CreateAccessWhiteListGroupRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateAccessWhiteListGroupResult::~CreateAccessWhiteListGroupResult()
|
||||
|
||||
void CreateAccessWhiteListGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ long CreateAllEcsWhiteListRequest::getResourceOwnerId()const
|
||||
void CreateAllEcsWhiteListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateAllEcsWhiteListRequest::getSrcIP()const
|
||||
@@ -44,7 +44,7 @@ std::string CreateAllEcsWhiteListRequest::getSrcIP()const
|
||||
void CreateAllEcsWhiteListRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string CreateAllEcsWhiteListRequest::getSourceIp()const
|
||||
@@ -55,7 +55,7 @@ std::string CreateAllEcsWhiteListRequest::getSourceIp()const
|
||||
void CreateAllEcsWhiteListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateAllEcsWhiteListRequest::getSourceCode()const
|
||||
@@ -66,6 +66,6 @@ std::string CreateAllEcsWhiteListRequest::getSourceCode()const
|
||||
void CreateAllEcsWhiteListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateAllEcsWhiteListResult::~CreateAllEcsWhiteListResult()
|
||||
|
||||
void CreateAllEcsWhiteListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string CreateCdnIpRequest::getCdnIpList()const
|
||||
void CreateCdnIpRequest::setCdnIpList(const std::string& cdnIpList)
|
||||
{
|
||||
cdnIpList_ = cdnIpList;
|
||||
setParameter("CdnIpList", cdnIpList);
|
||||
setCoreParameter("CdnIpList", cdnIpList);
|
||||
}
|
||||
|
||||
long CreateCdnIpRequest::getResourceOwnerId()const
|
||||
@@ -44,7 +44,7 @@ long CreateCdnIpRequest::getResourceOwnerId()const
|
||||
void CreateCdnIpRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCdnIpRequest::getSourceIp()const
|
||||
@@ -55,7 +55,7 @@ std::string CreateCdnIpRequest::getSourceIp()const
|
||||
void CreateCdnIpRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateCdnIpRequest::getLang()const
|
||||
@@ -66,7 +66,7 @@ std::string CreateCdnIpRequest::getLang()const
|
||||
void CreateCdnIpRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateCdnIpRequest::getSourceCode()const
|
||||
@@ -77,6 +77,6 @@ std::string CreateCdnIpRequest::getSourceCode()const
|
||||
void CreateCdnIpRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateCdnIpResult::~CreateCdnIpResult()
|
||||
|
||||
void CreateCdnIpResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ long CreateCdnSubscriptionRequest::getResourceOwnerId()const
|
||||
void CreateCdnSubscriptionRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateCdnSubscriptionRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string CreateCdnSubscriptionRequest::getSourceIp()const
|
||||
void CreateCdnSubscriptionRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateCdnSubscriptionRequest::getLang()const
|
||||
@@ -55,7 +55,7 @@ std::string CreateCdnSubscriptionRequest::getLang()const
|
||||
void CreateCdnSubscriptionRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateCdnSubscriptionRequest::getCdnUidList()const
|
||||
@@ -66,7 +66,7 @@ std::string CreateCdnSubscriptionRequest::getCdnUidList()const
|
||||
void CreateCdnSubscriptionRequest::setCdnUidList(const std::string& cdnUidList)
|
||||
{
|
||||
cdnUidList_ = cdnUidList;
|
||||
setParameter("CdnUidList", cdnUidList);
|
||||
setCoreParameter("CdnUidList", cdnUidList);
|
||||
}
|
||||
|
||||
std::string CreateCdnSubscriptionRequest::getSourceCode()const
|
||||
@@ -77,6 +77,6 @@ std::string CreateCdnSubscriptionRequest::getSourceCode()const
|
||||
void CreateCdnSubscriptionRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateCdnSubscriptionResult::~CreateCdnSubscriptionResult()
|
||||
|
||||
void CreateCdnSubscriptionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string CreateConsoleAccessWhiteListRequest::getNote()const
|
||||
void CreateConsoleAccessWhiteListRequest::setNote(const std::string& note)
|
||||
{
|
||||
note_ = note;
|
||||
setParameter("Note", note);
|
||||
setCoreParameter("Note", note);
|
||||
}
|
||||
|
||||
long CreateConsoleAccessWhiteListRequest::getResourceOwnerId()const
|
||||
@@ -44,7 +44,7 @@ long CreateConsoleAccessWhiteListRequest::getResourceOwnerId()const
|
||||
void CreateConsoleAccessWhiteListRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateConsoleAccessWhiteListRequest::getSrcIP()const
|
||||
@@ -55,7 +55,7 @@ std::string CreateConsoleAccessWhiteListRequest::getSrcIP()const
|
||||
void CreateConsoleAccessWhiteListRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string CreateConsoleAccessWhiteListRequest::getSourceIp()const
|
||||
@@ -66,7 +66,7 @@ std::string CreateConsoleAccessWhiteListRequest::getSourceIp()const
|
||||
void CreateConsoleAccessWhiteListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int CreateConsoleAccessWhiteListRequest::getDstPort()const
|
||||
@@ -77,7 +77,7 @@ int CreateConsoleAccessWhiteListRequest::getDstPort()const
|
||||
void CreateConsoleAccessWhiteListRequest::setDstPort(int dstPort)
|
||||
{
|
||||
dstPort_ = dstPort;
|
||||
setParameter("DstPort", std::to_string(dstPort));
|
||||
setCoreParameter("DstPort", std::to_string(dstPort));
|
||||
}
|
||||
|
||||
std::string CreateConsoleAccessWhiteListRequest::getInstanceIdList()const
|
||||
@@ -88,7 +88,7 @@ std::string CreateConsoleAccessWhiteListRequest::getInstanceIdList()const
|
||||
void CreateConsoleAccessWhiteListRequest::setInstanceIdList(const std::string& instanceIdList)
|
||||
{
|
||||
instanceIdList_ = instanceIdList;
|
||||
setParameter("InstanceIdList", instanceIdList);
|
||||
setCoreParameter("InstanceIdList", instanceIdList);
|
||||
}
|
||||
|
||||
int CreateConsoleAccessWhiteListRequest::getLiveTime()const
|
||||
@@ -99,7 +99,7 @@ int CreateConsoleAccessWhiteListRequest::getLiveTime()const
|
||||
void CreateConsoleAccessWhiteListRequest::setLiveTime(int liveTime)
|
||||
{
|
||||
liveTime_ = liveTime;
|
||||
setParameter("LiveTime", std::to_string(liveTime));
|
||||
setCoreParameter("LiveTime", std::to_string(liveTime));
|
||||
}
|
||||
|
||||
std::string CreateConsoleAccessWhiteListRequest::getProductName()const
|
||||
@@ -110,7 +110,7 @@ std::string CreateConsoleAccessWhiteListRequest::getProductName()const
|
||||
void CreateConsoleAccessWhiteListRequest::setProductName(const std::string& productName)
|
||||
{
|
||||
productName_ = productName;
|
||||
setParameter("ProductName", productName);
|
||||
setCoreParameter("ProductName", productName);
|
||||
}
|
||||
|
||||
int CreateConsoleAccessWhiteListRequest::getWhiteListType()const
|
||||
@@ -121,7 +121,7 @@ int CreateConsoleAccessWhiteListRequest::getWhiteListType()const
|
||||
void CreateConsoleAccessWhiteListRequest::setWhiteListType(int whiteListType)
|
||||
{
|
||||
whiteListType_ = whiteListType;
|
||||
setParameter("WhiteListType", std::to_string(whiteListType));
|
||||
setCoreParameter("WhiteListType", std::to_string(whiteListType));
|
||||
}
|
||||
|
||||
std::string CreateConsoleAccessWhiteListRequest::getInstanceInfoList()const
|
||||
@@ -132,7 +132,7 @@ std::string CreateConsoleAccessWhiteListRequest::getInstanceInfoList()const
|
||||
void CreateConsoleAccessWhiteListRequest::setInstanceInfoList(const std::string& instanceInfoList)
|
||||
{
|
||||
instanceInfoList_ = instanceInfoList;
|
||||
setParameter("InstanceInfoList", instanceInfoList);
|
||||
setCoreParameter("InstanceInfoList", instanceInfoList);
|
||||
}
|
||||
|
||||
std::string CreateConsoleAccessWhiteListRequest::getLang()const
|
||||
@@ -143,7 +143,7 @@ std::string CreateConsoleAccessWhiteListRequest::getLang()const
|
||||
void CreateConsoleAccessWhiteListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateConsoleAccessWhiteListRequest::getSourceCode()const
|
||||
@@ -154,6 +154,6 @@ std::string CreateConsoleAccessWhiteListRequest::getSourceCode()const
|
||||
void CreateConsoleAccessWhiteListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateConsoleAccessWhiteListResult::~CreateConsoleAccessWhiteListResult()
|
||||
|
||||
void CreateConsoleAccessWhiteListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ int CreateCpmcPunishFeedBackRequest::getFeedBack()const
|
||||
void CreateCpmcPunishFeedBackRequest::setFeedBack(int feedBack)
|
||||
{
|
||||
feedBack_ = feedBack;
|
||||
setParameter("FeedBack", std::to_string(feedBack));
|
||||
setCoreParameter("FeedBack", std::to_string(feedBack));
|
||||
}
|
||||
|
||||
std::string CreateCpmcPunishFeedBackRequest::getSrcIP()const
|
||||
@@ -44,7 +44,7 @@ std::string CreateCpmcPunishFeedBackRequest::getSrcIP()const
|
||||
void CreateCpmcPunishFeedBackRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string CreateCpmcPunishFeedBackRequest::getSourceIp()const
|
||||
@@ -55,7 +55,7 @@ std::string CreateCpmcPunishFeedBackRequest::getSourceIp()const
|
||||
void CreateCpmcPunishFeedBackRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int CreateCpmcPunishFeedBackRequest::getDstPort()const
|
||||
@@ -66,7 +66,7 @@ int CreateCpmcPunishFeedBackRequest::getDstPort()const
|
||||
void CreateCpmcPunishFeedBackRequest::setDstPort(int dstPort)
|
||||
{
|
||||
dstPort_ = dstPort;
|
||||
setParameter("DstPort", std::to_string(dstPort));
|
||||
setCoreParameter("DstPort", std::to_string(dstPort));
|
||||
}
|
||||
|
||||
std::string CreateCpmcPunishFeedBackRequest::getProtocolName()const
|
||||
@@ -77,7 +77,7 @@ std::string CreateCpmcPunishFeedBackRequest::getProtocolName()const
|
||||
void CreateCpmcPunishFeedBackRequest::setProtocolName(const std::string& protocolName)
|
||||
{
|
||||
protocolName_ = protocolName;
|
||||
setParameter("ProtocolName", protocolName);
|
||||
setCoreParameter("ProtocolName", protocolName);
|
||||
}
|
||||
|
||||
int CreateCpmcPunishFeedBackRequest::getSrcPort()const
|
||||
@@ -88,7 +88,7 @@ int CreateCpmcPunishFeedBackRequest::getSrcPort()const
|
||||
void CreateCpmcPunishFeedBackRequest::setSrcPort(int srcPort)
|
||||
{
|
||||
srcPort_ = srcPort;
|
||||
setParameter("SrcPort", std::to_string(srcPort));
|
||||
setCoreParameter("SrcPort", std::to_string(srcPort));
|
||||
}
|
||||
|
||||
std::string CreateCpmcPunishFeedBackRequest::getPunishType()const
|
||||
@@ -99,7 +99,7 @@ std::string CreateCpmcPunishFeedBackRequest::getPunishType()const
|
||||
void CreateCpmcPunishFeedBackRequest::setPunishType(const std::string& punishType)
|
||||
{
|
||||
punishType_ = punishType;
|
||||
setParameter("PunishType", punishType);
|
||||
setCoreParameter("PunishType", punishType);
|
||||
}
|
||||
|
||||
std::string CreateCpmcPunishFeedBackRequest::getGmtCreate()const
|
||||
@@ -110,7 +110,7 @@ std::string CreateCpmcPunishFeedBackRequest::getGmtCreate()const
|
||||
void CreateCpmcPunishFeedBackRequest::setGmtCreate(const std::string& gmtCreate)
|
||||
{
|
||||
gmtCreate_ = gmtCreate;
|
||||
setParameter("GmtCreate", gmtCreate);
|
||||
setCoreParameter("GmtCreate", gmtCreate);
|
||||
}
|
||||
|
||||
std::string CreateCpmcPunishFeedBackRequest::getDstIP()const
|
||||
@@ -121,7 +121,7 @@ std::string CreateCpmcPunishFeedBackRequest::getDstIP()const
|
||||
void CreateCpmcPunishFeedBackRequest::setDstIP(const std::string& dstIP)
|
||||
{
|
||||
dstIP_ = dstIP;
|
||||
setParameter("DstIP", dstIP);
|
||||
setCoreParameter("DstIP", dstIP);
|
||||
}
|
||||
|
||||
std::string CreateCpmcPunishFeedBackRequest::getLang()const
|
||||
@@ -132,7 +132,7 @@ std::string CreateCpmcPunishFeedBackRequest::getLang()const
|
||||
void CreateCpmcPunishFeedBackRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateCpmcPunishFeedBackRequest::getSourceCode()const
|
||||
@@ -143,6 +143,6 @@ std::string CreateCpmcPunishFeedBackRequest::getSourceCode()const
|
||||
void CreateCpmcPunishFeedBackRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateCpmcPunishFeedBackResult::~CreateCpmcPunishFeedBackResult()
|
||||
|
||||
void CreateCpmcPunishFeedBackResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
93
jarvis/src/model/CreateIpWhiteBaselineRequest.cc
Normal file
93
jarvis/src/model/CreateIpWhiteBaselineRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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/jarvis/model/CreateIpWhiteBaselineRequest.h>
|
||||
|
||||
using AlibabaCloud::Jarvis::Model::CreateIpWhiteBaselineRequest;
|
||||
|
||||
CreateIpWhiteBaselineRequest::CreateIpWhiteBaselineRequest() :
|
||||
RpcServiceRequest("jarvis", "2018-02-06", "CreateIpWhiteBaseline")
|
||||
{}
|
||||
|
||||
CreateIpWhiteBaselineRequest::~CreateIpWhiteBaselineRequest()
|
||||
{}
|
||||
|
||||
long CreateIpWhiteBaselineRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateIpWhiteBaselineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateIpWhiteBaselineRequest::getSrcIp()const
|
||||
{
|
||||
return srcIp_;
|
||||
}
|
||||
|
||||
void CreateIpWhiteBaselineRequest::setSrcIp(const std::string& srcIp)
|
||||
{
|
||||
srcIp_ = srcIp;
|
||||
setCoreParameter("SrcIp", srcIp);
|
||||
}
|
||||
|
||||
std::string CreateIpWhiteBaselineRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void CreateIpWhiteBaselineRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateIpWhiteBaselineRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void CreateIpWhiteBaselineRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string CreateIpWhiteBaselineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CreateIpWhiteBaselineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateIpWhiteBaselineRequest::getSourceCode()const
|
||||
{
|
||||
return sourceCode_;
|
||||
}
|
||||
|
||||
void CreateIpWhiteBaselineRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
55
jarvis/src/model/CreateIpWhiteBaselineResult.cc
Normal file
55
jarvis/src/model/CreateIpWhiteBaselineResult.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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/jarvis/model/CreateIpWhiteBaselineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Jarvis;
|
||||
using namespace AlibabaCloud::Jarvis::Model;
|
||||
|
||||
CreateIpWhiteBaselineResult::CreateIpWhiteBaselineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateIpWhiteBaselineResult::CreateIpWhiteBaselineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateIpWhiteBaselineResult::~CreateIpWhiteBaselineResult()
|
||||
{}
|
||||
|
||||
void CreateIpWhiteBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateIpWhiteBaselineResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
93
jarvis/src/model/CreateUidWhiteBaselineRequest.cc
Normal file
93
jarvis/src/model/CreateUidWhiteBaselineRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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/jarvis/model/CreateUidWhiteBaselineRequest.h>
|
||||
|
||||
using AlibabaCloud::Jarvis::Model::CreateUidWhiteBaselineRequest;
|
||||
|
||||
CreateUidWhiteBaselineRequest::CreateUidWhiteBaselineRequest() :
|
||||
RpcServiceRequest("jarvis", "2018-02-06", "CreateUidWhiteBaseline")
|
||||
{}
|
||||
|
||||
CreateUidWhiteBaselineRequest::~CreateUidWhiteBaselineRequest()
|
||||
{}
|
||||
|
||||
long CreateUidWhiteBaselineRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void CreateUidWhiteBaselineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteBaselineRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void CreateUidWhiteBaselineRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteBaselineRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void CreateUidWhiteBaselineRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteBaselineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void CreateUidWhiteBaselineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long CreateUidWhiteBaselineRequest::getSrcUid()const
|
||||
{
|
||||
return srcUid_;
|
||||
}
|
||||
|
||||
void CreateUidWhiteBaselineRequest::setSrcUid(long srcUid)
|
||||
{
|
||||
srcUid_ = srcUid;
|
||||
setCoreParameter("SrcUid", std::to_string(srcUid));
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteBaselineRequest::getSourceCode()const
|
||||
{
|
||||
return sourceCode_;
|
||||
}
|
||||
|
||||
void CreateUidWhiteBaselineRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
55
jarvis/src/model/CreateUidWhiteBaselineResult.cc
Normal file
55
jarvis/src/model/CreateUidWhiteBaselineResult.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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/jarvis/model/CreateUidWhiteBaselineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Jarvis;
|
||||
using namespace AlibabaCloud::Jarvis::Model;
|
||||
|
||||
CreateUidWhiteBaselineResult::CreateUidWhiteBaselineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateUidWhiteBaselineResult::CreateUidWhiteBaselineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateUidWhiteBaselineResult::~CreateUidWhiteBaselineResult()
|
||||
{}
|
||||
|
||||
void CreateUidWhiteBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteBaselineResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string CreateUidWhiteListGroupRequest::getNote()const
|
||||
void CreateUidWhiteListGroupRequest::setNote(const std::string& note)
|
||||
{
|
||||
note_ = note;
|
||||
setParameter("Note", note);
|
||||
setCoreParameter("Note", note);
|
||||
}
|
||||
|
||||
long CreateUidWhiteListGroupRequest::getResourceOwnerId()const
|
||||
@@ -44,7 +44,7 @@ long CreateUidWhiteListGroupRequest::getResourceOwnerId()const
|
||||
void CreateUidWhiteListGroupRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteListGroupRequest::getSourceIp()const
|
||||
@@ -55,7 +55,7 @@ std::string CreateUidWhiteListGroupRequest::getSourceIp()const
|
||||
void CreateUidWhiteListGroupRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int CreateUidWhiteListGroupRequest::getDstPort()const
|
||||
@@ -66,7 +66,7 @@ int CreateUidWhiteListGroupRequest::getDstPort()const
|
||||
void CreateUidWhiteListGroupRequest::setDstPort(int dstPort)
|
||||
{
|
||||
dstPort_ = dstPort;
|
||||
setParameter("DstPort", std::to_string(dstPort));
|
||||
setCoreParameter("DstPort", std::to_string(dstPort));
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteListGroupRequest::getInstanceIdList()const
|
||||
@@ -77,7 +77,7 @@ std::string CreateUidWhiteListGroupRequest::getInstanceIdList()const
|
||||
void CreateUidWhiteListGroupRequest::setInstanceIdList(const std::string& instanceIdList)
|
||||
{
|
||||
instanceIdList_ = instanceIdList;
|
||||
setParameter("InstanceIdList", instanceIdList);
|
||||
setCoreParameter("InstanceIdList", instanceIdList);
|
||||
}
|
||||
|
||||
int CreateUidWhiteListGroupRequest::getLiveTime()const
|
||||
@@ -88,7 +88,7 @@ int CreateUidWhiteListGroupRequest::getLiveTime()const
|
||||
void CreateUidWhiteListGroupRequest::setLiveTime(int liveTime)
|
||||
{
|
||||
liveTime_ = liveTime;
|
||||
setParameter("LiveTime", std::to_string(liveTime));
|
||||
setCoreParameter("LiveTime", std::to_string(liveTime));
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteListGroupRequest::getProductName()const
|
||||
@@ -99,7 +99,7 @@ std::string CreateUidWhiteListGroupRequest::getProductName()const
|
||||
void CreateUidWhiteListGroupRequest::setProductName(const std::string& productName)
|
||||
{
|
||||
productName_ = productName;
|
||||
setParameter("ProductName", productName);
|
||||
setCoreParameter("ProductName", productName);
|
||||
}
|
||||
|
||||
int CreateUidWhiteListGroupRequest::getWhiteListType()const
|
||||
@@ -110,7 +110,7 @@ int CreateUidWhiteListGroupRequest::getWhiteListType()const
|
||||
void CreateUidWhiteListGroupRequest::setWhiteListType(int whiteListType)
|
||||
{
|
||||
whiteListType_ = whiteListType;
|
||||
setParameter("WhiteListType", std::to_string(whiteListType));
|
||||
setCoreParameter("WhiteListType", std::to_string(whiteListType));
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteListGroupRequest::getLang()const
|
||||
@@ -121,7 +121,7 @@ std::string CreateUidWhiteListGroupRequest::getLang()const
|
||||
void CreateUidWhiteListGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteListGroupRequest::getSrcUid()const
|
||||
@@ -132,7 +132,7 @@ std::string CreateUidWhiteListGroupRequest::getSrcUid()const
|
||||
void CreateUidWhiteListGroupRequest::setSrcUid(const std::string& srcUid)
|
||||
{
|
||||
srcUid_ = srcUid;
|
||||
setParameter("SrcUid", srcUid);
|
||||
setCoreParameter("SrcUid", srcUid);
|
||||
}
|
||||
|
||||
std::string CreateUidWhiteListGroupRequest::getSourceCode()const
|
||||
@@ -143,6 +143,6 @@ std::string CreateUidWhiteListGroupRequest::getSourceCode()const
|
||||
void CreateUidWhiteListGroupRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ CreateUidWhiteListGroupResult::~CreateUidWhiteListGroupResult()
|
||||
|
||||
void CreateUidWhiteListGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeleteAccessWhiteListGroupRequest::getGroupIdList()const
|
||||
void DeleteAccessWhiteListGroupRequest::setGroupIdList(const std::string& groupIdList)
|
||||
{
|
||||
groupIdList_ = groupIdList;
|
||||
setParameter("GroupIdList", groupIdList);
|
||||
setCoreParameter("GroupIdList", groupIdList);
|
||||
}
|
||||
|
||||
std::string DeleteAccessWhiteListGroupRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string DeleteAccessWhiteListGroupRequest::getSourceIp()const
|
||||
void DeleteAccessWhiteListGroupRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteAccessWhiteListGroupRequest::getLang()const
|
||||
@@ -55,7 +55,7 @@ std::string DeleteAccessWhiteListGroupRequest::getLang()const
|
||||
void DeleteAccessWhiteListGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteAccessWhiteListGroupRequest::getSourceCode()const
|
||||
@@ -66,6 +66,6 @@ std::string DeleteAccessWhiteListGroupRequest::getSourceCode()const
|
||||
void DeleteAccessWhiteListGroupRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteAccessWhiteListGroupResult::~DeleteAccessWhiteListGroupResult()
|
||||
|
||||
void DeleteAccessWhiteListGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ int DeleteCdnIpRequest::getItemId()const
|
||||
void DeleteCdnIpRequest::setItemId(int itemId)
|
||||
{
|
||||
itemId_ = itemId;
|
||||
setParameter("ItemId", std::to_string(itemId));
|
||||
setCoreParameter("ItemId", std::to_string(itemId));
|
||||
}
|
||||
|
||||
long DeleteCdnIpRequest::getResourceOwnerId()const
|
||||
@@ -44,7 +44,7 @@ long DeleteCdnIpRequest::getResourceOwnerId()const
|
||||
void DeleteCdnIpRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteCdnIpRequest::getSourceIp()const
|
||||
@@ -55,7 +55,7 @@ std::string DeleteCdnIpRequest::getSourceIp()const
|
||||
void DeleteCdnIpRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteCdnIpRequest::getCdnIp()const
|
||||
@@ -66,7 +66,7 @@ std::string DeleteCdnIpRequest::getCdnIp()const
|
||||
void DeleteCdnIpRequest::setCdnIp(const std::string& cdnIp)
|
||||
{
|
||||
cdnIp_ = cdnIp;
|
||||
setParameter("CdnIp", cdnIp);
|
||||
setCoreParameter("CdnIp", cdnIp);
|
||||
}
|
||||
|
||||
std::string DeleteCdnIpRequest::getLang()const
|
||||
@@ -77,7 +77,7 @@ std::string DeleteCdnIpRequest::getLang()const
|
||||
void DeleteCdnIpRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteCdnIpRequest::getSourceCode()const
|
||||
@@ -88,6 +88,6 @@ std::string DeleteCdnIpRequest::getSourceCode()const
|
||||
void DeleteCdnIpRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCdnIpResult::~DeleteCdnIpResult()
|
||||
|
||||
void DeleteCdnIpResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeleteCdnSubscriptionRequest::getSourceIp()const
|
||||
void DeleteCdnSubscriptionRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteCdnSubscriptionRequest::getLang()const
|
||||
@@ -44,7 +44,7 @@ std::string DeleteCdnSubscriptionRequest::getLang()const
|
||||
void DeleteCdnSubscriptionRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteCdnSubscriptionRequest::getCdnUidList()const
|
||||
@@ -55,7 +55,7 @@ std::string DeleteCdnSubscriptionRequest::getCdnUidList()const
|
||||
void DeleteCdnSubscriptionRequest::setCdnUidList(const std::string& cdnUidList)
|
||||
{
|
||||
cdnUidList_ = cdnUidList;
|
||||
setParameter("CdnUidList", cdnUidList);
|
||||
setCoreParameter("CdnUidList", cdnUidList);
|
||||
}
|
||||
|
||||
std::string DeleteCdnSubscriptionRequest::getSourceCode()const
|
||||
@@ -66,6 +66,6 @@ std::string DeleteCdnSubscriptionRequest::getSourceCode()const
|
||||
void DeleteCdnSubscriptionRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteCdnSubscriptionResult::~DeleteCdnSubscriptionResult()
|
||||
|
||||
void DeleteCdnSubscriptionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeleteConsoleAccessWhiteListRequest::getSourceIp()const
|
||||
void DeleteConsoleAccessWhiteListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteConsoleAccessWhiteListRequest::getLang()const
|
||||
@@ -44,7 +44,7 @@ std::string DeleteConsoleAccessWhiteListRequest::getLang()const
|
||||
void DeleteConsoleAccessWhiteListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteConsoleAccessWhiteListRequest::getDisableWhitelist()const
|
||||
@@ -55,7 +55,7 @@ std::string DeleteConsoleAccessWhiteListRequest::getDisableWhitelist()const
|
||||
void DeleteConsoleAccessWhiteListRequest::setDisableWhitelist(const std::string& disableWhitelist)
|
||||
{
|
||||
disableWhitelist_ = disableWhitelist;
|
||||
setParameter("DisableWhitelist", disableWhitelist);
|
||||
setCoreParameter("DisableWhitelist", disableWhitelist);
|
||||
}
|
||||
|
||||
std::string DeleteConsoleAccessWhiteListRequest::getSourceCode()const
|
||||
@@ -66,6 +66,6 @@ std::string DeleteConsoleAccessWhiteListRequest::getSourceCode()const
|
||||
void DeleteConsoleAccessWhiteListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteConsoleAccessWhiteListResult::~DeleteConsoleAccessWhiteListResult()
|
||||
|
||||
void DeleteConsoleAccessWhiteListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
82
jarvis/src/model/DeleteIpWhiteBaselineRequest.cc
Normal file
82
jarvis/src/model/DeleteIpWhiteBaselineRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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/jarvis/model/DeleteIpWhiteBaselineRequest.h>
|
||||
|
||||
using AlibabaCloud::Jarvis::Model::DeleteIpWhiteBaselineRequest;
|
||||
|
||||
DeleteIpWhiteBaselineRequest::DeleteIpWhiteBaselineRequest() :
|
||||
RpcServiceRequest("jarvis", "2018-02-06", "DeleteIpWhiteBaseline")
|
||||
{}
|
||||
|
||||
DeleteIpWhiteBaselineRequest::~DeleteIpWhiteBaselineRequest()
|
||||
{}
|
||||
|
||||
long DeleteIpWhiteBaselineRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteIpWhiteBaselineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteIpWhiteBaselineRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DeleteIpWhiteBaselineRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteIpWhiteBaselineRequest::getWblIpList()const
|
||||
{
|
||||
return wblIpList_;
|
||||
}
|
||||
|
||||
void DeleteIpWhiteBaselineRequest::setWblIpList(const std::string& wblIpList)
|
||||
{
|
||||
wblIpList_ = wblIpList;
|
||||
setCoreParameter("WblIpList", wblIpList);
|
||||
}
|
||||
|
||||
std::string DeleteIpWhiteBaselineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteIpWhiteBaselineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteIpWhiteBaselineRequest::getSourceCode()const
|
||||
{
|
||||
return sourceCode_;
|
||||
}
|
||||
|
||||
void DeleteIpWhiteBaselineRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
55
jarvis/src/model/DeleteIpWhiteBaselineResult.cc
Normal file
55
jarvis/src/model/DeleteIpWhiteBaselineResult.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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/jarvis/model/DeleteIpWhiteBaselineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Jarvis;
|
||||
using namespace AlibabaCloud::Jarvis::Model;
|
||||
|
||||
DeleteIpWhiteBaselineResult::DeleteIpWhiteBaselineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteIpWhiteBaselineResult::DeleteIpWhiteBaselineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteIpWhiteBaselineResult::~DeleteIpWhiteBaselineResult()
|
||||
{}
|
||||
|
||||
void DeleteIpWhiteBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteIpWhiteBaselineResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
82
jarvis/src/model/DeleteUidWhiteBaselineRequest.cc
Normal file
82
jarvis/src/model/DeleteUidWhiteBaselineRequest.cc
Normal file
@@ -0,0 +1,82 @@
|
||||
/*
|
||||
* 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/jarvis/model/DeleteUidWhiteBaselineRequest.h>
|
||||
|
||||
using AlibabaCloud::Jarvis::Model::DeleteUidWhiteBaselineRequest;
|
||||
|
||||
DeleteUidWhiteBaselineRequest::DeleteUidWhiteBaselineRequest() :
|
||||
RpcServiceRequest("jarvis", "2018-02-06", "DeleteUidWhiteBaseline")
|
||||
{}
|
||||
|
||||
DeleteUidWhiteBaselineRequest::~DeleteUidWhiteBaselineRequest()
|
||||
{}
|
||||
|
||||
long DeleteUidWhiteBaselineRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void DeleteUidWhiteBaselineRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setCoreParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string DeleteUidWhiteBaselineRequest::getWblUidList()const
|
||||
{
|
||||
return wblUidList_;
|
||||
}
|
||||
|
||||
void DeleteUidWhiteBaselineRequest::setWblUidList(const std::string& wblUidList)
|
||||
{
|
||||
wblUidList_ = wblUidList;
|
||||
setCoreParameter("WblUidList", wblUidList);
|
||||
}
|
||||
|
||||
std::string DeleteUidWhiteBaselineRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DeleteUidWhiteBaselineRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteUidWhiteBaselineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteUidWhiteBaselineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteUidWhiteBaselineRequest::getSourceCode()const
|
||||
{
|
||||
return sourceCode_;
|
||||
}
|
||||
|
||||
void DeleteUidWhiteBaselineRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
55
jarvis/src/model/DeleteUidWhiteBaselineResult.cc
Normal file
55
jarvis/src/model/DeleteUidWhiteBaselineResult.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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/jarvis/model/DeleteUidWhiteBaselineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Jarvis;
|
||||
using namespace AlibabaCloud::Jarvis::Model;
|
||||
|
||||
DeleteUidWhiteBaselineResult::DeleteUidWhiteBaselineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteUidWhiteBaselineResult::DeleteUidWhiteBaselineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteUidWhiteBaselineResult::~DeleteUidWhiteBaselineResult()
|
||||
{}
|
||||
|
||||
void DeleteUidWhiteBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteUidWhiteBaselineResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DeleteUidWhiteListGroupRequest::getGroupIdList()const
|
||||
void DeleteUidWhiteListGroupRequest::setGroupIdList(const std::string& groupIdList)
|
||||
{
|
||||
groupIdList_ = groupIdList;
|
||||
setParameter("GroupIdList", groupIdList);
|
||||
setCoreParameter("GroupIdList", groupIdList);
|
||||
}
|
||||
|
||||
std::string DeleteUidWhiteListGroupRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string DeleteUidWhiteListGroupRequest::getSourceIp()const
|
||||
void DeleteUidWhiteListGroupRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteUidWhiteListGroupRequest::getLang()const
|
||||
@@ -55,7 +55,7 @@ std::string DeleteUidWhiteListGroupRequest::getLang()const
|
||||
void DeleteUidWhiteListGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteUidWhiteListGroupRequest::getSourceCode()const
|
||||
@@ -66,6 +66,6 @@ std::string DeleteUidWhiteListGroupRequest::getSourceCode()const
|
||||
void DeleteUidWhiteListGroupRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DeleteUidWhiteListGroupResult::~DeleteUidWhiteListGroupResult()
|
||||
|
||||
void DeleteUidWhiteListGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
93
jarvis/src/model/DeleteWhiteListConditionalRequest.cc
Normal file
93
jarvis/src/model/DeleteWhiteListConditionalRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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/jarvis/model/DeleteWhiteListConditionalRequest.h>
|
||||
|
||||
using AlibabaCloud::Jarvis::Model::DeleteWhiteListConditionalRequest;
|
||||
|
||||
DeleteWhiteListConditionalRequest::DeleteWhiteListConditionalRequest() :
|
||||
RpcServiceRequest("jarvis", "2018-02-06", "DeleteWhiteListConditional")
|
||||
{}
|
||||
|
||||
DeleteWhiteListConditionalRequest::~DeleteWhiteListConditionalRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteWhiteListConditionalRequest::getSrcIP()const
|
||||
{
|
||||
return srcIP_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListConditionalRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListConditionalRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListConditionalRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListConditionalRequest::getQueryProduct()const
|
||||
{
|
||||
return queryProduct_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListConditionalRequest::setQueryProduct(const std::string& queryProduct)
|
||||
{
|
||||
queryProduct_ = queryProduct;
|
||||
setCoreParameter("QueryProduct", queryProduct);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListConditionalRequest::getDstIP()const
|
||||
{
|
||||
return dstIP_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListConditionalRequest::setDstIP(const std::string& dstIP)
|
||||
{
|
||||
dstIP_ = dstIP;
|
||||
setCoreParameter("DstIP", dstIP);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListConditionalRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListConditionalRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListConditionalRequest::getSourceCode()const
|
||||
{
|
||||
return sourceCode_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListConditionalRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
55
jarvis/src/model/DeleteWhiteListConditionalResult.cc
Normal file
55
jarvis/src/model/DeleteWhiteListConditionalResult.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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/jarvis/model/DeleteWhiteListConditionalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Jarvis;
|
||||
using namespace AlibabaCloud::Jarvis::Model;
|
||||
|
||||
DeleteWhiteListConditionalResult::DeleteWhiteListConditionalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteWhiteListConditionalResult::DeleteWhiteListConditionalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteWhiteListConditionalResult::~DeleteWhiteListConditionalResult()
|
||||
{}
|
||||
|
||||
void DeleteWhiteListConditionalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListConditionalResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
93
jarvis/src/model/DeleteWhiteListDbItemConditionalRequest.cc
Normal file
93
jarvis/src/model/DeleteWhiteListDbItemConditionalRequest.cc
Normal file
@@ -0,0 +1,93 @@
|
||||
/*
|
||||
* 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/jarvis/model/DeleteWhiteListDbItemConditionalRequest.h>
|
||||
|
||||
using AlibabaCloud::Jarvis::Model::DeleteWhiteListDbItemConditionalRequest;
|
||||
|
||||
DeleteWhiteListDbItemConditionalRequest::DeleteWhiteListDbItemConditionalRequest() :
|
||||
RpcServiceRequest("jarvis", "2018-02-06", "DeleteWhiteListDbItemConditional")
|
||||
{}
|
||||
|
||||
DeleteWhiteListDbItemConditionalRequest::~DeleteWhiteListDbItemConditionalRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteWhiteListDbItemConditionalRequest::getSrcIP()const
|
||||
{
|
||||
return srcIP_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListDbItemConditionalRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListDbItemConditionalRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListDbItemConditionalRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListDbItemConditionalRequest::getQueryProduct()const
|
||||
{
|
||||
return queryProduct_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListDbItemConditionalRequest::setQueryProduct(const std::string& queryProduct)
|
||||
{
|
||||
queryProduct_ = queryProduct;
|
||||
setCoreParameter("QueryProduct", queryProduct);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListDbItemConditionalRequest::getDstIP()const
|
||||
{
|
||||
return dstIP_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListDbItemConditionalRequest::setDstIP(const std::string& dstIP)
|
||||
{
|
||||
dstIP_ = dstIP;
|
||||
setCoreParameter("DstIP", dstIP);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListDbItemConditionalRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListDbItemConditionalRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListDbItemConditionalRequest::getSourceCode()const
|
||||
{
|
||||
return sourceCode_;
|
||||
}
|
||||
|
||||
void DeleteWhiteListDbItemConditionalRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
55
jarvis/src/model/DeleteWhiteListDbItemConditionalResult.cc
Normal file
55
jarvis/src/model/DeleteWhiteListDbItemConditionalResult.cc
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* 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/jarvis/model/DeleteWhiteListDbItemConditionalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Jarvis;
|
||||
using namespace AlibabaCloud::Jarvis::Model;
|
||||
|
||||
DeleteWhiteListDbItemConditionalResult::DeleteWhiteListDbItemConditionalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteWhiteListDbItemConditionalResult::DeleteWhiteListDbItemConditionalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteWhiteListDbItemConditionalResult::~DeleteWhiteListDbItemConditionalResult()
|
||||
{}
|
||||
|
||||
void DeleteWhiteListDbItemConditionalResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DeleteWhiteListDbItemConditionalResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeAccessWhiteListEipListRequest::getSourceIp()const
|
||||
void DescribeAccessWhiteListEipListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListEipListRequest::getLang()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeAccessWhiteListEipListRequest::getLang()const
|
||||
void DescribeAccessWhiteListEipListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListEipListRequest::getSourceCode()const
|
||||
@@ -55,6 +55,6 @@ std::string DescribeAccessWhiteListEipListRequest::getSourceCode()const
|
||||
void DescribeAccessWhiteListEipListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeAccessWhiteListEipListResult::~DescribeAccessWhiteListEipListResult()
|
||||
|
||||
void DescribeAccessWhiteListEipListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEipList = value["EipList"]["Ecs"];
|
||||
for (auto value : allEipList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeAccessWhiteListGroupRequest::getSrcIP()const
|
||||
void DescribeAccessWhiteListGroupRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListGroupRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeAccessWhiteListGroupRequest::getSourceIp()const
|
||||
void DescribeAccessWhiteListGroupRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeAccessWhiteListGroupRequest::getPageSize()const
|
||||
@@ -55,7 +55,7 @@ int DescribeAccessWhiteListGroupRequest::getPageSize()const
|
||||
void DescribeAccessWhiteListGroupRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListGroupRequest::getQueryProduct()const
|
||||
@@ -66,7 +66,7 @@ std::string DescribeAccessWhiteListGroupRequest::getQueryProduct()const
|
||||
void DescribeAccessWhiteListGroupRequest::setQueryProduct(const std::string& queryProduct)
|
||||
{
|
||||
queryProduct_ = queryProduct;
|
||||
setParameter("QueryProduct", queryProduct);
|
||||
setCoreParameter("QueryProduct", queryProduct);
|
||||
}
|
||||
|
||||
int DescribeAccessWhiteListGroupRequest::getCurrentPage()const
|
||||
@@ -77,7 +77,7 @@ int DescribeAccessWhiteListGroupRequest::getCurrentPage()const
|
||||
void DescribeAccessWhiteListGroupRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
int DescribeAccessWhiteListGroupRequest::getWhiteListType()const
|
||||
@@ -88,7 +88,7 @@ int DescribeAccessWhiteListGroupRequest::getWhiteListType()const
|
||||
void DescribeAccessWhiteListGroupRequest::setWhiteListType(int whiteListType)
|
||||
{
|
||||
whiteListType_ = whiteListType;
|
||||
setParameter("WhiteListType", std::to_string(whiteListType));
|
||||
setCoreParameter("WhiteListType", std::to_string(whiteListType));
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListGroupRequest::getDstIP()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeAccessWhiteListGroupRequest::getDstIP()const
|
||||
void DescribeAccessWhiteListGroupRequest::setDstIP(const std::string& dstIP)
|
||||
{
|
||||
dstIP_ = dstIP;
|
||||
setParameter("DstIP", dstIP);
|
||||
setCoreParameter("DstIP", dstIP);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListGroupRequest::getLang()const
|
||||
@@ -110,7 +110,7 @@ std::string DescribeAccessWhiteListGroupRequest::getLang()const
|
||||
void DescribeAccessWhiteListGroupRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListGroupRequest::getStatus()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeAccessWhiteListGroupRequest::getStatus()const
|
||||
void DescribeAccessWhiteListGroupRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListGroupRequest::getSourceCode()const
|
||||
@@ -132,6 +132,6 @@ std::string DescribeAccessWhiteListGroupRequest::getSourceCode()const
|
||||
void DescribeAccessWhiteListGroupRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeAccessWhiteListGroupResult::~DescribeAccessWhiteListGroupResult()
|
||||
|
||||
void DescribeAccessWhiteListGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeAccessWhiteListSlbListRequest::getSourceIp()const
|
||||
void DescribeAccessWhiteListSlbListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListSlbListRequest::getLang()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeAccessWhiteListSlbListRequest::getLang()const
|
||||
void DescribeAccessWhiteListSlbListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhiteListSlbListRequest::getSourceCode()const
|
||||
@@ -55,6 +55,6 @@ std::string DescribeAccessWhiteListSlbListRequest::getSourceCode()const
|
||||
void DescribeAccessWhiteListSlbListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeAccessWhiteListSlbListResult::~DescribeAccessWhiteListSlbListResult()
|
||||
|
||||
void DescribeAccessWhiteListSlbListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSlbList = value["SlbList"]["Ecs"];
|
||||
for (auto value : allSlbList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeAccessWhitelistEcsListRequest::getSourceIp()const
|
||||
void DescribeAccessWhitelistEcsListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhitelistEcsListRequest::getLang()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeAccessWhitelistEcsListRequest::getLang()const
|
||||
void DescribeAccessWhitelistEcsListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeAccessWhitelistEcsListRequest::getSourceCode()const
|
||||
@@ -55,6 +55,6 @@ std::string DescribeAccessWhitelistEcsListRequest::getSourceCode()const
|
||||
void DescribeAccessWhitelistEcsListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeAccessWhitelistEcsListResult::~DescribeAccessWhitelistEcsListResult()
|
||||
|
||||
void DescribeAccessWhitelistEcsListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allEcsList = value["EcsList"]["Ecs"];
|
||||
for (auto value : allEcsList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeCdnCertifyRequest::getSourceIp()const
|
||||
void DescribeCdnCertifyRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeCdnCertifyRequest::getLang()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeCdnCertifyRequest::getLang()const
|
||||
void DescribeCdnCertifyRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeCdnCertifyRequest::getSourceCode()const
|
||||
@@ -55,6 +55,6 @@ std::string DescribeCdnCertifyRequest::getSourceCode()const
|
||||
void DescribeCdnCertifyRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCdnCertifyResult::~DescribeCdnCertifyResult()
|
||||
|
||||
void DescribeCdnCertifyResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["IsCdnVendor"].isNull())
|
||||
isCdnVendor_ = value["IsCdnVendor"].asString() == "true";
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeCdnIpListRequest::getSrcIP()const
|
||||
void DescribeCdnIpListRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string DescribeCdnIpListRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeCdnIpListRequest::getSourceIp()const
|
||||
void DescribeCdnIpListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeCdnIpListRequest::getWlState()const
|
||||
@@ -55,7 +55,7 @@ int DescribeCdnIpListRequest::getWlState()const
|
||||
void DescribeCdnIpListRequest::setWlState(int wlState)
|
||||
{
|
||||
wlState_ = wlState;
|
||||
setParameter("WlState", std::to_string(wlState));
|
||||
setCoreParameter("WlState", std::to_string(wlState));
|
||||
}
|
||||
|
||||
int DescribeCdnIpListRequest::getPageSize()const
|
||||
@@ -66,7 +66,7 @@ int DescribeCdnIpListRequest::getPageSize()const
|
||||
void DescribeCdnIpListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeCdnIpListRequest::getCurrentPage()const
|
||||
@@ -77,7 +77,7 @@ int DescribeCdnIpListRequest::getCurrentPage()const
|
||||
void DescribeCdnIpListRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeCdnIpListRequest::getLang()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribeCdnIpListRequest::getLang()const
|
||||
void DescribeCdnIpListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeCdnIpListRequest::getSourceCode()const
|
||||
@@ -99,6 +99,6 @@ std::string DescribeCdnIpListRequest::getSourceCode()const
|
||||
void DescribeCdnIpListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCdnIpListResult::~DescribeCdnIpListResult()
|
||||
|
||||
void DescribeCdnIpListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeCdnSubscriptionRequest::getSourceIp()const
|
||||
void DescribeCdnSubscriptionRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeCdnSubscriptionRequest::getSubscriptionState()const
|
||||
@@ -44,7 +44,7 @@ int DescribeCdnSubscriptionRequest::getSubscriptionState()const
|
||||
void DescribeCdnSubscriptionRequest::setSubscriptionState(int subscriptionState)
|
||||
{
|
||||
subscriptionState_ = subscriptionState;
|
||||
setParameter("SubscriptionState", std::to_string(subscriptionState));
|
||||
setCoreParameter("SubscriptionState", std::to_string(subscriptionState));
|
||||
}
|
||||
|
||||
int DescribeCdnSubscriptionRequest::getPageSize()const
|
||||
@@ -55,7 +55,7 @@ int DescribeCdnSubscriptionRequest::getPageSize()const
|
||||
void DescribeCdnSubscriptionRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeCdnSubscriptionRequest::getCurrentPage()const
|
||||
@@ -66,7 +66,7 @@ int DescribeCdnSubscriptionRequest::getCurrentPage()const
|
||||
void DescribeCdnSubscriptionRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeCdnSubscriptionRequest::getLang()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribeCdnSubscriptionRequest::getLang()const
|
||||
void DescribeCdnSubscriptionRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeCdnSubscriptionRequest::getVendorName()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribeCdnSubscriptionRequest::getVendorName()const
|
||||
void DescribeCdnSubscriptionRequest::setVendorName(const std::string& vendorName)
|
||||
{
|
||||
vendorName_ = vendorName;
|
||||
setParameter("VendorName", vendorName);
|
||||
setCoreParameter("VendorName", vendorName);
|
||||
}
|
||||
|
||||
std::string DescribeCdnSubscriptionRequest::getSourceCode()const
|
||||
@@ -99,6 +99,6 @@ std::string DescribeCdnSubscriptionRequest::getSourceCode()const
|
||||
void DescribeCdnSubscriptionRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCdnSubscriptionResult::~DescribeCdnSubscriptionResult()
|
||||
|
||||
void DescribeCdnSubscriptionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeCdnVendorRequest::getSourceIp()const
|
||||
void DescribeCdnVendorRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeCdnVendorRequest::getPageSize()const
|
||||
@@ -44,7 +44,7 @@ int DescribeCdnVendorRequest::getPageSize()const
|
||||
void DescribeCdnVendorRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeCdnVendorRequest::getCurrentPage()const
|
||||
@@ -55,7 +55,7 @@ int DescribeCdnVendorRequest::getCurrentPage()const
|
||||
void DescribeCdnVendorRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeCdnVendorRequest::getLang()const
|
||||
@@ -66,7 +66,7 @@ std::string DescribeCdnVendorRequest::getLang()const
|
||||
void DescribeCdnVendorRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeCdnVendorRequest::getSourceCode()const
|
||||
@@ -77,6 +77,6 @@ std::string DescribeCdnVendorRequest::getSourceCode()const
|
||||
void DescribeCdnVendorRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCdnVendorResult::~DescribeCdnVendorResult()
|
||||
|
||||
void DescribeCdnVendorResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeConsoleAccessWhiteListRequest::getSrcIP()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string DescribeConsoleAccessWhiteListRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeConsoleAccessWhiteListRequest::getSourceIp()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeConsoleAccessWhiteListRequest::getPageSize()const
|
||||
@@ -55,7 +55,7 @@ int DescribeConsoleAccessWhiteListRequest::getPageSize()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeConsoleAccessWhiteListRequest::getQueryProduct()const
|
||||
@@ -66,7 +66,7 @@ std::string DescribeConsoleAccessWhiteListRequest::getQueryProduct()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setQueryProduct(const std::string& queryProduct)
|
||||
{
|
||||
queryProduct_ = queryProduct;
|
||||
setParameter("QueryProduct", queryProduct);
|
||||
setCoreParameter("QueryProduct", queryProduct);
|
||||
}
|
||||
|
||||
int DescribeConsoleAccessWhiteListRequest::getCurrentPage()const
|
||||
@@ -77,7 +77,7 @@ int DescribeConsoleAccessWhiteListRequest::getCurrentPage()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
int DescribeConsoleAccessWhiteListRequest::getWhiteListType()const
|
||||
@@ -88,7 +88,7 @@ int DescribeConsoleAccessWhiteListRequest::getWhiteListType()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setWhiteListType(int whiteListType)
|
||||
{
|
||||
whiteListType_ = whiteListType;
|
||||
setParameter("WhiteListType", std::to_string(whiteListType));
|
||||
setCoreParameter("WhiteListType", std::to_string(whiteListType));
|
||||
}
|
||||
|
||||
std::string DescribeConsoleAccessWhiteListRequest::getDstIP()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeConsoleAccessWhiteListRequest::getDstIP()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setDstIP(const std::string& dstIP)
|
||||
{
|
||||
dstIP_ = dstIP;
|
||||
setParameter("DstIP", dstIP);
|
||||
setCoreParameter("DstIP", dstIP);
|
||||
}
|
||||
|
||||
std::string DescribeConsoleAccessWhiteListRequest::getLang()const
|
||||
@@ -110,7 +110,7 @@ std::string DescribeConsoleAccessWhiteListRequest::getLang()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeConsoleAccessWhiteListRequest::getStatus()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeConsoleAccessWhiteListRequest::getStatus()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
std::string DescribeConsoleAccessWhiteListRequest::getSourceCode()const
|
||||
@@ -132,6 +132,6 @@ std::string DescribeConsoleAccessWhiteListRequest::getSourceCode()const
|
||||
void DescribeConsoleAccessWhiteListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeConsoleAccessWhiteListResult::~DescribeConsoleAccessWhiteListResult()
|
||||
|
||||
void DescribeConsoleAccessWhiteListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeCpmcPunishListRequest::getSrcIP()const
|
||||
void DescribeCpmcPunishListRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string DescribeCpmcPunishListRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeCpmcPunishListRequest::getSourceIp()const
|
||||
void DescribeCpmcPunishListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeCpmcPunishListRequest::getPageSize()const
|
||||
@@ -55,7 +55,18 @@ int DescribeCpmcPunishListRequest::getPageSize()const
|
||||
void DescribeCpmcPunishListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeCpmcPunishListRequest::getPunishType()const
|
||||
{
|
||||
return punishType_;
|
||||
}
|
||||
|
||||
void DescribeCpmcPunishListRequest::setPunishType(const std::string& punishType)
|
||||
{
|
||||
punishType_ = punishType;
|
||||
setCoreParameter("PunishType", punishType);
|
||||
}
|
||||
|
||||
int DescribeCpmcPunishListRequest::getCurrentPage()const
|
||||
@@ -66,7 +77,7 @@ int DescribeCpmcPunishListRequest::getCurrentPage()const
|
||||
void DescribeCpmcPunishListRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeCpmcPunishListRequest::getPunishStatus()const
|
||||
@@ -77,7 +88,7 @@ std::string DescribeCpmcPunishListRequest::getPunishStatus()const
|
||||
void DescribeCpmcPunishListRequest::setPunishStatus(const std::string& punishStatus)
|
||||
{
|
||||
punishStatus_ = punishStatus;
|
||||
setParameter("PunishStatus", punishStatus);
|
||||
setCoreParameter("PunishStatus", punishStatus);
|
||||
}
|
||||
|
||||
std::string DescribeCpmcPunishListRequest::getLang()const
|
||||
@@ -88,7 +99,7 @@ std::string DescribeCpmcPunishListRequest::getLang()const
|
||||
void DescribeCpmcPunishListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeCpmcPunishListRequest::getSourceCode()const
|
||||
@@ -99,6 +110,6 @@ std::string DescribeCpmcPunishListRequest::getSourceCode()const
|
||||
void DescribeCpmcPunishListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeCpmcPunishListResult::~DescribeCpmcPunishListResult()
|
||||
|
||||
void DescribeCpmcPunishListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
@@ -68,6 +71,8 @@ void DescribeCpmcPunishListResult::parse(const std::string &payload)
|
||||
dataListObject.srcIP = value["SrcIP"].asString();
|
||||
if(!value["Reason"].isNull())
|
||||
dataListObject.reason = value["Reason"].asString();
|
||||
if(!value["Description"].isNull())
|
||||
dataListObject.description = value["Description"].asString();
|
||||
dataList_.push_back(dataListObject);
|
||||
}
|
||||
auto pageInfoNode = value["PageInfo"];
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeDdosDefenseInfoRequest::getSourceIp()const
|
||||
void DescribeDdosDefenseInfoRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeDdosDefenseInfoRequest::getLang()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeDdosDefenseInfoRequest::getLang()const
|
||||
void DescribeDdosDefenseInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DescribeDdosDefenseInfoRequest::getSrcUid()const
|
||||
@@ -55,7 +55,7 @@ long DescribeDdosDefenseInfoRequest::getSrcUid()const
|
||||
void DescribeDdosDefenseInfoRequest::setSrcUid(long srcUid)
|
||||
{
|
||||
srcUid_ = srcUid;
|
||||
setParameter("SrcUid", std::to_string(srcUid));
|
||||
setCoreParameter("SrcUid", std::to_string(srcUid));
|
||||
}
|
||||
|
||||
std::string DescribeDdosDefenseInfoRequest::getSourceCode()const
|
||||
@@ -66,6 +66,6 @@ std::string DescribeDdosDefenseInfoRequest::getSourceCode()const
|
||||
void DescribeDdosDefenseInfoRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeDdosDefenseInfoResult::~DescribeDdosDefenseInfoResult()
|
||||
|
||||
void DescribeDdosDefenseInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDdosDefenseThreshold = value["DdosDefenseThreshold"]["DdosDefenseThresholdItem"];
|
||||
for (auto value : allDdosDefenseThreshold)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeEcsListPageRequest::getSourceIp()const
|
||||
void DescribeEcsListPageRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeEcsListPageRequest::getPageSize()const
|
||||
@@ -44,7 +44,7 @@ int DescribeEcsListPageRequest::getPageSize()const
|
||||
void DescribeEcsListPageRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeEcsListPageRequest::getCurrentPage()const
|
||||
@@ -55,7 +55,7 @@ int DescribeEcsListPageRequest::getCurrentPage()const
|
||||
void DescribeEcsListPageRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeEcsListPageRequest::getLang()const
|
||||
@@ -66,7 +66,7 @@ std::string DescribeEcsListPageRequest::getLang()const
|
||||
void DescribeEcsListPageRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeEcsListPageRequest::getSourceCode()const
|
||||
@@ -77,6 +77,6 @@ std::string DescribeEcsListPageRequest::getSourceCode()const
|
||||
void DescribeEcsListPageRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeEcsListPageResult::~DescribeEcsListPageResult()
|
||||
|
||||
void DescribeEcsListPageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
115
jarvis/src/model/DescribeIpWhiteBaselineRequest.cc
Normal file
115
jarvis/src/model/DescribeIpWhiteBaselineRequest.cc
Normal file
@@ -0,0 +1,115 @@
|
||||
/*
|
||||
* 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/jarvis/model/DescribeIpWhiteBaselineRequest.h>
|
||||
|
||||
using AlibabaCloud::Jarvis::Model::DescribeIpWhiteBaselineRequest;
|
||||
|
||||
DescribeIpWhiteBaselineRequest::DescribeIpWhiteBaselineRequest() :
|
||||
RpcServiceRequest("jarvis", "2018-02-06", "DescribeIpWhiteBaseline")
|
||||
{}
|
||||
|
||||
DescribeIpWhiteBaselineRequest::~DescribeIpWhiteBaselineRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeIpWhiteBaselineRequest::getSrcIp()const
|
||||
{
|
||||
return srcIp_;
|
||||
}
|
||||
|
||||
void DescribeIpWhiteBaselineRequest::setSrcIp(const std::string& srcIp)
|
||||
{
|
||||
srcIp_ = srcIp;
|
||||
setCoreParameter("SrcIp", srcIp);
|
||||
}
|
||||
|
||||
std::string DescribeIpWhiteBaselineRequest::getSourceIp()const
|
||||
{
|
||||
return sourceIp_;
|
||||
}
|
||||
|
||||
void DescribeIpWhiteBaselineRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeIpWhiteBaselineRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeIpWhiteBaselineRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeIpWhiteBaselineRequest::getCurrentPage()const
|
||||
{
|
||||
return currentPage_;
|
||||
}
|
||||
|
||||
void DescribeIpWhiteBaselineRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeIpWhiteBaselineRequest::getRemark()const
|
||||
{
|
||||
return remark_;
|
||||
}
|
||||
|
||||
void DescribeIpWhiteBaselineRequest::setRemark(const std::string& remark)
|
||||
{
|
||||
remark_ = remark;
|
||||
setCoreParameter("Remark", remark);
|
||||
}
|
||||
|
||||
std::string DescribeIpWhiteBaselineRequest::getLang()const
|
||||
{
|
||||
return lang_;
|
||||
}
|
||||
|
||||
void DescribeIpWhiteBaselineRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeIpWhiteBaselineRequest::getSourceCode()const
|
||||
{
|
||||
return sourceCode_;
|
||||
}
|
||||
|
||||
void DescribeIpWhiteBaselineRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
std::string DescribeIpWhiteBaselineRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeIpWhiteBaselineRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
92
jarvis/src/model/DescribeIpWhiteBaselineResult.cc
Normal file
92
jarvis/src/model/DescribeIpWhiteBaselineResult.cc
Normal file
@@ -0,0 +1,92 @@
|
||||
/*
|
||||
* 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/jarvis/model/DescribeIpWhiteBaselineResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Jarvis;
|
||||
using namespace AlibabaCloud::Jarvis::Model;
|
||||
|
||||
DescribeIpWhiteBaselineResult::DescribeIpWhiteBaselineResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeIpWhiteBaselineResult::DescribeIpWhiteBaselineResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeIpWhiteBaselineResult::~DescribeIpWhiteBaselineResult()
|
||||
{}
|
||||
|
||||
void DescribeIpWhiteBaselineResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
{
|
||||
Data dataListObject;
|
||||
if(!value["Id"].isNull())
|
||||
dataListObject.id = std::stoi(value["Id"].asString());
|
||||
if(!value["OwnerAliUid"].isNull())
|
||||
dataListObject.ownerAliUid = std::stoi(value["OwnerAliUid"].asString());
|
||||
if(!value["SrcIp"].isNull())
|
||||
dataListObject.srcIp = std::stoi(value["SrcIp"].asString());
|
||||
if(!value["Status"].isNull())
|
||||
dataListObject.status = value["Status"].asString();
|
||||
if(!value["Remark"].isNull())
|
||||
dataListObject.remark = value["Remark"].asString();
|
||||
if(!value["BeginTime"].isNull())
|
||||
dataListObject.beginTime = std::stoi(value["BeginTime"].asString());
|
||||
if(!value["RealEndTime"].isNull())
|
||||
dataListObject.realEndTime = std::stoi(value["RealEndTime"].asString());
|
||||
dataList_.push_back(dataListObject);
|
||||
}
|
||||
auto pageInfoNode = value["PageInfo"];
|
||||
if(!pageInfoNode["total"].isNull())
|
||||
pageInfo_.total = std::stoi(pageInfoNode["total"].asString());
|
||||
if(!pageInfoNode["pageSize"].isNull())
|
||||
pageInfo_.pageSize = std::stoi(pageInfoNode["pageSize"].asString());
|
||||
if(!pageInfoNode["currentPage"].isNull())
|
||||
pageInfo_.currentPage = std::stoi(pageInfoNode["currentPage"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeIpWhiteBaselineResult::Data> DescribeIpWhiteBaselineResult::getDataList()const
|
||||
{
|
||||
return dataList_;
|
||||
}
|
||||
|
||||
DescribeIpWhiteBaselineResult::PageInfo DescribeIpWhiteBaselineResult::getPageInfo()const
|
||||
{
|
||||
return pageInfo_;
|
||||
}
|
||||
|
||||
std::string DescribeIpWhiteBaselineResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribePhoneInfoRequest::getSourceIp()const
|
||||
void DescribePhoneInfoRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribePhoneInfoRequest::getPhoneNum()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribePhoneInfoRequest::getPhoneNum()const
|
||||
void DescribePhoneInfoRequest::setPhoneNum(const std::string& phoneNum)
|
||||
{
|
||||
phoneNum_ = phoneNum;
|
||||
setParameter("PhoneNum", phoneNum);
|
||||
setCoreParameter("PhoneNum", phoneNum);
|
||||
}
|
||||
|
||||
std::string DescribePhoneInfoRequest::getLang()const
|
||||
@@ -55,7 +55,7 @@ std::string DescribePhoneInfoRequest::getLang()const
|
||||
void DescribePhoneInfoRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribePhoneInfoRequest::getSourceCode()const
|
||||
@@ -66,6 +66,6 @@ std::string DescribePhoneInfoRequest::getSourceCode()const
|
||||
void DescribePhoneInfoRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribePhoneInfoResult::~DescribePhoneInfoResult()
|
||||
|
||||
void DescribePhoneInfoResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Module"].isNull())
|
||||
module_ = value["Module"].asString();
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribePunishListRequest::getSrcIP()const
|
||||
void DescribePunishListRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string DescribePunishListRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribePunishListRequest::getSourceIp()const
|
||||
void DescribePunishListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribePunishListRequest::getPageSize()const
|
||||
@@ -55,7 +55,7 @@ int DescribePunishListRequest::getPageSize()const
|
||||
void DescribePunishListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribePunishListRequest::getCurrentPage()const
|
||||
@@ -66,7 +66,7 @@ int DescribePunishListRequest::getCurrentPage()const
|
||||
void DescribePunishListRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribePunishListRequest::getPunishStatus()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribePunishListRequest::getPunishStatus()const
|
||||
void DescribePunishListRequest::setPunishStatus(const std::string& punishStatus)
|
||||
{
|
||||
punishStatus_ = punishStatus;
|
||||
setParameter("PunishStatus", punishStatus);
|
||||
setCoreParameter("PunishStatus", punishStatus);
|
||||
}
|
||||
|
||||
std::string DescribePunishListRequest::getLang()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribePunishListRequest::getLang()const
|
||||
void DescribePunishListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DescribePunishListRequest::getSrcUid()const
|
||||
@@ -99,7 +99,7 @@ long DescribePunishListRequest::getSrcUid()const
|
||||
void DescribePunishListRequest::setSrcUid(long srcUid)
|
||||
{
|
||||
srcUid_ = srcUid;
|
||||
setParameter("SrcUid", std::to_string(srcUid));
|
||||
setCoreParameter("SrcUid", std::to_string(srcUid));
|
||||
}
|
||||
|
||||
std::string DescribePunishListRequest::getSourceCode()const
|
||||
@@ -110,6 +110,6 @@ std::string DescribePunishListRequest::getSourceCode()const
|
||||
void DescribePunishListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribePunishListResult::~DescribePunishListResult()
|
||||
|
||||
void DescribePunishListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeResetRecordListRequest::getSrcIP()const
|
||||
void DescribeResetRecordListRequest::setSrcIP(const std::string& srcIP)
|
||||
{
|
||||
srcIP_ = srcIP;
|
||||
setParameter("SrcIP", srcIP);
|
||||
setCoreParameter("SrcIP", srcIP);
|
||||
}
|
||||
|
||||
std::string DescribeResetRecordListRequest::getPeriod()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeResetRecordListRequest::getPeriod()const
|
||||
void DescribeResetRecordListRequest::setPeriod(const std::string& period)
|
||||
{
|
||||
period_ = period;
|
||||
setParameter("Period", period);
|
||||
setCoreParameter("Period", period);
|
||||
}
|
||||
|
||||
std::string DescribeResetRecordListRequest::getSourceIp()const
|
||||
@@ -55,7 +55,7 @@ std::string DescribeResetRecordListRequest::getSourceIp()const
|
||||
void DescribeResetRecordListRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeResetRecordListRequest::getPageSize()const
|
||||
@@ -66,7 +66,7 @@ int DescribeResetRecordListRequest::getPageSize()const
|
||||
void DescribeResetRecordListRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
int DescribeResetRecordListRequest::getCurrentPage()const
|
||||
@@ -77,7 +77,7 @@ int DescribeResetRecordListRequest::getCurrentPage()const
|
||||
void DescribeResetRecordListRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeResetRecordListRequest::getDstIP()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribeResetRecordListRequest::getDstIP()const
|
||||
void DescribeResetRecordListRequest::setDstIP(const std::string& dstIP)
|
||||
{
|
||||
dstIP_ = dstIP;
|
||||
setParameter("DstIP", dstIP);
|
||||
setCoreParameter("DstIP", dstIP);
|
||||
}
|
||||
|
||||
std::string DescribeResetRecordListRequest::getRegion()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeResetRecordListRequest::getRegion()const
|
||||
void DescribeResetRecordListRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
setCoreParameter("Region", region);
|
||||
}
|
||||
|
||||
std::string DescribeResetRecordListRequest::getLang()const
|
||||
@@ -110,7 +110,7 @@ std::string DescribeResetRecordListRequest::getLang()const
|
||||
void DescribeResetRecordListRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeResetRecordListRequest::getSourceCode()const
|
||||
@@ -121,6 +121,6 @@ std::string DescribeResetRecordListRequest::getSourceCode()const
|
||||
void DescribeResetRecordListRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeResetRecordListResult::~DescribeResetRecordListResult()
|
||||
|
||||
void DescribeResetRecordListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeResetRecordQueryCountRequest::getSourceIp()const
|
||||
void DescribeResetRecordQueryCountRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeResetRecordQueryCountRequest::getLang()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeResetRecordQueryCountRequest::getLang()const
|
||||
void DescribeResetRecordQueryCountRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeResetRecordQueryCountRequest::getSourceCode()const
|
||||
@@ -55,6 +55,6 @@ std::string DescribeResetRecordQueryCountRequest::getSourceCode()const
|
||||
void DescribeResetRecordQueryCountRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeResetRecordQueryCountResult::~DescribeResetRecordQueryCountResult()
|
||||
|
||||
void DescribeResetRecordQueryCountResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeRiskListDetailRequest::getRiskType()const
|
||||
void DescribeRiskListDetailRequest::setRiskType(const std::string& riskType)
|
||||
{
|
||||
riskType_ = riskType;
|
||||
setParameter("RiskType", riskType);
|
||||
setCoreParameter("RiskType", riskType);
|
||||
}
|
||||
|
||||
std::string DescribeRiskListDetailRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeRiskListDetailRequest::getSourceIp()const
|
||||
void DescribeRiskListDetailRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
int DescribeRiskListDetailRequest::getPageSize()const
|
||||
@@ -55,7 +55,7 @@ int DescribeRiskListDetailRequest::getPageSize()const
|
||||
void DescribeRiskListDetailRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string DescribeRiskListDetailRequest::getQueryProduct()const
|
||||
@@ -66,7 +66,7 @@ std::string DescribeRiskListDetailRequest::getQueryProduct()const
|
||||
void DescribeRiskListDetailRequest::setQueryProduct(const std::string& queryProduct)
|
||||
{
|
||||
queryProduct_ = queryProduct;
|
||||
setParameter("QueryProduct", queryProduct);
|
||||
setCoreParameter("QueryProduct", queryProduct);
|
||||
}
|
||||
|
||||
int DescribeRiskListDetailRequest::getCurrentPage()const
|
||||
@@ -77,7 +77,7 @@ int DescribeRiskListDetailRequest::getCurrentPage()const
|
||||
void DescribeRiskListDetailRequest::setCurrentPage(int currentPage)
|
||||
{
|
||||
currentPage_ = currentPage;
|
||||
setParameter("CurrentPage", std::to_string(currentPage));
|
||||
setCoreParameter("CurrentPage", std::to_string(currentPage));
|
||||
}
|
||||
|
||||
std::string DescribeRiskListDetailRequest::getRiskDescribe()const
|
||||
@@ -88,7 +88,7 @@ std::string DescribeRiskListDetailRequest::getRiskDescribe()const
|
||||
void DescribeRiskListDetailRequest::setRiskDescribe(const std::string& riskDescribe)
|
||||
{
|
||||
riskDescribe_ = riskDescribe;
|
||||
setParameter("RiskDescribe", riskDescribe);
|
||||
setCoreParameter("RiskDescribe", riskDescribe);
|
||||
}
|
||||
|
||||
std::string DescribeRiskListDetailRequest::getLang()const
|
||||
@@ -99,7 +99,7 @@ std::string DescribeRiskListDetailRequest::getLang()const
|
||||
void DescribeRiskListDetailRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
long DescribeRiskListDetailRequest::getSrcUid()const
|
||||
@@ -110,7 +110,7 @@ long DescribeRiskListDetailRequest::getSrcUid()const
|
||||
void DescribeRiskListDetailRequest::setSrcUid(long srcUid)
|
||||
{
|
||||
srcUid_ = srcUid;
|
||||
setParameter("SrcUid", std::to_string(srcUid));
|
||||
setCoreParameter("SrcUid", std::to_string(srcUid));
|
||||
}
|
||||
|
||||
std::string DescribeRiskListDetailRequest::getSourceCode()const
|
||||
@@ -121,7 +121,7 @@ std::string DescribeRiskListDetailRequest::getSourceCode()const
|
||||
void DescribeRiskListDetailRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
std::string DescribeRiskListDetailRequest::getQueryRegionId()const
|
||||
@@ -132,7 +132,7 @@ std::string DescribeRiskListDetailRequest::getQueryRegionId()const
|
||||
void DescribeRiskListDetailRequest::setQueryRegionId(const std::string& queryRegionId)
|
||||
{
|
||||
queryRegionId_ = queryRegionId;
|
||||
setParameter("QueryRegionId", queryRegionId);
|
||||
setCoreParameter("QueryRegionId", queryRegionId);
|
||||
}
|
||||
|
||||
std::string DescribeRiskListDetailRequest::getStatus()const
|
||||
@@ -143,6 +143,6 @@ std::string DescribeRiskListDetailRequest::getStatus()const
|
||||
void DescribeRiskListDetailRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
setCoreParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeRiskListDetailResult::~DescribeRiskListDetailResult()
|
||||
|
||||
void DescribeRiskListDetailResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["Data"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeRiskTrendRequest::getSourceIp()const
|
||||
void DescribeRiskTrendRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeRiskTrendRequest::getQueryProduct()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeRiskTrendRequest::getQueryProduct()const
|
||||
void DescribeRiskTrendRequest::setQueryProduct(const std::string& queryProduct)
|
||||
{
|
||||
queryProduct_ = queryProduct;
|
||||
setParameter("QueryProduct", queryProduct);
|
||||
setCoreParameter("QueryProduct", queryProduct);
|
||||
}
|
||||
|
||||
std::string DescribeRiskTrendRequest::getLang()const
|
||||
@@ -55,7 +55,7 @@ std::string DescribeRiskTrendRequest::getLang()const
|
||||
void DescribeRiskTrendRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeRiskTrendRequest::getPeroid()const
|
||||
@@ -66,7 +66,7 @@ std::string DescribeRiskTrendRequest::getPeroid()const
|
||||
void DescribeRiskTrendRequest::setPeroid(const std::string& peroid)
|
||||
{
|
||||
peroid_ = peroid;
|
||||
setParameter("Peroid", peroid);
|
||||
setCoreParameter("Peroid", peroid);
|
||||
}
|
||||
|
||||
std::string DescribeRiskTrendRequest::getSourceCode()const
|
||||
@@ -77,7 +77,7 @@ std::string DescribeRiskTrendRequest::getSourceCode()const
|
||||
void DescribeRiskTrendRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
std::string DescribeRiskTrendRequest::getQueryRegionId()const
|
||||
@@ -88,6 +88,6 @@ std::string DescribeRiskTrendRequest::getQueryRegionId()const
|
||||
void DescribeRiskTrendRequest::setQueryRegionId(const std::string& queryRegionId)
|
||||
{
|
||||
queryRegionId_ = queryRegionId;
|
||||
setParameter("QueryRegionId", queryRegionId);
|
||||
setCoreParameter("QueryRegionId", queryRegionId);
|
||||
}
|
||||
|
||||
|
||||
@@ -35,10 +35,13 @@ DescribeRiskTrendResult::~DescribeRiskTrendResult()
|
||||
|
||||
void DescribeRiskTrendResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::CharReaderBuilder builder;
|
||||
Json::CharReader *reader = builder.newCharReader();
|
||||
Json::Value *val;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
|
||||
JSONCPP_STRING *errs;
|
||||
reader->parse(payload.data(), payload.data() + payload.size(), val, errs);
|
||||
value = *val;
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataList = value["DataList"]["DataItem"];
|
||||
for (auto value : allDataList)
|
||||
|
||||
@@ -33,7 +33,7 @@ std::string DescribeSpecialEcsRequest::getTargetIp()const
|
||||
void DescribeSpecialEcsRequest::setTargetIp(const std::string& targetIp)
|
||||
{
|
||||
targetIp_ = targetIp;
|
||||
setParameter("TargetIp", targetIp);
|
||||
setCoreParameter("TargetIp", targetIp);
|
||||
}
|
||||
|
||||
std::string DescribeSpecialEcsRequest::getSourceIp()const
|
||||
@@ -44,7 +44,7 @@ std::string DescribeSpecialEcsRequest::getSourceIp()const
|
||||
void DescribeSpecialEcsRequest::setSourceIp(const std::string& sourceIp)
|
||||
{
|
||||
sourceIp_ = sourceIp;
|
||||
setParameter("SourceIp", sourceIp);
|
||||
setCoreParameter("SourceIp", sourceIp);
|
||||
}
|
||||
|
||||
std::string DescribeSpecialEcsRequest::getLang()const
|
||||
@@ -55,7 +55,7 @@ std::string DescribeSpecialEcsRequest::getLang()const
|
||||
void DescribeSpecialEcsRequest::setLang(const std::string& lang)
|
||||
{
|
||||
lang_ = lang;
|
||||
setParameter("Lang", lang);
|
||||
setCoreParameter("Lang", lang);
|
||||
}
|
||||
|
||||
std::string DescribeSpecialEcsRequest::getSourceCode()const
|
||||
@@ -66,6 +66,6 @@ std::string DescribeSpecialEcsRequest::getSourceCode()const
|
||||
void DescribeSpecialEcsRequest::setSourceCode(const std::string& sourceCode)
|
||||
{
|
||||
sourceCode_ = sourceCode;
|
||||
setParameter("SourceCode", sourceCode);
|
||||
setCoreParameter("SourceCode", sourceCode);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user