Compare commits
17 Commits
Httpdns-pa
...
Kms-patch
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c991c9ca9 | ||
|
|
8fdebda354 | ||
|
|
b176afa994 | ||
|
|
2f2b5d5ffe | ||
|
|
ddc7e6e035 | ||
|
|
f937d7b2e5 | ||
|
|
5ae199177a | ||
|
|
17a893fab4 | ||
|
|
59fadb7eb2 | ||
|
|
efdcf35422 | ||
|
|
4a101f7934 | ||
|
|
0e8ddb7c12 | ||
|
|
830db8c54b | ||
|
|
497a6c2290 | ||
|
|
133087387b | ||
|
|
df2d0d89e1 | ||
|
|
42b2b25562 |
51
CHANGELOG
51
CHANGELOG
@@ -1,3 +1,54 @@
|
|||||||
|
2020-11-27 Version: patch
|
||||||
|
- Add Certificate Manager Api.
|
||||||
|
|
||||||
|
2020-11-27 Version: patch
|
||||||
|
- Support taskList.
|
||||||
|
|
||||||
|
2020-11-26 Version: patch
|
||||||
|
- ContrastFaceVerify Support Video.
|
||||||
|
|
||||||
|
2020-11-26 Version: patch
|
||||||
|
- Generated 2020-07-06, 2017-12-04 for `Actiontrail`.
|
||||||
|
|
||||||
|
2020-11-26 Version: patch
|
||||||
|
- Generated 2020-07-06 for `Actiontrail`.
|
||||||
|
|
||||||
|
2020-11-26 Version: patch
|
||||||
|
- Add tags api, include GetRepositoryTag, ListRepositoryTags, DeleteRepositoryTag.
|
||||||
|
|
||||||
|
2020-11-25 Version: patch
|
||||||
|
- Update DescribeScdnDomainCertificateInfo.
|
||||||
|
|
||||||
|
2020-11-25 Version: patch
|
||||||
|
- Update SetVideoSeekConfig.
|
||||||
|
|
||||||
|
2020-11-25 Version: patch
|
||||||
|
- Support DescribeDBClusterVersion.
|
||||||
|
|
||||||
|
2020-11-25 Version: patch
|
||||||
|
- Add extension field for image translation.
|
||||||
|
|
||||||
|
2020-11-25 Version: patch
|
||||||
|
- Supported Primary NetworkInterface IP for API DescribeInstances.
|
||||||
|
|
||||||
|
2020-11-24 Version: patch
|
||||||
|
- Create TSDB Open api.
|
||||||
|
|
||||||
|
2020-11-24 Version: patch
|
||||||
|
- Create TSDB Open api.
|
||||||
|
|
||||||
|
2020-11-24 Version: patch
|
||||||
|
- Create lindorm Open api.
|
||||||
|
|
||||||
|
2020-11-24 Version: patch
|
||||||
|
- Create lindorm Open api.
|
||||||
|
|
||||||
|
2020-11-24 Version: patch
|
||||||
|
- Update SearchFace.
|
||||||
|
|
||||||
|
2020-11-24 Version: patch
|
||||||
|
- Generated 2020-01-01 for `ddoscoo`.
|
||||||
|
|
||||||
2020-11-23 Version: patch
|
2020-11-23 Version: patch
|
||||||
- Supported multiple Language.
|
- Supported multiple Language.
|
||||||
|
|
||||||
|
|||||||
@@ -21,8 +21,12 @@ set(actiontrail_public_header
|
|||||||
include/alibabacloud/actiontrail/ActiontrailExport.h )
|
include/alibabacloud/actiontrail/ActiontrailExport.h )
|
||||||
|
|
||||||
set(actiontrail_public_header_model
|
set(actiontrail_public_header_model
|
||||||
|
include/alibabacloud/actiontrail/model/CreateDeliveryHistoryJobRequest.h
|
||||||
|
include/alibabacloud/actiontrail/model/CreateDeliveryHistoryJobResult.h
|
||||||
include/alibabacloud/actiontrail/model/CreateTrailRequest.h
|
include/alibabacloud/actiontrail/model/CreateTrailRequest.h
|
||||||
include/alibabacloud/actiontrail/model/CreateTrailResult.h
|
include/alibabacloud/actiontrail/model/CreateTrailResult.h
|
||||||
|
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobRequest.h
|
||||||
|
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobResult.h
|
||||||
include/alibabacloud/actiontrail/model/DeleteTrailRequest.h
|
include/alibabacloud/actiontrail/model/DeleteTrailRequest.h
|
||||||
include/alibabacloud/actiontrail/model/DeleteTrailResult.h
|
include/alibabacloud/actiontrail/model/DeleteTrailResult.h
|
||||||
include/alibabacloud/actiontrail/model/DescribeRegionsRequest.h
|
include/alibabacloud/actiontrail/model/DescribeRegionsRequest.h
|
||||||
@@ -31,6 +35,8 @@ set(actiontrail_public_header_model
|
|||||||
include/alibabacloud/actiontrail/model/DescribeTrailsResult.h
|
include/alibabacloud/actiontrail/model/DescribeTrailsResult.h
|
||||||
include/alibabacloud/actiontrail/model/GetTrailStatusRequest.h
|
include/alibabacloud/actiontrail/model/GetTrailStatusRequest.h
|
||||||
include/alibabacloud/actiontrail/model/GetTrailStatusResult.h
|
include/alibabacloud/actiontrail/model/GetTrailStatusResult.h
|
||||||
|
include/alibabacloud/actiontrail/model/ListDeliveryHistoryJobsRequest.h
|
||||||
|
include/alibabacloud/actiontrail/model/ListDeliveryHistoryJobsResult.h
|
||||||
include/alibabacloud/actiontrail/model/LookupEventsRequest.h
|
include/alibabacloud/actiontrail/model/LookupEventsRequest.h
|
||||||
include/alibabacloud/actiontrail/model/LookupEventsResult.h
|
include/alibabacloud/actiontrail/model/LookupEventsResult.h
|
||||||
include/alibabacloud/actiontrail/model/StartLoggingRequest.h
|
include/alibabacloud/actiontrail/model/StartLoggingRequest.h
|
||||||
@@ -42,8 +48,12 @@ set(actiontrail_public_header_model
|
|||||||
|
|
||||||
set(actiontrail_src
|
set(actiontrail_src
|
||||||
src/ActiontrailClient.cc
|
src/ActiontrailClient.cc
|
||||||
|
src/model/CreateDeliveryHistoryJobRequest.cc
|
||||||
|
src/model/CreateDeliveryHistoryJobResult.cc
|
||||||
src/model/CreateTrailRequest.cc
|
src/model/CreateTrailRequest.cc
|
||||||
src/model/CreateTrailResult.cc
|
src/model/CreateTrailResult.cc
|
||||||
|
src/model/DeleteDeliveryHistoryJobRequest.cc
|
||||||
|
src/model/DeleteDeliveryHistoryJobResult.cc
|
||||||
src/model/DeleteTrailRequest.cc
|
src/model/DeleteTrailRequest.cc
|
||||||
src/model/DeleteTrailResult.cc
|
src/model/DeleteTrailResult.cc
|
||||||
src/model/DescribeRegionsRequest.cc
|
src/model/DescribeRegionsRequest.cc
|
||||||
@@ -52,6 +62,8 @@ set(actiontrail_src
|
|||||||
src/model/DescribeTrailsResult.cc
|
src/model/DescribeTrailsResult.cc
|
||||||
src/model/GetTrailStatusRequest.cc
|
src/model/GetTrailStatusRequest.cc
|
||||||
src/model/GetTrailStatusResult.cc
|
src/model/GetTrailStatusResult.cc
|
||||||
|
src/model/ListDeliveryHistoryJobsRequest.cc
|
||||||
|
src/model/ListDeliveryHistoryJobsResult.cc
|
||||||
src/model/LookupEventsRequest.cc
|
src/model/LookupEventsRequest.cc
|
||||||
src/model/LookupEventsResult.cc
|
src/model/LookupEventsResult.cc
|
||||||
src/model/StartLoggingRequest.cc
|
src/model/StartLoggingRequest.cc
|
||||||
|
|||||||
@@ -22,8 +22,12 @@
|
|||||||
#include <alibabacloud/core/EndpointProvider.h>
|
#include <alibabacloud/core/EndpointProvider.h>
|
||||||
#include <alibabacloud/core/RpcServiceClient.h>
|
#include <alibabacloud/core/RpcServiceClient.h>
|
||||||
#include "ActiontrailExport.h"
|
#include "ActiontrailExport.h"
|
||||||
|
#include "model/CreateDeliveryHistoryJobRequest.h"
|
||||||
|
#include "model/CreateDeliveryHistoryJobResult.h"
|
||||||
#include "model/CreateTrailRequest.h"
|
#include "model/CreateTrailRequest.h"
|
||||||
#include "model/CreateTrailResult.h"
|
#include "model/CreateTrailResult.h"
|
||||||
|
#include "model/DeleteDeliveryHistoryJobRequest.h"
|
||||||
|
#include "model/DeleteDeliveryHistoryJobResult.h"
|
||||||
#include "model/DeleteTrailRequest.h"
|
#include "model/DeleteTrailRequest.h"
|
||||||
#include "model/DeleteTrailResult.h"
|
#include "model/DeleteTrailResult.h"
|
||||||
#include "model/DescribeRegionsRequest.h"
|
#include "model/DescribeRegionsRequest.h"
|
||||||
@@ -32,6 +36,8 @@
|
|||||||
#include "model/DescribeTrailsResult.h"
|
#include "model/DescribeTrailsResult.h"
|
||||||
#include "model/GetTrailStatusRequest.h"
|
#include "model/GetTrailStatusRequest.h"
|
||||||
#include "model/GetTrailStatusResult.h"
|
#include "model/GetTrailStatusResult.h"
|
||||||
|
#include "model/ListDeliveryHistoryJobsRequest.h"
|
||||||
|
#include "model/ListDeliveryHistoryJobsResult.h"
|
||||||
#include "model/LookupEventsRequest.h"
|
#include "model/LookupEventsRequest.h"
|
||||||
#include "model/LookupEventsResult.h"
|
#include "model/LookupEventsResult.h"
|
||||||
#include "model/StartLoggingRequest.h"
|
#include "model/StartLoggingRequest.h"
|
||||||
@@ -49,9 +55,15 @@ namespace AlibabaCloud
|
|||||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ActiontrailClient : public RpcServiceClient
|
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ActiontrailClient : public RpcServiceClient
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
typedef Outcome<Error, Model::CreateDeliveryHistoryJobResult> CreateDeliveryHistoryJobOutcome;
|
||||||
|
typedef std::future<CreateDeliveryHistoryJobOutcome> CreateDeliveryHistoryJobOutcomeCallable;
|
||||||
|
typedef std::function<void(const ActiontrailClient*, const Model::CreateDeliveryHistoryJobRequest&, const CreateDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateDeliveryHistoryJobAsyncHandler;
|
||||||
typedef Outcome<Error, Model::CreateTrailResult> CreateTrailOutcome;
|
typedef Outcome<Error, Model::CreateTrailResult> CreateTrailOutcome;
|
||||||
typedef std::future<CreateTrailOutcome> CreateTrailOutcomeCallable;
|
typedef std::future<CreateTrailOutcome> CreateTrailOutcomeCallable;
|
||||||
typedef std::function<void(const ActiontrailClient*, const Model::CreateTrailRequest&, const CreateTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrailAsyncHandler;
|
typedef std::function<void(const ActiontrailClient*, const Model::CreateTrailRequest&, const CreateTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateTrailAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteDeliveryHistoryJobResult> DeleteDeliveryHistoryJobOutcome;
|
||||||
|
typedef std::future<DeleteDeliveryHistoryJobOutcome> DeleteDeliveryHistoryJobOutcomeCallable;
|
||||||
|
typedef std::function<void(const ActiontrailClient*, const Model::DeleteDeliveryHistoryJobRequest&, const DeleteDeliveryHistoryJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteDeliveryHistoryJobAsyncHandler;
|
||||||
typedef Outcome<Error, Model::DeleteTrailResult> DeleteTrailOutcome;
|
typedef Outcome<Error, Model::DeleteTrailResult> DeleteTrailOutcome;
|
||||||
typedef std::future<DeleteTrailOutcome> DeleteTrailOutcomeCallable;
|
typedef std::future<DeleteTrailOutcome> DeleteTrailOutcomeCallable;
|
||||||
typedef std::function<void(const ActiontrailClient*, const Model::DeleteTrailRequest&, const DeleteTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrailAsyncHandler;
|
typedef std::function<void(const ActiontrailClient*, const Model::DeleteTrailRequest&, const DeleteTrailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteTrailAsyncHandler;
|
||||||
@@ -64,6 +76,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetTrailStatusResult> GetTrailStatusOutcome;
|
typedef Outcome<Error, Model::GetTrailStatusResult> GetTrailStatusOutcome;
|
||||||
typedef std::future<GetTrailStatusOutcome> GetTrailStatusOutcomeCallable;
|
typedef std::future<GetTrailStatusOutcome> GetTrailStatusOutcomeCallable;
|
||||||
typedef std::function<void(const ActiontrailClient*, const Model::GetTrailStatusRequest&, const GetTrailStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTrailStatusAsyncHandler;
|
typedef std::function<void(const ActiontrailClient*, const Model::GetTrailStatusRequest&, const GetTrailStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTrailStatusAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListDeliveryHistoryJobsResult> ListDeliveryHistoryJobsOutcome;
|
||||||
|
typedef std::future<ListDeliveryHistoryJobsOutcome> ListDeliveryHistoryJobsOutcomeCallable;
|
||||||
|
typedef std::function<void(const ActiontrailClient*, const Model::ListDeliveryHistoryJobsRequest&, const ListDeliveryHistoryJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDeliveryHistoryJobsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::LookupEventsResult> LookupEventsOutcome;
|
typedef Outcome<Error, Model::LookupEventsResult> LookupEventsOutcome;
|
||||||
typedef std::future<LookupEventsOutcome> LookupEventsOutcomeCallable;
|
typedef std::future<LookupEventsOutcome> LookupEventsOutcomeCallable;
|
||||||
typedef std::function<void(const ActiontrailClient*, const Model::LookupEventsRequest&, const LookupEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LookupEventsAsyncHandler;
|
typedef std::function<void(const ActiontrailClient*, const Model::LookupEventsRequest&, const LookupEventsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> LookupEventsAsyncHandler;
|
||||||
@@ -81,9 +96,15 @@ namespace AlibabaCloud
|
|||||||
ActiontrailClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
ActiontrailClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||||
ActiontrailClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
ActiontrailClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||||
~ActiontrailClient();
|
~ActiontrailClient();
|
||||||
|
CreateDeliveryHistoryJobOutcome createDeliveryHistoryJob(const Model::CreateDeliveryHistoryJobRequest &request)const;
|
||||||
|
void createDeliveryHistoryJobAsync(const Model::CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
CreateDeliveryHistoryJobOutcomeCallable createDeliveryHistoryJobCallable(const Model::CreateDeliveryHistoryJobRequest& request) const;
|
||||||
CreateTrailOutcome createTrail(const Model::CreateTrailRequest &request)const;
|
CreateTrailOutcome createTrail(const Model::CreateTrailRequest &request)const;
|
||||||
void createTrailAsync(const Model::CreateTrailRequest& request, const CreateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void createTrailAsync(const Model::CreateTrailRequest& request, const CreateTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
CreateTrailOutcomeCallable createTrailCallable(const Model::CreateTrailRequest& request) const;
|
CreateTrailOutcomeCallable createTrailCallable(const Model::CreateTrailRequest& request) const;
|
||||||
|
DeleteDeliveryHistoryJobOutcome deleteDeliveryHistoryJob(const Model::DeleteDeliveryHistoryJobRequest &request)const;
|
||||||
|
void deleteDeliveryHistoryJobAsync(const Model::DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteDeliveryHistoryJobOutcomeCallable deleteDeliveryHistoryJobCallable(const Model::DeleteDeliveryHistoryJobRequest& request) const;
|
||||||
DeleteTrailOutcome deleteTrail(const Model::DeleteTrailRequest &request)const;
|
DeleteTrailOutcome deleteTrail(const Model::DeleteTrailRequest &request)const;
|
||||||
void deleteTrailAsync(const Model::DeleteTrailRequest& request, const DeleteTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteTrailAsync(const Model::DeleteTrailRequest& request, const DeleteTrailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteTrailOutcomeCallable deleteTrailCallable(const Model::DeleteTrailRequest& request) const;
|
DeleteTrailOutcomeCallable deleteTrailCallable(const Model::DeleteTrailRequest& request) const;
|
||||||
@@ -96,6 +117,9 @@ namespace AlibabaCloud
|
|||||||
GetTrailStatusOutcome getTrailStatus(const Model::GetTrailStatusRequest &request)const;
|
GetTrailStatusOutcome getTrailStatus(const Model::GetTrailStatusRequest &request)const;
|
||||||
void getTrailStatusAsync(const Model::GetTrailStatusRequest& request, const GetTrailStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getTrailStatusAsync(const Model::GetTrailStatusRequest& request, const GetTrailStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetTrailStatusOutcomeCallable getTrailStatusCallable(const Model::GetTrailStatusRequest& request) const;
|
GetTrailStatusOutcomeCallable getTrailStatusCallable(const Model::GetTrailStatusRequest& request) const;
|
||||||
|
ListDeliveryHistoryJobsOutcome listDeliveryHistoryJobs(const Model::ListDeliveryHistoryJobsRequest &request)const;
|
||||||
|
void listDeliveryHistoryJobsAsync(const Model::ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListDeliveryHistoryJobsOutcomeCallable listDeliveryHistoryJobsCallable(const Model::ListDeliveryHistoryJobsRequest& request) const;
|
||||||
LookupEventsOutcome lookupEvents(const Model::LookupEventsRequest &request)const;
|
LookupEventsOutcome lookupEvents(const Model::LookupEventsRequest &request)const;
|
||||||
void lookupEventsAsync(const Model::LookupEventsRequest& request, const LookupEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void lookupEventsAsync(const Model::LookupEventsRequest& request, const LookupEventsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
LookupEventsOutcomeCallable lookupEventsCallable(const Model::LookupEventsRequest& request) const;
|
LookupEventsOutcomeCallable lookupEventsCallable(const Model::LookupEventsRequest& request) const;
|
||||||
|
|||||||
@@ -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_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Actiontrail
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateDeliveryHistoryJobRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateDeliveryHistoryJobRequest();
|
||||||
|
~CreateDeliveryHistoryJobRequest();
|
||||||
|
|
||||||
|
std::string getClientToken()const;
|
||||||
|
void setClientToken(const std::string& clientToken);
|
||||||
|
std::string getTrailName()const;
|
||||||
|
void setTrailName(const std::string& trailName);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string clientToken_;
|
||||||
|
std::string trailName_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Actiontrail
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ACTIONTRAIL_EXPORT CreateDeliveryHistoryJobResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateDeliveryHistoryJobResult();
|
||||||
|
explicit CreateDeliveryHistoryJobResult(const std::string &payload);
|
||||||
|
~CreateDeliveryHistoryJobResult();
|
||||||
|
int getJobId()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int jobId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_CREATEDELIVERYHISTORYJOBRESULT_H_
|
||||||
@@ -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_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Actiontrail
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteDeliveryHistoryJobRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteDeliveryHistoryJobRequest();
|
||||||
|
~DeleteDeliveryHistoryJobRequest();
|
||||||
|
|
||||||
|
int getJobId()const;
|
||||||
|
void setJobId(int jobId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int jobId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBREQUEST_H_
|
||||||
@@ -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_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Actiontrail
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ACTIONTRAIL_EXPORT DeleteDeliveryHistoryJobResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteDeliveryHistoryJobResult();
|
||||||
|
explicit DeleteDeliveryHistoryJobResult(const std::string &payload);
|
||||||
|
~DeleteDeliveryHistoryJobResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_DELETEDELIVERYHISTORYJOBRESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Actiontrail
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ListDeliveryHistoryJobsRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ListDeliveryHistoryJobsRequest();
|
||||||
|
~ListDeliveryHistoryJobsRequest();
|
||||||
|
|
||||||
|
int getPageNumber()const;
|
||||||
|
void setPageNumber(int pageNumber);
|
||||||
|
int getPageSize()const;
|
||||||
|
void setPageSize(int pageSize);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int pageNumber_;
|
||||||
|
int pageSize_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSREQUEST_H_
|
||||||
@@ -0,0 +1,68 @@
|
|||||||
|
/*
|
||||||
|
* 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_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/actiontrail/ActiontrailExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Actiontrail
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ListDeliveryHistoryJobsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct DeliveryHistoryJob
|
||||||
|
{
|
||||||
|
int jobStatus;
|
||||||
|
std::string createdTime;
|
||||||
|
std::string endTime;
|
||||||
|
std::string homeRegion;
|
||||||
|
std::string startTime;
|
||||||
|
std::string trailName;
|
||||||
|
std::string updatedTime;
|
||||||
|
long jobId;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListDeliveryHistoryJobsResult();
|
||||||
|
explicit ListDeliveryHistoryJobsResult(const std::string &payload);
|
||||||
|
~ListDeliveryHistoryJobsResult();
|
||||||
|
int getTotalCount()const;
|
||||||
|
int getPageSize()const;
|
||||||
|
int getPageNumber()const;
|
||||||
|
std::vector<DeliveryHistoryJob> getDeliveryHistoryJobs()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
int totalCount_;
|
||||||
|
int pageSize_;
|
||||||
|
int pageNumber_;
|
||||||
|
std::vector<DeliveryHistoryJob> deliveryHistoryJobs_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_ACTIONTRAIL_MODEL_LISTDELIVERYHISTORYJOBSRESULT_H_
|
||||||
@@ -51,6 +51,42 @@ ActiontrailClient::ActiontrailClient(const std::string & accessKeyId, const std:
|
|||||||
ActiontrailClient::~ActiontrailClient()
|
ActiontrailClient::~ActiontrailClient()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
ActiontrailClient::CreateDeliveryHistoryJobOutcome ActiontrailClient::createDeliveryHistoryJob(const CreateDeliveryHistoryJobRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return CreateDeliveryHistoryJobOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return CreateDeliveryHistoryJobOutcome(CreateDeliveryHistoryJobResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return CreateDeliveryHistoryJobOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ActiontrailClient::createDeliveryHistoryJobAsync(const CreateDeliveryHistoryJobRequest& request, const CreateDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, createDeliveryHistoryJob(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ActiontrailClient::CreateDeliveryHistoryJobOutcomeCallable ActiontrailClient::createDeliveryHistoryJobCallable(const CreateDeliveryHistoryJobRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<CreateDeliveryHistoryJobOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->createDeliveryHistoryJob(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ActiontrailClient::CreateTrailOutcome ActiontrailClient::createTrail(const CreateTrailRequest &request) const
|
ActiontrailClient::CreateTrailOutcome ActiontrailClient::createTrail(const CreateTrailRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -87,6 +123,42 @@ ActiontrailClient::CreateTrailOutcomeCallable ActiontrailClient::createTrailCall
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ActiontrailClient::DeleteDeliveryHistoryJobOutcome ActiontrailClient::deleteDeliveryHistoryJob(const DeleteDeliveryHistoryJobRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DeleteDeliveryHistoryJobOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DeleteDeliveryHistoryJobOutcome(DeleteDeliveryHistoryJobResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DeleteDeliveryHistoryJobOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ActiontrailClient::deleteDeliveryHistoryJobAsync(const DeleteDeliveryHistoryJobRequest& request, const DeleteDeliveryHistoryJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, deleteDeliveryHistoryJob(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ActiontrailClient::DeleteDeliveryHistoryJobOutcomeCallable ActiontrailClient::deleteDeliveryHistoryJobCallable(const DeleteDeliveryHistoryJobRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DeleteDeliveryHistoryJobOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->deleteDeliveryHistoryJob(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ActiontrailClient::DeleteTrailOutcome ActiontrailClient::deleteTrail(const DeleteTrailRequest &request) const
|
ActiontrailClient::DeleteTrailOutcome ActiontrailClient::deleteTrail(const DeleteTrailRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -231,6 +303,42 @@ ActiontrailClient::GetTrailStatusOutcomeCallable ActiontrailClient::getTrailStat
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ActiontrailClient::ListDeliveryHistoryJobsOutcome ActiontrailClient::listDeliveryHistoryJobs(const ListDeliveryHistoryJobsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ListDeliveryHistoryJobsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ListDeliveryHistoryJobsOutcome(ListDeliveryHistoryJobsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ListDeliveryHistoryJobsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void ActiontrailClient::listDeliveryHistoryJobsAsync(const ListDeliveryHistoryJobsRequest& request, const ListDeliveryHistoryJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, listDeliveryHistoryJobs(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
ActiontrailClient::ListDeliveryHistoryJobsOutcomeCallable ActiontrailClient::listDeliveryHistoryJobsCallable(const ListDeliveryHistoryJobsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ListDeliveryHistoryJobsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->listDeliveryHistoryJobs(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
ActiontrailClient::LookupEventsOutcome ActiontrailClient::lookupEvents(const LookupEventsRequest &request) const
|
ActiontrailClient::LookupEventsOutcome ActiontrailClient::lookupEvents(const LookupEventsRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
51
actiontrail/src/model/CreateDeliveryHistoryJobRequest.cc
Normal file
51
actiontrail/src/model/CreateDeliveryHistoryJobRequest.cc
Normal 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/actiontrail/model/CreateDeliveryHistoryJobRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Actiontrail::Model::CreateDeliveryHistoryJobRequest;
|
||||||
|
|
||||||
|
CreateDeliveryHistoryJobRequest::CreateDeliveryHistoryJobRequest() :
|
||||||
|
RpcServiceRequest("actiontrail", "2020-07-06", "CreateDeliveryHistoryJob")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateDeliveryHistoryJobRequest::~CreateDeliveryHistoryJobRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string CreateDeliveryHistoryJobRequest::getClientToken()const
|
||||||
|
{
|
||||||
|
return clientToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDeliveryHistoryJobRequest::setClientToken(const std::string& clientToken)
|
||||||
|
{
|
||||||
|
clientToken_ = clientToken;
|
||||||
|
setParameter("ClientToken", clientToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string CreateDeliveryHistoryJobRequest::getTrailName()const
|
||||||
|
{
|
||||||
|
return trailName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void CreateDeliveryHistoryJobRequest::setTrailName(const std::string& trailName)
|
||||||
|
{
|
||||||
|
trailName_ = trailName;
|
||||||
|
setParameter("TrailName", trailName);
|
||||||
|
}
|
||||||
|
|
||||||
51
actiontrail/src/model/CreateDeliveryHistoryJobResult.cc
Normal file
51
actiontrail/src/model/CreateDeliveryHistoryJobResult.cc
Normal 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/actiontrail/model/CreateDeliveryHistoryJobResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Actiontrail;
|
||||||
|
using namespace AlibabaCloud::Actiontrail::Model;
|
||||||
|
|
||||||
|
CreateDeliveryHistoryJobResult::CreateDeliveryHistoryJobResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
CreateDeliveryHistoryJobResult::CreateDeliveryHistoryJobResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
CreateDeliveryHistoryJobResult::~CreateDeliveryHistoryJobResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void CreateDeliveryHistoryJobResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
if(!value["JobId"].isNull())
|
||||||
|
jobId_ = std::stoi(value["JobId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int CreateDeliveryHistoryJobResult::getJobId()const
|
||||||
|
{
|
||||||
|
return jobId_;
|
||||||
|
}
|
||||||
|
|
||||||
40
actiontrail/src/model/DeleteDeliveryHistoryJobRequest.cc
Normal file
40
actiontrail/src/model/DeleteDeliveryHistoryJobRequest.cc
Normal file
@@ -0,0 +1,40 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Actiontrail::Model::DeleteDeliveryHistoryJobRequest;
|
||||||
|
|
||||||
|
DeleteDeliveryHistoryJobRequest::DeleteDeliveryHistoryJobRequest() :
|
||||||
|
RpcServiceRequest("actiontrail", "2020-07-06", "DeleteDeliveryHistoryJob")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteDeliveryHistoryJobRequest::~DeleteDeliveryHistoryJobRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int DeleteDeliveryHistoryJobRequest::getJobId()const
|
||||||
|
{
|
||||||
|
return jobId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteDeliveryHistoryJobRequest::setJobId(int jobId)
|
||||||
|
{
|
||||||
|
jobId_ = jobId;
|
||||||
|
setParameter("JobId", std::to_string(jobId));
|
||||||
|
}
|
||||||
|
|
||||||
44
actiontrail/src/model/DeleteDeliveryHistoryJobResult.cc
Normal file
44
actiontrail/src/model/DeleteDeliveryHistoryJobResult.cc
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Actiontrail;
|
||||||
|
using namespace AlibabaCloud::Actiontrail::Model;
|
||||||
|
|
||||||
|
DeleteDeliveryHistoryJobResult::DeleteDeliveryHistoryJobResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DeleteDeliveryHistoryJobResult::DeleteDeliveryHistoryJobResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteDeliveryHistoryJobResult::~DeleteDeliveryHistoryJobResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DeleteDeliveryHistoryJobResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
51
actiontrail/src/model/ListDeliveryHistoryJobsRequest.cc
Normal file
51
actiontrail/src/model/ListDeliveryHistoryJobsRequest.cc
Normal 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/actiontrail/model/ListDeliveryHistoryJobsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Actiontrail::Model::ListDeliveryHistoryJobsRequest;
|
||||||
|
|
||||||
|
ListDeliveryHistoryJobsRequest::ListDeliveryHistoryJobsRequest() :
|
||||||
|
RpcServiceRequest("actiontrail", "2020-07-06", "ListDeliveryHistoryJobs")
|
||||||
|
{
|
||||||
|
setMethod(HttpRequest::Method::Post);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListDeliveryHistoryJobsRequest::~ListDeliveryHistoryJobsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
int ListDeliveryHistoryJobsRequest::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListDeliveryHistoryJobsRequest::setPageNumber(int pageNumber)
|
||||||
|
{
|
||||||
|
pageNumber_ = pageNumber;
|
||||||
|
setParameter("PageNumber", std::to_string(pageNumber));
|
||||||
|
}
|
||||||
|
|
||||||
|
int ListDeliveryHistoryJobsRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListDeliveryHistoryJobsRequest::setPageSize(int pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
92
actiontrail/src/model/ListDeliveryHistoryJobsResult.cc
Normal file
92
actiontrail/src/model/ListDeliveryHistoryJobsResult.cc
Normal file
@@ -0,0 +1,92 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/actiontrail/model/ListDeliveryHistoryJobsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Actiontrail;
|
||||||
|
using namespace AlibabaCloud::Actiontrail::Model;
|
||||||
|
|
||||||
|
ListDeliveryHistoryJobsResult::ListDeliveryHistoryJobsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ListDeliveryHistoryJobsResult::ListDeliveryHistoryJobsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListDeliveryHistoryJobsResult::~ListDeliveryHistoryJobsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ListDeliveryHistoryJobsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allDeliveryHistoryJobsNode = value["DeliveryHistoryJobs"]["DeliveryHistoryJob"];
|
||||||
|
for (auto valueDeliveryHistoryJobsDeliveryHistoryJob : allDeliveryHistoryJobsNode)
|
||||||
|
{
|
||||||
|
DeliveryHistoryJob deliveryHistoryJobsObject;
|
||||||
|
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["TrailName"].isNull())
|
||||||
|
deliveryHistoryJobsObject.trailName = valueDeliveryHistoryJobsDeliveryHistoryJob["TrailName"].asString();
|
||||||
|
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].isNull())
|
||||||
|
deliveryHistoryJobsObject.createdTime = valueDeliveryHistoryJobsDeliveryHistoryJob["CreatedTime"].asString();
|
||||||
|
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].isNull())
|
||||||
|
deliveryHistoryJobsObject.updatedTime = valueDeliveryHistoryJobsDeliveryHistoryJob["UpdatedTime"].asString();
|
||||||
|
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].isNull())
|
||||||
|
deliveryHistoryJobsObject.homeRegion = valueDeliveryHistoryJobsDeliveryHistoryJob["HomeRegion"].asString();
|
||||||
|
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].isNull())
|
||||||
|
deliveryHistoryJobsObject.startTime = valueDeliveryHistoryJobsDeliveryHistoryJob["StartTime"].asString();
|
||||||
|
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["EndTime"].isNull())
|
||||||
|
deliveryHistoryJobsObject.endTime = valueDeliveryHistoryJobsDeliveryHistoryJob["EndTime"].asString();
|
||||||
|
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].isNull())
|
||||||
|
deliveryHistoryJobsObject.jobId = std::stol(valueDeliveryHistoryJobsDeliveryHistoryJob["JobId"].asString());
|
||||||
|
if(!valueDeliveryHistoryJobsDeliveryHistoryJob["JobStatus"].isNull())
|
||||||
|
deliveryHistoryJobsObject.jobStatus = std::stoi(valueDeliveryHistoryJobsDeliveryHistoryJob["JobStatus"].asString());
|
||||||
|
deliveryHistoryJobs_.push_back(deliveryHistoryJobsObject);
|
||||||
|
}
|
||||||
|
if(!value["TotalCount"].isNull())
|
||||||
|
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||||
|
if(!value["PageNumber"].isNull())
|
||||||
|
pageNumber_ = std::stoi(value["PageNumber"].asString());
|
||||||
|
if(!value["PageSize"].isNull())
|
||||||
|
pageSize_ = std::stoi(value["PageSize"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
int ListDeliveryHistoryJobsResult::getTotalCount()const
|
||||||
|
{
|
||||||
|
return totalCount_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int ListDeliveryHistoryJobsResult::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
int ListDeliveryHistoryJobsResult::getPageNumber()const
|
||||||
|
{
|
||||||
|
return pageNumber_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<ListDeliveryHistoryJobsResult::DeliveryHistoryJob> ListDeliveryHistoryJobsResult::getDeliveryHistoryJobs()const
|
||||||
|
{
|
||||||
|
return deliveryHistoryJobs_;
|
||||||
|
}
|
||||||
|
|
||||||
@@ -37,8 +37,6 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
std::string getStartTime()const;
|
std::string getStartTime()const;
|
||||||
void setStartTime(const std::string& startTime);
|
void setStartTime(const std::string& startTime);
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
std::string getDomainName()const;
|
std::string getDomainName()const;
|
||||||
void setDomainName(const std::string& domainName);
|
void setDomainName(const std::string& domainName);
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
@@ -48,7 +46,6 @@ namespace AlibabaCloud
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
std::string securityToken_;
|
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
long ownerId_;
|
long ownerId_;
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ namespace AlibabaCloud
|
|||||||
~DescribeDomainPvDataResult();
|
~DescribeDomainPvDataResult();
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
std::string getDomainName()const;
|
std::string getDomainName()const;
|
||||||
std::string getDataInterval()const;
|
|
||||||
std::string getStartTime()const;
|
std::string getStartTime()const;
|
||||||
|
std::string getDataInterval()const;
|
||||||
std::vector<UsageData> getPvDataInterval()const;
|
std::vector<UsageData> getPvDataInterval()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
@@ -53,8 +53,8 @@ namespace AlibabaCloud
|
|||||||
private:
|
private:
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
std::string dataInterval_;
|
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
|
std::string dataInterval_;
|
||||||
std::vector<UsageData> pvDataInterval_;
|
std::vector<UsageData> pvDataInterval_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -35,23 +35,20 @@ namespace AlibabaCloud
|
|||||||
DescribeDomainUvDataRequest();
|
DescribeDomainUvDataRequest();
|
||||||
~DescribeDomainUvDataRequest();
|
~DescribeDomainUvDataRequest();
|
||||||
|
|
||||||
|
std::string getStartTime()const;
|
||||||
|
void setStartTime(const std::string& startTime);
|
||||||
std::string getDomainName()const;
|
std::string getDomainName()const;
|
||||||
void setDomainName(const std::string& domainName);
|
void setDomainName(const std::string& domainName);
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
void setEndTime(const std::string& endTime);
|
void setEndTime(const std::string& endTime);
|
||||||
std::string getStartTime()const;
|
|
||||||
void setStartTime(const std::string& startTime);
|
|
||||||
long getOwnerId()const;
|
long getOwnerId()const;
|
||||||
void setOwnerId(long ownerId);
|
void setOwnerId(long ownerId);
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
std::string startTime_;
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string startTime_;
|
|
||||||
long ownerId_;
|
long ownerId_;
|
||||||
std::string securityToken_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,8 +45,8 @@ namespace AlibabaCloud
|
|||||||
std::vector<UsageData> getUvDataInterval()const;
|
std::vector<UsageData> getUvDataInterval()const;
|
||||||
std::string getEndTime()const;
|
std::string getEndTime()const;
|
||||||
std::string getDomainName()const;
|
std::string getDomainName()const;
|
||||||
std::string getDataInterval()const;
|
|
||||||
std::string getStartTime()const;
|
std::string getStartTime()const;
|
||||||
|
std::string getDataInterval()const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
void parse(const std::string &payload);
|
void parse(const std::string &payload);
|
||||||
@@ -54,8 +54,8 @@ namespace AlibabaCloud
|
|||||||
std::vector<UsageData> uvDataInterval_;
|
std::vector<UsageData> uvDataInterval_;
|
||||||
std::string endTime_;
|
std::string endTime_;
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
std::string dataInterval_;
|
|
||||||
std::string startTime_;
|
std::string startTime_;
|
||||||
|
std::string dataInterval_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,20 +35,17 @@ namespace AlibabaCloud
|
|||||||
DescribeUserVipsByDomainRequest();
|
DescribeUserVipsByDomainRequest();
|
||||||
~DescribeUserVipsByDomainRequest();
|
~DescribeUserVipsByDomainRequest();
|
||||||
|
|
||||||
std::string getDomainName()const;
|
|
||||||
void setDomainName(const std::string& domainName);
|
|
||||||
std::string getAvailable()const;
|
std::string getAvailable()const;
|
||||||
void setAvailable(const std::string& available);
|
void setAvailable(const std::string& available);
|
||||||
|
std::string getDomainName()const;
|
||||||
|
void setDomainName(const std::string& domainName);
|
||||||
long getOwnerId()const;
|
long getOwnerId()const;
|
||||||
void setOwnerId(long ownerId);
|
void setOwnerId(long ownerId);
|
||||||
std::string getSecurityToken()const;
|
|
||||||
void setSecurityToken(const std::string& securityToken);
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string domainName_;
|
|
||||||
std::string available_;
|
std::string available_;
|
||||||
|
std::string domainName_;
|
||||||
long ownerId_;
|
long ownerId_;
|
||||||
std::string securityToken_;
|
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
|||||||
SetVideoSeekConfigRequest();
|
SetVideoSeekConfigRequest();
|
||||||
~SetVideoSeekConfigRequest();
|
~SetVideoSeekConfigRequest();
|
||||||
|
|
||||||
std::string getEnable()const;
|
|
||||||
void setEnable(const std::string& enable);
|
|
||||||
std::string getDomainName()const;
|
std::string getDomainName()const;
|
||||||
void setDomainName(const std::string& domainName);
|
void setDomainName(const std::string& domainName);
|
||||||
long getOwnerId()const;
|
long getOwnerId()const;
|
||||||
void setOwnerId(long ownerId);
|
void setOwnerId(long ownerId);
|
||||||
long getConfigId()const;
|
std::string getSecurityToken()const;
|
||||||
void setConfigId(long configId);
|
void setSecurityToken(const std::string& securityToken);
|
||||||
|
std::string getEnable()const;
|
||||||
|
void setEnable(const std::string& enable);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
std::string enable_;
|
|
||||||
std::string domainName_;
|
std::string domainName_;
|
||||||
long ownerId_;
|
long ownerId_;
|
||||||
long configId_;
|
std::string securityToken_;
|
||||||
|
std::string enable_;
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -38,17 +38,6 @@ void DescribeDomainPvDataRequest::setStartTime(const std::string& startTime)
|
|||||||
setParameter("StartTime", startTime);
|
setParameter("StartTime", startTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainPvDataRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeDomainPvDataRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeDomainPvDataRequest::getDomainName()const
|
std::string DescribeDomainPvDataRequest::getDomainName()const
|
||||||
{
|
{
|
||||||
return domainName_;
|
return domainName_;
|
||||||
|
|||||||
@@ -43,20 +43,20 @@ void DescribeDomainPvDataResult::parse(const std::string &payload)
|
|||||||
for (auto valuePvDataIntervalUsageData : allPvDataIntervalNode)
|
for (auto valuePvDataIntervalUsageData : allPvDataIntervalNode)
|
||||||
{
|
{
|
||||||
UsageData pvDataIntervalObject;
|
UsageData pvDataIntervalObject;
|
||||||
if(!valuePvDataIntervalUsageData["TimeStamp"].isNull())
|
|
||||||
pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString();
|
|
||||||
if(!valuePvDataIntervalUsageData["Value"].isNull())
|
if(!valuePvDataIntervalUsageData["Value"].isNull())
|
||||||
pvDataIntervalObject.value = valuePvDataIntervalUsageData["Value"].asString();
|
pvDataIntervalObject.value = valuePvDataIntervalUsageData["Value"].asString();
|
||||||
|
if(!valuePvDataIntervalUsageData["TimeStamp"].isNull())
|
||||||
|
pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString();
|
||||||
pvDataInterval_.push_back(pvDataIntervalObject);
|
pvDataInterval_.push_back(pvDataIntervalObject);
|
||||||
}
|
}
|
||||||
if(!value["DomainName"].isNull())
|
if(!value["DomainName"].isNull())
|
||||||
domainName_ = value["DomainName"].asString();
|
domainName_ = value["DomainName"].asString();
|
||||||
if(!value["DataInterval"].isNull())
|
|
||||||
dataInterval_ = value["DataInterval"].asString();
|
|
||||||
if(!value["StartTime"].isNull())
|
if(!value["StartTime"].isNull())
|
||||||
startTime_ = value["StartTime"].asString();
|
startTime_ = value["StartTime"].asString();
|
||||||
if(!value["EndTime"].isNull())
|
if(!value["EndTime"].isNull())
|
||||||
endTime_ = value["EndTime"].asString();
|
endTime_ = value["EndTime"].asString();
|
||||||
|
if(!value["DataInterval"].isNull())
|
||||||
|
dataInterval_ = value["DataInterval"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -70,16 +70,16 @@ std::string DescribeDomainPvDataResult::getDomainName()const
|
|||||||
return domainName_;
|
return domainName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainPvDataResult::getDataInterval()const
|
|
||||||
{
|
|
||||||
return dataInterval_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeDomainPvDataResult::getStartTime()const
|
std::string DescribeDomainPvDataResult::getStartTime()const
|
||||||
{
|
{
|
||||||
return startTime_;
|
return startTime_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainPvDataResult::getDataInterval()const
|
||||||
|
{
|
||||||
|
return dataInterval_;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<DescribeDomainPvDataResult::UsageData> DescribeDomainPvDataResult::getPvDataInterval()const
|
std::vector<DescribeDomainPvDataResult::UsageData> DescribeDomainPvDataResult::getPvDataInterval()const
|
||||||
{
|
{
|
||||||
return pvDataInterval_;
|
return pvDataInterval_;
|
||||||
|
|||||||
@@ -27,6 +27,17 @@ DescribeDomainUvDataRequest::DescribeDomainUvDataRequest() :
|
|||||||
DescribeDomainUvDataRequest::~DescribeDomainUvDataRequest()
|
DescribeDomainUvDataRequest::~DescribeDomainUvDataRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
std::string DescribeDomainUvDataRequest::getStartTime()const
|
||||||
|
{
|
||||||
|
return startTime_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeDomainUvDataRequest::setStartTime(const std::string& startTime)
|
||||||
|
{
|
||||||
|
startTime_ = startTime;
|
||||||
|
setParameter("StartTime", startTime);
|
||||||
|
}
|
||||||
|
|
||||||
std::string DescribeDomainUvDataRequest::getDomainName()const
|
std::string DescribeDomainUvDataRequest::getDomainName()const
|
||||||
{
|
{
|
||||||
return domainName_;
|
return domainName_;
|
||||||
@@ -49,17 +60,6 @@ void DescribeDomainUvDataRequest::setEndTime(const std::string& endTime)
|
|||||||
setParameter("EndTime", endTime);
|
setParameter("EndTime", endTime);
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainUvDataRequest::getStartTime()const
|
|
||||||
{
|
|
||||||
return startTime_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeDomainUvDataRequest::setStartTime(const std::string& startTime)
|
|
||||||
{
|
|
||||||
startTime_ = startTime;
|
|
||||||
setParameter("StartTime", startTime);
|
|
||||||
}
|
|
||||||
|
|
||||||
long DescribeDomainUvDataRequest::getOwnerId()const
|
long DescribeDomainUvDataRequest::getOwnerId()const
|
||||||
{
|
{
|
||||||
return ownerId_;
|
return ownerId_;
|
||||||
@@ -71,14 +71,3 @@ void DescribeDomainUvDataRequest::setOwnerId(long ownerId)
|
|||||||
setParameter("OwnerId", std::to_string(ownerId));
|
setParameter("OwnerId", std::to_string(ownerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainUvDataRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeDomainUvDataRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -43,20 +43,20 @@ void DescribeDomainUvDataResult::parse(const std::string &payload)
|
|||||||
for (auto valueUvDataIntervalUsageData : allUvDataIntervalNode)
|
for (auto valueUvDataIntervalUsageData : allUvDataIntervalNode)
|
||||||
{
|
{
|
||||||
UsageData uvDataIntervalObject;
|
UsageData uvDataIntervalObject;
|
||||||
if(!valueUvDataIntervalUsageData["TimeStamp"].isNull())
|
|
||||||
uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString();
|
|
||||||
if(!valueUvDataIntervalUsageData["Value"].isNull())
|
if(!valueUvDataIntervalUsageData["Value"].isNull())
|
||||||
uvDataIntervalObject.value = valueUvDataIntervalUsageData["Value"].asString();
|
uvDataIntervalObject.value = valueUvDataIntervalUsageData["Value"].asString();
|
||||||
|
if(!valueUvDataIntervalUsageData["TimeStamp"].isNull())
|
||||||
|
uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString();
|
||||||
uvDataInterval_.push_back(uvDataIntervalObject);
|
uvDataInterval_.push_back(uvDataIntervalObject);
|
||||||
}
|
}
|
||||||
if(!value["DomainName"].isNull())
|
if(!value["DomainName"].isNull())
|
||||||
domainName_ = value["DomainName"].asString();
|
domainName_ = value["DomainName"].asString();
|
||||||
if(!value["DataInterval"].isNull())
|
|
||||||
dataInterval_ = value["DataInterval"].asString();
|
|
||||||
if(!value["StartTime"].isNull())
|
if(!value["StartTime"].isNull())
|
||||||
startTime_ = value["StartTime"].asString();
|
startTime_ = value["StartTime"].asString();
|
||||||
if(!value["EndTime"].isNull())
|
if(!value["EndTime"].isNull())
|
||||||
endTime_ = value["EndTime"].asString();
|
endTime_ = value["EndTime"].asString();
|
||||||
|
if(!value["DataInterval"].isNull())
|
||||||
|
dataInterval_ = value["DataInterval"].asString();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -75,13 +75,13 @@ std::string DescribeDomainUvDataResult::getDomainName()const
|
|||||||
return domainName_;
|
return domainName_;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeDomainUvDataResult::getDataInterval()const
|
|
||||||
{
|
|
||||||
return dataInterval_;
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeDomainUvDataResult::getStartTime()const
|
std::string DescribeDomainUvDataResult::getStartTime()const
|
||||||
{
|
{
|
||||||
return startTime_;
|
return startTime_;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeDomainUvDataResult::getDataInterval()const
|
||||||
|
{
|
||||||
|
return dataInterval_;
|
||||||
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -21,23 +21,12 @@ using AlibabaCloud::Cdn::Model::DescribeUserVipsByDomainRequest;
|
|||||||
DescribeUserVipsByDomainRequest::DescribeUserVipsByDomainRequest() :
|
DescribeUserVipsByDomainRequest::DescribeUserVipsByDomainRequest() :
|
||||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeUserVipsByDomain")
|
RpcServiceRequest("cdn", "2018-05-10", "DescribeUserVipsByDomain")
|
||||||
{
|
{
|
||||||
setMethod(HttpRequest::Method::Post);
|
setMethod(HttpRequest::Method::Get);
|
||||||
}
|
}
|
||||||
|
|
||||||
DescribeUserVipsByDomainRequest::~DescribeUserVipsByDomainRequest()
|
DescribeUserVipsByDomainRequest::~DescribeUserVipsByDomainRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
std::string DescribeUserVipsByDomainRequest::getDomainName()const
|
|
||||||
{
|
|
||||||
return domainName_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeUserVipsByDomainRequest::setDomainName(const std::string& domainName)
|
|
||||||
{
|
|
||||||
domainName_ = domainName;
|
|
||||||
setParameter("DomainName", domainName);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string DescribeUserVipsByDomainRequest::getAvailable()const
|
std::string DescribeUserVipsByDomainRequest::getAvailable()const
|
||||||
{
|
{
|
||||||
return available_;
|
return available_;
|
||||||
@@ -49,6 +38,17 @@ void DescribeUserVipsByDomainRequest::setAvailable(const std::string& available)
|
|||||||
setParameter("Available", available);
|
setParameter("Available", available);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string DescribeUserVipsByDomainRequest::getDomainName()const
|
||||||
|
{
|
||||||
|
return domainName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DescribeUserVipsByDomainRequest::setDomainName(const std::string& domainName)
|
||||||
|
{
|
||||||
|
domainName_ = domainName;
|
||||||
|
setParameter("DomainName", domainName);
|
||||||
|
}
|
||||||
|
|
||||||
long DescribeUserVipsByDomainRequest::getOwnerId()const
|
long DescribeUserVipsByDomainRequest::getOwnerId()const
|
||||||
{
|
{
|
||||||
return ownerId_;
|
return ownerId_;
|
||||||
@@ -60,14 +60,3 @@ void DescribeUserVipsByDomainRequest::setOwnerId(long ownerId)
|
|||||||
setParameter("OwnerId", std::to_string(ownerId));
|
setParameter("OwnerId", std::to_string(ownerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string DescribeUserVipsByDomainRequest::getSecurityToken()const
|
|
||||||
{
|
|
||||||
return securityToken_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void DescribeUserVipsByDomainRequest::setSecurityToken(const std::string& securityToken)
|
|
||||||
{
|
|
||||||
securityToken_ = securityToken;
|
|
||||||
setParameter("SecurityToken", securityToken);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
using AlibabaCloud::Cdn::Model::SetVideoSeekConfigRequest;
|
using AlibabaCloud::Cdn::Model::SetVideoSeekConfigRequest;
|
||||||
|
|
||||||
SetVideoSeekConfigRequest::SetVideoSeekConfigRequest() :
|
SetVideoSeekConfigRequest::SetVideoSeekConfigRequest() :
|
||||||
RpcServiceRequest("cdn", "2018-05-10", "SetVideoSeekConfig")
|
RpcServiceRequest("cdn", "2014-11-11", "SetVideoSeekConfig")
|
||||||
{
|
{
|
||||||
setMethod(HttpRequest::Method::Post);
|
setMethod(HttpRequest::Method::Post);
|
||||||
}
|
}
|
||||||
@@ -27,17 +27,6 @@ SetVideoSeekConfigRequest::SetVideoSeekConfigRequest() :
|
|||||||
SetVideoSeekConfigRequest::~SetVideoSeekConfigRequest()
|
SetVideoSeekConfigRequest::~SetVideoSeekConfigRequest()
|
||||||
{}
|
{}
|
||||||
|
|
||||||
std::string SetVideoSeekConfigRequest::getEnable()const
|
|
||||||
{
|
|
||||||
return enable_;
|
|
||||||
}
|
|
||||||
|
|
||||||
void SetVideoSeekConfigRequest::setEnable(const std::string& enable)
|
|
||||||
{
|
|
||||||
enable_ = enable;
|
|
||||||
setParameter("Enable", enable);
|
|
||||||
}
|
|
||||||
|
|
||||||
std::string SetVideoSeekConfigRequest::getDomainName()const
|
std::string SetVideoSeekConfigRequest::getDomainName()const
|
||||||
{
|
{
|
||||||
return domainName_;
|
return domainName_;
|
||||||
@@ -60,14 +49,25 @@ void SetVideoSeekConfigRequest::setOwnerId(long ownerId)
|
|||||||
setParameter("OwnerId", std::to_string(ownerId));
|
setParameter("OwnerId", std::to_string(ownerId));
|
||||||
}
|
}
|
||||||
|
|
||||||
long SetVideoSeekConfigRequest::getConfigId()const
|
std::string SetVideoSeekConfigRequest::getSecurityToken()const
|
||||||
{
|
{
|
||||||
return configId_;
|
return securityToken_;
|
||||||
}
|
}
|
||||||
|
|
||||||
void SetVideoSeekConfigRequest::setConfigId(long configId)
|
void SetVideoSeekConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||||
{
|
{
|
||||||
configId_ = configId;
|
securityToken_ = securityToken;
|
||||||
setParameter("ConfigId", std::to_string(configId));
|
setParameter("SecurityToken", securityToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string SetVideoSeekConfigRequest::getEnable()const
|
||||||
|
{
|
||||||
|
return enable_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void SetVideoSeekConfigRequest::setEnable(const std::string& enable)
|
||||||
|
{
|
||||||
|
enable_ = enable;
|
||||||
|
setParameter("Enable", enable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -63,6 +63,8 @@ namespace AlibabaCloud
|
|||||||
void setIp(const std::string& ip);
|
void setIp(const std::string& ip);
|
||||||
std::string getMobile()const;
|
std::string getMobile()const;
|
||||||
void setMobile(const std::string& mobile);
|
void setMobile(const std::string& mobile);
|
||||||
|
std::string getFaceContrastFile()const;
|
||||||
|
void setFaceContrastFile(const std::string& faceContrastFile);
|
||||||
long getSceneId()const;
|
long getSceneId()const;
|
||||||
void setSceneId(long sceneId);
|
void setSceneId(long sceneId);
|
||||||
std::string getOssBucketName()const;
|
std::string getOssBucketName()const;
|
||||||
@@ -83,6 +85,7 @@ namespace AlibabaCloud
|
|||||||
std::string certName_;
|
std::string certName_;
|
||||||
std::string ip_;
|
std::string ip_;
|
||||||
std::string mobile_;
|
std::string mobile_;
|
||||||
|
std::string faceContrastFile_;
|
||||||
long sceneId_;
|
long sceneId_;
|
||||||
std::string ossBucketName_;
|
std::string ossBucketName_;
|
||||||
|
|
||||||
|
|||||||
@@ -181,6 +181,17 @@ void ContrastFaceVerifyRequest::setMobile(const std::string& mobile)
|
|||||||
setBodyParameter("Mobile", mobile);
|
setBodyParameter("Mobile", mobile);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
std::string ContrastFaceVerifyRequest::getFaceContrastFile()const
|
||||||
|
{
|
||||||
|
return faceContrastFile_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ContrastFaceVerifyRequest::setFaceContrastFile(const std::string& faceContrastFile)
|
||||||
|
{
|
||||||
|
faceContrastFile_ = faceContrastFile;
|
||||||
|
setBodyParameter("FaceContrastFile", faceContrastFile);
|
||||||
|
}
|
||||||
|
|
||||||
long ContrastFaceVerifyRequest::getSceneId()const
|
long ContrastFaceVerifyRequest::getSceneId()const
|
||||||
{
|
{
|
||||||
return sceneId_;
|
return sceneId_;
|
||||||
|
|||||||
@@ -51,6 +51,8 @@ set(codeup_public_header_model
|
|||||||
include/alibabacloud/codeup/model/DeleteRepositoryGroupResult.h
|
include/alibabacloud/codeup/model/DeleteRepositoryGroupResult.h
|
||||||
include/alibabacloud/codeup/model/DeleteRepositoryMemberRequest.h
|
include/alibabacloud/codeup/model/DeleteRepositoryMemberRequest.h
|
||||||
include/alibabacloud/codeup/model/DeleteRepositoryMemberResult.h
|
include/alibabacloud/codeup/model/DeleteRepositoryMemberResult.h
|
||||||
|
include/alibabacloud/codeup/model/DeleteRepositoryTagRequest.h
|
||||||
|
include/alibabacloud/codeup/model/DeleteRepositoryTagResult.h
|
||||||
include/alibabacloud/codeup/model/GetBranchInfoRequest.h
|
include/alibabacloud/codeup/model/GetBranchInfoRequest.h
|
||||||
include/alibabacloud/codeup/model/GetBranchInfoResult.h
|
include/alibabacloud/codeup/model/GetBranchInfoResult.h
|
||||||
include/alibabacloud/codeup/model/GetCodeupOrganizationRequest.h
|
include/alibabacloud/codeup/model/GetCodeupOrganizationRequest.h
|
||||||
@@ -63,6 +65,8 @@ set(codeup_public_header_model
|
|||||||
include/alibabacloud/codeup/model/GetProjectMemberResult.h
|
include/alibabacloud/codeup/model/GetProjectMemberResult.h
|
||||||
include/alibabacloud/codeup/model/GetRepositoryInfoRequest.h
|
include/alibabacloud/codeup/model/GetRepositoryInfoRequest.h
|
||||||
include/alibabacloud/codeup/model/GetRepositoryInfoResult.h
|
include/alibabacloud/codeup/model/GetRepositoryInfoResult.h
|
||||||
|
include/alibabacloud/codeup/model/GetRepositoryTagRequest.h
|
||||||
|
include/alibabacloud/codeup/model/GetRepositoryTagResult.h
|
||||||
include/alibabacloud/codeup/model/ListGroupMemberRequest.h
|
include/alibabacloud/codeup/model/ListGroupMemberRequest.h
|
||||||
include/alibabacloud/codeup/model/ListGroupMemberResult.h
|
include/alibabacloud/codeup/model/ListGroupMemberResult.h
|
||||||
include/alibabacloud/codeup/model/ListGroupRepositoriesRequest.h
|
include/alibabacloud/codeup/model/ListGroupRepositoriesRequest.h
|
||||||
@@ -73,6 +77,8 @@ set(codeup_public_header_model
|
|||||||
include/alibabacloud/codeup/model/ListRepositoryBranchesResult.h
|
include/alibabacloud/codeup/model/ListRepositoryBranchesResult.h
|
||||||
include/alibabacloud/codeup/model/ListRepositoryMemberRequest.h
|
include/alibabacloud/codeup/model/ListRepositoryMemberRequest.h
|
||||||
include/alibabacloud/codeup/model/ListRepositoryMemberResult.h
|
include/alibabacloud/codeup/model/ListRepositoryMemberResult.h
|
||||||
|
include/alibabacloud/codeup/model/ListRepositoryTagsRequest.h
|
||||||
|
include/alibabacloud/codeup/model/ListRepositoryTagsResult.h
|
||||||
include/alibabacloud/codeup/model/ListRepositoryTreeRequest.h
|
include/alibabacloud/codeup/model/ListRepositoryTreeRequest.h
|
||||||
include/alibabacloud/codeup/model/ListRepositoryTreeResult.h
|
include/alibabacloud/codeup/model/ListRepositoryTreeResult.h
|
||||||
include/alibabacloud/codeup/model/MergeMergeRequestRequest.h
|
include/alibabacloud/codeup/model/MergeMergeRequestRequest.h
|
||||||
@@ -116,6 +122,8 @@ set(codeup_src
|
|||||||
src/model/DeleteRepositoryGroupResult.cc
|
src/model/DeleteRepositoryGroupResult.cc
|
||||||
src/model/DeleteRepositoryMemberRequest.cc
|
src/model/DeleteRepositoryMemberRequest.cc
|
||||||
src/model/DeleteRepositoryMemberResult.cc
|
src/model/DeleteRepositoryMemberResult.cc
|
||||||
|
src/model/DeleteRepositoryTagRequest.cc
|
||||||
|
src/model/DeleteRepositoryTagResult.cc
|
||||||
src/model/GetBranchInfoRequest.cc
|
src/model/GetBranchInfoRequest.cc
|
||||||
src/model/GetBranchInfoResult.cc
|
src/model/GetBranchInfoResult.cc
|
||||||
src/model/GetCodeupOrganizationRequest.cc
|
src/model/GetCodeupOrganizationRequest.cc
|
||||||
@@ -128,6 +136,8 @@ set(codeup_src
|
|||||||
src/model/GetProjectMemberResult.cc
|
src/model/GetProjectMemberResult.cc
|
||||||
src/model/GetRepositoryInfoRequest.cc
|
src/model/GetRepositoryInfoRequest.cc
|
||||||
src/model/GetRepositoryInfoResult.cc
|
src/model/GetRepositoryInfoResult.cc
|
||||||
|
src/model/GetRepositoryTagRequest.cc
|
||||||
|
src/model/GetRepositoryTagResult.cc
|
||||||
src/model/ListGroupMemberRequest.cc
|
src/model/ListGroupMemberRequest.cc
|
||||||
src/model/ListGroupMemberResult.cc
|
src/model/ListGroupMemberResult.cc
|
||||||
src/model/ListGroupRepositoriesRequest.cc
|
src/model/ListGroupRepositoriesRequest.cc
|
||||||
@@ -138,6 +148,8 @@ set(codeup_src
|
|||||||
src/model/ListRepositoryBranchesResult.cc
|
src/model/ListRepositoryBranchesResult.cc
|
||||||
src/model/ListRepositoryMemberRequest.cc
|
src/model/ListRepositoryMemberRequest.cc
|
||||||
src/model/ListRepositoryMemberResult.cc
|
src/model/ListRepositoryMemberResult.cc
|
||||||
|
src/model/ListRepositoryTagsRequest.cc
|
||||||
|
src/model/ListRepositoryTagsResult.cc
|
||||||
src/model/ListRepositoryTreeRequest.cc
|
src/model/ListRepositoryTreeRequest.cc
|
||||||
src/model/ListRepositoryTreeResult.cc
|
src/model/ListRepositoryTreeResult.cc
|
||||||
src/model/MergeMergeRequestRequest.cc
|
src/model/MergeMergeRequestRequest.cc
|
||||||
|
|||||||
@@ -52,6 +52,8 @@
|
|||||||
#include "model/DeleteRepositoryGroupResult.h"
|
#include "model/DeleteRepositoryGroupResult.h"
|
||||||
#include "model/DeleteRepositoryMemberRequest.h"
|
#include "model/DeleteRepositoryMemberRequest.h"
|
||||||
#include "model/DeleteRepositoryMemberResult.h"
|
#include "model/DeleteRepositoryMemberResult.h"
|
||||||
|
#include "model/DeleteRepositoryTagRequest.h"
|
||||||
|
#include "model/DeleteRepositoryTagResult.h"
|
||||||
#include "model/GetBranchInfoRequest.h"
|
#include "model/GetBranchInfoRequest.h"
|
||||||
#include "model/GetBranchInfoResult.h"
|
#include "model/GetBranchInfoResult.h"
|
||||||
#include "model/GetCodeupOrganizationRequest.h"
|
#include "model/GetCodeupOrganizationRequest.h"
|
||||||
@@ -64,6 +66,8 @@
|
|||||||
#include "model/GetProjectMemberResult.h"
|
#include "model/GetProjectMemberResult.h"
|
||||||
#include "model/GetRepositoryInfoRequest.h"
|
#include "model/GetRepositoryInfoRequest.h"
|
||||||
#include "model/GetRepositoryInfoResult.h"
|
#include "model/GetRepositoryInfoResult.h"
|
||||||
|
#include "model/GetRepositoryTagRequest.h"
|
||||||
|
#include "model/GetRepositoryTagResult.h"
|
||||||
#include "model/ListGroupMemberRequest.h"
|
#include "model/ListGroupMemberRequest.h"
|
||||||
#include "model/ListGroupMemberResult.h"
|
#include "model/ListGroupMemberResult.h"
|
||||||
#include "model/ListGroupRepositoriesRequest.h"
|
#include "model/ListGroupRepositoriesRequest.h"
|
||||||
@@ -74,6 +78,8 @@
|
|||||||
#include "model/ListRepositoryBranchesResult.h"
|
#include "model/ListRepositoryBranchesResult.h"
|
||||||
#include "model/ListRepositoryMemberRequest.h"
|
#include "model/ListRepositoryMemberRequest.h"
|
||||||
#include "model/ListRepositoryMemberResult.h"
|
#include "model/ListRepositoryMemberResult.h"
|
||||||
|
#include "model/ListRepositoryTagsRequest.h"
|
||||||
|
#include "model/ListRepositoryTagsResult.h"
|
||||||
#include "model/ListRepositoryTreeRequest.h"
|
#include "model/ListRepositoryTreeRequest.h"
|
||||||
#include "model/ListRepositoryTreeResult.h"
|
#include "model/ListRepositoryTreeResult.h"
|
||||||
#include "model/MergeMergeRequestRequest.h"
|
#include "model/MergeMergeRequestRequest.h"
|
||||||
@@ -138,6 +144,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::DeleteRepositoryMemberResult> DeleteRepositoryMemberOutcome;
|
typedef Outcome<Error, Model::DeleteRepositoryMemberResult> DeleteRepositoryMemberOutcome;
|
||||||
typedef std::future<DeleteRepositoryMemberOutcome> DeleteRepositoryMemberOutcomeCallable;
|
typedef std::future<DeleteRepositoryMemberOutcome> DeleteRepositoryMemberOutcomeCallable;
|
||||||
typedef std::function<void(const CodeupClient*, const Model::DeleteRepositoryMemberRequest&, const DeleteRepositoryMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRepositoryMemberAsyncHandler;
|
typedef std::function<void(const CodeupClient*, const Model::DeleteRepositoryMemberRequest&, const DeleteRepositoryMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRepositoryMemberAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::DeleteRepositoryTagResult> DeleteRepositoryTagOutcome;
|
||||||
|
typedef std::future<DeleteRepositoryTagOutcome> DeleteRepositoryTagOutcomeCallable;
|
||||||
|
typedef std::function<void(const CodeupClient*, const Model::DeleteRepositoryTagRequest&, const DeleteRepositoryTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRepositoryTagAsyncHandler;
|
||||||
typedef Outcome<Error, Model::GetBranchInfoResult> GetBranchInfoOutcome;
|
typedef Outcome<Error, Model::GetBranchInfoResult> GetBranchInfoOutcome;
|
||||||
typedef std::future<GetBranchInfoOutcome> GetBranchInfoOutcomeCallable;
|
typedef std::future<GetBranchInfoOutcome> GetBranchInfoOutcomeCallable;
|
||||||
typedef std::function<void(const CodeupClient*, const Model::GetBranchInfoRequest&, const GetBranchInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBranchInfoAsyncHandler;
|
typedef std::function<void(const CodeupClient*, const Model::GetBranchInfoRequest&, const GetBranchInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetBranchInfoAsyncHandler;
|
||||||
@@ -156,6 +165,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::GetRepositoryInfoResult> GetRepositoryInfoOutcome;
|
typedef Outcome<Error, Model::GetRepositoryInfoResult> GetRepositoryInfoOutcome;
|
||||||
typedef std::future<GetRepositoryInfoOutcome> GetRepositoryInfoOutcomeCallable;
|
typedef std::future<GetRepositoryInfoOutcome> GetRepositoryInfoOutcomeCallable;
|
||||||
typedef std::function<void(const CodeupClient*, const Model::GetRepositoryInfoRequest&, const GetRepositoryInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRepositoryInfoAsyncHandler;
|
typedef std::function<void(const CodeupClient*, const Model::GetRepositoryInfoRequest&, const GetRepositoryInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRepositoryInfoAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::GetRepositoryTagResult> GetRepositoryTagOutcome;
|
||||||
|
typedef std::future<GetRepositoryTagOutcome> GetRepositoryTagOutcomeCallable;
|
||||||
|
typedef std::function<void(const CodeupClient*, const Model::GetRepositoryTagRequest&, const GetRepositoryTagOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRepositoryTagAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListGroupMemberResult> ListGroupMemberOutcome;
|
typedef Outcome<Error, Model::ListGroupMemberResult> ListGroupMemberOutcome;
|
||||||
typedef std::future<ListGroupMemberOutcome> ListGroupMemberOutcomeCallable;
|
typedef std::future<ListGroupMemberOutcome> ListGroupMemberOutcomeCallable;
|
||||||
typedef std::function<void(const CodeupClient*, const Model::ListGroupMemberRequest&, const ListGroupMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupMemberAsyncHandler;
|
typedef std::function<void(const CodeupClient*, const Model::ListGroupMemberRequest&, const ListGroupMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListGroupMemberAsyncHandler;
|
||||||
@@ -171,6 +183,9 @@ namespace AlibabaCloud
|
|||||||
typedef Outcome<Error, Model::ListRepositoryMemberResult> ListRepositoryMemberOutcome;
|
typedef Outcome<Error, Model::ListRepositoryMemberResult> ListRepositoryMemberOutcome;
|
||||||
typedef std::future<ListRepositoryMemberOutcome> ListRepositoryMemberOutcomeCallable;
|
typedef std::future<ListRepositoryMemberOutcome> ListRepositoryMemberOutcomeCallable;
|
||||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryMemberRequest&, const ListRepositoryMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryMemberAsyncHandler;
|
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryMemberRequest&, const ListRepositoryMemberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryMemberAsyncHandler;
|
||||||
|
typedef Outcome<Error, Model::ListRepositoryTagsResult> ListRepositoryTagsOutcome;
|
||||||
|
typedef std::future<ListRepositoryTagsOutcome> ListRepositoryTagsOutcomeCallable;
|
||||||
|
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryTagsRequest&, const ListRepositoryTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryTagsAsyncHandler;
|
||||||
typedef Outcome<Error, Model::ListRepositoryTreeResult> ListRepositoryTreeOutcome;
|
typedef Outcome<Error, Model::ListRepositoryTreeResult> ListRepositoryTreeOutcome;
|
||||||
typedef std::future<ListRepositoryTreeOutcome> ListRepositoryTreeOutcomeCallable;
|
typedef std::future<ListRepositoryTreeOutcome> ListRepositoryTreeOutcomeCallable;
|
||||||
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryTreeRequest&, const ListRepositoryTreeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryTreeAsyncHandler;
|
typedef std::function<void(const CodeupClient*, const Model::ListRepositoryTreeRequest&, const ListRepositoryTreeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRepositoryTreeAsyncHandler;
|
||||||
@@ -236,6 +251,9 @@ namespace AlibabaCloud
|
|||||||
DeleteRepositoryMemberOutcome deleteRepositoryMember(const Model::DeleteRepositoryMemberRequest &request)const;
|
DeleteRepositoryMemberOutcome deleteRepositoryMember(const Model::DeleteRepositoryMemberRequest &request)const;
|
||||||
void deleteRepositoryMemberAsync(const Model::DeleteRepositoryMemberRequest& request, const DeleteRepositoryMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void deleteRepositoryMemberAsync(const Model::DeleteRepositoryMemberRequest& request, const DeleteRepositoryMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
DeleteRepositoryMemberOutcomeCallable deleteRepositoryMemberCallable(const Model::DeleteRepositoryMemberRequest& request) const;
|
DeleteRepositoryMemberOutcomeCallable deleteRepositoryMemberCallable(const Model::DeleteRepositoryMemberRequest& request) const;
|
||||||
|
DeleteRepositoryTagOutcome deleteRepositoryTag(const Model::DeleteRepositoryTagRequest &request)const;
|
||||||
|
void deleteRepositoryTagAsync(const Model::DeleteRepositoryTagRequest& request, const DeleteRepositoryTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
DeleteRepositoryTagOutcomeCallable deleteRepositoryTagCallable(const Model::DeleteRepositoryTagRequest& request) const;
|
||||||
GetBranchInfoOutcome getBranchInfo(const Model::GetBranchInfoRequest &request)const;
|
GetBranchInfoOutcome getBranchInfo(const Model::GetBranchInfoRequest &request)const;
|
||||||
void getBranchInfoAsync(const Model::GetBranchInfoRequest& request, const GetBranchInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getBranchInfoAsync(const Model::GetBranchInfoRequest& request, const GetBranchInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetBranchInfoOutcomeCallable getBranchInfoCallable(const Model::GetBranchInfoRequest& request) const;
|
GetBranchInfoOutcomeCallable getBranchInfoCallable(const Model::GetBranchInfoRequest& request) const;
|
||||||
@@ -254,6 +272,9 @@ namespace AlibabaCloud
|
|||||||
GetRepositoryInfoOutcome getRepositoryInfo(const Model::GetRepositoryInfoRequest &request)const;
|
GetRepositoryInfoOutcome getRepositoryInfo(const Model::GetRepositoryInfoRequest &request)const;
|
||||||
void getRepositoryInfoAsync(const Model::GetRepositoryInfoRequest& request, const GetRepositoryInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void getRepositoryInfoAsync(const Model::GetRepositoryInfoRequest& request, const GetRepositoryInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
GetRepositoryInfoOutcomeCallable getRepositoryInfoCallable(const Model::GetRepositoryInfoRequest& request) const;
|
GetRepositoryInfoOutcomeCallable getRepositoryInfoCallable(const Model::GetRepositoryInfoRequest& request) const;
|
||||||
|
GetRepositoryTagOutcome getRepositoryTag(const Model::GetRepositoryTagRequest &request)const;
|
||||||
|
void getRepositoryTagAsync(const Model::GetRepositoryTagRequest& request, const GetRepositoryTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
GetRepositoryTagOutcomeCallable getRepositoryTagCallable(const Model::GetRepositoryTagRequest& request) const;
|
||||||
ListGroupMemberOutcome listGroupMember(const Model::ListGroupMemberRequest &request)const;
|
ListGroupMemberOutcome listGroupMember(const Model::ListGroupMemberRequest &request)const;
|
||||||
void listGroupMemberAsync(const Model::ListGroupMemberRequest& request, const ListGroupMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listGroupMemberAsync(const Model::ListGroupMemberRequest& request, const ListGroupMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListGroupMemberOutcomeCallable listGroupMemberCallable(const Model::ListGroupMemberRequest& request) const;
|
ListGroupMemberOutcomeCallable listGroupMemberCallable(const Model::ListGroupMemberRequest& request) const;
|
||||||
@@ -269,6 +290,9 @@ namespace AlibabaCloud
|
|||||||
ListRepositoryMemberOutcome listRepositoryMember(const Model::ListRepositoryMemberRequest &request)const;
|
ListRepositoryMemberOutcome listRepositoryMember(const Model::ListRepositoryMemberRequest &request)const;
|
||||||
void listRepositoryMemberAsync(const Model::ListRepositoryMemberRequest& request, const ListRepositoryMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listRepositoryMemberAsync(const Model::ListRepositoryMemberRequest& request, const ListRepositoryMemberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListRepositoryMemberOutcomeCallable listRepositoryMemberCallable(const Model::ListRepositoryMemberRequest& request) const;
|
ListRepositoryMemberOutcomeCallable listRepositoryMemberCallable(const Model::ListRepositoryMemberRequest& request) const;
|
||||||
|
ListRepositoryTagsOutcome listRepositoryTags(const Model::ListRepositoryTagsRequest &request)const;
|
||||||
|
void listRepositoryTagsAsync(const Model::ListRepositoryTagsRequest& request, const ListRepositoryTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
|
ListRepositoryTagsOutcomeCallable listRepositoryTagsCallable(const Model::ListRepositoryTagsRequest& request) const;
|
||||||
ListRepositoryTreeOutcome listRepositoryTree(const Model::ListRepositoryTreeRequest &request)const;
|
ListRepositoryTreeOutcome listRepositoryTree(const Model::ListRepositoryTreeRequest &request)const;
|
||||||
void listRepositoryTreeAsync(const Model::ListRepositoryTreeRequest& request, const ListRepositoryTreeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
void listRepositoryTreeAsync(const Model::ListRepositoryTreeRequest& request, const ListRepositoryTreeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||||
ListRepositoryTreeOutcomeCallable listRepositoryTreeCallable(const Model::ListRepositoryTreeRequest& request) const;
|
ListRepositoryTreeOutcomeCallable listRepositoryTreeCallable(const Model::ListRepositoryTreeRequest& request) const;
|
||||||
|
|||||||
@@ -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_CODEUP_MODEL_DELETEREPOSITORYTAGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYTAGREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/codeup/CodeupExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Codeup
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CODEUP_EXPORT DeleteRepositoryTagRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteRepositoryTagRequest();
|
||||||
|
~DeleteRepositoryTagRequest();
|
||||||
|
|
||||||
|
std::string getOrganizationId()const;
|
||||||
|
void setOrganizationId(const std::string& organizationId);
|
||||||
|
std::string getTagName()const;
|
||||||
|
void setTagName(const std::string& tagName);
|
||||||
|
std::string getAccessToken()const;
|
||||||
|
void setAccessToken(const std::string& accessToken);
|
||||||
|
long getProjectId()const;
|
||||||
|
void setProjectId(long projectId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string organizationId_;
|
||||||
|
std::string tagName_;
|
||||||
|
std::string accessToken_;
|
||||||
|
long projectId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYTAGREQUEST_H_
|
||||||
@@ -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_CODEUP_MODEL_DELETEREPOSITORYTAGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYTAGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/codeup/CodeupExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Codeup
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CODEUP_EXPORT DeleteRepositoryTagResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Result
|
||||||
|
{
|
||||||
|
std::string tagName;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
DeleteRepositoryTagResult();
|
||||||
|
explicit DeleteRepositoryTagResult(const std::string &payload);
|
||||||
|
~DeleteRepositoryTagResult();
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getErrorMessage()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
Result getResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string errorMessage_;
|
||||||
|
bool success_;
|
||||||
|
Result result_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CODEUP_MODEL_DELETEREPOSITORYTAGRESULT_H_
|
||||||
@@ -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_CODEUP_MODEL_GETREPOSITORYTAGREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYTAGREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/codeup/CodeupExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Codeup
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CODEUP_EXPORT GetRepositoryTagRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
GetRepositoryTagRequest();
|
||||||
|
~GetRepositoryTagRequest();
|
||||||
|
|
||||||
|
std::string getOrganizationId()const;
|
||||||
|
void setOrganizationId(const std::string& organizationId);
|
||||||
|
std::string getTagName()const;
|
||||||
|
void setTagName(const std::string& tagName);
|
||||||
|
std::string getAccessToken()const;
|
||||||
|
void setAccessToken(const std::string& accessToken);
|
||||||
|
long getProjectId()const;
|
||||||
|
void setProjectId(long projectId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string organizationId_;
|
||||||
|
std::string tagName_;
|
||||||
|
std::string accessToken_;
|
||||||
|
long projectId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYTAGREQUEST_H_
|
||||||
@@ -0,0 +1,91 @@
|
|||||||
|
/*
|
||||||
|
* 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_CODEUP_MODEL_GETREPOSITORYTAGRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYTAGRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/codeup/CodeupExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Codeup
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CODEUP_EXPORT GetRepositoryTagResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Result
|
||||||
|
{
|
||||||
|
struct Commit
|
||||||
|
{
|
||||||
|
struct Signature1
|
||||||
|
{
|
||||||
|
std::string verificationStatus;
|
||||||
|
std::string gpgKeyId;
|
||||||
|
};
|
||||||
|
std::string authoredDate;
|
||||||
|
std::string authorName;
|
||||||
|
std::string message;
|
||||||
|
std::string createdAt;
|
||||||
|
std::string title;
|
||||||
|
std::string authorEmail;
|
||||||
|
std::string committedDate;
|
||||||
|
std::string committerEmail;
|
||||||
|
std::vector<std::string> parentIds;
|
||||||
|
std::string shortId;
|
||||||
|
std::string id;
|
||||||
|
std::string committerName;
|
||||||
|
Signature1 signature1;
|
||||||
|
};
|
||||||
|
struct Signature
|
||||||
|
{
|
||||||
|
std::string verificationStatus;
|
||||||
|
std::string gpgKeyId;
|
||||||
|
};
|
||||||
|
Commit commit;
|
||||||
|
std::string message;
|
||||||
|
Signature signature;
|
||||||
|
std::string id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
GetRepositoryTagResult();
|
||||||
|
explicit GetRepositoryTagResult(const std::string &payload);
|
||||||
|
~GetRepositoryTagResult();
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getErrorMessage()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
Result getResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string errorMessage_;
|
||||||
|
bool success_;
|
||||||
|
Result result_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CODEUP_MODEL_GETREPOSITORYTAGRESULT_H_
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYTAGSREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYTAGSREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||||
|
#include <alibabacloud/codeup/CodeupExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Codeup
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoryTagsRequest : public RoaServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ListRepositoryTagsRequest();
|
||||||
|
~ListRepositoryTagsRequest();
|
||||||
|
|
||||||
|
std::string getAccessToken()const;
|
||||||
|
void setAccessToken(const std::string& accessToken);
|
||||||
|
bool getShowSignature()const;
|
||||||
|
void setShowSignature(bool showSignature);
|
||||||
|
std::string getSort()const;
|
||||||
|
void setSort(const std::string& sort);
|
||||||
|
std::string getOrganizationId()const;
|
||||||
|
void setOrganizationId(const std::string& organizationId);
|
||||||
|
std::string getSearch()const;
|
||||||
|
void setSearch(const std::string& search);
|
||||||
|
long getPageSize()const;
|
||||||
|
void setPageSize(long pageSize);
|
||||||
|
long getPage()const;
|
||||||
|
void setPage(long page);
|
||||||
|
long getProjectId()const;
|
||||||
|
void setProjectId(long projectId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string accessToken_;
|
||||||
|
bool showSignature_;
|
||||||
|
std::string sort_;
|
||||||
|
std::string organizationId_;
|
||||||
|
std::string search_;
|
||||||
|
long pageSize_;
|
||||||
|
long page_;
|
||||||
|
long projectId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYTAGSREQUEST_H_
|
||||||
@@ -0,0 +1,93 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYTAGSRESULT_H_
|
||||||
|
#define ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYTAGSRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/codeup/CodeupExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Codeup
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_CODEUP_EXPORT ListRepositoryTagsResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct ResultItem
|
||||||
|
{
|
||||||
|
struct Commit
|
||||||
|
{
|
||||||
|
struct Signature1
|
||||||
|
{
|
||||||
|
std::string verificationStatus;
|
||||||
|
std::string gpgKeyId;
|
||||||
|
};
|
||||||
|
std::string authoredDate;
|
||||||
|
std::string authorName;
|
||||||
|
std::string message;
|
||||||
|
std::string createdAt;
|
||||||
|
std::string title;
|
||||||
|
std::string authorEmail;
|
||||||
|
std::string committedDate;
|
||||||
|
std::string committerEmail;
|
||||||
|
std::vector<std::string> parentIds;
|
||||||
|
std::string shortId;
|
||||||
|
std::string id;
|
||||||
|
std::string committerName;
|
||||||
|
Signature1 signature1;
|
||||||
|
};
|
||||||
|
struct Signature
|
||||||
|
{
|
||||||
|
std::string verificationStatus;
|
||||||
|
std::string gpgKeyId;
|
||||||
|
};
|
||||||
|
Commit commit;
|
||||||
|
std::string message;
|
||||||
|
Signature signature;
|
||||||
|
std::string id;
|
||||||
|
std::string name;
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
ListRepositoryTagsResult();
|
||||||
|
explicit ListRepositoryTagsResult(const std::string &payload);
|
||||||
|
~ListRepositoryTagsResult();
|
||||||
|
long getTotal()const;
|
||||||
|
std::string getErrorCode()const;
|
||||||
|
std::string getErrorMessage()const;
|
||||||
|
bool getSuccess()const;
|
||||||
|
std::vector<ResultItem> getResult()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
long total_;
|
||||||
|
std::string errorCode_;
|
||||||
|
std::string errorMessage_;
|
||||||
|
bool success_;
|
||||||
|
std::vector<ResultItem> result_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_CODEUP_MODEL_LISTREPOSITORYTAGSRESULT_H_
|
||||||
@@ -591,6 +591,42 @@ CodeupClient::DeleteRepositoryMemberOutcomeCallable CodeupClient::deleteReposito
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CodeupClient::DeleteRepositoryTagOutcome CodeupClient::deleteRepositoryTag(const DeleteRepositoryTagRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return DeleteRepositoryTagOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return DeleteRepositoryTagOutcome(DeleteRepositoryTagResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return DeleteRepositoryTagOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CodeupClient::deleteRepositoryTagAsync(const DeleteRepositoryTagRequest& request, const DeleteRepositoryTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, deleteRepositoryTag(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CodeupClient::DeleteRepositoryTagOutcomeCallable CodeupClient::deleteRepositoryTagCallable(const DeleteRepositoryTagRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<DeleteRepositoryTagOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->deleteRepositoryTag(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CodeupClient::GetBranchInfoOutcome CodeupClient::getBranchInfo(const GetBranchInfoRequest &request) const
|
CodeupClient::GetBranchInfoOutcome CodeupClient::getBranchInfo(const GetBranchInfoRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -807,6 +843,42 @@ CodeupClient::GetRepositoryInfoOutcomeCallable CodeupClient::getRepositoryInfoCa
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CodeupClient::GetRepositoryTagOutcome CodeupClient::getRepositoryTag(const GetRepositoryTagRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return GetRepositoryTagOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return GetRepositoryTagOutcome(GetRepositoryTagResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return GetRepositoryTagOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CodeupClient::getRepositoryTagAsync(const GetRepositoryTagRequest& request, const GetRepositoryTagAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, getRepositoryTag(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CodeupClient::GetRepositoryTagOutcomeCallable CodeupClient::getRepositoryTagCallable(const GetRepositoryTagRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<GetRepositoryTagOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->getRepositoryTag(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CodeupClient::ListGroupMemberOutcome CodeupClient::listGroupMember(const ListGroupMemberRequest &request) const
|
CodeupClient::ListGroupMemberOutcome CodeupClient::listGroupMember(const ListGroupMemberRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
@@ -987,6 +1059,42 @@ CodeupClient::ListRepositoryMemberOutcomeCallable CodeupClient::listRepositoryMe
|
|||||||
return task->get_future();
|
return task->get_future();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
CodeupClient::ListRepositoryTagsOutcome CodeupClient::listRepositoryTags(const ListRepositoryTagsRequest &request) const
|
||||||
|
{
|
||||||
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
if (!endpointOutcome.isSuccess())
|
||||||
|
return ListRepositoryTagsOutcome(endpointOutcome.error());
|
||||||
|
|
||||||
|
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||||
|
|
||||||
|
if (outcome.isSuccess())
|
||||||
|
return ListRepositoryTagsOutcome(ListRepositoryTagsResult(outcome.result()));
|
||||||
|
else
|
||||||
|
return ListRepositoryTagsOutcome(outcome.error());
|
||||||
|
}
|
||||||
|
|
||||||
|
void CodeupClient::listRepositoryTagsAsync(const ListRepositoryTagsRequest& request, const ListRepositoryTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||||
|
{
|
||||||
|
auto fn = [this, request, handler, context]()
|
||||||
|
{
|
||||||
|
handler(this, request, listRepositoryTags(request), context);
|
||||||
|
};
|
||||||
|
|
||||||
|
asyncExecute(new Runnable(fn));
|
||||||
|
}
|
||||||
|
|
||||||
|
CodeupClient::ListRepositoryTagsOutcomeCallable CodeupClient::listRepositoryTagsCallable(const ListRepositoryTagsRequest &request) const
|
||||||
|
{
|
||||||
|
auto task = std::make_shared<std::packaged_task<ListRepositoryTagsOutcome()>>(
|
||||||
|
[this, request]()
|
||||||
|
{
|
||||||
|
return this->listRepositoryTags(request);
|
||||||
|
});
|
||||||
|
|
||||||
|
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||||
|
return task->get_future();
|
||||||
|
}
|
||||||
|
|
||||||
CodeupClient::ListRepositoryTreeOutcome CodeupClient::listRepositoryTree(const ListRepositoryTreeRequest &request) const
|
CodeupClient::ListRepositoryTreeOutcome CodeupClient::listRepositoryTree(const ListRepositoryTreeRequest &request) const
|
||||||
{
|
{
|
||||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||||
|
|||||||
74
codeup/src/model/DeleteRepositoryTagRequest.cc
Normal file
74
codeup/src/model/DeleteRepositoryTagRequest.cc
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/codeup/model/DeleteRepositoryTagRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Codeup::Model::DeleteRepositoryTagRequest;
|
||||||
|
|
||||||
|
DeleteRepositoryTagRequest::DeleteRepositoryTagRequest() :
|
||||||
|
RoaServiceRequest("codeup", "2020-04-14")
|
||||||
|
{
|
||||||
|
setResourcePath("/api/v3/projects/[ProjectId]/repository/tags/[TagName]");
|
||||||
|
setMethod(HttpRequest::Method::Delete);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteRepositoryTagRequest::~DeleteRepositoryTagRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string DeleteRepositoryTagRequest::getOrganizationId()const
|
||||||
|
{
|
||||||
|
return organizationId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteRepositoryTagRequest::setOrganizationId(const std::string& organizationId)
|
||||||
|
{
|
||||||
|
organizationId_ = organizationId;
|
||||||
|
setParameter("OrganizationId", organizationId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteRepositoryTagRequest::getTagName()const
|
||||||
|
{
|
||||||
|
return tagName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteRepositoryTagRequest::setTagName(const std::string& tagName)
|
||||||
|
{
|
||||||
|
tagName_ = tagName;
|
||||||
|
setParameter("TagName", tagName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteRepositoryTagRequest::getAccessToken()const
|
||||||
|
{
|
||||||
|
return accessToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteRepositoryTagRequest::setAccessToken(const std::string& accessToken)
|
||||||
|
{
|
||||||
|
accessToken_ = accessToken;
|
||||||
|
setParameter("AccessToken", accessToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
long DeleteRepositoryTagRequest::getProjectId()const
|
||||||
|
{
|
||||||
|
return projectId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void DeleteRepositoryTagRequest::setProjectId(long projectId)
|
||||||
|
{
|
||||||
|
projectId_ = projectId;
|
||||||
|
setParameter("ProjectId", std::to_string(projectId));
|
||||||
|
}
|
||||||
|
|
||||||
73
codeup/src/model/DeleteRepositoryTagResult.cc
Normal file
73
codeup/src/model/DeleteRepositoryTagResult.cc
Normal 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.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/codeup/model/DeleteRepositoryTagResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Codeup;
|
||||||
|
using namespace AlibabaCloud::Codeup::Model;
|
||||||
|
|
||||||
|
DeleteRepositoryTagResult::DeleteRepositoryTagResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
DeleteRepositoryTagResult::DeleteRepositoryTagResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteRepositoryTagResult::~DeleteRepositoryTagResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void DeleteRepositoryTagResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto resultNode = value["Result"];
|
||||||
|
if(!resultNode["TagName"].isNull())
|
||||||
|
result_.tagName = resultNode["TagName"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = value["ErrorCode"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
if(!value["ErrorMessage"].isNull())
|
||||||
|
errorMessage_ = value["ErrorMessage"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteRepositoryTagResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string DeleteRepositoryTagResult::getErrorMessage()const
|
||||||
|
{
|
||||||
|
return errorMessage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool DeleteRepositoryTagResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
|
DeleteRepositoryTagResult::Result DeleteRepositoryTagResult::getResult()const
|
||||||
|
{
|
||||||
|
return result_;
|
||||||
|
}
|
||||||
|
|
||||||
74
codeup/src/model/GetRepositoryTagRequest.cc
Normal file
74
codeup/src/model/GetRepositoryTagRequest.cc
Normal file
@@ -0,0 +1,74 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/codeup/model/GetRepositoryTagRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Codeup::Model::GetRepositoryTagRequest;
|
||||||
|
|
||||||
|
GetRepositoryTagRequest::GetRepositoryTagRequest() :
|
||||||
|
RoaServiceRequest("codeup", "2020-04-14")
|
||||||
|
{
|
||||||
|
setResourcePath("/api/v3/projects/[ProjectId]/repository/tags/[TagName]");
|
||||||
|
setMethod(HttpRequest::Method::Get);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetRepositoryTagRequest::~GetRepositoryTagRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string GetRepositoryTagRequest::getOrganizationId()const
|
||||||
|
{
|
||||||
|
return organizationId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetRepositoryTagRequest::setOrganizationId(const std::string& organizationId)
|
||||||
|
{
|
||||||
|
organizationId_ = organizationId;
|
||||||
|
setParameter("OrganizationId", organizationId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetRepositoryTagRequest::getTagName()const
|
||||||
|
{
|
||||||
|
return tagName_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetRepositoryTagRequest::setTagName(const std::string& tagName)
|
||||||
|
{
|
||||||
|
tagName_ = tagName;
|
||||||
|
setParameter("TagName", tagName);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetRepositoryTagRequest::getAccessToken()const
|
||||||
|
{
|
||||||
|
return accessToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetRepositoryTagRequest::setAccessToken(const std::string& accessToken)
|
||||||
|
{
|
||||||
|
accessToken_ = accessToken;
|
||||||
|
setParameter("AccessToken", accessToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
long GetRepositoryTagRequest::getProjectId()const
|
||||||
|
{
|
||||||
|
return projectId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void GetRepositoryTagRequest::setProjectId(long projectId)
|
||||||
|
{
|
||||||
|
projectId_ = projectId;
|
||||||
|
setParameter("ProjectId", std::to_string(projectId));
|
||||||
|
}
|
||||||
|
|
||||||
113
codeup/src/model/GetRepositoryTagResult.cc
Normal file
113
codeup/src/model/GetRepositoryTagResult.cc
Normal file
@@ -0,0 +1,113 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/codeup/model/GetRepositoryTagResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Codeup;
|
||||||
|
using namespace AlibabaCloud::Codeup::Model;
|
||||||
|
|
||||||
|
GetRepositoryTagResult::GetRepositoryTagResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
GetRepositoryTagResult::GetRepositoryTagResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
GetRepositoryTagResult::~GetRepositoryTagResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void GetRepositoryTagResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto resultNode = value["Result"];
|
||||||
|
if(!resultNode["Id"].isNull())
|
||||||
|
result_.id = resultNode["Id"].asString();
|
||||||
|
if(!resultNode["Name"].isNull())
|
||||||
|
result_.name = resultNode["Name"].asString();
|
||||||
|
if(!resultNode["Message"].isNull())
|
||||||
|
result_.message = resultNode["Message"].asString();
|
||||||
|
auto commitNode = resultNode["Commit"];
|
||||||
|
if(!commitNode["Id"].isNull())
|
||||||
|
result_.commit.id = commitNode["Id"].asString();
|
||||||
|
if(!commitNode["ShortId"].isNull())
|
||||||
|
result_.commit.shortId = commitNode["ShortId"].asString();
|
||||||
|
if(!commitNode["Title"].isNull())
|
||||||
|
result_.commit.title = commitNode["Title"].asString();
|
||||||
|
if(!commitNode["AuthorName"].isNull())
|
||||||
|
result_.commit.authorName = commitNode["AuthorName"].asString();
|
||||||
|
if(!commitNode["AuthorEmail"].isNull())
|
||||||
|
result_.commit.authorEmail = commitNode["AuthorEmail"].asString();
|
||||||
|
if(!commitNode["CreatedAt"].isNull())
|
||||||
|
result_.commit.createdAt = commitNode["CreatedAt"].asString();
|
||||||
|
if(!commitNode["Message"].isNull())
|
||||||
|
result_.commit.message = commitNode["Message"].asString();
|
||||||
|
if(!commitNode["AuthoredDate"].isNull())
|
||||||
|
result_.commit.authoredDate = commitNode["AuthoredDate"].asString();
|
||||||
|
if(!commitNode["CommittedDate"].isNull())
|
||||||
|
result_.commit.committedDate = commitNode["CommittedDate"].asString();
|
||||||
|
if(!commitNode["CommitterEmail"].isNull())
|
||||||
|
result_.commit.committerEmail = commitNode["CommitterEmail"].asString();
|
||||||
|
if(!commitNode["CommitterName"].isNull())
|
||||||
|
result_.commit.committerName = commitNode["CommitterName"].asString();
|
||||||
|
auto signature1Node = commitNode["Signature"];
|
||||||
|
if(!signature1Node["GpgKeyId"].isNull())
|
||||||
|
result_.commit.signature1.gpgKeyId = signature1Node["GpgKeyId"].asString();
|
||||||
|
if(!signature1Node["VerificationStatus"].isNull())
|
||||||
|
result_.commit.signature1.verificationStatus = signature1Node["VerificationStatus"].asString();
|
||||||
|
auto allParentIds = commitNode["ParentIds"]["ParentIds"];
|
||||||
|
for (auto value : allParentIds)
|
||||||
|
result_.commit.parentIds.push_back(value.asString());
|
||||||
|
auto signatureNode = resultNode["Signature"];
|
||||||
|
if(!signatureNode["GpgKeyId"].isNull())
|
||||||
|
result_.signature.gpgKeyId = signatureNode["GpgKeyId"].asString();
|
||||||
|
if(!signatureNode["VerificationStatus"].isNull())
|
||||||
|
result_.signature.verificationStatus = signatureNode["VerificationStatus"].asString();
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = value["ErrorCode"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
if(!value["ErrorMessage"].isNull())
|
||||||
|
errorMessage_ = value["ErrorMessage"].asString();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetRepositoryTagResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string GetRepositoryTagResult::getErrorMessage()const
|
||||||
|
{
|
||||||
|
return errorMessage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool GetRepositoryTagResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
|
GetRepositoryTagResult::Result GetRepositoryTagResult::getResult()const
|
||||||
|
{
|
||||||
|
return result_;
|
||||||
|
}
|
||||||
|
|
||||||
118
codeup/src/model/ListRepositoryTagsRequest.cc
Normal file
118
codeup/src/model/ListRepositoryTagsRequest.cc
Normal file
@@ -0,0 +1,118 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/codeup/model/ListRepositoryTagsRequest.h>
|
||||||
|
|
||||||
|
using AlibabaCloud::Codeup::Model::ListRepositoryTagsRequest;
|
||||||
|
|
||||||
|
ListRepositoryTagsRequest::ListRepositoryTagsRequest() :
|
||||||
|
RoaServiceRequest("codeup", "2020-04-14")
|
||||||
|
{
|
||||||
|
setResourcePath("/api/v4/projects/[ProjectId]/repository/tags");
|
||||||
|
setMethod(HttpRequest::Method::Get);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListRepositoryTagsRequest::~ListRepositoryTagsRequest()
|
||||||
|
{}
|
||||||
|
|
||||||
|
std::string ListRepositoryTagsRequest::getAccessToken()const
|
||||||
|
{
|
||||||
|
return accessToken_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListRepositoryTagsRequest::setAccessToken(const std::string& accessToken)
|
||||||
|
{
|
||||||
|
accessToken_ = accessToken;
|
||||||
|
setParameter("AccessToken", accessToken);
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ListRepositoryTagsRequest::getShowSignature()const
|
||||||
|
{
|
||||||
|
return showSignature_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListRepositoryTagsRequest::setShowSignature(bool showSignature)
|
||||||
|
{
|
||||||
|
showSignature_ = showSignature;
|
||||||
|
setParameter("ShowSignature", showSignature ? "true" : "false");
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ListRepositoryTagsRequest::getSort()const
|
||||||
|
{
|
||||||
|
return sort_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListRepositoryTagsRequest::setSort(const std::string& sort)
|
||||||
|
{
|
||||||
|
sort_ = sort;
|
||||||
|
setParameter("Sort", sort);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ListRepositoryTagsRequest::getOrganizationId()const
|
||||||
|
{
|
||||||
|
return organizationId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListRepositoryTagsRequest::setOrganizationId(const std::string& organizationId)
|
||||||
|
{
|
||||||
|
organizationId_ = organizationId;
|
||||||
|
setParameter("OrganizationId", organizationId);
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ListRepositoryTagsRequest::getSearch()const
|
||||||
|
{
|
||||||
|
return search_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListRepositoryTagsRequest::setSearch(const std::string& search)
|
||||||
|
{
|
||||||
|
search_ = search;
|
||||||
|
setParameter("Search", search);
|
||||||
|
}
|
||||||
|
|
||||||
|
long ListRepositoryTagsRequest::getPageSize()const
|
||||||
|
{
|
||||||
|
return pageSize_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListRepositoryTagsRequest::setPageSize(long pageSize)
|
||||||
|
{
|
||||||
|
pageSize_ = pageSize;
|
||||||
|
setParameter("PageSize", std::to_string(pageSize));
|
||||||
|
}
|
||||||
|
|
||||||
|
long ListRepositoryTagsRequest::getPage()const
|
||||||
|
{
|
||||||
|
return page_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListRepositoryTagsRequest::setPage(long page)
|
||||||
|
{
|
||||||
|
page_ = page;
|
||||||
|
setParameter("Page", std::to_string(page));
|
||||||
|
}
|
||||||
|
|
||||||
|
long ListRepositoryTagsRequest::getProjectId()const
|
||||||
|
{
|
||||||
|
return projectId_;
|
||||||
|
}
|
||||||
|
|
||||||
|
void ListRepositoryTagsRequest::setProjectId(long projectId)
|
||||||
|
{
|
||||||
|
projectId_ = projectId;
|
||||||
|
setParameter("ProjectId", std::to_string(projectId));
|
||||||
|
}
|
||||||
|
|
||||||
125
codeup/src/model/ListRepositoryTagsResult.cc
Normal file
125
codeup/src/model/ListRepositoryTagsResult.cc
Normal file
@@ -0,0 +1,125 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <alibabacloud/codeup/model/ListRepositoryTagsResult.h>
|
||||||
|
#include <json/json.h>
|
||||||
|
|
||||||
|
using namespace AlibabaCloud::Codeup;
|
||||||
|
using namespace AlibabaCloud::Codeup::Model;
|
||||||
|
|
||||||
|
ListRepositoryTagsResult::ListRepositoryTagsResult() :
|
||||||
|
ServiceResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
ListRepositoryTagsResult::ListRepositoryTagsResult(const std::string &payload) :
|
||||||
|
ServiceResult()
|
||||||
|
{
|
||||||
|
parse(payload);
|
||||||
|
}
|
||||||
|
|
||||||
|
ListRepositoryTagsResult::~ListRepositoryTagsResult()
|
||||||
|
{}
|
||||||
|
|
||||||
|
void ListRepositoryTagsResult::parse(const std::string &payload)
|
||||||
|
{
|
||||||
|
Json::Reader reader;
|
||||||
|
Json::Value value;
|
||||||
|
reader.parse(payload, value);
|
||||||
|
setRequestId(value["RequestId"].asString());
|
||||||
|
auto allResultNode = value["Result"]["ResultItem"];
|
||||||
|
for (auto valueResultResultItem : allResultNode)
|
||||||
|
{
|
||||||
|
ResultItem resultObject;
|
||||||
|
if(!valueResultResultItem["Id"].isNull())
|
||||||
|
resultObject.id = valueResultResultItem["Id"].asString();
|
||||||
|
if(!valueResultResultItem["Name"].isNull())
|
||||||
|
resultObject.name = valueResultResultItem["Name"].asString();
|
||||||
|
if(!valueResultResultItem["Message"].isNull())
|
||||||
|
resultObject.message = valueResultResultItem["Message"].asString();
|
||||||
|
auto commitNode = value["Commit"];
|
||||||
|
if(!commitNode["Id"].isNull())
|
||||||
|
resultObject.commit.id = commitNode["Id"].asString();
|
||||||
|
if(!commitNode["ShortId"].isNull())
|
||||||
|
resultObject.commit.shortId = commitNode["ShortId"].asString();
|
||||||
|
if(!commitNode["Title"].isNull())
|
||||||
|
resultObject.commit.title = commitNode["Title"].asString();
|
||||||
|
if(!commitNode["AuthorName"].isNull())
|
||||||
|
resultObject.commit.authorName = commitNode["AuthorName"].asString();
|
||||||
|
if(!commitNode["AuthorEmail"].isNull())
|
||||||
|
resultObject.commit.authorEmail = commitNode["AuthorEmail"].asString();
|
||||||
|
if(!commitNode["CreatedAt"].isNull())
|
||||||
|
resultObject.commit.createdAt = commitNode["CreatedAt"].asString();
|
||||||
|
if(!commitNode["Message"].isNull())
|
||||||
|
resultObject.commit.message = commitNode["Message"].asString();
|
||||||
|
if(!commitNode["AuthoredDate"].isNull())
|
||||||
|
resultObject.commit.authoredDate = commitNode["AuthoredDate"].asString();
|
||||||
|
if(!commitNode["CommittedDate"].isNull())
|
||||||
|
resultObject.commit.committedDate = commitNode["CommittedDate"].asString();
|
||||||
|
if(!commitNode["CommitterEmail"].isNull())
|
||||||
|
resultObject.commit.committerEmail = commitNode["CommitterEmail"].asString();
|
||||||
|
if(!commitNode["CommitterName"].isNull())
|
||||||
|
resultObject.commit.committerName = commitNode["CommitterName"].asString();
|
||||||
|
auto signature1Node = commitNode["Signature"];
|
||||||
|
if(!signature1Node["GpgKeyId"].isNull())
|
||||||
|
resultObject.commit.signature1.gpgKeyId = signature1Node["GpgKeyId"].asString();
|
||||||
|
if(!signature1Node["VerificationStatus"].isNull())
|
||||||
|
resultObject.commit.signature1.verificationStatus = signature1Node["VerificationStatus"].asString();
|
||||||
|
auto allParentIds = commitNode["ParentIds"]["ParentIds"];
|
||||||
|
for (auto value : allParentIds)
|
||||||
|
resultObject.commit.parentIds.push_back(value.asString());
|
||||||
|
auto signatureNode = value["Signature"];
|
||||||
|
if(!signatureNode["GpgKeyId"].isNull())
|
||||||
|
resultObject.signature.gpgKeyId = signatureNode["GpgKeyId"].asString();
|
||||||
|
if(!signatureNode["VerificationStatus"].isNull())
|
||||||
|
resultObject.signature.verificationStatus = signatureNode["VerificationStatus"].asString();
|
||||||
|
result_.push_back(resultObject);
|
||||||
|
}
|
||||||
|
if(!value["ErrorCode"].isNull())
|
||||||
|
errorCode_ = value["ErrorCode"].asString();
|
||||||
|
if(!value["Success"].isNull())
|
||||||
|
success_ = value["Success"].asString() == "true";
|
||||||
|
if(!value["ErrorMessage"].isNull())
|
||||||
|
errorMessage_ = value["ErrorMessage"].asString();
|
||||||
|
if(!value["Total"].isNull())
|
||||||
|
total_ = std::stol(value["Total"].asString());
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
long ListRepositoryTagsResult::getTotal()const
|
||||||
|
{
|
||||||
|
return total_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ListRepositoryTagsResult::getErrorCode()const
|
||||||
|
{
|
||||||
|
return errorCode_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::string ListRepositoryTagsResult::getErrorMessage()const
|
||||||
|
{
|
||||||
|
return errorMessage_;
|
||||||
|
}
|
||||||
|
|
||||||
|
bool ListRepositoryTagsResult::getSuccess()const
|
||||||
|
{
|
||||||
|
return success_;
|
||||||
|
}
|
||||||
|
|
||||||
|
std::vector<ListRepositoryTagsResult::ResultItem> ListRepositoryTagsResult::getResult()const
|
||||||
|
{
|
||||||
|
return result_;
|
||||||
|
}
|
||||||
|
|
||||||
646
ddoscoo/CMakeLists.txt
Normal file
646
ddoscoo/CMakeLists.txt
Normal file
@@ -0,0 +1,646 @@
|
|||||||
|
#
|
||||||
|
# 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||||
|
|
||||||
|
set(ddoscoo_public_header
|
||||||
|
include/alibabacloud/ddoscoo/DdoscooClient.h
|
||||||
|
include/alibabacloud/ddoscoo/DdoscooExport.h )
|
||||||
|
|
||||||
|
set(ddoscoo_public_header_model
|
||||||
|
include/alibabacloud/ddoscoo/model/AddAutoCcBlacklistRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/AddAutoCcBlacklistResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/AddAutoCcWhitelistRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/AddAutoCcWhitelistResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/AssociateWebCertRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/AssociateWebCertResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/AttachSceneDefenseObjectRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/AttachSceneDefenseObjectResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ConfigNetworkRegionBlockRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ConfigNetworkRegionBlockResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ConfigNetworkRulesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ConfigNetworkRulesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ConfigWebCCTemplateRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ConfigWebCCTemplateResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ConfigWebIpSetRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ConfigWebIpSetResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateAsyncTaskRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateAsyncTaskResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateNetworkRulesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateNetworkRulesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateSceneDefensePolicyRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateSceneDefensePolicyResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateSchedulerRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateSchedulerRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateTagResourcesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateTagResourcesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateWebCCRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateWebCCRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateWebRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/CreateWebRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteAsyncTaskRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteAsyncTaskResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteAutoCcBlacklistRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteAutoCcBlacklistResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteAutoCcWhitelistRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteAutoCcWhitelistResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteNetworkRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteNetworkRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteSceneDefensePolicyRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteSceneDefensePolicyResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteSchedulerRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteSchedulerRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteTagResourcesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteTagResourcesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteWebCCRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteWebCCRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteWebCacheCustomRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteWebCacheCustomRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteWebPreciseAccessRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteWebPreciseAccessRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteWebRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DeleteWebRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeAsyncTasksRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeAsyncTasksResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeAutoCcBlacklistRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeAutoCcBlacklistResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeAutoCcListCountRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeAutoCcListCountResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeAutoCcWhitelistRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeAutoCcWhitelistResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeBackSourceCidrRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeBackSourceCidrResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeBlackholeStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeBlackholeStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeBlockStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeBlockStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeCertsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeCertsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeCnameReusesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeCnameReusesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDoSEventsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDoSEventsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosAllEventListRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosAllEventListResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventAreaRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventAreaResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventAttackTypeRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventAttackTypeResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventIspRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventIspResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventMaxRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventMaxResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventSrcIpRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDDosEventSrcIpResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDefenseCountStatisticsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDefenseCountStatisticsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDefenseRecordsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDefenseRecordsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainAttackEventsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainAttackEventsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainOverviewRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainOverviewResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainQPSListRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainQPSListResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainQpsWithCacheRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainQpsWithCacheResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainStatusCodeCountRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainStatusCodeCountResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainStatusCodeListRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainStatusCodeListResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainTopAttackListRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainTopAttackListResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainViewSourceCountriesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainViewSourceCountriesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainViewSourceProvincesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainViewSourceProvincesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainViewTopCostTimeRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainViewTopCostTimeResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainViewTopUrlRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainViewTopUrlResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeDomainsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeElasticBandwidthSpecRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeElasticBandwidthSpecResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeHealthCheckListRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeHealthCheckListResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeHealthCheckStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeHealthCheckStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstanceDetailsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstanceDetailsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstanceIdsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstanceIdsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstanceSpecsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstanceSpecsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstanceStatisticsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstanceStatisticsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstancesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeInstancesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeLogStoreExistStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeLogStoreExistStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeNetworkRegionBlockRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeNetworkRegionBlockResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeNetworkRuleAttributesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeNetworkRuleAttributesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeNetworkRulesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeNetworkRulesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeOpEntitiesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeOpEntitiesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortAttackMaxFlowRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortAttackMaxFlowResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortAutoCcStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortAutoCcStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortConnsCountRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortConnsCountResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortConnsListRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortConnsListResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortFlowListRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortFlowListResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortMaxConnsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortMaxConnsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortViewSourceCountriesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortViewSourceCountriesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortViewSourceIspsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortViewSourceIspsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortViewSourceProvincesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribePortViewSourceProvincesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSceneDefenseObjectsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSceneDefenseObjectsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSceneDefensePoliciesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSceneDefensePoliciesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSchedulerRulesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSchedulerRulesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSlsAuthStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSlsAuthStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSlsLogstoreInfoRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSlsLogstoreInfoResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSlsOpenStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeSlsOpenStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeStsGrantStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeStsGrantStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeTagKeysRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeTagKeysResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeTagResourcesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeTagResourcesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeUnBlackholeCountRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeUnBlackholeCountResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeUnBlockCountRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeUnBlockCountResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAccessLogDispatchStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAccessLogDispatchStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAccessLogEmptyCountRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAccessLogEmptyCountResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAccessLogStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAccessLogStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAccessModeRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAccessModeResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAreaBlockConfigsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebAreaBlockConfigsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebCCRulesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebCCRulesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebCacheConfigsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebCacheConfigsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebCcProtectSwitchRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebCcProtectSwitchResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebCustomPortsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebCustomPortsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebInstanceRelationsRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebInstanceRelationsResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebPreciseAccessRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebPreciseAccessRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebRulesRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DescribeWebRulesResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DetachSceneDefenseObjectRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DetachSceneDefenseObjectResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DisableSceneDefensePolicyRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DisableSceneDefensePolicyResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DisableWebAccessLogConfigRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DisableWebAccessLogConfigResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DisableWebCCRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DisableWebCCResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DisableWebCCRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/DisableWebCCRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EmptyAutoCcBlacklistRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EmptyAutoCcBlacklistResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EmptyAutoCcWhitelistRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EmptyAutoCcWhitelistResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EmptySlsLogstoreRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EmptySlsLogstoreResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EnableSceneDefensePolicyRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EnableSceneDefensePolicyResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EnableWebAccessLogConfigRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EnableWebAccessLogConfigResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EnableWebCCRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EnableWebCCResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EnableWebCCRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/EnableWebCCRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyBlackholeStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyBlackholeStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyBlockStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyBlockStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyCnameReuseRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyCnameReuseResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyElasticBandWidthRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyElasticBandWidthResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyFullLogTtlRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyFullLogTtlResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyHealthCheckConfigRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyHealthCheckConfigResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyHttp2EnableRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyHttp2EnableResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyInstanceRemarkRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyInstanceRemarkResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyNetworkRuleAttributeRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyNetworkRuleAttributeResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyPortAutoCcStatusRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyPortAutoCcStatusResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifySceneDefensePolicyRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifySceneDefensePolicyResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifySchedulerRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifySchedulerRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyTlsConfigRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyTlsConfigResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAIProtectModeRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAIProtectModeResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAIProtectSwitchRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAIProtectSwitchResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAccessModeRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAccessModeResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAreaBlockRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAreaBlockResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAreaBlockSwitchRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebAreaBlockSwitchResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebCCRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebCCRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebCacheCustomRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebCacheCustomRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebCacheModeRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebCacheModeResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebCacheSwitchRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebCacheSwitchResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebIpSetSwitchRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebIpSetSwitchResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebPreciseAccessRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebPreciseAccessRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebPreciseAccessSwitchRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebPreciseAccessSwitchResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ModifyWebRuleResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ReleaseInstanceRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/ReleaseInstanceResult.h
|
||||||
|
include/alibabacloud/ddoscoo/model/SwitchSchedulerRuleRequest.h
|
||||||
|
include/alibabacloud/ddoscoo/model/SwitchSchedulerRuleResult.h )
|
||||||
|
|
||||||
|
set(ddoscoo_src
|
||||||
|
src/DdoscooClient.cc
|
||||||
|
src/model/AddAutoCcBlacklistRequest.cc
|
||||||
|
src/model/AddAutoCcBlacklistResult.cc
|
||||||
|
src/model/AddAutoCcWhitelistRequest.cc
|
||||||
|
src/model/AddAutoCcWhitelistResult.cc
|
||||||
|
src/model/AssociateWebCertRequest.cc
|
||||||
|
src/model/AssociateWebCertResult.cc
|
||||||
|
src/model/AttachSceneDefenseObjectRequest.cc
|
||||||
|
src/model/AttachSceneDefenseObjectResult.cc
|
||||||
|
src/model/ConfigNetworkRegionBlockRequest.cc
|
||||||
|
src/model/ConfigNetworkRegionBlockResult.cc
|
||||||
|
src/model/ConfigNetworkRulesRequest.cc
|
||||||
|
src/model/ConfigNetworkRulesResult.cc
|
||||||
|
src/model/ConfigWebCCTemplateRequest.cc
|
||||||
|
src/model/ConfigWebCCTemplateResult.cc
|
||||||
|
src/model/ConfigWebIpSetRequest.cc
|
||||||
|
src/model/ConfigWebIpSetResult.cc
|
||||||
|
src/model/CreateAsyncTaskRequest.cc
|
||||||
|
src/model/CreateAsyncTaskResult.cc
|
||||||
|
src/model/CreateNetworkRulesRequest.cc
|
||||||
|
src/model/CreateNetworkRulesResult.cc
|
||||||
|
src/model/CreateSceneDefensePolicyRequest.cc
|
||||||
|
src/model/CreateSceneDefensePolicyResult.cc
|
||||||
|
src/model/CreateSchedulerRuleRequest.cc
|
||||||
|
src/model/CreateSchedulerRuleResult.cc
|
||||||
|
src/model/CreateTagResourcesRequest.cc
|
||||||
|
src/model/CreateTagResourcesResult.cc
|
||||||
|
src/model/CreateWebCCRuleRequest.cc
|
||||||
|
src/model/CreateWebCCRuleResult.cc
|
||||||
|
src/model/CreateWebRuleRequest.cc
|
||||||
|
src/model/CreateWebRuleResult.cc
|
||||||
|
src/model/DeleteAsyncTaskRequest.cc
|
||||||
|
src/model/DeleteAsyncTaskResult.cc
|
||||||
|
src/model/DeleteAutoCcBlacklistRequest.cc
|
||||||
|
src/model/DeleteAutoCcBlacklistResult.cc
|
||||||
|
src/model/DeleteAutoCcWhitelistRequest.cc
|
||||||
|
src/model/DeleteAutoCcWhitelistResult.cc
|
||||||
|
src/model/DeleteNetworkRuleRequest.cc
|
||||||
|
src/model/DeleteNetworkRuleResult.cc
|
||||||
|
src/model/DeleteSceneDefensePolicyRequest.cc
|
||||||
|
src/model/DeleteSceneDefensePolicyResult.cc
|
||||||
|
src/model/DeleteSchedulerRuleRequest.cc
|
||||||
|
src/model/DeleteSchedulerRuleResult.cc
|
||||||
|
src/model/DeleteTagResourcesRequest.cc
|
||||||
|
src/model/DeleteTagResourcesResult.cc
|
||||||
|
src/model/DeleteWebCCRuleRequest.cc
|
||||||
|
src/model/DeleteWebCCRuleResult.cc
|
||||||
|
src/model/DeleteWebCacheCustomRuleRequest.cc
|
||||||
|
src/model/DeleteWebCacheCustomRuleResult.cc
|
||||||
|
src/model/DeleteWebPreciseAccessRuleRequest.cc
|
||||||
|
src/model/DeleteWebPreciseAccessRuleResult.cc
|
||||||
|
src/model/DeleteWebRuleRequest.cc
|
||||||
|
src/model/DeleteWebRuleResult.cc
|
||||||
|
src/model/DescribeAsyncTasksRequest.cc
|
||||||
|
src/model/DescribeAsyncTasksResult.cc
|
||||||
|
src/model/DescribeAutoCcBlacklistRequest.cc
|
||||||
|
src/model/DescribeAutoCcBlacklistResult.cc
|
||||||
|
src/model/DescribeAutoCcListCountRequest.cc
|
||||||
|
src/model/DescribeAutoCcListCountResult.cc
|
||||||
|
src/model/DescribeAutoCcWhitelistRequest.cc
|
||||||
|
src/model/DescribeAutoCcWhitelistResult.cc
|
||||||
|
src/model/DescribeBackSourceCidrRequest.cc
|
||||||
|
src/model/DescribeBackSourceCidrResult.cc
|
||||||
|
src/model/DescribeBlackholeStatusRequest.cc
|
||||||
|
src/model/DescribeBlackholeStatusResult.cc
|
||||||
|
src/model/DescribeBlockStatusRequest.cc
|
||||||
|
src/model/DescribeBlockStatusResult.cc
|
||||||
|
src/model/DescribeCertsRequest.cc
|
||||||
|
src/model/DescribeCertsResult.cc
|
||||||
|
src/model/DescribeCnameReusesRequest.cc
|
||||||
|
src/model/DescribeCnameReusesResult.cc
|
||||||
|
src/model/DescribeDDoSEventsRequest.cc
|
||||||
|
src/model/DescribeDDoSEventsResult.cc
|
||||||
|
src/model/DescribeDDosAllEventListRequest.cc
|
||||||
|
src/model/DescribeDDosAllEventListResult.cc
|
||||||
|
src/model/DescribeDDosEventAreaRequest.cc
|
||||||
|
src/model/DescribeDDosEventAreaResult.cc
|
||||||
|
src/model/DescribeDDosEventAttackTypeRequest.cc
|
||||||
|
src/model/DescribeDDosEventAttackTypeResult.cc
|
||||||
|
src/model/DescribeDDosEventIspRequest.cc
|
||||||
|
src/model/DescribeDDosEventIspResult.cc
|
||||||
|
src/model/DescribeDDosEventMaxRequest.cc
|
||||||
|
src/model/DescribeDDosEventMaxResult.cc
|
||||||
|
src/model/DescribeDDosEventSrcIpRequest.cc
|
||||||
|
src/model/DescribeDDosEventSrcIpResult.cc
|
||||||
|
src/model/DescribeDefenseCountStatisticsRequest.cc
|
||||||
|
src/model/DescribeDefenseCountStatisticsResult.cc
|
||||||
|
src/model/DescribeDefenseRecordsRequest.cc
|
||||||
|
src/model/DescribeDefenseRecordsResult.cc
|
||||||
|
src/model/DescribeDomainAttackEventsRequest.cc
|
||||||
|
src/model/DescribeDomainAttackEventsResult.cc
|
||||||
|
src/model/DescribeDomainOverviewRequest.cc
|
||||||
|
src/model/DescribeDomainOverviewResult.cc
|
||||||
|
src/model/DescribeDomainQPSListRequest.cc
|
||||||
|
src/model/DescribeDomainQPSListResult.cc
|
||||||
|
src/model/DescribeDomainQpsWithCacheRequest.cc
|
||||||
|
src/model/DescribeDomainQpsWithCacheResult.cc
|
||||||
|
src/model/DescribeDomainStatusCodeCountRequest.cc
|
||||||
|
src/model/DescribeDomainStatusCodeCountResult.cc
|
||||||
|
src/model/DescribeDomainStatusCodeListRequest.cc
|
||||||
|
src/model/DescribeDomainStatusCodeListResult.cc
|
||||||
|
src/model/DescribeDomainTopAttackListRequest.cc
|
||||||
|
src/model/DescribeDomainTopAttackListResult.cc
|
||||||
|
src/model/DescribeDomainViewSourceCountriesRequest.cc
|
||||||
|
src/model/DescribeDomainViewSourceCountriesResult.cc
|
||||||
|
src/model/DescribeDomainViewSourceProvincesRequest.cc
|
||||||
|
src/model/DescribeDomainViewSourceProvincesResult.cc
|
||||||
|
src/model/DescribeDomainViewTopCostTimeRequest.cc
|
||||||
|
src/model/DescribeDomainViewTopCostTimeResult.cc
|
||||||
|
src/model/DescribeDomainViewTopUrlRequest.cc
|
||||||
|
src/model/DescribeDomainViewTopUrlResult.cc
|
||||||
|
src/model/DescribeDomainsRequest.cc
|
||||||
|
src/model/DescribeDomainsResult.cc
|
||||||
|
src/model/DescribeElasticBandwidthSpecRequest.cc
|
||||||
|
src/model/DescribeElasticBandwidthSpecResult.cc
|
||||||
|
src/model/DescribeHealthCheckListRequest.cc
|
||||||
|
src/model/DescribeHealthCheckListResult.cc
|
||||||
|
src/model/DescribeHealthCheckStatusRequest.cc
|
||||||
|
src/model/DescribeHealthCheckStatusResult.cc
|
||||||
|
src/model/DescribeInstanceDetailsRequest.cc
|
||||||
|
src/model/DescribeInstanceDetailsResult.cc
|
||||||
|
src/model/DescribeInstanceIdsRequest.cc
|
||||||
|
src/model/DescribeInstanceIdsResult.cc
|
||||||
|
src/model/DescribeInstanceSpecsRequest.cc
|
||||||
|
src/model/DescribeInstanceSpecsResult.cc
|
||||||
|
src/model/DescribeInstanceStatisticsRequest.cc
|
||||||
|
src/model/DescribeInstanceStatisticsResult.cc
|
||||||
|
src/model/DescribeInstancesRequest.cc
|
||||||
|
src/model/DescribeInstancesResult.cc
|
||||||
|
src/model/DescribeLogStoreExistStatusRequest.cc
|
||||||
|
src/model/DescribeLogStoreExistStatusResult.cc
|
||||||
|
src/model/DescribeNetworkRegionBlockRequest.cc
|
||||||
|
src/model/DescribeNetworkRegionBlockResult.cc
|
||||||
|
src/model/DescribeNetworkRuleAttributesRequest.cc
|
||||||
|
src/model/DescribeNetworkRuleAttributesResult.cc
|
||||||
|
src/model/DescribeNetworkRulesRequest.cc
|
||||||
|
src/model/DescribeNetworkRulesResult.cc
|
||||||
|
src/model/DescribeOpEntitiesRequest.cc
|
||||||
|
src/model/DescribeOpEntitiesResult.cc
|
||||||
|
src/model/DescribePortAttackMaxFlowRequest.cc
|
||||||
|
src/model/DescribePortAttackMaxFlowResult.cc
|
||||||
|
src/model/DescribePortAutoCcStatusRequest.cc
|
||||||
|
src/model/DescribePortAutoCcStatusResult.cc
|
||||||
|
src/model/DescribePortConnsCountRequest.cc
|
||||||
|
src/model/DescribePortConnsCountResult.cc
|
||||||
|
src/model/DescribePortConnsListRequest.cc
|
||||||
|
src/model/DescribePortConnsListResult.cc
|
||||||
|
src/model/DescribePortFlowListRequest.cc
|
||||||
|
src/model/DescribePortFlowListResult.cc
|
||||||
|
src/model/DescribePortMaxConnsRequest.cc
|
||||||
|
src/model/DescribePortMaxConnsResult.cc
|
||||||
|
src/model/DescribePortViewSourceCountriesRequest.cc
|
||||||
|
src/model/DescribePortViewSourceCountriesResult.cc
|
||||||
|
src/model/DescribePortViewSourceIspsRequest.cc
|
||||||
|
src/model/DescribePortViewSourceIspsResult.cc
|
||||||
|
src/model/DescribePortViewSourceProvincesRequest.cc
|
||||||
|
src/model/DescribePortViewSourceProvincesResult.cc
|
||||||
|
src/model/DescribeSceneDefenseObjectsRequest.cc
|
||||||
|
src/model/DescribeSceneDefenseObjectsResult.cc
|
||||||
|
src/model/DescribeSceneDefensePoliciesRequest.cc
|
||||||
|
src/model/DescribeSceneDefensePoliciesResult.cc
|
||||||
|
src/model/DescribeSchedulerRulesRequest.cc
|
||||||
|
src/model/DescribeSchedulerRulesResult.cc
|
||||||
|
src/model/DescribeSlsAuthStatusRequest.cc
|
||||||
|
src/model/DescribeSlsAuthStatusResult.cc
|
||||||
|
src/model/DescribeSlsLogstoreInfoRequest.cc
|
||||||
|
src/model/DescribeSlsLogstoreInfoResult.cc
|
||||||
|
src/model/DescribeSlsOpenStatusRequest.cc
|
||||||
|
src/model/DescribeSlsOpenStatusResult.cc
|
||||||
|
src/model/DescribeStsGrantStatusRequest.cc
|
||||||
|
src/model/DescribeStsGrantStatusResult.cc
|
||||||
|
src/model/DescribeTagKeysRequest.cc
|
||||||
|
src/model/DescribeTagKeysResult.cc
|
||||||
|
src/model/DescribeTagResourcesRequest.cc
|
||||||
|
src/model/DescribeTagResourcesResult.cc
|
||||||
|
src/model/DescribeUnBlackholeCountRequest.cc
|
||||||
|
src/model/DescribeUnBlackholeCountResult.cc
|
||||||
|
src/model/DescribeUnBlockCountRequest.cc
|
||||||
|
src/model/DescribeUnBlockCountResult.cc
|
||||||
|
src/model/DescribeWebAccessLogDispatchStatusRequest.cc
|
||||||
|
src/model/DescribeWebAccessLogDispatchStatusResult.cc
|
||||||
|
src/model/DescribeWebAccessLogEmptyCountRequest.cc
|
||||||
|
src/model/DescribeWebAccessLogEmptyCountResult.cc
|
||||||
|
src/model/DescribeWebAccessLogStatusRequest.cc
|
||||||
|
src/model/DescribeWebAccessLogStatusResult.cc
|
||||||
|
src/model/DescribeWebAccessModeRequest.cc
|
||||||
|
src/model/DescribeWebAccessModeResult.cc
|
||||||
|
src/model/DescribeWebAreaBlockConfigsRequest.cc
|
||||||
|
src/model/DescribeWebAreaBlockConfigsResult.cc
|
||||||
|
src/model/DescribeWebCCRulesRequest.cc
|
||||||
|
src/model/DescribeWebCCRulesResult.cc
|
||||||
|
src/model/DescribeWebCacheConfigsRequest.cc
|
||||||
|
src/model/DescribeWebCacheConfigsResult.cc
|
||||||
|
src/model/DescribeWebCcProtectSwitchRequest.cc
|
||||||
|
src/model/DescribeWebCcProtectSwitchResult.cc
|
||||||
|
src/model/DescribeWebCustomPortsRequest.cc
|
||||||
|
src/model/DescribeWebCustomPortsResult.cc
|
||||||
|
src/model/DescribeWebInstanceRelationsRequest.cc
|
||||||
|
src/model/DescribeWebInstanceRelationsResult.cc
|
||||||
|
src/model/DescribeWebPreciseAccessRuleRequest.cc
|
||||||
|
src/model/DescribeWebPreciseAccessRuleResult.cc
|
||||||
|
src/model/DescribeWebRulesRequest.cc
|
||||||
|
src/model/DescribeWebRulesResult.cc
|
||||||
|
src/model/DetachSceneDefenseObjectRequest.cc
|
||||||
|
src/model/DetachSceneDefenseObjectResult.cc
|
||||||
|
src/model/DisableSceneDefensePolicyRequest.cc
|
||||||
|
src/model/DisableSceneDefensePolicyResult.cc
|
||||||
|
src/model/DisableWebAccessLogConfigRequest.cc
|
||||||
|
src/model/DisableWebAccessLogConfigResult.cc
|
||||||
|
src/model/DisableWebCCRequest.cc
|
||||||
|
src/model/DisableWebCCResult.cc
|
||||||
|
src/model/DisableWebCCRuleRequest.cc
|
||||||
|
src/model/DisableWebCCRuleResult.cc
|
||||||
|
src/model/EmptyAutoCcBlacklistRequest.cc
|
||||||
|
src/model/EmptyAutoCcBlacklistResult.cc
|
||||||
|
src/model/EmptyAutoCcWhitelistRequest.cc
|
||||||
|
src/model/EmptyAutoCcWhitelistResult.cc
|
||||||
|
src/model/EmptySlsLogstoreRequest.cc
|
||||||
|
src/model/EmptySlsLogstoreResult.cc
|
||||||
|
src/model/EnableSceneDefensePolicyRequest.cc
|
||||||
|
src/model/EnableSceneDefensePolicyResult.cc
|
||||||
|
src/model/EnableWebAccessLogConfigRequest.cc
|
||||||
|
src/model/EnableWebAccessLogConfigResult.cc
|
||||||
|
src/model/EnableWebCCRequest.cc
|
||||||
|
src/model/EnableWebCCResult.cc
|
||||||
|
src/model/EnableWebCCRuleRequest.cc
|
||||||
|
src/model/EnableWebCCRuleResult.cc
|
||||||
|
src/model/ModifyBlackholeStatusRequest.cc
|
||||||
|
src/model/ModifyBlackholeStatusResult.cc
|
||||||
|
src/model/ModifyBlockStatusRequest.cc
|
||||||
|
src/model/ModifyBlockStatusResult.cc
|
||||||
|
src/model/ModifyCnameReuseRequest.cc
|
||||||
|
src/model/ModifyCnameReuseResult.cc
|
||||||
|
src/model/ModifyElasticBandWidthRequest.cc
|
||||||
|
src/model/ModifyElasticBandWidthResult.cc
|
||||||
|
src/model/ModifyFullLogTtlRequest.cc
|
||||||
|
src/model/ModifyFullLogTtlResult.cc
|
||||||
|
src/model/ModifyHealthCheckConfigRequest.cc
|
||||||
|
src/model/ModifyHealthCheckConfigResult.cc
|
||||||
|
src/model/ModifyHttp2EnableRequest.cc
|
||||||
|
src/model/ModifyHttp2EnableResult.cc
|
||||||
|
src/model/ModifyInstanceRemarkRequest.cc
|
||||||
|
src/model/ModifyInstanceRemarkResult.cc
|
||||||
|
src/model/ModifyNetworkRuleAttributeRequest.cc
|
||||||
|
src/model/ModifyNetworkRuleAttributeResult.cc
|
||||||
|
src/model/ModifyPortAutoCcStatusRequest.cc
|
||||||
|
src/model/ModifyPortAutoCcStatusResult.cc
|
||||||
|
src/model/ModifySceneDefensePolicyRequest.cc
|
||||||
|
src/model/ModifySceneDefensePolicyResult.cc
|
||||||
|
src/model/ModifySchedulerRuleRequest.cc
|
||||||
|
src/model/ModifySchedulerRuleResult.cc
|
||||||
|
src/model/ModifyTlsConfigRequest.cc
|
||||||
|
src/model/ModifyTlsConfigResult.cc
|
||||||
|
src/model/ModifyWebAIProtectModeRequest.cc
|
||||||
|
src/model/ModifyWebAIProtectModeResult.cc
|
||||||
|
src/model/ModifyWebAIProtectSwitchRequest.cc
|
||||||
|
src/model/ModifyWebAIProtectSwitchResult.cc
|
||||||
|
src/model/ModifyWebAccessModeRequest.cc
|
||||||
|
src/model/ModifyWebAccessModeResult.cc
|
||||||
|
src/model/ModifyWebAreaBlockRequest.cc
|
||||||
|
src/model/ModifyWebAreaBlockResult.cc
|
||||||
|
src/model/ModifyWebAreaBlockSwitchRequest.cc
|
||||||
|
src/model/ModifyWebAreaBlockSwitchResult.cc
|
||||||
|
src/model/ModifyWebCCRuleRequest.cc
|
||||||
|
src/model/ModifyWebCCRuleResult.cc
|
||||||
|
src/model/ModifyWebCacheCustomRuleRequest.cc
|
||||||
|
src/model/ModifyWebCacheCustomRuleResult.cc
|
||||||
|
src/model/ModifyWebCacheModeRequest.cc
|
||||||
|
src/model/ModifyWebCacheModeResult.cc
|
||||||
|
src/model/ModifyWebCacheSwitchRequest.cc
|
||||||
|
src/model/ModifyWebCacheSwitchResult.cc
|
||||||
|
src/model/ModifyWebIpSetSwitchRequest.cc
|
||||||
|
src/model/ModifyWebIpSetSwitchResult.cc
|
||||||
|
src/model/ModifyWebPreciseAccessRuleRequest.cc
|
||||||
|
src/model/ModifyWebPreciseAccessRuleResult.cc
|
||||||
|
src/model/ModifyWebPreciseAccessSwitchRequest.cc
|
||||||
|
src/model/ModifyWebPreciseAccessSwitchResult.cc
|
||||||
|
src/model/ModifyWebRuleRequest.cc
|
||||||
|
src/model/ModifyWebRuleResult.cc
|
||||||
|
src/model/ReleaseInstanceRequest.cc
|
||||||
|
src/model/ReleaseInstanceResult.cc
|
||||||
|
src/model/SwitchSchedulerRuleRequest.cc
|
||||||
|
src/model/SwitchSchedulerRuleResult.cc )
|
||||||
|
|
||||||
|
add_library(ddoscoo ${LIB_TYPE}
|
||||||
|
${ddoscoo_public_header}
|
||||||
|
${ddoscoo_public_header_model}
|
||||||
|
${ddoscoo_src})
|
||||||
|
|
||||||
|
set_target_properties(ddoscoo
|
||||||
|
PROPERTIES
|
||||||
|
LINKER_LANGUAGE CXX
|
||||||
|
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||||
|
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||||
|
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||||
|
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}ddoscoo
|
||||||
|
)
|
||||||
|
|
||||||
|
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||||
|
set_target_properties(ddoscoo
|
||||||
|
PROPERTIES
|
||||||
|
DEFINE_SYMBOL ALIBABACLOUD_DDOSCOO_LIBRARY)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
target_include_directories(ddoscoo
|
||||||
|
PRIVATE include
|
||||||
|
${CMAKE_SOURCE_DIR}/core/include
|
||||||
|
)
|
||||||
|
target_link_libraries(ddoscoo
|
||||||
|
core)
|
||||||
|
|
||||||
|
if(CMAKE_HOST_WIN32)
|
||||||
|
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||||
|
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||||
|
add_dependencies(ddoscoo
|
||||||
|
jsoncpp)
|
||||||
|
target_include_directories(ddoscoo
|
||||||
|
PRIVATE ${jsoncpp_install_dir}/include)
|
||||||
|
target_link_libraries(ddoscoo
|
||||||
|
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||||
|
set_target_properties(ddoscoo
|
||||||
|
PROPERTIES
|
||||||
|
COMPILE_OPTIONS "/bigobj")
|
||||||
|
else()
|
||||||
|
target_include_directories(ddoscoo
|
||||||
|
PRIVATE /usr/include/jsoncpp)
|
||||||
|
target_link_libraries(ddoscoo
|
||||||
|
jsoncpp)
|
||||||
|
endif()
|
||||||
|
|
||||||
|
install(FILES ${ddoscoo_public_header}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ddoscoo)
|
||||||
|
install(FILES ${ddoscoo_public_header_model}
|
||||||
|
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/ddoscoo/model)
|
||||||
|
install(TARGETS ddoscoo
|
||||||
|
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
)
|
||||||
1174
ddoscoo/include/alibabacloud/ddoscoo/DdoscooClient.h
Normal file
1174
ddoscoo/include/alibabacloud/ddoscoo/DdoscooClient.h
Normal file
File diff suppressed because it is too large
Load Diff
32
ddoscoo/include/alibabacloud/ddoscoo/DdoscooExport.h
Normal file
32
ddoscoo/include/alibabacloud/ddoscoo/DdoscooExport.h
Normal 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_DDOSCOO_DDOSCOOEXPORT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_DDOSCOOEXPORT_H_
|
||||||
|
|
||||||
|
#include <alibabacloud/core/Global.h>
|
||||||
|
|
||||||
|
#if defined(ALIBABACLOUD_SHARED)
|
||||||
|
# if defined(ALIBABACLOUD_DDOSCOO_LIBRARY)
|
||||||
|
# define ALIBABACLOUD_DDOSCOO_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||||
|
# else
|
||||||
|
# define ALIBABACLOUD_DDOSCOO_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||||
|
# endif
|
||||||
|
#else
|
||||||
|
# define ALIBABACLOUD_DDOSCOO_EXPORT
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_DDOSCOOEXPORT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_ADDAUTOCCBLACKLISTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_ADDAUTOCCBLACKLISTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT AddAutoCcBlacklistRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
AddAutoCcBlacklistRequest();
|
||||||
|
~AddAutoCcBlacklistRequest();
|
||||||
|
|
||||||
|
int getExpireTime()const;
|
||||||
|
void setExpireTime(int expireTime);
|
||||||
|
std::string getBlacklist()const;
|
||||||
|
void setBlacklist(const std::string& blacklist);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int expireTime_;
|
||||||
|
std::string blacklist_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_ADDAUTOCCBLACKLISTREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_ADDAUTOCCBLACKLISTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_ADDAUTOCCBLACKLISTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT AddAutoCcBlacklistResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
AddAutoCcBlacklistResult();
|
||||||
|
explicit AddAutoCcBlacklistResult(const std::string &payload);
|
||||||
|
~AddAutoCcBlacklistResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_ADDAUTOCCBLACKLISTRESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_ADDAUTOCCWHITELISTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_ADDAUTOCCWHITELISTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT AddAutoCcWhitelistRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
AddAutoCcWhitelistRequest();
|
||||||
|
~AddAutoCcWhitelistRequest();
|
||||||
|
|
||||||
|
int getExpireTime()const;
|
||||||
|
void setExpireTime(int expireTime);
|
||||||
|
std::string getWhitelist()const;
|
||||||
|
void setWhitelist(const std::string& whitelist);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int expireTime_;
|
||||||
|
std::string whitelist_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_ADDAUTOCCWHITELISTREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_ADDAUTOCCWHITELISTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_ADDAUTOCCWHITELISTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT AddAutoCcWhitelistResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
AddAutoCcWhitelistResult();
|
||||||
|
explicit AddAutoCcWhitelistResult(const std::string &payload);
|
||||||
|
~AddAutoCcWhitelistResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_ADDAUTOCCWHITELISTRESULT_H_
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_ASSOCIATEWEBCERTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_ASSOCIATEWEBCERTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT AssociateWebCertRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
AssociateWebCertRequest();
|
||||||
|
~AssociateWebCertRequest();
|
||||||
|
|
||||||
|
std::string getCert()const;
|
||||||
|
void setCert(const std::string& cert);
|
||||||
|
int getCertId()const;
|
||||||
|
void setCertId(int certId);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getKey()const;
|
||||||
|
void setKey(const std::string& key);
|
||||||
|
std::string getCertName()const;
|
||||||
|
void setCertName(const std::string& certName);
|
||||||
|
std::string getDomain()const;
|
||||||
|
void setDomain(const std::string& domain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string cert_;
|
||||||
|
int certId_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string key_;
|
||||||
|
std::string certName_;
|
||||||
|
std::string domain_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_ASSOCIATEWEBCERTREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_ASSOCIATEWEBCERTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_ASSOCIATEWEBCERTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT AssociateWebCertResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
AssociateWebCertResult();
|
||||||
|
explicit AssociateWebCertResult(const std::string &payload);
|
||||||
|
~AssociateWebCertResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_ASSOCIATEWEBCERTRESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_ATTACHSCENEDEFENSEOBJECTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_ATTACHSCENEDEFENSEOBJECTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT AttachSceneDefenseObjectRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
AttachSceneDefenseObjectRequest();
|
||||||
|
~AttachSceneDefenseObjectRequest();
|
||||||
|
|
||||||
|
std::string getObjects()const;
|
||||||
|
void setObjects(const std::string& objects);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getPolicyId()const;
|
||||||
|
void setPolicyId(const std::string& policyId);
|
||||||
|
std::string getObjectType()const;
|
||||||
|
void setObjectType(const std::string& objectType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string objects_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string policyId_;
|
||||||
|
std::string objectType_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_ATTACHSCENEDEFENSEOBJECTREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_ATTACHSCENEDEFENSEOBJECTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_ATTACHSCENEDEFENSEOBJECTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT AttachSceneDefenseObjectResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
AttachSceneDefenseObjectResult();
|
||||||
|
explicit AttachSceneDefenseObjectResult(const std::string &payload);
|
||||||
|
~AttachSceneDefenseObjectResult();
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_ATTACHSCENEDEFENSEOBJECTRESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CONFIGNETWORKREGIONBLOCKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CONFIGNETWORKREGIONBLOCKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT ConfigNetworkRegionBlockRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ConfigNetworkRegionBlockRequest();
|
||||||
|
~ConfigNetworkRegionBlockRequest();
|
||||||
|
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getConfig()const;
|
||||||
|
void setConfig(const std::string& config);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string config_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CONFIGNETWORKREGIONBLOCKREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CONFIGNETWORKREGIONBLOCKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CONFIGNETWORKREGIONBLOCKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT ConfigNetworkRegionBlockResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ConfigNetworkRegionBlockResult();
|
||||||
|
explicit ConfigNetworkRegionBlockResult(const std::string &payload);
|
||||||
|
~ConfigNetworkRegionBlockResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CONFIGNETWORKREGIONBLOCKRESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CONFIGNETWORKRULESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CONFIGNETWORKRULESREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT ConfigNetworkRulesRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ConfigNetworkRulesRequest();
|
||||||
|
~ConfigNetworkRulesRequest();
|
||||||
|
|
||||||
|
std::string getNetworkRules()const;
|
||||||
|
void setNetworkRules(const std::string& networkRules);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string networkRules_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CONFIGNETWORKRULESREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CONFIGNETWORKRULESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CONFIGNETWORKRULESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT ConfigNetworkRulesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ConfigNetworkRulesResult();
|
||||||
|
explicit ConfigNetworkRulesResult(const std::string &payload);
|
||||||
|
~ConfigNetworkRulesResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CONFIGNETWORKRULESRESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CONFIGWEBCCTEMPLATEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CONFIGWEBCCTEMPLATEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT ConfigWebCCTemplateRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ConfigWebCCTemplateRequest();
|
||||||
|
~ConfigWebCCTemplateRequest();
|
||||||
|
|
||||||
|
std::string get_Template()const;
|
||||||
|
void set_Template(const std::string& _template);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getDomain()const;
|
||||||
|
void setDomain(const std::string& domain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string _template_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string domain_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CONFIGWEBCCTEMPLATEREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CONFIGWEBCCTEMPLATERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CONFIGWEBCCTEMPLATERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT ConfigWebCCTemplateResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ConfigWebCCTemplateResult();
|
||||||
|
explicit ConfigWebCCTemplateResult(const std::string &payload);
|
||||||
|
~ConfigWebCCTemplateResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CONFIGWEBCCTEMPLATERESULT_H_
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CONFIGWEBIPSETREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CONFIGWEBIPSETREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT ConfigWebIpSetRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
ConfigWebIpSetRequest();
|
||||||
|
~ConfigWebIpSetRequest();
|
||||||
|
|
||||||
|
std::vector<std::string> getBlackList()const;
|
||||||
|
void setBlackList(const std::vector<std::string>& blackList);
|
||||||
|
std::vector<std::string> getWhiteList()const;
|
||||||
|
void setWhiteList(const std::vector<std::string>& whiteList);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getDomain()const;
|
||||||
|
void setDomain(const std::string& domain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::vector<std::string> blackList_;
|
||||||
|
std::vector<std::string> whiteList_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string domain_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CONFIGWEBIPSETREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CONFIGWEBIPSETRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CONFIGWEBIPSETRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT ConfigWebIpSetResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
ConfigWebIpSetResult();
|
||||||
|
explicit ConfigWebIpSetResult(const std::string &payload);
|
||||||
|
~ConfigWebIpSetResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CONFIGWEBIPSETRESULT_H_
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATEASYNCTASKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATEASYNCTASKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateAsyncTaskRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateAsyncTaskRequest();
|
||||||
|
~CreateAsyncTaskRequest();
|
||||||
|
|
||||||
|
int getTaskType()const;
|
||||||
|
void setTaskType(int taskType);
|
||||||
|
std::string getTaskParams()const;
|
||||||
|
void setTaskParams(const std::string& taskParams);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
|
||||||
|
private:
|
||||||
|
int taskType_;
|
||||||
|
std::string taskParams_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string lang_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATEASYNCTASKREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CREATEASYNCTASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATEASYNCTASKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateAsyncTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateAsyncTaskResult();
|
||||||
|
explicit CreateAsyncTaskResult(const std::string &payload);
|
||||||
|
~CreateAsyncTaskResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATEASYNCTASKRESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATENETWORKRULESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATENETWORKRULESREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateNetworkRulesRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateNetworkRulesRequest();
|
||||||
|
~CreateNetworkRulesRequest();
|
||||||
|
|
||||||
|
std::string getNetworkRules()const;
|
||||||
|
void setNetworkRules(const std::string& networkRules);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string networkRules_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATENETWORKRULESREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CREATENETWORKRULESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATENETWORKRULESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateNetworkRulesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateNetworkRulesResult();
|
||||||
|
explicit CreateNetworkRulesResult(const std::string &payload);
|
||||||
|
~CreateNetworkRulesResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATENETWORKRULESRESULT_H_
|
||||||
@@ -0,0 +1,60 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATESCENEDEFENSEPOLICYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATESCENEDEFENSEPOLICYREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateSceneDefensePolicyRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateSceneDefensePolicyRequest();
|
||||||
|
~CreateSceneDefensePolicyRequest();
|
||||||
|
|
||||||
|
std::string get_Template()const;
|
||||||
|
void set_Template(const std::string& _template);
|
||||||
|
long getEndTime()const;
|
||||||
|
void setEndTime(long endTime);
|
||||||
|
long getStartTime()const;
|
||||||
|
void setStartTime(long startTime);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getName()const;
|
||||||
|
void setName(const std::string& name);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string _template_;
|
||||||
|
long endTime_;
|
||||||
|
long startTime_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string name_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATESCENEDEFENSEPOLICYREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATESCENEDEFENSEPOLICYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATESCENEDEFENSEPOLICYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateSceneDefensePolicyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateSceneDefensePolicyResult();
|
||||||
|
explicit CreateSceneDefensePolicyResult(const std::string &payload);
|
||||||
|
~CreateSceneDefensePolicyResult();
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATESCENEDEFENSEPOLICYRESULT_H_
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATESCHEDULERRULEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATESCHEDULERRULEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateSchedulerRuleRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateSchedulerRuleRequest();
|
||||||
|
~CreateSchedulerRuleRequest();
|
||||||
|
|
||||||
|
std::string getRules()const;
|
||||||
|
void setRules(const std::string& rules);
|
||||||
|
std::string getRuleName()const;
|
||||||
|
void setRuleName(const std::string& ruleName);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getParam()const;
|
||||||
|
void setParam(const std::string& param);
|
||||||
|
int getRuleType()const;
|
||||||
|
void setRuleType(int ruleType);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string rules_;
|
||||||
|
std::string ruleName_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string param_;
|
||||||
|
int ruleType_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATESCHEDULERRULEREQUEST_H_
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATESCHEDULERRULERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATESCHEDULERRULERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateSchedulerRuleResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateSchedulerRuleResult();
|
||||||
|
explicit CreateSchedulerRuleResult(const std::string &payload);
|
||||||
|
~CreateSchedulerRuleResult();
|
||||||
|
std::string getCname()const;
|
||||||
|
std::string getRuleName()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
std::string cname_;
|
||||||
|
std::string ruleName_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATESCHEDULERRULERESULT_H_
|
||||||
@@ -0,0 +1,69 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATETAGRESOURCESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATETAGRESOURCESREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateTagResourcesRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
struct Tags
|
||||||
|
{
|
||||||
|
std::string value;
|
||||||
|
std::string key;
|
||||||
|
};
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateTagResourcesRequest();
|
||||||
|
~CreateTagResourcesRequest();
|
||||||
|
|
||||||
|
std::string getResourceType()const;
|
||||||
|
void setResourceType(const std::string& resourceType);
|
||||||
|
std::vector<Tags> getTags()const;
|
||||||
|
void setTags(const std::vector<Tags>& tags);
|
||||||
|
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::vector<std::string> getResourceIds()const;
|
||||||
|
void setResourceIds(const std::vector<std::string>& resourceIds);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceType_;
|
||||||
|
std::vector<Tags> tags_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
|
std::vector<std::string> resourceIds_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATETAGRESOURCESREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CREATETAGRESOURCESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATETAGRESOURCESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateTagResourcesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateTagResourcesResult();
|
||||||
|
explicit CreateTagResourcesResult(const std::string &payload);
|
||||||
|
~CreateTagResourcesResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATETAGRESOURCESRESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CREATEWEBCCRULEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATEWEBCCRULEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateWebCCRuleRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateWebCCRuleRequest();
|
||||||
|
~CreateWebCCRuleRequest();
|
||||||
|
|
||||||
|
std::string getMode()const;
|
||||||
|
void setMode(const std::string& mode);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getAct()const;
|
||||||
|
void setAct(const std::string& act);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
int getCount()const;
|
||||||
|
void setCount(int count);
|
||||||
|
int getTtl()const;
|
||||||
|
void setTtl(int ttl);
|
||||||
|
std::string getUri()const;
|
||||||
|
void setUri(const std::string& uri);
|
||||||
|
std::string getDomain()const;
|
||||||
|
void setDomain(const std::string& domain);
|
||||||
|
std::string getName()const;
|
||||||
|
void setName(const std::string& name);
|
||||||
|
int getInterval()const;
|
||||||
|
void setInterval(int interval);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string mode_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string act_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
int count_;
|
||||||
|
int ttl_;
|
||||||
|
std::string uri_;
|
||||||
|
std::string domain_;
|
||||||
|
std::string name_;
|
||||||
|
int interval_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATEWEBCCRULEREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CREATEWEBCCRULERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATEWEBCCRULERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateWebCCRuleResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateWebCCRuleResult();
|
||||||
|
explicit CreateWebCCRuleResult(const std::string &payload);
|
||||||
|
~CreateWebCCRuleResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATEWEBCCRULERESULT_H_
|
||||||
@@ -0,0 +1,63 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_CREATEWEBRULEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATEWEBRULEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateWebRuleRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
CreateWebRuleRequest();
|
||||||
|
~CreateWebRuleRequest();
|
||||||
|
|
||||||
|
std::string getRules()const;
|
||||||
|
void setRules(const std::string& rules);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
int getRsType()const;
|
||||||
|
void setRsType(int rsType);
|
||||||
|
std::vector<std::string> getInstanceIds()const;
|
||||||
|
void setInstanceIds(const std::vector<std::string>& instanceIds);
|
||||||
|
std::string getDomain()const;
|
||||||
|
void setDomain(const std::string& domain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string rules_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
int rsType_;
|
||||||
|
std::vector<std::string> instanceIds_;
|
||||||
|
std::string domain_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATEWEBRULEREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_CREATEWEBRULERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_CREATEWEBRULERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT CreateWebRuleResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
CreateWebRuleResult();
|
||||||
|
explicit CreateWebRuleResult(const std::string &payload);
|
||||||
|
~CreateWebRuleResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_CREATEWEBRULERESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEASYNCTASKREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEASYNCTASKREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteAsyncTaskRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteAsyncTaskRequest();
|
||||||
|
~DeleteAsyncTaskRequest();
|
||||||
|
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getLang()const;
|
||||||
|
void setLang(const std::string& lang);
|
||||||
|
int getTaskId()const;
|
||||||
|
void setTaskId(int taskId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string lang_;
|
||||||
|
int taskId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEASYNCTASKREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEASYNCTASKRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEASYNCTASKRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteAsyncTaskResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteAsyncTaskResult();
|
||||||
|
explicit DeleteAsyncTaskResult(const std::string &payload);
|
||||||
|
~DeleteAsyncTaskResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEASYNCTASKRESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEAUTOCCBLACKLISTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEAUTOCCBLACKLISTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteAutoCcBlacklistRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteAutoCcBlacklistRequest();
|
||||||
|
~DeleteAutoCcBlacklistRequest();
|
||||||
|
|
||||||
|
std::string getBlacklist()const;
|
||||||
|
void setBlacklist(const std::string& blacklist);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string blacklist_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEAUTOCCBLACKLISTREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEAUTOCCBLACKLISTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEAUTOCCBLACKLISTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteAutoCcBlacklistResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteAutoCcBlacklistResult();
|
||||||
|
explicit DeleteAutoCcBlacklistResult(const std::string &payload);
|
||||||
|
~DeleteAutoCcBlacklistResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEAUTOCCBLACKLISTRESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEAUTOCCWHITELISTREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEAUTOCCWHITELISTREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteAutoCcWhitelistRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteAutoCcWhitelistRequest();
|
||||||
|
~DeleteAutoCcWhitelistRequest();
|
||||||
|
|
||||||
|
std::string getWhitelist()const;
|
||||||
|
void setWhitelist(const std::string& whitelist);
|
||||||
|
std::string getInstanceId()const;
|
||||||
|
void setInstanceId(const std::string& instanceId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string whitelist_;
|
||||||
|
std::string instanceId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEAUTOCCWHITELISTREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEAUTOCCWHITELISTRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEAUTOCCWHITELISTRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteAutoCcWhitelistResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteAutoCcWhitelistResult();
|
||||||
|
explicit DeleteAutoCcWhitelistResult(const std::string &payload);
|
||||||
|
~DeleteAutoCcWhitelistResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEAUTOCCWHITELISTRESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_DELETENETWORKRULEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETENETWORKRULEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteNetworkRuleRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteNetworkRuleRequest();
|
||||||
|
~DeleteNetworkRuleRequest();
|
||||||
|
|
||||||
|
std::string getNetworkRule()const;
|
||||||
|
void setNetworkRule(const std::string& networkRule);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string networkRule_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETENETWORKRULEREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETENETWORKRULERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETENETWORKRULERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteNetworkRuleResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteNetworkRuleResult();
|
||||||
|
explicit DeleteNetworkRuleResult(const std::string &payload);
|
||||||
|
~DeleteNetworkRuleResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETENETWORKRULERESULT_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_DELETESCENEDEFENSEPOLICYREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETESCENEDEFENSEPOLICYREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteSceneDefensePolicyRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteSceneDefensePolicyRequest();
|
||||||
|
~DeleteSceneDefensePolicyRequest();
|
||||||
|
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getPolicyId()const;
|
||||||
|
void setPolicyId(const std::string& policyId);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string policyId_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETESCENEDEFENSEPOLICYREQUEST_H_
|
||||||
@@ -0,0 +1,51 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_DELETESCENEDEFENSEPOLICYRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETESCENEDEFENSEPOLICYRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteSceneDefensePolicyResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteSceneDefensePolicyResult();
|
||||||
|
explicit DeleteSceneDefensePolicyResult(const std::string &payload);
|
||||||
|
~DeleteSceneDefensePolicyResult();
|
||||||
|
bool getSuccess()const;
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
bool success_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETESCENEDEFENSEPOLICYRESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETESCHEDULERRULEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETESCHEDULERRULEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteSchedulerRuleRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteSchedulerRuleRequest();
|
||||||
|
~DeleteSchedulerRuleRequest();
|
||||||
|
|
||||||
|
std::string getRuleName()const;
|
||||||
|
void setRuleName(const std::string& ruleName);
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string ruleName_;
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETESCHEDULERRULEREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETESCHEDULERRULERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETESCHEDULERRULERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteSchedulerRuleResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteSchedulerRuleResult();
|
||||||
|
explicit DeleteSchedulerRuleResult(const std::string &payload);
|
||||||
|
~DeleteSchedulerRuleResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETESCHEDULERRULERESULT_H_
|
||||||
@@ -0,0 +1,66 @@
|
|||||||
|
/*
|
||||||
|
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef ALIBABACLOUD_DDOSCOO_MODEL_DELETETAGRESOURCESREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETETAGRESOURCESREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteTagResourcesRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteTagResourcesRequest();
|
||||||
|
~DeleteTagResourcesRequest();
|
||||||
|
|
||||||
|
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);
|
||||||
|
bool getAll()const;
|
||||||
|
void setAll(bool all);
|
||||||
|
std::string getResourceType()const;
|
||||||
|
void setResourceType(const std::string& resourceType);
|
||||||
|
std::vector<std::string> getTagKey()const;
|
||||||
|
void setTagKey(const std::vector<std::string>& tagKey);
|
||||||
|
std::vector<std::string> getResourceIds()const;
|
||||||
|
void setResourceIds(const std::vector<std::string>& resourceIds);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string regionId_;
|
||||||
|
bool all_;
|
||||||
|
std::string resourceType_;
|
||||||
|
std::vector<std::string> tagKey_;
|
||||||
|
std::vector<std::string> resourceIds_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETETAGRESOURCESREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETETAGRESOURCESRESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETETAGRESOURCESRESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteTagResourcesResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteTagResourcesResult();
|
||||||
|
explicit DeleteTagResourcesResult(const std::string &payload);
|
||||||
|
~DeleteTagResourcesResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETETAGRESOURCESRESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEWEBCCRULEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBCCRULEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteWebCCRuleRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteWebCCRuleRequest();
|
||||||
|
~DeleteWebCCRuleRequest();
|
||||||
|
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getDomain()const;
|
||||||
|
void setDomain(const std::string& domain);
|
||||||
|
std::string getName()const;
|
||||||
|
void setName(const std::string& name);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string domain_;
|
||||||
|
std::string name_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBCCRULEREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEWEBCCRULERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBCCRULERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteWebCCRuleResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteWebCCRuleResult();
|
||||||
|
explicit DeleteWebCCRuleResult(const std::string &payload);
|
||||||
|
~DeleteWebCCRuleResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBCCRULERESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEWEBCACHECUSTOMRULEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBCACHECUSTOMRULEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteWebCacheCustomRuleRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteWebCacheCustomRuleRequest();
|
||||||
|
~DeleteWebCacheCustomRuleRequest();
|
||||||
|
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::vector<std::string> getRuleNames()const;
|
||||||
|
void setRuleNames(const std::vector<std::string>& ruleNames);
|
||||||
|
std::string getDomain()const;
|
||||||
|
void setDomain(const std::string& domain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::vector<std::string> ruleNames_;
|
||||||
|
std::string domain_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBCACHECUSTOMRULEREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEWEBCACHECUSTOMRULERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBCACHECUSTOMRULERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteWebCacheCustomRuleResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteWebCacheCustomRuleResult();
|
||||||
|
explicit DeleteWebCacheCustomRuleResult(const std::string &payload);
|
||||||
|
~DeleteWebCacheCustomRuleResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBCACHECUSTOMRULERESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEWEBPRECISEACCESSRULEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBPRECISEACCESSRULEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteWebPreciseAccessRuleRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteWebPreciseAccessRuleRequest();
|
||||||
|
~DeleteWebPreciseAccessRuleRequest();
|
||||||
|
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::vector<std::string> getRuleNames()const;
|
||||||
|
void setRuleNames(const std::vector<std::string>& ruleNames);
|
||||||
|
std::string getDomain()const;
|
||||||
|
void setDomain(const std::string& domain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::vector<std::string> ruleNames_;
|
||||||
|
std::string domain_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBPRECISEACCESSRULEREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEWEBPRECISEACCESSRULERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBPRECISEACCESSRULERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteWebPreciseAccessRuleResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteWebPreciseAccessRuleResult();
|
||||||
|
explicit DeleteWebPreciseAccessRuleResult(const std::string &payload);
|
||||||
|
~DeleteWebPreciseAccessRuleResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBPRECISEACCESSRULERESULT_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEWEBRULEREQUEST_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBRULEREQUEST_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteWebRuleRequest : public RpcServiceRequest
|
||||||
|
{
|
||||||
|
|
||||||
|
public:
|
||||||
|
DeleteWebRuleRequest();
|
||||||
|
~DeleteWebRuleRequest();
|
||||||
|
|
||||||
|
std::string getResourceGroupId()const;
|
||||||
|
void setResourceGroupId(const std::string& resourceGroupId);
|
||||||
|
std::string getSourceIp()const;
|
||||||
|
void setSourceIp(const std::string& sourceIp);
|
||||||
|
std::string getDomain()const;
|
||||||
|
void setDomain(const std::string& domain);
|
||||||
|
|
||||||
|
private:
|
||||||
|
std::string resourceGroupId_;
|
||||||
|
std::string sourceIp_;
|
||||||
|
std::string domain_;
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBRULEREQUEST_H_
|
||||||
@@ -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_DDOSCOO_MODEL_DELETEWEBRULERESULT_H_
|
||||||
|
#define ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBRULERESULT_H_
|
||||||
|
|
||||||
|
#include <string>
|
||||||
|
#include <vector>
|
||||||
|
#include <utility>
|
||||||
|
#include <alibabacloud/core/ServiceResult.h>
|
||||||
|
#include <alibabacloud/ddoscoo/DdoscooExport.h>
|
||||||
|
|
||||||
|
namespace AlibabaCloud
|
||||||
|
{
|
||||||
|
namespace Ddoscoo
|
||||||
|
{
|
||||||
|
namespace Model
|
||||||
|
{
|
||||||
|
class ALIBABACLOUD_DDOSCOO_EXPORT DeleteWebRuleResult : public ServiceResult
|
||||||
|
{
|
||||||
|
public:
|
||||||
|
|
||||||
|
|
||||||
|
DeleteWebRuleResult();
|
||||||
|
explicit DeleteWebRuleResult(const std::string &payload);
|
||||||
|
~DeleteWebRuleResult();
|
||||||
|
|
||||||
|
protected:
|
||||||
|
void parse(const std::string &payload);
|
||||||
|
private:
|
||||||
|
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endif // !ALIBABACLOUD_DDOSCOO_MODEL_DELETEWEBRULERESULT_H_
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user