Update sdk.

This commit is contained in:
sdk-team
2023-06-25 09:43:37 +00:00
parent 34607b9120
commit e7391bcf60
113 changed files with 8695 additions and 1 deletions

View File

@@ -0,0 +1,262 @@
/*
* 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_DDOSBGP_DDOSBGPCLIENT_H_
#define ALIBABACLOUD_DDOSBGP_DDOSBGPCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "DdosbgpExport.h"
#include "model/AddIpRequest.h"
#include "model/AddIpResult.h"
#include "model/CheckAccessLogAuthRequest.h"
#include "model/CheckAccessLogAuthResult.h"
#include "model/CheckGrantRequest.h"
#include "model/CheckGrantResult.h"
#include "model/ConfigSchedruleOnDemandRequest.h"
#include "model/ConfigSchedruleOnDemandResult.h"
#include "model/CreateSchedruleOnDemandRequest.h"
#include "model/CreateSchedruleOnDemandResult.h"
#include "model/DeleteBlackholeRequest.h"
#include "model/DeleteBlackholeResult.h"
#include "model/DeleteIpRequest.h"
#include "model/DeleteIpResult.h"
#include "model/DeleteSchedruleOnDemandRequest.h"
#include "model/DeleteSchedruleOnDemandResult.h"
#include "model/DescribeDdosEventRequest.h"
#include "model/DescribeDdosEventResult.h"
#include "model/DescribeExcpetionCountRequest.h"
#include "model/DescribeExcpetionCountResult.h"
#include "model/DescribeInstanceListRequest.h"
#include "model/DescribeInstanceListResult.h"
#include "model/DescribeInstanceSpecsRequest.h"
#include "model/DescribeInstanceSpecsResult.h"
#include "model/DescribeOnDemandDdosEventRequest.h"
#include "model/DescribeOnDemandDdosEventResult.h"
#include "model/DescribeOnDemandInstanceStatusRequest.h"
#include "model/DescribeOnDemandInstanceStatusResult.h"
#include "model/DescribeOpEntitiesRequest.h"
#include "model/DescribeOpEntitiesResult.h"
#include "model/DescribePackIpListRequest.h"
#include "model/DescribePackIpListResult.h"
#include "model/DescribeRegionsRequest.h"
#include "model/DescribeRegionsResult.h"
#include "model/DescribeTrafficRequest.h"
#include "model/DescribeTrafficResult.h"
#include "model/GetSlsOpenStatusRequest.h"
#include "model/GetSlsOpenStatusResult.h"
#include "model/ListOpenedAccessLogInstancesRequest.h"
#include "model/ListOpenedAccessLogInstancesResult.h"
#include "model/ListTagKeysRequest.h"
#include "model/ListTagKeysResult.h"
#include "model/ListTagResourcesRequest.h"
#include "model/ListTagResourcesResult.h"
#include "model/ModifyRemarkRequest.h"
#include "model/ModifyRemarkResult.h"
#include "model/QuerySchedruleOnDemandRequest.h"
#include "model/QuerySchedruleOnDemandResult.h"
#include "model/SetInstanceModeOnDemandRequest.h"
#include "model/SetInstanceModeOnDemandResult.h"
#include "model/TagResourcesRequest.h"
#include "model/TagResourcesResult.h"
#include "model/UntagResourcesRequest.h"
#include "model/UntagResourcesResult.h"
namespace AlibabaCloud
{
namespace Ddosbgp
{
class ALIBABACLOUD_DDOSBGP_EXPORT DdosbgpClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::AddIpResult> AddIpOutcome;
typedef std::future<AddIpOutcome> AddIpOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::AddIpRequest&, const AddIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddIpAsyncHandler;
typedef Outcome<Error, Model::CheckAccessLogAuthResult> CheckAccessLogAuthOutcome;
typedef std::future<CheckAccessLogAuthOutcome> CheckAccessLogAuthOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::CheckAccessLogAuthRequest&, const CheckAccessLogAuthOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckAccessLogAuthAsyncHandler;
typedef Outcome<Error, Model::CheckGrantResult> CheckGrantOutcome;
typedef std::future<CheckGrantOutcome> CheckGrantOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::CheckGrantRequest&, const CheckGrantOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckGrantAsyncHandler;
typedef Outcome<Error, Model::ConfigSchedruleOnDemandResult> ConfigSchedruleOnDemandOutcome;
typedef std::future<ConfigSchedruleOnDemandOutcome> ConfigSchedruleOnDemandOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::ConfigSchedruleOnDemandRequest&, const ConfigSchedruleOnDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigSchedruleOnDemandAsyncHandler;
typedef Outcome<Error, Model::CreateSchedruleOnDemandResult> CreateSchedruleOnDemandOutcome;
typedef std::future<CreateSchedruleOnDemandOutcome> CreateSchedruleOnDemandOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::CreateSchedruleOnDemandRequest&, const CreateSchedruleOnDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSchedruleOnDemandAsyncHandler;
typedef Outcome<Error, Model::DeleteBlackholeResult> DeleteBlackholeOutcome;
typedef std::future<DeleteBlackholeOutcome> DeleteBlackholeOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DeleteBlackholeRequest&, const DeleteBlackholeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteBlackholeAsyncHandler;
typedef Outcome<Error, Model::DeleteIpResult> DeleteIpOutcome;
typedef std::future<DeleteIpOutcome> DeleteIpOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DeleteIpRequest&, const DeleteIpOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteIpAsyncHandler;
typedef Outcome<Error, Model::DeleteSchedruleOnDemandResult> DeleteSchedruleOnDemandOutcome;
typedef std::future<DeleteSchedruleOnDemandOutcome> DeleteSchedruleOnDemandOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DeleteSchedruleOnDemandRequest&, const DeleteSchedruleOnDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSchedruleOnDemandAsyncHandler;
typedef Outcome<Error, Model::DescribeDdosEventResult> DescribeDdosEventOutcome;
typedef std::future<DescribeDdosEventOutcome> DescribeDdosEventOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribeDdosEventRequest&, const DescribeDdosEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDdosEventAsyncHandler;
typedef Outcome<Error, Model::DescribeExcpetionCountResult> DescribeExcpetionCountOutcome;
typedef std::future<DescribeExcpetionCountOutcome> DescribeExcpetionCountOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribeExcpetionCountRequest&, const DescribeExcpetionCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeExcpetionCountAsyncHandler;
typedef Outcome<Error, Model::DescribeInstanceListResult> DescribeInstanceListOutcome;
typedef std::future<DescribeInstanceListOutcome> DescribeInstanceListOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribeInstanceListRequest&, const DescribeInstanceListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceListAsyncHandler;
typedef Outcome<Error, Model::DescribeInstanceSpecsResult> DescribeInstanceSpecsOutcome;
typedef std::future<DescribeInstanceSpecsOutcome> DescribeInstanceSpecsOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribeInstanceSpecsRequest&, const DescribeInstanceSpecsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInstanceSpecsAsyncHandler;
typedef Outcome<Error, Model::DescribeOnDemandDdosEventResult> DescribeOnDemandDdosEventOutcome;
typedef std::future<DescribeOnDemandDdosEventOutcome> DescribeOnDemandDdosEventOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribeOnDemandDdosEventRequest&, const DescribeOnDemandDdosEventOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOnDemandDdosEventAsyncHandler;
typedef Outcome<Error, Model::DescribeOnDemandInstanceStatusResult> DescribeOnDemandInstanceStatusOutcome;
typedef std::future<DescribeOnDemandInstanceStatusOutcome> DescribeOnDemandInstanceStatusOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribeOnDemandInstanceStatusRequest&, const DescribeOnDemandInstanceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOnDemandInstanceStatusAsyncHandler;
typedef Outcome<Error, Model::DescribeOpEntitiesResult> DescribeOpEntitiesOutcome;
typedef std::future<DescribeOpEntitiesOutcome> DescribeOpEntitiesOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribeOpEntitiesRequest&, const DescribeOpEntitiesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeOpEntitiesAsyncHandler;
typedef Outcome<Error, Model::DescribePackIpListResult> DescribePackIpListOutcome;
typedef std::future<DescribePackIpListOutcome> DescribePackIpListOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribePackIpListRequest&, const DescribePackIpListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribePackIpListAsyncHandler;
typedef Outcome<Error, Model::DescribeRegionsResult> DescribeRegionsOutcome;
typedef std::future<DescribeRegionsOutcome> DescribeRegionsOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribeRegionsRequest&, const DescribeRegionsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRegionsAsyncHandler;
typedef Outcome<Error, Model::DescribeTrafficResult> DescribeTrafficOutcome;
typedef std::future<DescribeTrafficOutcome> DescribeTrafficOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::DescribeTrafficRequest&, const DescribeTrafficOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeTrafficAsyncHandler;
typedef Outcome<Error, Model::GetSlsOpenStatusResult> GetSlsOpenStatusOutcome;
typedef std::future<GetSlsOpenStatusOutcome> GetSlsOpenStatusOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::GetSlsOpenStatusRequest&, const GetSlsOpenStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSlsOpenStatusAsyncHandler;
typedef Outcome<Error, Model::ListOpenedAccessLogInstancesResult> ListOpenedAccessLogInstancesOutcome;
typedef std::future<ListOpenedAccessLogInstancesOutcome> ListOpenedAccessLogInstancesOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::ListOpenedAccessLogInstancesRequest&, const ListOpenedAccessLogInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListOpenedAccessLogInstancesAsyncHandler;
typedef Outcome<Error, Model::ListTagKeysResult> ListTagKeysOutcome;
typedef std::future<ListTagKeysOutcome> ListTagKeysOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::ListTagKeysRequest&, const ListTagKeysOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagKeysAsyncHandler;
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
typedef Outcome<Error, Model::ModifyRemarkResult> ModifyRemarkOutcome;
typedef std::future<ModifyRemarkOutcome> ModifyRemarkOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::ModifyRemarkRequest&, const ModifyRemarkOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyRemarkAsyncHandler;
typedef Outcome<Error, Model::QuerySchedruleOnDemandResult> QuerySchedruleOnDemandOutcome;
typedef std::future<QuerySchedruleOnDemandOutcome> QuerySchedruleOnDemandOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::QuerySchedruleOnDemandRequest&, const QuerySchedruleOnDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QuerySchedruleOnDemandAsyncHandler;
typedef Outcome<Error, Model::SetInstanceModeOnDemandResult> SetInstanceModeOnDemandOutcome;
typedef std::future<SetInstanceModeOnDemandOutcome> SetInstanceModeOnDemandOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::SetInstanceModeOnDemandRequest&, const SetInstanceModeOnDemandOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetInstanceModeOnDemandAsyncHandler;
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
typedef std::function<void(const DdosbgpClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
DdosbgpClient(const Credentials &credentials, const ClientConfiguration &configuration);
DdosbgpClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
DdosbgpClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~DdosbgpClient();
AddIpOutcome addIp(const Model::AddIpRequest &request)const;
void addIpAsync(const Model::AddIpRequest& request, const AddIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
AddIpOutcomeCallable addIpCallable(const Model::AddIpRequest& request) const;
CheckAccessLogAuthOutcome checkAccessLogAuth(const Model::CheckAccessLogAuthRequest &request)const;
void checkAccessLogAuthAsync(const Model::CheckAccessLogAuthRequest& request, const CheckAccessLogAuthAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckAccessLogAuthOutcomeCallable checkAccessLogAuthCallable(const Model::CheckAccessLogAuthRequest& request) const;
CheckGrantOutcome checkGrant(const Model::CheckGrantRequest &request)const;
void checkGrantAsync(const Model::CheckGrantRequest& request, const CheckGrantAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CheckGrantOutcomeCallable checkGrantCallable(const Model::CheckGrantRequest& request) const;
ConfigSchedruleOnDemandOutcome configSchedruleOnDemand(const Model::ConfigSchedruleOnDemandRequest &request)const;
void configSchedruleOnDemandAsync(const Model::ConfigSchedruleOnDemandRequest& request, const ConfigSchedruleOnDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ConfigSchedruleOnDemandOutcomeCallable configSchedruleOnDemandCallable(const Model::ConfigSchedruleOnDemandRequest& request) const;
CreateSchedruleOnDemandOutcome createSchedruleOnDemand(const Model::CreateSchedruleOnDemandRequest &request)const;
void createSchedruleOnDemandAsync(const Model::CreateSchedruleOnDemandRequest& request, const CreateSchedruleOnDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
CreateSchedruleOnDemandOutcomeCallable createSchedruleOnDemandCallable(const Model::CreateSchedruleOnDemandRequest& request) const;
DeleteBlackholeOutcome deleteBlackhole(const Model::DeleteBlackholeRequest &request)const;
void deleteBlackholeAsync(const Model::DeleteBlackholeRequest& request, const DeleteBlackholeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteBlackholeOutcomeCallable deleteBlackholeCallable(const Model::DeleteBlackholeRequest& request) const;
DeleteIpOutcome deleteIp(const Model::DeleteIpRequest &request)const;
void deleteIpAsync(const Model::DeleteIpRequest& request, const DeleteIpAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteIpOutcomeCallable deleteIpCallable(const Model::DeleteIpRequest& request) const;
DeleteSchedruleOnDemandOutcome deleteSchedruleOnDemand(const Model::DeleteSchedruleOnDemandRequest &request)const;
void deleteSchedruleOnDemandAsync(const Model::DeleteSchedruleOnDemandRequest& request, const DeleteSchedruleOnDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DeleteSchedruleOnDemandOutcomeCallable deleteSchedruleOnDemandCallable(const Model::DeleteSchedruleOnDemandRequest& request) const;
DescribeDdosEventOutcome describeDdosEvent(const Model::DescribeDdosEventRequest &request)const;
void describeDdosEventAsync(const Model::DescribeDdosEventRequest& request, const DescribeDdosEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeDdosEventOutcomeCallable describeDdosEventCallable(const Model::DescribeDdosEventRequest& request) const;
DescribeExcpetionCountOutcome describeExcpetionCount(const Model::DescribeExcpetionCountRequest &request)const;
void describeExcpetionCountAsync(const Model::DescribeExcpetionCountRequest& request, const DescribeExcpetionCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeExcpetionCountOutcomeCallable describeExcpetionCountCallable(const Model::DescribeExcpetionCountRequest& request) const;
DescribeInstanceListOutcome describeInstanceList(const Model::DescribeInstanceListRequest &request)const;
void describeInstanceListAsync(const Model::DescribeInstanceListRequest& request, const DescribeInstanceListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceListOutcomeCallable describeInstanceListCallable(const Model::DescribeInstanceListRequest& request) const;
DescribeInstanceSpecsOutcome describeInstanceSpecs(const Model::DescribeInstanceSpecsRequest &request)const;
void describeInstanceSpecsAsync(const Model::DescribeInstanceSpecsRequest& request, const DescribeInstanceSpecsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeInstanceSpecsOutcomeCallable describeInstanceSpecsCallable(const Model::DescribeInstanceSpecsRequest& request) const;
DescribeOnDemandDdosEventOutcome describeOnDemandDdosEvent(const Model::DescribeOnDemandDdosEventRequest &request)const;
void describeOnDemandDdosEventAsync(const Model::DescribeOnDemandDdosEventRequest& request, const DescribeOnDemandDdosEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeOnDemandDdosEventOutcomeCallable describeOnDemandDdosEventCallable(const Model::DescribeOnDemandDdosEventRequest& request) const;
DescribeOnDemandInstanceStatusOutcome describeOnDemandInstanceStatus(const Model::DescribeOnDemandInstanceStatusRequest &request)const;
void describeOnDemandInstanceStatusAsync(const Model::DescribeOnDemandInstanceStatusRequest& request, const DescribeOnDemandInstanceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeOnDemandInstanceStatusOutcomeCallable describeOnDemandInstanceStatusCallable(const Model::DescribeOnDemandInstanceStatusRequest& request) const;
DescribeOpEntitiesOutcome describeOpEntities(const Model::DescribeOpEntitiesRequest &request)const;
void describeOpEntitiesAsync(const Model::DescribeOpEntitiesRequest& request, const DescribeOpEntitiesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeOpEntitiesOutcomeCallable describeOpEntitiesCallable(const Model::DescribeOpEntitiesRequest& request) const;
DescribePackIpListOutcome describePackIpList(const Model::DescribePackIpListRequest &request)const;
void describePackIpListAsync(const Model::DescribePackIpListRequest& request, const DescribePackIpListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribePackIpListOutcomeCallable describePackIpListCallable(const Model::DescribePackIpListRequest& request) const;
DescribeRegionsOutcome describeRegions(const Model::DescribeRegionsRequest &request)const;
void describeRegionsAsync(const Model::DescribeRegionsRequest& request, const DescribeRegionsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeRegionsOutcomeCallable describeRegionsCallable(const Model::DescribeRegionsRequest& request) const;
DescribeTrafficOutcome describeTraffic(const Model::DescribeTrafficRequest &request)const;
void describeTrafficAsync(const Model::DescribeTrafficRequest& request, const DescribeTrafficAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
DescribeTrafficOutcomeCallable describeTrafficCallable(const Model::DescribeTrafficRequest& request) const;
GetSlsOpenStatusOutcome getSlsOpenStatus(const Model::GetSlsOpenStatusRequest &request)const;
void getSlsOpenStatusAsync(const Model::GetSlsOpenStatusRequest& request, const GetSlsOpenStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSlsOpenStatusOutcomeCallable getSlsOpenStatusCallable(const Model::GetSlsOpenStatusRequest& request) const;
ListOpenedAccessLogInstancesOutcome listOpenedAccessLogInstances(const Model::ListOpenedAccessLogInstancesRequest &request)const;
void listOpenedAccessLogInstancesAsync(const Model::ListOpenedAccessLogInstancesRequest& request, const ListOpenedAccessLogInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListOpenedAccessLogInstancesOutcomeCallable listOpenedAccessLogInstancesCallable(const Model::ListOpenedAccessLogInstancesRequest& request) const;
ListTagKeysOutcome listTagKeys(const Model::ListTagKeysRequest &request)const;
void listTagKeysAsync(const Model::ListTagKeysRequest& request, const ListTagKeysAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagKeysOutcomeCallable listTagKeysCallable(const Model::ListTagKeysRequest& request) const;
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
ModifyRemarkOutcome modifyRemark(const Model::ModifyRemarkRequest &request)const;
void modifyRemarkAsync(const Model::ModifyRemarkRequest& request, const ModifyRemarkAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ModifyRemarkOutcomeCallable modifyRemarkCallable(const Model::ModifyRemarkRequest& request) const;
QuerySchedruleOnDemandOutcome querySchedruleOnDemand(const Model::QuerySchedruleOnDemandRequest &request)const;
void querySchedruleOnDemandAsync(const Model::QuerySchedruleOnDemandRequest& request, const QuerySchedruleOnDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
QuerySchedruleOnDemandOutcomeCallable querySchedruleOnDemandCallable(const Model::QuerySchedruleOnDemandRequest& request) const;
SetInstanceModeOnDemandOutcome setInstanceModeOnDemand(const Model::SetInstanceModeOnDemandRequest &request)const;
void setInstanceModeOnDemandAsync(const Model::SetInstanceModeOnDemandRequest& request, const SetInstanceModeOnDemandAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SetInstanceModeOnDemandOutcomeCallable setInstanceModeOnDemandCallable(const Model::SetInstanceModeOnDemandRequest& request) const;
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_DDOSBGP_DDOSBGPCLIENT_H_

View File

@@ -0,0 +1,32 @@
/*
* 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_DDOSBGP_DDOSBGPEXPORT_H_
#define ALIBABACLOUD_DDOSBGP_DDOSBGPEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_DDOSBGP_LIBRARY)
# define ALIBABACLOUD_DDOSBGP_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_DDOSBGP_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_DDOSBGP_EXPORT
#endif
#endif // !ALIBABACLOUD_DDOSBGP_DDOSBGPEXPORT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_ADDIPREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_ADDIPREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT AddIpRequest : public RpcServiceRequest {
public:
AddIpRequest();
~AddIpRequest();
std::string getIpList() const;
void setIpList(const std::string &ipList);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string ipList_;
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_ADDIPREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_ADDIPRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_ADDIPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT AddIpResult : public ServiceResult
{
public:
AddIpResult();
explicit AddIpResult(const std::string &payload);
~AddIpResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_ADDIPRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_DDOSBGP_MODEL_CHECKACCESSLOGAUTHREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_CHECKACCESSLOGAUTHREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT CheckAccessLogAuthRequest : public RpcServiceRequest {
public:
CheckAccessLogAuthRequest();
~CheckAccessLogAuthRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_CHECKACCESSLOGAUTHREQUEST_H_

View File

@@ -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_DDOSBGP_MODEL_CHECKACCESSLOGAUTHRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_CHECKACCESSLOGAUTHRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT CheckAccessLogAuthResult : public ServiceResult
{
public:
CheckAccessLogAuthResult();
explicit CheckAccessLogAuthResult(const std::string &payload);
~CheckAccessLogAuthResult();
bool getAccessLogAuth()const;
protected:
void parse(const std::string &payload);
private:
bool accessLogAuth_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_CHECKACCESSLOGAUTHRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_DDOSBGP_MODEL_CHECKGRANTREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_CHECKGRANTREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT CheckGrantRequest : public RpcServiceRequest {
public:
CheckGrantRequest();
~CheckGrantRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_CHECKGRANTREQUEST_H_

View File

@@ -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_DDOSBGP_MODEL_CHECKGRANTRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_CHECKGRANTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT CheckGrantResult : public ServiceResult
{
public:
CheckGrantResult();
explicit CheckGrantResult(const std::string &payload);
~CheckGrantResult();
int getStatus()const;
protected:
void parse(const std::string &payload);
private:
int status_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_CHECKGRANTRESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* 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_DDOSBGP_MODEL_CONFIGSCHEDRULEONDEMANDREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_CONFIGSCHEDRULEONDEMANDREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT ConfigSchedruleOnDemandRequest : public RpcServiceRequest {
public:
ConfigSchedruleOnDemandRequest();
~ConfigSchedruleOnDemandRequest();
std::string getTimeZone() const;
void setTimeZone(const std::string &timeZone);
std::string getRuleName() const;
void setRuleName(const std::string &ruleName);
std::string getRuleConditionMbps() const;
void setRuleConditionMbps(const std::string &ruleConditionMbps);
std::string getRuleAction() const;
void setRuleAction(const std::string &ruleAction);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getRuleUndoMode() const;
void setRuleUndoMode(const std::string &ruleUndoMode);
std::string getRuleUndoEndTime() const;
void setRuleUndoEndTime(const std::string &ruleUndoEndTime);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getRuleUndoBeginTime() const;
void setRuleUndoBeginTime(const std::string &ruleUndoBeginTime);
std::string getRuleConditionCnt() const;
void setRuleConditionCnt(const std::string &ruleConditionCnt);
std::string getRuleSwitch() const;
void setRuleSwitch(const std::string &ruleSwitch);
std::string getRuleConditionKpps() const;
void setRuleConditionKpps(const std::string &ruleConditionKpps);
private:
std::string timeZone_;
std::string ruleName_;
std::string ruleConditionMbps_;
std::string ruleAction_;
std::string sourceIp_;
std::string regionId_;
std::string ruleUndoMode_;
std::string ruleUndoEndTime_;
std::string instanceId_;
std::string ruleUndoBeginTime_;
std::string ruleConditionCnt_;
std::string ruleSwitch_;
std::string ruleConditionKpps_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_CONFIGSCHEDRULEONDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_CONFIGSCHEDRULEONDEMANDRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_CONFIGSCHEDRULEONDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT ConfigSchedruleOnDemandResult : public ServiceResult
{
public:
ConfigSchedruleOnDemandResult();
explicit ConfigSchedruleOnDemandResult(const std::string &payload);
~ConfigSchedruleOnDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_CONFIGSCHEDRULEONDEMANDRESULT_H_

View File

@@ -0,0 +1,78 @@
/*
* 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_DDOSBGP_MODEL_CREATESCHEDRULEONDEMANDREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_CREATESCHEDRULEONDEMANDREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT CreateSchedruleOnDemandRequest : public RpcServiceRequest {
public:
CreateSchedruleOnDemandRequest();
~CreateSchedruleOnDemandRequest();
std::string getTimeZone() const;
void setTimeZone(const std::string &timeZone);
std::string getRuleName() const;
void setRuleName(const std::string &ruleName);
std::string getRuleConditionMbps() const;
void setRuleConditionMbps(const std::string &ruleConditionMbps);
std::string getRuleAction() const;
void setRuleAction(const std::string &ruleAction);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getRuleUndoMode() const;
void setRuleUndoMode(const std::string &ruleUndoMode);
std::string getRuleUndoEndTime() const;
void setRuleUndoEndTime(const std::string &ruleUndoEndTime);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getRuleUndoBeginTime() const;
void setRuleUndoBeginTime(const std::string &ruleUndoBeginTime);
std::string getRuleConditionCnt() const;
void setRuleConditionCnt(const std::string &ruleConditionCnt);
std::string getRuleSwitch() const;
void setRuleSwitch(const std::string &ruleSwitch);
std::string getRuleConditionKpps() const;
void setRuleConditionKpps(const std::string &ruleConditionKpps);
private:
std::string timeZone_;
std::string ruleName_;
std::string ruleConditionMbps_;
std::string ruleAction_;
std::string sourceIp_;
std::string regionId_;
std::string ruleUndoMode_;
std::string ruleUndoEndTime_;
std::string instanceId_;
std::string ruleUndoBeginTime_;
std::string ruleConditionCnt_;
std::string ruleSwitch_;
std::string ruleConditionKpps_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_CREATESCHEDRULEONDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_CREATESCHEDRULEONDEMANDRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_CREATESCHEDRULEONDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT CreateSchedruleOnDemandResult : public ServiceResult
{
public:
CreateSchedruleOnDemandResult();
explicit CreateSchedruleOnDemandResult(const std::string &payload);
~CreateSchedruleOnDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_CREATESCHEDRULEONDEMANDRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_DELETEBLACKHOLEREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DELETEBLACKHOLEREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DeleteBlackholeRequest : public RpcServiceRequest {
public:
DeleteBlackholeRequest();
~DeleteBlackholeRequest();
std::string getIp() const;
void setIp(const std::string &ip);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string ip_;
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DELETEBLACKHOLEREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_DELETEBLACKHOLERESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DELETEBLACKHOLERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DeleteBlackholeResult : public ServiceResult
{
public:
DeleteBlackholeResult();
explicit DeleteBlackholeResult(const std::string &payload);
~DeleteBlackholeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DELETEBLACKHOLERESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_DELETEIPREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DELETEIPREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DeleteIpRequest : public RpcServiceRequest {
public:
DeleteIpRequest();
~DeleteIpRequest();
std::string getIpList() const;
void setIpList(const std::string &ipList);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string ipList_;
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DELETEIPREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_DELETEIPRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DELETEIPRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DeleteIpResult : public ServiceResult
{
public:
DeleteIpResult();
explicit DeleteIpResult(const std::string &payload);
~DeleteIpResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DELETEIPRESULT_H_

View File

@@ -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_DDOSBGP_MODEL_DELETESCHEDRULEONDEMANDREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DELETESCHEDRULEONDEMANDREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DeleteSchedruleOnDemandRequest : public RpcServiceRequest {
public:
DeleteSchedruleOnDemandRequest();
~DeleteSchedruleOnDemandRequest();
std::string getRuleName() const;
void setRuleName(const std::string &ruleName);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string ruleName_;
std::string instanceId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DELETESCHEDRULEONDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_DELETESCHEDRULEONDEMANDRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DELETESCHEDRULEONDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DeleteSchedruleOnDemandResult : public ServiceResult
{
public:
DeleteSchedruleOnDemandResult();
explicit DeleteSchedruleOnDemandResult(const std::string &payload);
~DeleteSchedruleOnDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DELETESCHEDRULEONDEMANDRESULT_H_

View File

@@ -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_DDOSBGP_MODEL_DESCRIBEDDOSEVENTREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEDDOSEVENTREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeDdosEventRequest : public RpcServiceRequest {
public:
DescribeDdosEventRequest();
~DescribeDdosEventRequest();
int getStartTime() const;
void setStartTime(int startTime);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getIp() const;
void setIp(const std::string &ip);
int getEndTime() const;
void setEndTime(int endTime);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
int getPageNo() const;
void setPageNo(int pageNo);
private:
int startTime_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
int pageSize_;
std::string ip_;
int endTime_;
std::string instanceId_;
int pageNo_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEDDOSEVENTREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEDDOSEVENTRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEDDOSEVENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeDdosEventResult : public ServiceResult
{
public:
struct Event
{
std::string status;
int pps;
int endTime;
std::string ip;
int startTime;
int mbps;
};
DescribeDdosEventResult();
explicit DescribeDdosEventResult(const std::string &payload);
~DescribeDdosEventResult();
std::vector<Event> getEvents()const;
long getTotal()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Event> events_;
long total_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEDDOSEVENTRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEEXCPETIONCOUNTREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEEXCPETIONCOUNTREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeExcpetionCountRequest : public RpcServiceRequest {
public:
DescribeExcpetionCountRequest();
~DescribeExcpetionCountRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEEXCPETIONCOUNTREQUEST_H_

View File

@@ -0,0 +1,53 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEEXCPETIONCOUNTRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEEXCPETIONCOUNTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeExcpetionCountResult : public ServiceResult
{
public:
DescribeExcpetionCountResult();
explicit DescribeExcpetionCountResult(const std::string &payload);
~DescribeExcpetionCountResult();
int getExceptionIpCount()const;
int getExpireTimeCount()const;
protected:
void parse(const std::string &payload);
private:
int exceptionIpCount_;
int expireTimeCount_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEEXCPETIONCOUNTRESULT_H_

View File

@@ -0,0 +1,85 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEINSTANCELISTREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCELISTREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeInstanceListRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
DescribeInstanceListRequest();
~DescribeInstanceListRequest();
std::string getRemark() const;
void setRemark(const std::string &remark);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getInstanceType() const;
void setInstanceType(const std::string &instanceType);
std::string getIpVersion() const;
void setIpVersion(const std::string &ipVersion);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::string getIp() const;
void setIp(const std::string &ip);
std::string getOrderby() const;
void setOrderby(const std::string &orderby);
std::string getInstanceIdList() const;
void setInstanceIdList(const std::string &instanceIdList);
int getPageNo() const;
void setPageNo(int pageNo);
std::string getOrderdire() const;
void setOrderdire(const std::string &orderdire);
std::vector<std::string> getInstanceTypeList() const;
void setInstanceTypeList(const std::vector<std::string> &instanceTypeList);
private:
std::string remark_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
int pageSize_;
std::string instanceType_;
std::string ipVersion_;
std::vector<Tag> tag_;
std::string ip_;
std::string orderby_;
std::string instanceIdList_;
int pageNo_;
std::string orderdire_;
std::vector<std::string> instanceTypeList_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCELISTREQUEST_H_

View File

@@ -0,0 +1,67 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEINSTANCELISTRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCELISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeInstanceListResult : public ServiceResult
{
public:
struct Instance
{
std::string status;
long gmtCreate;
bool autoRenewal;
std::string ipType;
std::string instanceId;
std::string blackholdingCount;
std::string product;
long expireTime;
std::string instanceType;
int coverageType;
std::string remark;
};
DescribeInstanceListResult();
explicit DescribeInstanceListResult(const std::string &payload);
~DescribeInstanceListResult();
long getTotal()const;
std::vector<Instance> getInstanceList()const;
protected:
void parse(const std::string &payload);
private:
long total_;
std::vector<Instance> instanceList_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCELISTRESULT_H_

View File

@@ -0,0 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCESPECSREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCESPECSREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeInstanceSpecsRequest : public RpcServiceRequest {
public:
DescribeInstanceSpecsRequest();
~DescribeInstanceSpecsRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getInstanceIdList() const;
void setInstanceIdList(const std::string &instanceIdList);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
std::string instanceIdList_;
std::string lang_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCESPECSREQUEST_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCESPECSRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCESPECSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeInstanceSpecsResult : public ServiceResult
{
public:
struct InstanceSpec
{
struct PackConfig
{
int packAdvThre;
int normalBandwidth;
int ipSpec;
int bindIpCount;
long bandwidth;
int ipAdvanceThre;
int packBasicThre;
int ipBasicThre;
};
int isFullDefenseMode;
int totalDefenseTimes;
std::string instanceId;
int availableDefenseTimes;
std::string region;
std::string availableDeleteBlackholeCount;
PackConfig packConfig;
};
DescribeInstanceSpecsResult();
explicit DescribeInstanceSpecsResult(const std::string &payload);
~DescribeInstanceSpecsResult();
std::vector<InstanceSpec> getInstanceSpecs()const;
protected:
void parse(const std::string &payload);
private:
std::vector<InstanceSpec> instanceSpecs_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEINSTANCESPECSRESULT_H_

View File

@@ -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_DDOSBGP_MODEL_DESCRIBEONDEMANDDDOSEVENTREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEONDEMANDDDOSEVENTREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeOnDemandDdosEventRequest : public RpcServiceRequest {
public:
DescribeOnDemandDdosEventRequest();
~DescribeOnDemandDdosEventRequest();
int getStartTime() const;
void setStartTime(int startTime);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getIp() const;
void setIp(const std::string &ip);
int getEndTime() const;
void setEndTime(int endTime);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
int getPageNo() const;
void setPageNo(int pageNo);
private:
int startTime_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
int pageSize_;
std::string ip_;
int endTime_;
std::string instanceId_;
int pageNo_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEONDEMANDDDOSEVENTREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEONDEMANDDDOSEVENTRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEONDEMANDDDOSEVENTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeOnDemandDdosEventResult : public ServiceResult
{
public:
struct Event
{
std::string status;
int pps;
int endTime;
std::string ip;
int startTime;
int mbps;
};
DescribeOnDemandDdosEventResult();
explicit DescribeOnDemandDdosEventResult(const std::string &payload);
~DescribeOnDemandDdosEventResult();
std::vector<Event> getEvents()const;
long getTotal()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Event> events_;
long total_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEONDEMANDDDOSEVENTRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEONDEMANDINSTANCESTATUSREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEONDEMANDINSTANCESTATUSREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeOnDemandInstanceStatusRequest : public RpcServiceRequest {
public:
DescribeOnDemandInstanceStatusRequest();
~DescribeOnDemandInstanceStatusRequest();
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::vector<std::string> getInstanceIdList() const;
void setInstanceIdList(const std::vector<std::string> &instanceIdList);
private:
std::string sourceIp_;
std::string regionId_;
std::vector<std::string> instanceIdList_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEONDEMANDINSTANCESTATUSREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEONDEMANDINSTANCESTATUSRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEONDEMANDINSTANCESTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeOnDemandInstanceStatusResult : public ServiceResult
{
public:
struct Instance
{
std::string desc;
std::string instanceId;
std::string userId;
std::string mode;
std::string registedAs;
std::string net;
std::string declared;
};
DescribeOnDemandInstanceStatusResult();
explicit DescribeOnDemandInstanceStatusResult(const std::string &payload);
~DescribeOnDemandInstanceStatusResult();
std::vector<Instance> getInstances()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Instance> instances_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEONDEMANDINSTANCESTATUSRESULT_H_

View File

@@ -0,0 +1,72 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEOPENTITIESREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEOPENTITIESREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeOpEntitiesRequest : public RpcServiceRequest {
public:
DescribeOpEntitiesRequest();
~DescribeOpEntitiesRequest();
long getStartTime() const;
void setStartTime(long startTime);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getLang() const;
void setLang(const std::string &lang);
long getEndTime() const;
void setEndTime(long endTime);
std::string getOrderBy() const;
void setOrderBy(const std::string &orderBy);
int getCurrentPage() const;
void setCurrentPage(int currentPage);
std::string getOrderDir() const;
void setOrderDir(const std::string &orderDir);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
private:
long startTime_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
int pageSize_;
std::string lang_;
long endTime_;
std::string orderBy_;
int currentPage_;
std::string orderDir_;
std::string instanceId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEOPENTITIESREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEOPENTITIESRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEOPENTITIESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeOpEntitiesResult : public ServiceResult
{
public:
struct OpEntity
{
int entityType;
long gmtCreate;
std::string opAccount;
std::string opDesc;
int opAction;
std::string entityObject;
};
DescribeOpEntitiesResult();
explicit DescribeOpEntitiesResult(const std::string &payload);
~DescribeOpEntitiesResult();
int getTotalCount()const;
std::vector<OpEntity> getOpEntities()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<OpEntity> opEntities_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEOPENTITIESRESULT_H_

View File

@@ -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_DDOSBGP_MODEL_DESCRIBEPACKIPLISTREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEPACKIPLISTREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribePackIpListRequest : public RpcServiceRequest {
public:
DescribePackIpListRequest();
~DescribePackIpListRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getProductName() const;
void setProductName(const std::string &productName);
std::string getIp() const;
void setIp(const std::string &ip);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
int getPageNo() const;
void setPageNo(int pageNo);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
int pageSize_;
std::string productName_;
std::string ip_;
std::string instanceId_;
int pageNo_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEPACKIPLISTREQUEST_H_

View File

@@ -0,0 +1,65 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEPACKIPLISTRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEPACKIPLISTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribePackIpListResult : public ServiceResult
{
public:
struct Ipitem
{
std::string status;
std::string ip;
std::string product;
std::string region;
std::string remark;
};
DescribePackIpListResult();
explicit DescribePackIpListResult(const std::string &payload);
~DescribePackIpListResult();
std::vector<Ipitem> getIpList()const;
int getTotal()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Ipitem> ipList_;
int total_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEPACKIPLISTRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEREGIONSREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEREGIONSREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeRegionsRequest : public RpcServiceRequest {
public:
DescribeRegionsRequest();
~DescribeRegionsRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEREGIONSREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBEREGIONSRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEREGIONSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeRegionsResult : public ServiceResult
{
public:
struct Region
{
std::string regionName;
std::string regionEnName;
std::string regionId;
};
DescribeRegionsResult();
explicit DescribeRegionsResult(const std::string &payload);
~DescribeRegionsResult();
std::vector<Region> getRegions()const;
std::string getCode()const;
bool getSuccess()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Region> regions_;
std::string code_;
bool success_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBEREGIONSRESULT_H_

View File

@@ -0,0 +1,69 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBETRAFFICREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBETRAFFICREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeTrafficRequest : public RpcServiceRequest {
public:
DescribeTrafficRequest();
~DescribeTrafficRequest();
int getStartTime() const;
void setStartTime(int startTime);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getIp() const;
void setIp(const std::string &ip);
int getEndTime() const;
void setEndTime(int endTime);
std::string getIpnet() const;
void setIpnet(const std::string &ipnet);
std::string getFlowType() const;
void setFlowType(const std::string &flowType);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
int getInterval() const;
void setInterval(int interval);
private:
int startTime_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
std::string ip_;
int endTime_;
std::string ipnet_;
std::string flowType_;
std::string instanceId_;
int interval_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBETRAFFICREQUEST_H_

View File

@@ -0,0 +1,61 @@
/*
* 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_DDOSBGP_MODEL_DESCRIBETRAFFICRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBETRAFFICRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT DescribeTrafficResult : public ServiceResult
{
public:
struct Flow
{
int pps;
int kbps;
int time;
std::string flowType;
long attackBps;
long attackPps;
std::string name;
};
DescribeTrafficResult();
explicit DescribeTrafficResult(const std::string &payload);
~DescribeTrafficResult();
std::vector<Flow> getFlowList()const;
protected:
void parse(const std::string &payload);
private:
std::vector<Flow> flowList_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_DESCRIBETRAFFICRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_DDOSBGP_MODEL_GETSLSOPENSTATUSREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_GETSLSOPENSTATUSREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT GetSlsOpenStatusRequest : public RpcServiceRequest {
public:
GetSlsOpenStatusRequest();
~GetSlsOpenStatusRequest();
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_GETSLSOPENSTATUSREQUEST_H_

View File

@@ -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_DDOSBGP_MODEL_GETSLSOPENSTATUSRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_GETSLSOPENSTATUSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT GetSlsOpenStatusResult : public ServiceResult
{
public:
GetSlsOpenStatusResult();
explicit GetSlsOpenStatusResult(const std::string &payload);
~GetSlsOpenStatusResult();
bool getSlsOpenStatus()const;
protected:
void parse(const std::string &payload);
private:
bool slsOpenStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_GETSLSOPENSTATUSRESULT_H_

View File

@@ -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_DDOSBGP_MODEL_LISTOPENEDACCESSLOGINSTANCESREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_LISTOPENEDACCESSLOGINSTANCESREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT ListOpenedAccessLogInstancesRequest : public RpcServiceRequest {
public:
ListOpenedAccessLogInstancesRequest();
~ListOpenedAccessLogInstancesRequest();
int getPageNumber() const;
void setPageNumber(int pageNumber);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
int getPageSize() const;
void setPageSize(int pageSize);
private:
int pageNumber_;
std::string resourceGroupId_;
std::string sourceIp_;
int pageSize_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_LISTOPENEDACCESSLOGINSTANCESREQUEST_H_

View File

@@ -0,0 +1,58 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_LISTOPENEDACCESSLOGINSTANCESRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_LISTOPENEDACCESSLOGINSTANCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT ListOpenedAccessLogInstancesResult : public ServiceResult
{
public:
struct OpenedInstance
{
std::string instanceId;
bool enable;
};
ListOpenedAccessLogInstancesResult();
explicit ListOpenedAccessLogInstancesResult(const std::string &payload);
~ListOpenedAccessLogInstancesResult();
int getTotalCount()const;
std::vector<OpenedInstance> getSlsConfigStatus()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
std::vector<OpenedInstance> slsConfigStatus_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_LISTOPENEDACCESSLOGINSTANCESRESULT_H_

View File

@@ -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_DDOSBGP_MODEL_LISTTAGKEYSREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_LISTTAGKEYSREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT ListTagKeysRequest : public RpcServiceRequest {
public:
ListTagKeysRequest();
~ListTagKeysRequest();
std::string getTagOwnerUid() const;
void setTagOwnerUid(const std::string &tagOwnerUid);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getScope() const;
void setScope(const std::string &scope);
int getPageSize() const;
void setPageSize(int pageSize);
std::string getTagOwnerBid() const;
void setTagOwnerBid(const std::string &tagOwnerBid);
int getCurrentPage() const;
void setCurrentPage(int currentPage);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
private:
std::string tagOwnerUid_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
std::string scope_;
int pageSize_;
std::string tagOwnerBid_;
int currentPage_;
std::string resourceType_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_LISTTAGKEYSREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* 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_DDOSBGP_MODEL_LISTTAGKEYSRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_LISTTAGKEYSRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT ListTagKeysResult : public ServiceResult
{
public:
struct TagKey
{
int tagCount;
std::string tagKey;
};
ListTagKeysResult();
explicit ListTagKeysResult(const std::string &payload);
~ListTagKeysResult();
int getTotalCount()const;
int getPageSize()const;
int getCurrentPage()const;
std::vector<TagKey> getTagKeys()const;
protected:
void parse(const std::string &payload);
private:
int totalCount_;
int pageSize_;
int currentPage_;
std::vector<TagKey> tagKeys_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_LISTTAGKEYSRESULT_H_

View File

@@ -0,0 +1,73 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_LISTTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_LISTTAGRESOURCESREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT ListTagResourcesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
ListTagResourcesRequest();
~ListTagResourcesRequest();
std::string getTagOwnerUid() const;
void setTagOwnerUid(const std::string &tagOwnerUid);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getNextToken() const;
void setNextToken(const std::string &nextToken);
std::string getScope() const;
void setScope(const std::string &scope);
std::string getTagOwnerBid() const;
void setTagOwnerBid(const std::string &tagOwnerBid);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
private:
std::string tagOwnerUid_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
std::string nextToken_;
std::string scope_;
std::string tagOwnerBid_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
std::string resourceType_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_LISTTAGRESOURCESREQUEST_H_

View File

@@ -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_DDOSBGP_MODEL_LISTTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_LISTTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT ListTagResourcesResult : public ServiceResult
{
public:
struct TagResource
{
std::string resourceId;
std::string tagKey;
std::string resourceType;
std::string tagValue;
};
ListTagResourcesResult();
explicit ListTagResourcesResult(const std::string &payload);
~ListTagResourcesResult();
std::string getNextToken()const;
std::vector<TagResource> getTagResources()const;
protected:
void parse(const std::string &payload);
private:
std::string nextToken_;
std::vector<TagResource> tagResources_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_LISTTAGRESOURCESRESULT_H_

View File

@@ -0,0 +1,57 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_MODIFYREMARKREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_MODIFYREMARKREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT ModifyRemarkRequest : public RpcServiceRequest {
public:
ModifyRemarkRequest();
~ModifyRemarkRequest();
std::string getRemark() const;
void setRemark(const std::string &remark);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getLang() const;
void setLang(const std::string &lang);
private:
std::string remark_;
std::string resourceGroupId_;
std::string instanceId_;
std::string sourceIp_;
std::string regionId_;
std::string lang_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_MODIFYREMARKREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_MODIFYREMARKRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_MODIFYREMARKRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT ModifyRemarkResult : public ServiceResult
{
public:
ModifyRemarkResult();
explicit ModifyRemarkResult(const std::string &payload);
~ModifyRemarkResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_MODIFYREMARKRESULT_H_

View File

@@ -0,0 +1,48 @@
/*
* 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_DDOSBGP_MODEL_QUERYSCHEDRULEONDEMANDREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_QUERYSCHEDRULEONDEMANDREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT QuerySchedruleOnDemandRequest : public RpcServiceRequest {
public:
QuerySchedruleOnDemandRequest();
~QuerySchedruleOnDemandRequest();
std::string getInstanceId() const;
void setInstanceId(const std::string &instanceId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
private:
std::string instanceId_;
std::string sourceIp_;
std::string regionId_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_QUERYSCHEDRULEONDEMANDREQUEST_H_

View File

@@ -0,0 +1,75 @@
/*
* 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_DDOSBGP_MODEL_QUERYSCHEDRULEONDEMANDRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_QUERYSCHEDRULEONDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT QuerySchedruleOnDemandResult : public ServiceResult
{
public:
struct Config
{
std::string ruleSwitch;
std::string ruleUndoEndTime;
std::string timeZone;
std::string ruleConditionCnt;
std::string ruleAction;
std::string ruleConditionMbps;
std::string ruleConditionKpps;
std::string ruleUndoMode;
std::string ruleUndoBeginTime;
std::string ruleName;
};
struct Status
{
std::string ruleSchedStatus;
std::string net;
};
QuerySchedruleOnDemandResult();
explicit QuerySchedruleOnDemandResult(const std::string &payload);
~QuerySchedruleOnDemandResult();
std::string getInstanceId()const;
std::string getUserId()const;
std::vector<Status> getRuleStatus()const;
std::vector<Config> getRuleConfig()const;
protected:
void parse(const std::string &payload);
private:
std::string instanceId_;
std::string userId_;
std::vector<Status> ruleStatus_;
std::vector<Config> ruleConfig_;
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_QUERYSCHEDRULEONDEMANDRESULT_H_

View File

@@ -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_DDOSBGP_MODEL_SETINSTANCEMODEONDEMANDREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_SETINSTANCEMODEONDEMANDREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT SetInstanceModeOnDemandRequest : public RpcServiceRequest {
public:
SetInstanceModeOnDemandRequest();
~SetInstanceModeOnDemandRequest();
std::string getMode() const;
void setMode(const std::string &mode);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::vector<std::string> getInstanceIdList() const;
void setInstanceIdList(const std::vector<std::string> &instanceIdList);
private:
std::string mode_;
std::string sourceIp_;
std::string regionId_;
std::vector<std::string> instanceIdList_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_SETINSTANCEMODEONDEMANDREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_SETINSTANCEMODEONDEMANDRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_SETINSTANCEMODEONDEMANDRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT SetInstanceModeOnDemandResult : public ServiceResult
{
public:
SetInstanceModeOnDemandResult();
explicit SetInstanceModeOnDemandResult(const std::string &payload);
~SetInstanceModeOnDemandResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_SETINSTANCEMODEONDEMANDRESULT_H_

View File

@@ -0,0 +1,70 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_DDOSBGP_MODEL_TAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_TAGRESOURCESREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT TagResourcesRequest : public RpcServiceRequest {
public:
struct Tag {
std::string value;
std::string key;
};
TagResourcesRequest();
~TagResourcesRequest();
std::string getTagOwnerUid() const;
void setTagOwnerUid(const std::string &tagOwnerUid);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getScope() const;
void setScope(const std::string &scope);
std::string getTagOwnerBid() const;
void setTagOwnerBid(const std::string &tagOwnerBid);
std::vector<Tag> getTag() const;
void setTag(const std::vector<Tag> &tag);
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
private:
std::string tagOwnerUid_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
std::string scope_;
std::string tagOwnerBid_;
std::vector<Tag> tag_;
std::vector<std::string> resourceId_;
std::string resourceType_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_TAGRESOURCESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_TAGRESOURCESRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_TAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT TagResourcesResult : public ServiceResult
{
public:
TagResourcesResult();
explicit TagResourcesResult(const std::string &payload);
~TagResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_TAGRESOURCESRESULT_H_

View File

@@ -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_DDOSBGP_MODEL_UNTAGRESOURCESREQUEST_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_UNTAGRESOURCESREQUEST_H_
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <string>
#include <vector>
#include <map>
namespace AlibabaCloud {
namespace Ddosbgp {
namespace Model {
class ALIBABACLOUD_DDOSBGP_EXPORT UntagResourcesRequest : public RpcServiceRequest {
public:
UntagResourcesRequest();
~UntagResourcesRequest();
std::string getTagOwnerUid() const;
void setTagOwnerUid(const std::string &tagOwnerUid);
std::string getResourceGroupId() const;
void setResourceGroupId(const std::string &resourceGroupId);
std::string getSourceIp() const;
void setSourceIp(const std::string &sourceIp);
std::string getRegionId() const;
void setRegionId(const std::string &regionId);
std::string getTagOwnerBid() const;
void setTagOwnerBid(const std::string &tagOwnerBid);
bool getAll() const;
void setAll(bool all);
std::vector<std::string> getResourceId() const;
void setResourceId(const std::vector<std::string> &resourceId);
std::string getResourceType() const;
void setResourceType(const std::string &resourceType);
std::vector<std::string> getTagKey() const;
void setTagKey(const std::vector<std::string> &tagKey);
private:
std::string tagOwnerUid_;
std::string resourceGroupId_;
std::string sourceIp_;
std::string regionId_;
std::string tagOwnerBid_;
bool all_;
std::vector<std::string> resourceId_;
std::string resourceType_;
std::vector<std::string> tagKey_;
};
} // namespace Model
} // namespace Ddosbgp
} // namespace AlibabaCloud
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_UNTAGRESOURCESREQUEST_H_

View File

@@ -0,0 +1,49 @@
/*
* 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_DDOSBGP_MODEL_UNTAGRESOURCESRESULT_H_
#define ALIBABACLOUD_DDOSBGP_MODEL_UNTAGRESOURCESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/ddosbgp/DdosbgpExport.h>
namespace AlibabaCloud
{
namespace Ddosbgp
{
namespace Model
{
class ALIBABACLOUD_DDOSBGP_EXPORT UntagResourcesResult : public ServiceResult
{
public:
UntagResourcesResult();
explicit UntagResourcesResult(const std::string &payload);
~UntagResourcesResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_DDOSBGP_MODEL_UNTAGRESOURCESRESULT_H_