Compare commits
24 Commits
ddoscoo-pa
...
multimedia
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
934e283efb | ||
|
|
c9bc61a9df | ||
|
|
e12cedf04a | ||
|
|
843a2c0be7 | ||
|
|
060788e017 | ||
|
|
49a237e426 | ||
|
|
9663b548cf | ||
|
|
c68f639be4 | ||
|
|
3c991c9ca9 | ||
|
|
8fdebda354 | ||
|
|
b176afa994 | ||
|
|
2f2b5d5ffe | ||
|
|
ddc7e6e035 | ||
|
|
f937d7b2e5 | ||
|
|
5ae199177a | ||
|
|
17a893fab4 | ||
|
|
59fadb7eb2 | ||
|
|
efdcf35422 | ||
|
|
4a101f7934 | ||
|
|
0e8ddb7c12 | ||
|
|
830db8c54b | ||
|
|
497a6c2290 | ||
|
|
133087387b | ||
|
|
df2d0d89e1 |
75
CHANGELOG
75
CHANGELOG
@@ -1,3 +1,78 @@
|
||||
2020-11-30 Version: patch
|
||||
- Video Content analytics template introduced to this SDK.
|
||||
|
||||
2020-11-30 Version: patch
|
||||
- Supported all language sdk.
|
||||
- Fixed some bugs for polardbx.
|
||||
|
||||
2020-11-30 Version: patch
|
||||
- Update OpenDcdnService.
|
||||
|
||||
2020-11-29 Version: patch
|
||||
- Support CPP and Go and PHP.
|
||||
|
||||
2020-11-28 Version: patch
|
||||
- Public.
|
||||
|
||||
2020-11-27 Version: patch
|
||||
- Supported all language sdk.
|
||||
- Fixed some bugs for polardbx.
|
||||
|
||||
2020-11-27 Version: patch
|
||||
- Supported all language sdk.
|
||||
- Fixed some bugs for polardbx.
|
||||
|
||||
2020-11-27 Version: patch
|
||||
- Generated 2018-01-11 for `rtc`.
|
||||
|
||||
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`.
|
||||
|
||||
|
||||
@@ -21,8 +21,12 @@ set(actiontrail_public_header
|
||||
include/alibabacloud/actiontrail/ActiontrailExport.h )
|
||||
|
||||
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/CreateTrailResult.h
|
||||
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobRequest.h
|
||||
include/alibabacloud/actiontrail/model/DeleteDeliveryHistoryJobResult.h
|
||||
include/alibabacloud/actiontrail/model/DeleteTrailRequest.h
|
||||
include/alibabacloud/actiontrail/model/DeleteTrailResult.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/GetTrailStatusRequest.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/LookupEventsResult.h
|
||||
include/alibabacloud/actiontrail/model/StartLoggingRequest.h
|
||||
@@ -42,8 +48,12 @@ set(actiontrail_public_header_model
|
||||
|
||||
set(actiontrail_src
|
||||
src/ActiontrailClient.cc
|
||||
src/model/CreateDeliveryHistoryJobRequest.cc
|
||||
src/model/CreateDeliveryHistoryJobResult.cc
|
||||
src/model/CreateTrailRequest.cc
|
||||
src/model/CreateTrailResult.cc
|
||||
src/model/DeleteDeliveryHistoryJobRequest.cc
|
||||
src/model/DeleteDeliveryHistoryJobResult.cc
|
||||
src/model/DeleteTrailRequest.cc
|
||||
src/model/DeleteTrailResult.cc
|
||||
src/model/DescribeRegionsRequest.cc
|
||||
@@ -52,6 +62,8 @@ set(actiontrail_src
|
||||
src/model/DescribeTrailsResult.cc
|
||||
src/model/GetTrailStatusRequest.cc
|
||||
src/model/GetTrailStatusResult.cc
|
||||
src/model/ListDeliveryHistoryJobsRequest.cc
|
||||
src/model/ListDeliveryHistoryJobsResult.cc
|
||||
src/model/LookupEventsRequest.cc
|
||||
src/model/LookupEventsResult.cc
|
||||
src/model/StartLoggingRequest.cc
|
||||
|
||||
@@ -22,8 +22,12 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "ActiontrailExport.h"
|
||||
#include "model/CreateDeliveryHistoryJobRequest.h"
|
||||
#include "model/CreateDeliveryHistoryJobResult.h"
|
||||
#include "model/CreateTrailRequest.h"
|
||||
#include "model/CreateTrailResult.h"
|
||||
#include "model/DeleteDeliveryHistoryJobRequest.h"
|
||||
#include "model/DeleteDeliveryHistoryJobResult.h"
|
||||
#include "model/DeleteTrailRequest.h"
|
||||
#include "model/DeleteTrailResult.h"
|
||||
#include "model/DescribeRegionsRequest.h"
|
||||
@@ -32,6 +36,8 @@
|
||||
#include "model/DescribeTrailsResult.h"
|
||||
#include "model/GetTrailStatusRequest.h"
|
||||
#include "model/GetTrailStatusResult.h"
|
||||
#include "model/ListDeliveryHistoryJobsRequest.h"
|
||||
#include "model/ListDeliveryHistoryJobsResult.h"
|
||||
#include "model/LookupEventsRequest.h"
|
||||
#include "model/LookupEventsResult.h"
|
||||
#include "model/StartLoggingRequest.h"
|
||||
@@ -49,9 +55,15 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_ACTIONTRAIL_EXPORT ActiontrailClient : public RpcServiceClient
|
||||
{
|
||||
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 std::future<CreateTrailOutcome> CreateTrailOutcomeCallable;
|
||||
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 std::future<DeleteTrailOutcome> DeleteTrailOutcomeCallable;
|
||||
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 std::future<GetTrailStatusOutcome> GetTrailStatusOutcomeCallable;
|
||||
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 std::future<LookupEventsOutcome> LookupEventsOutcomeCallable;
|
||||
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::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
@@ -96,6 +117,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
|
||||
@@ -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::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
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -87,6 +123,42 @@ ActiontrailClient::CreateTrailOutcomeCallable ActiontrailClient::createTrailCall
|
||||
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
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -231,6 +303,42 @@ ActiontrailClient::GetTrailStatusOutcomeCallable ActiontrailClient::getTrailStat
|
||||
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
|
||||
{
|
||||
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;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
@@ -48,7 +46,6 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string securityToken_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -44,8 +44,8 @@ namespace AlibabaCloud
|
||||
~DescribeDomainPvDataResult();
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getDataInterval()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDataInterval()const;
|
||||
std::vector<UsageData> getPvDataInterval()const;
|
||||
|
||||
protected:
|
||||
@@ -53,8 +53,8 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::string dataInterval_;
|
||||
std::string startTime_;
|
||||
std::string dataInterval_;
|
||||
std::vector<UsageData> pvDataInterval_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,23 +35,20 @@ namespace AlibabaCloud
|
||||
DescribeDomainUvDataRequest();
|
||||
~DescribeDomainUvDataRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,8 +45,8 @@ namespace AlibabaCloud
|
||||
std::vector<UsageData> getUvDataInterval()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getDataInterval()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDataInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -54,8 +54,8 @@ namespace AlibabaCloud
|
||||
std::vector<UsageData> uvDataInterval_;
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::string dataInterval_;
|
||||
std::string startTime_;
|
||||
std::string dataInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,17 @@ namespace AlibabaCloud
|
||||
DescribeUserVipsByDomainRequest();
|
||||
~DescribeUserVipsByDomainRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getAvailable()const;
|
||||
void setAvailable(const std::string& available);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string available_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
SetVideoSeekConfigRequest();
|
||||
~SetVideoSeekConfigRequest();
|
||||
|
||||
std::string getEnable()const;
|
||||
void setEnable(const std::string& enable);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
long getConfigId()const;
|
||||
void setConfigId(long configId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getEnable()const;
|
||||
void setEnable(const std::string& enable);
|
||||
|
||||
private:
|
||||
std::string enable_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
long configId_;
|
||||
std::string securityToken_;
|
||||
std::string enable_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -38,17 +38,6 @@ void DescribeDomainPvDataRequest::setStartTime(const std::string& 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
|
||||
{
|
||||
return domainName_;
|
||||
|
||||
@@ -43,20 +43,20 @@ void DescribeDomainPvDataResult::parse(const std::string &payload)
|
||||
for (auto valuePvDataIntervalUsageData : allPvDataIntervalNode)
|
||||
{
|
||||
UsageData pvDataIntervalObject;
|
||||
if(!valuePvDataIntervalUsageData["TimeStamp"].isNull())
|
||||
pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString();
|
||||
if(!valuePvDataIntervalUsageData["Value"].isNull())
|
||||
pvDataIntervalObject.value = valuePvDataIntervalUsageData["Value"].asString();
|
||||
if(!valuePvDataIntervalUsageData["TimeStamp"].isNull())
|
||||
pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString();
|
||||
pvDataInterval_.push_back(pvDataIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -70,16 +70,16 @@ std::string DescribeDomainPvDataResult::getDomainName()const
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainPvDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainPvDataResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainPvDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDomainPvDataResult::UsageData> DescribeDomainPvDataResult::getPvDataInterval()const
|
||||
{
|
||||
return pvDataInterval_;
|
||||
|
||||
@@ -27,6 +27,17 @@ 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
|
||||
{
|
||||
return domainName_;
|
||||
@@ -49,17 +60,6 @@ void DescribeDomainUvDataRequest::setEndTime(const std::string& 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
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -71,14 +71,3 @@ void DescribeDomainUvDataRequest::setOwnerId(long 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)
|
||||
{
|
||||
UsageData uvDataIntervalObject;
|
||||
if(!valueUvDataIntervalUsageData["TimeStamp"].isNull())
|
||||
uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString();
|
||||
if(!valueUvDataIntervalUsageData["Value"].isNull())
|
||||
uvDataIntervalObject.value = valueUvDataIntervalUsageData["Value"].asString();
|
||||
if(!valueUvDataIntervalUsageData["TimeStamp"].isNull())
|
||||
uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString();
|
||||
uvDataInterval_.push_back(uvDataIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -75,13 +75,13 @@ std::string DescribeDomainUvDataResult::getDomainName()const
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainUvDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainUvDataResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainUvDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,23 +21,12 @@ using AlibabaCloud::Cdn::Model::DescribeUserVipsByDomainRequest;
|
||||
DescribeUserVipsByDomainRequest::DescribeUserVipsByDomainRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeUserVipsByDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
return available_;
|
||||
@@ -49,6 +38,17 @@ void DescribeUserVipsByDomainRequest::setAvailable(const std::string& 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
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -60,14 +60,3 @@ void DescribeUserVipsByDomainRequest::setOwnerId(long 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;
|
||||
|
||||
SetVideoSeekConfigRequest::SetVideoSeekConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "SetVideoSeekConfig")
|
||||
RpcServiceRequest("cdn", "2014-11-11", "SetVideoSeekConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
@@ -27,17 +27,6 @@ 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
|
||||
{
|
||||
return domainName_;
|
||||
@@ -60,14 +49,25 @@ void SetVideoSeekConfigRequest::setOwnerId(long 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;
|
||||
setParameter("ConfigId", std::to_string(configId));
|
||||
securityToken_ = securityToken;
|
||||
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);
|
||||
std::string getMobile()const;
|
||||
void setMobile(const std::string& mobile);
|
||||
std::string getFaceContrastFile()const;
|
||||
void setFaceContrastFile(const std::string& faceContrastFile);
|
||||
long getSceneId()const;
|
||||
void setSceneId(long sceneId);
|
||||
std::string getOssBucketName()const;
|
||||
@@ -83,6 +85,7 @@ namespace AlibabaCloud
|
||||
std::string certName_;
|
||||
std::string ip_;
|
||||
std::string mobile_;
|
||||
std::string faceContrastFile_;
|
||||
long sceneId_;
|
||||
std::string ossBucketName_;
|
||||
|
||||
|
||||
@@ -181,6 +181,17 @@ void ContrastFaceVerifyRequest::setMobile(const std::string& 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
|
||||
{
|
||||
return sceneId_;
|
||||
|
||||
@@ -51,6 +51,8 @@ set(codeup_public_header_model
|
||||
include/alibabacloud/codeup/model/DeleteRepositoryGroupResult.h
|
||||
include/alibabacloud/codeup/model/DeleteRepositoryMemberRequest.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/GetBranchInfoResult.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/GetRepositoryInfoRequest.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/ListGroupMemberResult.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/ListRepositoryMemberRequest.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/ListRepositoryTreeResult.h
|
||||
include/alibabacloud/codeup/model/MergeMergeRequestRequest.h
|
||||
@@ -116,6 +122,8 @@ set(codeup_src
|
||||
src/model/DeleteRepositoryGroupResult.cc
|
||||
src/model/DeleteRepositoryMemberRequest.cc
|
||||
src/model/DeleteRepositoryMemberResult.cc
|
||||
src/model/DeleteRepositoryTagRequest.cc
|
||||
src/model/DeleteRepositoryTagResult.cc
|
||||
src/model/GetBranchInfoRequest.cc
|
||||
src/model/GetBranchInfoResult.cc
|
||||
src/model/GetCodeupOrganizationRequest.cc
|
||||
@@ -128,6 +136,8 @@ set(codeup_src
|
||||
src/model/GetProjectMemberResult.cc
|
||||
src/model/GetRepositoryInfoRequest.cc
|
||||
src/model/GetRepositoryInfoResult.cc
|
||||
src/model/GetRepositoryTagRequest.cc
|
||||
src/model/GetRepositoryTagResult.cc
|
||||
src/model/ListGroupMemberRequest.cc
|
||||
src/model/ListGroupMemberResult.cc
|
||||
src/model/ListGroupRepositoriesRequest.cc
|
||||
@@ -138,6 +148,8 @@ set(codeup_src
|
||||
src/model/ListRepositoryBranchesResult.cc
|
||||
src/model/ListRepositoryMemberRequest.cc
|
||||
src/model/ListRepositoryMemberResult.cc
|
||||
src/model/ListRepositoryTagsRequest.cc
|
||||
src/model/ListRepositoryTagsResult.cc
|
||||
src/model/ListRepositoryTreeRequest.cc
|
||||
src/model/ListRepositoryTreeResult.cc
|
||||
src/model/MergeMergeRequestRequest.cc
|
||||
|
||||
@@ -52,6 +52,8 @@
|
||||
#include "model/DeleteRepositoryGroupResult.h"
|
||||
#include "model/DeleteRepositoryMemberRequest.h"
|
||||
#include "model/DeleteRepositoryMemberResult.h"
|
||||
#include "model/DeleteRepositoryTagRequest.h"
|
||||
#include "model/DeleteRepositoryTagResult.h"
|
||||
#include "model/GetBranchInfoRequest.h"
|
||||
#include "model/GetBranchInfoResult.h"
|
||||
#include "model/GetCodeupOrganizationRequest.h"
|
||||
@@ -64,6 +66,8 @@
|
||||
#include "model/GetProjectMemberResult.h"
|
||||
#include "model/GetRepositoryInfoRequest.h"
|
||||
#include "model/GetRepositoryInfoResult.h"
|
||||
#include "model/GetRepositoryTagRequest.h"
|
||||
#include "model/GetRepositoryTagResult.h"
|
||||
#include "model/ListGroupMemberRequest.h"
|
||||
#include "model/ListGroupMemberResult.h"
|
||||
#include "model/ListGroupRepositoriesRequest.h"
|
||||
@@ -74,6 +78,8 @@
|
||||
#include "model/ListRepositoryBranchesResult.h"
|
||||
#include "model/ListRepositoryMemberRequest.h"
|
||||
#include "model/ListRepositoryMemberResult.h"
|
||||
#include "model/ListRepositoryTagsRequest.h"
|
||||
#include "model/ListRepositoryTagsResult.h"
|
||||
#include "model/ListRepositoryTreeRequest.h"
|
||||
#include "model/ListRepositoryTreeResult.h"
|
||||
#include "model/MergeMergeRequestRequest.h"
|
||||
@@ -138,6 +144,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteRepositoryMemberResult> DeleteRepositoryMemberOutcome;
|
||||
typedef std::future<DeleteRepositoryMemberOutcome> DeleteRepositoryMemberOutcomeCallable;
|
||||
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 std::future<GetBranchInfoOutcome> GetBranchInfoOutcomeCallable;
|
||||
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 std::future<GetRepositoryInfoOutcome> GetRepositoryInfoOutcomeCallable;
|
||||
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 std::future<ListGroupMemberOutcome> ListGroupMemberOutcomeCallable;
|
||||
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 std::future<ListRepositoryMemberOutcome> ListRepositoryMemberOutcomeCallable;
|
||||
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 std::future<ListRepositoryTreeOutcome> ListRepositoryTreeOutcomeCallable;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
@@ -254,6 +272,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
@@ -269,6 +290,9 @@ namespace AlibabaCloud
|
||||
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;
|
||||
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;
|
||||
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;
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -807,6 +843,42 @@ CodeupClient::GetRepositoryInfoOutcomeCallable CodeupClient::getRepositoryInfoCa
|
||||
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
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -987,6 +1059,42 @@ CodeupClient::ListRepositoryMemberOutcomeCallable CodeupClient::listRepositoryMe
|
||||
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
|
||||
{
|
||||
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_;
|
||||
}
|
||||
|
||||
@@ -171,6 +171,8 @@ set(dcdn_public_header_model
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnUserTagsResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnVerifyContentResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeDcdnWafDomainResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusRequest.h
|
||||
include/alibabacloud/dcdn/model/DescribeUserDcdnIpaStatusResult.h
|
||||
include/alibabacloud/dcdn/model/DescribeUserDcdnStatusRequest.h
|
||||
@@ -364,6 +366,8 @@ set(dcdn_src
|
||||
src/model/DescribeDcdnUserTagsResult.cc
|
||||
src/model/DescribeDcdnVerifyContentRequest.cc
|
||||
src/model/DescribeDcdnVerifyContentResult.cc
|
||||
src/model/DescribeDcdnWafDomainRequest.cc
|
||||
src/model/DescribeDcdnWafDomainResult.cc
|
||||
src/model/DescribeUserDcdnIpaStatusRequest.cc
|
||||
src/model/DescribeUserDcdnIpaStatusResult.cc
|
||||
src/model/DescribeUserDcdnStatusRequest.cc
|
||||
|
||||
@@ -172,6 +172,8 @@
|
||||
#include "model/DescribeDcdnUserTagsResult.h"
|
||||
#include "model/DescribeDcdnVerifyContentRequest.h"
|
||||
#include "model/DescribeDcdnVerifyContentResult.h"
|
||||
#include "model/DescribeDcdnWafDomainRequest.h"
|
||||
#include "model/DescribeDcdnWafDomainResult.h"
|
||||
#include "model/DescribeUserDcdnIpaStatusRequest.h"
|
||||
#include "model/DescribeUserDcdnIpaStatusResult.h"
|
||||
#include "model/DescribeUserDcdnStatusRequest.h"
|
||||
@@ -446,6 +448,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDcdnVerifyContentResult> DescribeDcdnVerifyContentOutcome;
|
||||
typedef std::future<DescribeDcdnVerifyContentOutcome> DescribeDcdnVerifyContentOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnVerifyContentRequest&, const DescribeDcdnVerifyContentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnVerifyContentAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDcdnWafDomainResult> DescribeDcdnWafDomainOutcome;
|
||||
typedef std::future<DescribeDcdnWafDomainOutcome> DescribeDcdnWafDomainOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeDcdnWafDomainRequest&, const DescribeDcdnWafDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDcdnWafDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserDcdnIpaStatusResult> DescribeUserDcdnIpaStatusOutcome;
|
||||
typedef std::future<DescribeUserDcdnIpaStatusOutcome> DescribeUserDcdnIpaStatusOutcomeCallable;
|
||||
typedef std::function<void(const DcdnClient*, const Model::DescribeUserDcdnIpaStatusRequest&, const DescribeUserDcdnIpaStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserDcdnIpaStatusAsyncHandler;
|
||||
@@ -736,6 +741,9 @@ namespace AlibabaCloud
|
||||
DescribeDcdnVerifyContentOutcome describeDcdnVerifyContent(const Model::DescribeDcdnVerifyContentRequest &request)const;
|
||||
void describeDcdnVerifyContentAsync(const Model::DescribeDcdnVerifyContentRequest& request, const DescribeDcdnVerifyContentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnVerifyContentOutcomeCallable describeDcdnVerifyContentCallable(const Model::DescribeDcdnVerifyContentRequest& request) const;
|
||||
DescribeDcdnWafDomainOutcome describeDcdnWafDomain(const Model::DescribeDcdnWafDomainRequest &request)const;
|
||||
void describeDcdnWafDomainAsync(const Model::DescribeDcdnWafDomainRequest& request, const DescribeDcdnWafDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDcdnWafDomainOutcomeCallable describeDcdnWafDomainCallable(const Model::DescribeDcdnWafDomainRequest& request) const;
|
||||
DescribeUserDcdnIpaStatusOutcome describeUserDcdnIpaStatus(const Model::DescribeUserDcdnIpaStatusRequest &request)const;
|
||||
void describeUserDcdnIpaStatusAsync(const Model::DescribeUserDcdnIpaStatusRequest& request, const DescribeUserDcdnIpaStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserDcdnIpaStatusOutcomeCallable describeUserDcdnIpaStatusCallable(const Model::DescribeUserDcdnIpaStatusRequest& request) const;
|
||||
|
||||
@@ -39,6 +39,8 @@ namespace AlibabaCloud
|
||||
void setSources(const std::string& sources);
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getProtocol()const;
|
||||
void setProtocol(const std::string& protocol);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getScope()const;
|
||||
@@ -57,6 +59,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string sources_;
|
||||
std::string resourceGroupId_;
|
||||
std::string protocol_;
|
||||
std::string securityToken_;
|
||||
std::string scope_;
|
||||
std::string topLevelDomain_;
|
||||
|
||||
@@ -35,23 +35,20 @@ namespace AlibabaCloud
|
||||
DescribeDcdnDomainPvDataRequest();
|
||||
~DescribeDcdnDomainPvDataRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -44,8 +44,8 @@ namespace AlibabaCloud
|
||||
~DescribeDcdnDomainPvDataResult();
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getDataInterval()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDataInterval()const;
|
||||
std::vector<UsageData> getPvDataInterval()const;
|
||||
|
||||
protected:
|
||||
@@ -53,8 +53,8 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::string dataInterval_;
|
||||
std::string startTime_;
|
||||
std::string dataInterval_;
|
||||
std::vector<UsageData> pvDataInterval_;
|
||||
|
||||
};
|
||||
|
||||
@@ -35,23 +35,20 @@ namespace AlibabaCloud
|
||||
DescribeDcdnDomainUvDataRequest();
|
||||
~DescribeDcdnDomainUvDataRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,8 +45,8 @@ namespace AlibabaCloud
|
||||
std::vector<UsageData> getUvDataInterval()const;
|
||||
std::string getEndTime()const;
|
||||
std::string getDomainName()const;
|
||||
std::string getDataInterval()const;
|
||||
std::string getStartTime()const;
|
||||
std::string getDataInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -54,8 +54,8 @@ namespace AlibabaCloud
|
||||
std::vector<UsageData> uvDataInterval_;
|
||||
std::string endTime_;
|
||||
std::string domainName_;
|
||||
std::string dataInterval_;
|
||||
std::string startTime_;
|
||||
std::string dataInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -30,6 +30,12 @@ namespace AlibabaCloud
|
||||
{
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnUserDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
public:
|
||||
struct Tag
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
|
||||
public:
|
||||
DescribeDcdnUserDomainsRequest();
|
||||
@@ -47,6 +53,8 @@ namespace AlibabaCloud
|
||||
void setChangeEndTime(const std::string& changeEndTime);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::vector<Tag> getTag()const;
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getFuncFilter()const;
|
||||
void setFuncFilter(const std::string& funcFilter);
|
||||
std::string getDomainName()const;
|
||||
@@ -69,6 +77,7 @@ namespace AlibabaCloud
|
||||
std::string securityToken_;
|
||||
std::string changeEndTime_;
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string funcFilter_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -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_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dcdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDcdnWafDomainRequest();
|
||||
~DescribeDcdnWafDomainRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINREQUEST_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_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINRESULT_H_
|
||||
#define ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dcdn/DcdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dcdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DCDN_EXPORT DescribeDcdnWafDomainResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct OutPutDomain
|
||||
{
|
||||
int status;
|
||||
int aclStatus;
|
||||
int ccStatus;
|
||||
std::string domain;
|
||||
int wafStatus;
|
||||
};
|
||||
|
||||
|
||||
DescribeDcdnWafDomainResult();
|
||||
explicit DescribeDcdnWafDomainResult(const std::string &payload);
|
||||
~DescribeDcdnWafDomainResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<OutPutDomain> getOutPutDomains()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
int totalCount_;
|
||||
std::vector<OutPutDomain> outPutDomains_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DCDN_MODEL_DESCRIBEDCDNWAFDOMAINRESULT_H_
|
||||
@@ -2751,6 +2751,42 @@ DcdnClient::DescribeDcdnVerifyContentOutcomeCallable DcdnClient::describeDcdnVer
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnWafDomainOutcome DcdnClient::describeDcdnWafDomain(const DescribeDcdnWafDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDcdnWafDomainOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDcdnWafDomainOutcome(DescribeDcdnWafDomainResult(outcome.result()));
|
||||
else
|
||||
return DescribeDcdnWafDomainOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void DcdnClient::describeDcdnWafDomainAsync(const DescribeDcdnWafDomainRequest& request, const DescribeDcdnWafDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDcdnWafDomain(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
DcdnClient::DescribeDcdnWafDomainOutcomeCallable DcdnClient::describeDcdnWafDomainCallable(const DescribeDcdnWafDomainRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDcdnWafDomainOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDcdnWafDomain(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
DcdnClient::DescribeUserDcdnIpaStatusOutcome DcdnClient::describeUserDcdnIpaStatus(const DescribeUserDcdnIpaStatusRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -49,6 +49,17 @@ void AddDcdnIpaDomainRequest::setResourceGroupId(const std::string& resourceGrou
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string AddDcdnIpaDomainRequest::getProtocol()const
|
||||
{
|
||||
return protocol_;
|
||||
}
|
||||
|
||||
void AddDcdnIpaDomainRequest::setProtocol(const std::string& protocol)
|
||||
{
|
||||
protocol_ = protocol;
|
||||
setParameter("Protocol", protocol);
|
||||
}
|
||||
|
||||
std::string AddDcdnIpaDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
|
||||
@@ -49,14 +49,14 @@ void DescribeDcdnConfigOfVersionResult::parse(const std::string &payload)
|
||||
versionConfigsObject.configId = valueVersionConfigsVersionConfig["ConfigId"].asString();
|
||||
if(!valueVersionConfigsVersionConfig["FunctionName"].isNull())
|
||||
versionConfigsObject.functionName = valueVersionConfigsVersionConfig["FunctionName"].asString();
|
||||
auto allFunctionArgsNode = allVersionConfigsNode["FunctionArgs"]["FunctionArg"];
|
||||
for (auto allVersionConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
|
||||
auto allFunctionArgsNode = valueVersionConfigsVersionConfig["FunctionArgs"]["FunctionArg"];
|
||||
for (auto valueVersionConfigsVersionConfigFunctionArgsFunctionArg : allFunctionArgsNode)
|
||||
{
|
||||
VersionConfig::FunctionArg functionArgsObject;
|
||||
if(!allVersionConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
|
||||
functionArgsObject.argName = allVersionConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
|
||||
if(!allVersionConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
|
||||
functionArgsObject.argValue = allVersionConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
|
||||
if(!valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgName"].isNull())
|
||||
functionArgsObject.argName = valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgName"].asString();
|
||||
if(!valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgValue"].isNull())
|
||||
functionArgsObject.argValue = valueVersionConfigsVersionConfigFunctionArgsFunctionArg["ArgValue"].asString();
|
||||
versionConfigsObject.functionArgs.push_back(functionArgsObject);
|
||||
}
|
||||
versionConfigs_.push_back(versionConfigsObject);
|
||||
|
||||
@@ -49,14 +49,14 @@ void DescribeDcdnDomainConfigsResult::parse(const std::string &payload)
|
||||
domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString();
|
||||
if(!valueDomainConfigsDomainConfig["Status"].isNull())
|
||||
domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString();
|
||||
auto allFunctionArgsNode = allDomainConfigsNode["FunctionArgs"]["FunctionArg"];
|
||||
for (auto allDomainConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
|
||||
auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"];
|
||||
for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode)
|
||||
{
|
||||
DomainConfig::FunctionArg functionArgsObject;
|
||||
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
|
||||
functionArgsObject.argName = allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
|
||||
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
|
||||
functionArgsObject.argValue = allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
|
||||
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].isNull())
|
||||
functionArgsObject.argName = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].asString();
|
||||
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].isNull())
|
||||
functionArgsObject.argValue = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].asString();
|
||||
domainConfigsObject.functionArgs.push_back(functionArgsObject);
|
||||
}
|
||||
domainConfigs_.push_back(domainConfigsObject);
|
||||
|
||||
@@ -45,16 +45,16 @@ void DescribeDcdnDomainHttpCodeDataResult::parse(const std::string &payload)
|
||||
DataModule dataPerIntervalObject;
|
||||
if(!valueDataPerIntervalDataModule["TimeStamp"].isNull())
|
||||
dataPerIntervalObject.timeStamp = valueDataPerIntervalDataModule["TimeStamp"].asString();
|
||||
auto allHttpCodeDataPerIntervalNode = allDataPerIntervalNode["HttpCodeDataPerInterval"]["HttpCodeDataModule"];
|
||||
for (auto allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule : allHttpCodeDataPerIntervalNode)
|
||||
auto allHttpCodeDataPerIntervalNode = valueDataPerIntervalDataModule["HttpCodeDataPerInterval"]["HttpCodeDataModule"];
|
||||
for (auto valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule : allHttpCodeDataPerIntervalNode)
|
||||
{
|
||||
DataModule::HttpCodeDataModule httpCodeDataPerIntervalObject;
|
||||
if(!allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Code"].isNull())
|
||||
httpCodeDataPerIntervalObject.code = std::stoi(allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Code"].asString());
|
||||
if(!allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].isNull())
|
||||
httpCodeDataPerIntervalObject.proportion = std::stof(allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].asString());
|
||||
if(!allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Count"].isNull())
|
||||
httpCodeDataPerIntervalObject.count = std::stof(allDataPerIntervalNodeHttpCodeDataPerIntervalHttpCodeDataModule["Count"].asString());
|
||||
if(!valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Code"].isNull())
|
||||
httpCodeDataPerIntervalObject.code = std::stoi(valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Code"].asString());
|
||||
if(!valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].isNull())
|
||||
httpCodeDataPerIntervalObject.proportion = std::stof(valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].asString());
|
||||
if(!valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Count"].isNull())
|
||||
httpCodeDataPerIntervalObject.count = std::stof(valueDataPerIntervalDataModuleHttpCodeDataPerIntervalHttpCodeDataModule["Count"].asString());
|
||||
dataPerIntervalObject.httpCodeDataPerInterval.push_back(httpCodeDataPerIntervalObject);
|
||||
}
|
||||
dataPerInterval_.push_back(dataPerIntervalObject);
|
||||
|
||||
@@ -45,20 +45,20 @@ void DescribeDcdnDomainLogResult::parse(const std::string &payload)
|
||||
DomainLogDetail domainLogDetailsObject;
|
||||
if(!valueDomainLogDetailsDomainLogDetail["LogCount"].isNull())
|
||||
domainLogDetailsObject.logCount = std::stol(valueDomainLogDetailsDomainLogDetail["LogCount"].asString());
|
||||
auto allLogInfosNode = allDomainLogDetailsNode["LogInfos"]["LogInfoDetail"];
|
||||
for (auto allDomainLogDetailsNodeLogInfosLogInfoDetail : allLogInfosNode)
|
||||
auto allLogInfosNode = valueDomainLogDetailsDomainLogDetail["LogInfos"]["LogInfoDetail"];
|
||||
for (auto valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail : allLogInfosNode)
|
||||
{
|
||||
DomainLogDetail::LogInfoDetail logInfosObject;
|
||||
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["LogName"].isNull())
|
||||
logInfosObject.logName = allDomainLogDetailsNodeLogInfosLogInfoDetail["LogName"].asString();
|
||||
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["LogPath"].isNull())
|
||||
logInfosObject.logPath = allDomainLogDetailsNodeLogInfosLogInfoDetail["LogPath"].asString();
|
||||
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["LogSize"].isNull())
|
||||
logInfosObject.logSize = std::stol(allDomainLogDetailsNodeLogInfosLogInfoDetail["LogSize"].asString());
|
||||
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["StartTime"].isNull())
|
||||
logInfosObject.startTime = allDomainLogDetailsNodeLogInfosLogInfoDetail["StartTime"].asString();
|
||||
if(!allDomainLogDetailsNodeLogInfosLogInfoDetail["EndTime"].isNull())
|
||||
logInfosObject.endTime = allDomainLogDetailsNodeLogInfosLogInfoDetail["EndTime"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].isNull())
|
||||
logInfosObject.logName = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogName"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].isNull())
|
||||
logInfosObject.logPath = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogPath"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].isNull())
|
||||
logInfosObject.logSize = std::stol(valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["LogSize"].asString());
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].isNull())
|
||||
logInfosObject.startTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["StartTime"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].isNull())
|
||||
logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString();
|
||||
domainLogDetailsObject.logInfos.push_back(logInfosObject);
|
||||
}
|
||||
auto pageInfosNode = value["PageInfos"];
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeDcdnDomainPvDataRequest::DescribeDcdnDomainPvDataRequest() :
|
||||
DescribeDcdnDomainPvDataRequest::~DescribeDcdnDomainPvDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnDomainPvDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainPvDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainPvDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -49,17 +60,6 @@ void DescribeDcdnDomainPvDataRequest::setEndTime(const std::string& endTime)
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainPvDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainPvDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainPvDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -71,14 +71,3 @@ void DescribeDcdnDomainPvDataRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainPvDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainPvDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,20 +43,20 @@ void DescribeDcdnDomainPvDataResult::parse(const std::string &payload)
|
||||
for (auto valuePvDataIntervalUsageData : allPvDataIntervalNode)
|
||||
{
|
||||
UsageData pvDataIntervalObject;
|
||||
if(!valuePvDataIntervalUsageData["TimeStamp"].isNull())
|
||||
pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString();
|
||||
if(!valuePvDataIntervalUsageData["Value"].isNull())
|
||||
pvDataIntervalObject.value = valuePvDataIntervalUsageData["Value"].asString();
|
||||
if(!valuePvDataIntervalUsageData["TimeStamp"].isNull())
|
||||
pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString();
|
||||
pvDataInterval_.push_back(pvDataIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -70,16 +70,16 @@ std::string DescribeDcdnDomainPvDataResult::getDomainName()const
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainPvDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainPvDataResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainPvDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnDomainPvDataResult::UsageData> DescribeDcdnDomainPvDataResult::getPvDataInterval()const
|
||||
{
|
||||
return pvDataInterval_;
|
||||
|
||||
@@ -45,16 +45,16 @@ void DescribeDcdnDomainRealTimeHttpCodeDataResult::parse(const std::string &payl
|
||||
UsageData realTimeHttpCodeDataObject;
|
||||
if(!valueRealTimeHttpCodeDataUsageData["TimeStamp"].isNull())
|
||||
realTimeHttpCodeDataObject.timeStamp = valueRealTimeHttpCodeDataUsageData["TimeStamp"].asString();
|
||||
auto allValueNode = allRealTimeHttpCodeDataNode["Value"]["RealTimeCodeProportionData"];
|
||||
for (auto allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData : allValueNode)
|
||||
auto allValueNode = valueRealTimeHttpCodeDataUsageData["Value"]["RealTimeCodeProportionData"];
|
||||
for (auto valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData : allValueNode)
|
||||
{
|
||||
UsageData::RealTimeCodeProportionData valueObject;
|
||||
if(!allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Code"].isNull())
|
||||
valueObject.code = allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Code"].asString();
|
||||
if(!allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Proportion"].isNull())
|
||||
valueObject.proportion = allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Proportion"].asString();
|
||||
if(!allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Count"].isNull())
|
||||
valueObject.count = allRealTimeHttpCodeDataNodeValueRealTimeCodeProportionData["Count"].asString();
|
||||
if(!valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Code"].isNull())
|
||||
valueObject.code = valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Code"].asString();
|
||||
if(!valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Proportion"].isNull())
|
||||
valueObject.proportion = valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Proportion"].asString();
|
||||
if(!valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Count"].isNull())
|
||||
valueObject.count = valueRealTimeHttpCodeDataUsageDataValueRealTimeCodeProportionData["Count"].asString();
|
||||
realTimeHttpCodeDataObject.value.push_back(valueObject);
|
||||
}
|
||||
realTimeHttpCodeData_.push_back(realTimeHttpCodeDataObject);
|
||||
|
||||
@@ -45,16 +45,16 @@ void DescribeDcdnDomainRealTimeSrcHttpCodeDataResult::parse(const std::string &p
|
||||
UsageData realTimeSrcHttpCodeDataObject;
|
||||
if(!valueRealTimeSrcHttpCodeDataUsageData["TimeStamp"].isNull())
|
||||
realTimeSrcHttpCodeDataObject.timeStamp = valueRealTimeSrcHttpCodeDataUsageData["TimeStamp"].asString();
|
||||
auto allValueNode = allRealTimeSrcHttpCodeDataNode["Value"]["RealTimeSrcCodeProportionData"];
|
||||
for (auto allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData : allValueNode)
|
||||
auto allValueNode = valueRealTimeSrcHttpCodeDataUsageData["Value"]["RealTimeSrcCodeProportionData"];
|
||||
for (auto valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData : allValueNode)
|
||||
{
|
||||
UsageData::RealTimeSrcCodeProportionData valueObject;
|
||||
if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Code"].isNull())
|
||||
valueObject.code = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Code"].asString();
|
||||
if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Proportion"].isNull())
|
||||
valueObject.proportion = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Proportion"].asString();
|
||||
if(!allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Count"].isNull())
|
||||
valueObject.count = allRealTimeSrcHttpCodeDataNodeValueRealTimeSrcCodeProportionData["Count"].asString();
|
||||
if(!valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Code"].isNull())
|
||||
valueObject.code = valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Code"].asString();
|
||||
if(!valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Proportion"].isNull())
|
||||
valueObject.proportion = valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Proportion"].asString();
|
||||
if(!valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Count"].isNull())
|
||||
valueObject.count = valueRealTimeSrcHttpCodeDataUsageDataValueRealTimeSrcCodeProportionData["Count"].asString();
|
||||
realTimeSrcHttpCodeDataObject.value.push_back(valueObject);
|
||||
}
|
||||
realTimeSrcHttpCodeData_.push_back(realTimeSrcHttpCodeDataObject);
|
||||
|
||||
@@ -49,14 +49,14 @@ void DescribeDcdnDomainStagingConfigResult::parse(const std::string &payload)
|
||||
domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString();
|
||||
if(!valueDomainConfigsDomainConfig["Status"].isNull())
|
||||
domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString();
|
||||
auto allFunctionArgsNode = allDomainConfigsNode["FunctionArgs"]["FunctionArg"];
|
||||
for (auto allDomainConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
|
||||
auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"];
|
||||
for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode)
|
||||
{
|
||||
DomainConfig::FunctionArg functionArgsObject;
|
||||
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
|
||||
functionArgsObject.argName = allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
|
||||
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
|
||||
functionArgsObject.argValue = allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
|
||||
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].isNull())
|
||||
functionArgsObject.argName = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].asString();
|
||||
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].isNull())
|
||||
functionArgsObject.argValue = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].asString();
|
||||
domainConfigsObject.functionArgs.push_back(functionArgsObject);
|
||||
}
|
||||
domainConfigs_.push_back(domainConfigsObject);
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeDcdnDomainUvDataRequest::DescribeDcdnDomainUvDataRequest() :
|
||||
DescribeDcdnDomainUvDataRequest::~DescribeDcdnDomainUvDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnDomainUvDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainUvDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainUvDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -49,17 +60,6 @@ void DescribeDcdnDomainUvDataRequest::setEndTime(const std::string& endTime)
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainUvDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainUvDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long DescribeDcdnDomainUvDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -71,14 +71,3 @@ void DescribeDcdnDomainUvDataRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainUvDataRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeDcdnDomainUvDataRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,20 +43,20 @@ void DescribeDcdnDomainUvDataResult::parse(const std::string &payload)
|
||||
for (auto valueUvDataIntervalUsageData : allUvDataIntervalNode)
|
||||
{
|
||||
UsageData uvDataIntervalObject;
|
||||
if(!valueUvDataIntervalUsageData["TimeStamp"].isNull())
|
||||
uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString();
|
||||
if(!valueUvDataIntervalUsageData["Value"].isNull())
|
||||
uvDataIntervalObject.value = valueUvDataIntervalUsageData["Value"].asString();
|
||||
if(!valueUvDataIntervalUsageData["TimeStamp"].isNull())
|
||||
uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString();
|
||||
uvDataInterval_.push_back(uvDataIntervalObject);
|
||||
}
|
||||
if(!value["DomainName"].isNull())
|
||||
domainName_ = value["DomainName"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
if(!value["DataInterval"].isNull())
|
||||
dataInterval_ = value["DataInterval"].asString();
|
||||
|
||||
}
|
||||
|
||||
@@ -75,13 +75,13 @@ std::string DescribeDcdnDomainUvDataResult::getDomainName()const
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainUvDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainUvDataResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDcdnDomainUvDataResult::getDataInterval()const
|
||||
{
|
||||
return dataInterval_;
|
||||
}
|
||||
|
||||
|
||||
@@ -45,16 +45,16 @@ void DescribeDcdnDomainWebsocketHttpCodeDataResult::parse(const std::string &pay
|
||||
DataModule dataPerIntervalObject;
|
||||
if(!valueDataPerIntervalDataModule["TimeStamp"].isNull())
|
||||
dataPerIntervalObject.timeStamp = valueDataPerIntervalDataModule["TimeStamp"].asString();
|
||||
auto allWebsocketHttpCodeDataPerIntervalNode = allDataPerIntervalNode["WebsocketHttpCodeDataPerInterval"]["HttpCodeDataModule"];
|
||||
for (auto allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule : allWebsocketHttpCodeDataPerIntervalNode)
|
||||
auto allWebsocketHttpCodeDataPerIntervalNode = valueDataPerIntervalDataModule["WebsocketHttpCodeDataPerInterval"]["HttpCodeDataModule"];
|
||||
for (auto valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule : allWebsocketHttpCodeDataPerIntervalNode)
|
||||
{
|
||||
DataModule::HttpCodeDataModule websocketHttpCodeDataPerIntervalObject;
|
||||
if(!allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].isNull())
|
||||
websocketHttpCodeDataPerIntervalObject.code = std::stoi(allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].asString());
|
||||
if(!allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].isNull())
|
||||
websocketHttpCodeDataPerIntervalObject.proportion = std::stof(allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].asString());
|
||||
if(!allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].isNull())
|
||||
websocketHttpCodeDataPerIntervalObject.count = std::stof(allDataPerIntervalNodeWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].asString());
|
||||
if(!valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].isNull())
|
||||
websocketHttpCodeDataPerIntervalObject.code = std::stoi(valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Code"].asString());
|
||||
if(!valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].isNull())
|
||||
websocketHttpCodeDataPerIntervalObject.proportion = std::stof(valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Proportion"].asString());
|
||||
if(!valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].isNull())
|
||||
websocketHttpCodeDataPerIntervalObject.count = std::stof(valueDataPerIntervalDataModuleWebsocketHttpCodeDataPerIntervalHttpCodeDataModule["Count"].asString());
|
||||
dataPerIntervalObject.websocketHttpCodeDataPerInterval.push_back(websocketHttpCodeDataPerIntervalObject);
|
||||
}
|
||||
dataPerInterval_.push_back(dataPerIntervalObject);
|
||||
|
||||
@@ -49,14 +49,14 @@ void DescribeDcdnIpaDomainConfigsResult::parse(const std::string &payload)
|
||||
domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString();
|
||||
if(!valueDomainConfigsDomainConfig["Status"].isNull())
|
||||
domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString();
|
||||
auto allFunctionArgsNode = allDomainConfigsNode["FunctionArgs"]["FunctionArg"];
|
||||
for (auto allDomainConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode)
|
||||
auto allFunctionArgsNode = valueDomainConfigsDomainConfig["FunctionArgs"]["FunctionArg"];
|
||||
for (auto valueDomainConfigsDomainConfigFunctionArgsFunctionArg : allFunctionArgsNode)
|
||||
{
|
||||
DomainConfig::FunctionArg functionArgsObject;
|
||||
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull())
|
||||
functionArgsObject.argName = allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].asString();
|
||||
if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull())
|
||||
functionArgsObject.argValue = allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString();
|
||||
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].isNull())
|
||||
functionArgsObject.argName = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgName"].asString();
|
||||
if(!valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].isNull())
|
||||
functionArgsObject.argValue = valueDomainConfigsDomainConfigFunctionArgsFunctionArg["ArgValue"].asString();
|
||||
domainConfigsObject.functionArgs.push_back(functionArgsObject);
|
||||
}
|
||||
domainConfigs_.push_back(domainConfigsObject);
|
||||
|
||||
@@ -61,20 +61,20 @@ void DescribeDcdnIpaUserDomainsResult::parse(const std::string &payload)
|
||||
domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString();
|
||||
if(!valueDomainsPageData["Sandbox"].isNull())
|
||||
domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString();
|
||||
auto allSourcesNode = allDomainsNode["Sources"]["Source"];
|
||||
for (auto allDomainsNodeSourcesSource : allSourcesNode)
|
||||
auto allSourcesNode = valueDomainsPageData["Sources"]["Source"];
|
||||
for (auto valueDomainsPageDataSourcesSource : allSourcesNode)
|
||||
{
|
||||
PageData::Source sourcesObject;
|
||||
if(!allDomainsNodeSourcesSource["Type"].isNull())
|
||||
sourcesObject.type = allDomainsNodeSourcesSource["Type"].asString();
|
||||
if(!allDomainsNodeSourcesSource["Content"].isNull())
|
||||
sourcesObject.content = allDomainsNodeSourcesSource["Content"].asString();
|
||||
if(!allDomainsNodeSourcesSource["Port"].isNull())
|
||||
sourcesObject.port = std::stoi(allDomainsNodeSourcesSource["Port"].asString());
|
||||
if(!allDomainsNodeSourcesSource["Priority"].isNull())
|
||||
sourcesObject.priority = allDomainsNodeSourcesSource["Priority"].asString();
|
||||
if(!allDomainsNodeSourcesSource["Weight"].isNull())
|
||||
sourcesObject.weight = allDomainsNodeSourcesSource["Weight"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Type"].isNull())
|
||||
sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Content"].isNull())
|
||||
sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Port"].isNull())
|
||||
sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString());
|
||||
if(!valueDomainsPageDataSourcesSource["Priority"].isNull())
|
||||
sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Weight"].isNull())
|
||||
sourcesObject.weight = valueDomainsPageDataSourcesSource["Weight"].asString();
|
||||
domainsObject.sources.push_back(sourcesObject);
|
||||
}
|
||||
domains_.push_back(domainsObject);
|
||||
|
||||
@@ -45,14 +45,14 @@ void DescribeDcdnTagResourcesResult::parse(const std::string &payload)
|
||||
TagResource tagResourcesObject;
|
||||
if(!valueTagResourcesTagResource["ResourceId"].isNull())
|
||||
tagResourcesObject.resourceId = valueTagResourcesTagResource["ResourceId"].asString();
|
||||
auto allTagNode = allTagResourcesNode["Tag"]["TagItem"];
|
||||
for (auto allTagResourcesNodeTagTagItem : allTagNode)
|
||||
auto allTagNode = valueTagResourcesTagResource["Tag"]["TagItem"];
|
||||
for (auto valueTagResourcesTagResourceTagTagItem : allTagNode)
|
||||
{
|
||||
TagResource::TagItem tagObject;
|
||||
if(!allTagResourcesNodeTagTagItem["Key"].isNull())
|
||||
tagObject.key = allTagResourcesNodeTagTagItem["Key"].asString();
|
||||
if(!allTagResourcesNodeTagTagItem["Value"].isNull())
|
||||
tagObject.value = allTagResourcesNodeTagTagItem["Value"].asString();
|
||||
if(!valueTagResourcesTagResourceTagTagItem["Key"].isNull())
|
||||
tagObject.key = valueTagResourcesTagResourceTagTagItem["Key"].asString();
|
||||
if(!valueTagResourcesTagResourceTagTagItem["Value"].isNull())
|
||||
tagObject.value = valueTagResourcesTagResourceTagTagItem["Value"].asString();
|
||||
tagResourcesObject.tag.push_back(tagObject);
|
||||
}
|
||||
tagResources_.push_back(tagResourcesObject);
|
||||
|
||||
@@ -49,20 +49,20 @@ void DescribeDcdnUserBillHistoryResult::parse(const std::string &payload)
|
||||
billHistoryDataObject.billType = valueBillHistoryDataBillHistoryDataItem["BillType"].asString();
|
||||
if(!valueBillHistoryDataBillHistoryDataItem["BillTime"].isNull())
|
||||
billHistoryDataObject.billTime = valueBillHistoryDataBillHistoryDataItem["BillTime"].asString();
|
||||
auto allBillingDataNode = allBillHistoryDataNode["BillingData"]["BillingDataItem"];
|
||||
for (auto allBillHistoryDataNodeBillingDataBillingDataItem : allBillingDataNode)
|
||||
auto allBillingDataNode = valueBillHistoryDataBillHistoryDataItem["BillingData"]["BillingDataItem"];
|
||||
for (auto valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem : allBillingDataNode)
|
||||
{
|
||||
BillHistoryDataItem::BillingDataItem billingDataObject;
|
||||
if(!allBillHistoryDataNodeBillingDataBillingDataItem["ChargeType"].isNull())
|
||||
billingDataObject.chargeType = allBillHistoryDataNodeBillingDataBillingDataItem["ChargeType"].asString();
|
||||
if(!allBillHistoryDataNodeBillingDataBillingDataItem["CdnRegion"].isNull())
|
||||
billingDataObject.cdnRegion = allBillHistoryDataNodeBillingDataBillingDataItem["CdnRegion"].asString();
|
||||
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Bandwidth"].isNull())
|
||||
billingDataObject.bandwidth = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Bandwidth"].asString());
|
||||
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Flow"].isNull())
|
||||
billingDataObject.flow = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Flow"].asString());
|
||||
if(!allBillHistoryDataNodeBillingDataBillingDataItem["Count"].isNull())
|
||||
billingDataObject.count = std::stof(allBillHistoryDataNodeBillingDataBillingDataItem["Count"].asString());
|
||||
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["ChargeType"].isNull())
|
||||
billingDataObject.chargeType = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["ChargeType"].asString();
|
||||
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].isNull())
|
||||
billingDataObject.cdnRegion = valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["CdnRegion"].asString();
|
||||
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Bandwidth"].isNull())
|
||||
billingDataObject.bandwidth = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Bandwidth"].asString());
|
||||
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Flow"].isNull())
|
||||
billingDataObject.flow = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Flow"].asString());
|
||||
if(!valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].isNull())
|
||||
billingDataObject.count = std::stof(valueBillHistoryDataBillHistoryDataItemBillingDataBillingDataItem["Count"].asString());
|
||||
billHistoryDataObject.billingData.push_back(billingDataObject);
|
||||
}
|
||||
billHistoryData_.push_back(billHistoryDataObject);
|
||||
|
||||
@@ -93,6 +93,22 @@ void DescribeDcdnUserDomainsRequest::setPageSize(int pageSize)
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnUserDomainsRequest::Tag> DescribeDcdnUserDomainsRequest::getTag()const
|
||||
{
|
||||
return tag_;
|
||||
}
|
||||
|
||||
void DescribeDcdnUserDomainsRequest::setTag(const std::vector<Tag>& tag)
|
||||
{
|
||||
tag_ = tag;
|
||||
for(int dep1 = 0; dep1!= tag.size(); dep1++) {
|
||||
auto tagObj = tag.at(dep1);
|
||||
std::string tagObjStr = "Tag." + std::to_string(dep1 + 1);
|
||||
setParameter(tagObjStr + ".Value", tagObj.value);
|
||||
setParameter(tagObjStr + ".Key", tagObj.key);
|
||||
}
|
||||
}
|
||||
|
||||
std::string DescribeDcdnUserDomainsRequest::getFuncFilter()const
|
||||
{
|
||||
return funcFilter_;
|
||||
|
||||
@@ -61,20 +61,20 @@ void DescribeDcdnUserDomainsResult::parse(const std::string &payload)
|
||||
domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString();
|
||||
if(!valueDomainsPageData["Sandbox"].isNull())
|
||||
domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString();
|
||||
auto allSourcesNode = allDomainsNode["Sources"]["Source"];
|
||||
for (auto allDomainsNodeSourcesSource : allSourcesNode)
|
||||
auto allSourcesNode = valueDomainsPageData["Sources"]["Source"];
|
||||
for (auto valueDomainsPageDataSourcesSource : allSourcesNode)
|
||||
{
|
||||
PageData::Source sourcesObject;
|
||||
if(!allDomainsNodeSourcesSource["Type"].isNull())
|
||||
sourcesObject.type = allDomainsNodeSourcesSource["Type"].asString();
|
||||
if(!allDomainsNodeSourcesSource["Content"].isNull())
|
||||
sourcesObject.content = allDomainsNodeSourcesSource["Content"].asString();
|
||||
if(!allDomainsNodeSourcesSource["Port"].isNull())
|
||||
sourcesObject.port = std::stoi(allDomainsNodeSourcesSource["Port"].asString());
|
||||
if(!allDomainsNodeSourcesSource["Priority"].isNull())
|
||||
sourcesObject.priority = allDomainsNodeSourcesSource["Priority"].asString();
|
||||
if(!allDomainsNodeSourcesSource["Weight"].isNull())
|
||||
sourcesObject.weight = allDomainsNodeSourcesSource["Weight"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Type"].isNull())
|
||||
sourcesObject.type = valueDomainsPageDataSourcesSource["Type"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Content"].isNull())
|
||||
sourcesObject.content = valueDomainsPageDataSourcesSource["Content"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Port"].isNull())
|
||||
sourcesObject.port = std::stoi(valueDomainsPageDataSourcesSource["Port"].asString());
|
||||
if(!valueDomainsPageDataSourcesSource["Priority"].isNull())
|
||||
sourcesObject.priority = valueDomainsPageDataSourcesSource["Priority"].asString();
|
||||
if(!valueDomainsPageDataSourcesSource["Weight"].isNull())
|
||||
sourcesObject.weight = valueDomainsPageDataSourcesSource["Weight"].asString();
|
||||
domainsObject.sources.push_back(sourcesObject);
|
||||
}
|
||||
domains_.push_back(domainsObject);
|
||||
|
||||
62
dcdn/src/model/DescribeDcdnWafDomainRequest.cc
Normal file
62
dcdn/src/model/DescribeDcdnWafDomainRequest.cc
Normal file
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnWafDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Dcdn::Model::DescribeDcdnWafDomainRequest;
|
||||
|
||||
DescribeDcdnWafDomainRequest::DescribeDcdnWafDomainRequest() :
|
||||
RpcServiceRequest("dcdn", "2018-01-15", "DescribeDcdnWafDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDcdnWafDomainRequest::~DescribeDcdnWafDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDcdnWafDomainRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnWafDomainRequest::setRegionId(const std::string& regionId)
|
||||
{
|
||||
regionId_ = regionId;
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
std::string DescribeDcdnWafDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDcdnWafDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DescribeDcdnWafDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDcdnWafDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
72
dcdn/src/model/DescribeDcdnWafDomainResult.cc
Normal file
72
dcdn/src/model/DescribeDcdnWafDomainResult.cc
Normal file
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/dcdn/model/DescribeDcdnWafDomainResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Dcdn;
|
||||
using namespace AlibabaCloud::Dcdn::Model;
|
||||
|
||||
DescribeDcdnWafDomainResult::DescribeDcdnWafDomainResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDcdnWafDomainResult::DescribeDcdnWafDomainResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDcdnWafDomainResult::~DescribeDcdnWafDomainResult()
|
||||
{}
|
||||
|
||||
void DescribeDcdnWafDomainResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allOutPutDomainsNode = value["OutPutDomains"]["OutPutDomain"];
|
||||
for (auto valueOutPutDomainsOutPutDomain : allOutPutDomainsNode)
|
||||
{
|
||||
OutPutDomain outPutDomainsObject;
|
||||
if(!valueOutPutDomainsOutPutDomain["Status"].isNull())
|
||||
outPutDomainsObject.status = std::stoi(valueOutPutDomainsOutPutDomain["Status"].asString());
|
||||
if(!valueOutPutDomainsOutPutDomain["Domain"].isNull())
|
||||
outPutDomainsObject.domain = valueOutPutDomainsOutPutDomain["Domain"].asString();
|
||||
if(!valueOutPutDomainsOutPutDomain["WafStatus"].isNull())
|
||||
outPutDomainsObject.wafStatus = std::stoi(valueOutPutDomainsOutPutDomain["WafStatus"].asString());
|
||||
if(!valueOutPutDomainsOutPutDomain["CcStatus"].isNull())
|
||||
outPutDomainsObject.ccStatus = std::stoi(valueOutPutDomainsOutPutDomain["CcStatus"].asString());
|
||||
if(!valueOutPutDomainsOutPutDomain["AclStatus"].isNull())
|
||||
outPutDomainsObject.aclStatus = std::stoi(valueOutPutDomainsOutPutDomain["AclStatus"].asString());
|
||||
outPutDomains_.push_back(outPutDomainsObject);
|
||||
}
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stoi(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
int DescribeDcdnWafDomainResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDcdnWafDomainResult::OutPutDomain> DescribeDcdnWafDomainResult::getOutPutDomains()const
|
||||
{
|
||||
return outPutDomains_;
|
||||
}
|
||||
|
||||
@@ -93,6 +93,8 @@ set(devops-rdc_public_header_model
|
||||
include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowResult.h
|
||||
include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusRequest.h
|
||||
include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskFlowStatusResult.h
|
||||
include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskListRequest.h
|
||||
include/alibabacloud/devops-rdc/model/ListDevopsProjectTaskListResult.h
|
||||
include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksRequest.h
|
||||
include/alibabacloud/devops-rdc/model/ListDevopsProjectTasksResult.h
|
||||
include/alibabacloud/devops-rdc/model/ListDevopsScenarioFieldConfigRequest.h
|
||||
@@ -188,6 +190,8 @@ set(devops-rdc_src
|
||||
src/model/ListDevopsProjectTaskFlowResult.cc
|
||||
src/model/ListDevopsProjectTaskFlowStatusRequest.cc
|
||||
src/model/ListDevopsProjectTaskFlowStatusResult.cc
|
||||
src/model/ListDevopsProjectTaskListRequest.cc
|
||||
src/model/ListDevopsProjectTaskListResult.cc
|
||||
src/model/ListDevopsProjectTasksRequest.cc
|
||||
src/model/ListDevopsProjectTasksResult.cc
|
||||
src/model/ListDevopsScenarioFieldConfigRequest.cc
|
||||
|
||||
@@ -94,6 +94,8 @@
|
||||
#include "model/ListDevopsProjectTaskFlowResult.h"
|
||||
#include "model/ListDevopsProjectTaskFlowStatusRequest.h"
|
||||
#include "model/ListDevopsProjectTaskFlowStatusResult.h"
|
||||
#include "model/ListDevopsProjectTaskListRequest.h"
|
||||
#include "model/ListDevopsProjectTaskListResult.h"
|
||||
#include "model/ListDevopsProjectTasksRequest.h"
|
||||
#include "model/ListDevopsProjectTasksResult.h"
|
||||
#include "model/ListDevopsScenarioFieldConfigRequest.h"
|
||||
@@ -231,6 +233,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListDevopsProjectTaskFlowStatusResult> ListDevopsProjectTaskFlowStatusOutcome;
|
||||
typedef std::future<ListDevopsProjectTaskFlowStatusOutcome> ListDevopsProjectTaskFlowStatusOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::ListDevopsProjectTaskFlowStatusRequest&, const ListDevopsProjectTaskFlowStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevopsProjectTaskFlowStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDevopsProjectTaskListResult> ListDevopsProjectTaskListOutcome;
|
||||
typedef std::future<ListDevopsProjectTaskListOutcome> ListDevopsProjectTaskListOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::ListDevopsProjectTaskListRequest&, const ListDevopsProjectTaskListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevopsProjectTaskListAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListDevopsProjectTasksResult> ListDevopsProjectTasksOutcome;
|
||||
typedef std::future<ListDevopsProjectTasksOutcome> ListDevopsProjectTasksOutcomeCallable;
|
||||
typedef std::function<void(const Devops_rdcClient*, const Model::ListDevopsProjectTasksRequest&, const ListDevopsProjectTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListDevopsProjectTasksAsyncHandler;
|
||||
@@ -374,6 +379,9 @@ namespace AlibabaCloud
|
||||
ListDevopsProjectTaskFlowStatusOutcome listDevopsProjectTaskFlowStatus(const Model::ListDevopsProjectTaskFlowStatusRequest &request)const;
|
||||
void listDevopsProjectTaskFlowStatusAsync(const Model::ListDevopsProjectTaskFlowStatusRequest& request, const ListDevopsProjectTaskFlowStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDevopsProjectTaskFlowStatusOutcomeCallable listDevopsProjectTaskFlowStatusCallable(const Model::ListDevopsProjectTaskFlowStatusRequest& request) const;
|
||||
ListDevopsProjectTaskListOutcome listDevopsProjectTaskList(const Model::ListDevopsProjectTaskListRequest &request)const;
|
||||
void listDevopsProjectTaskListAsync(const Model::ListDevopsProjectTaskListRequest& request, const ListDevopsProjectTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDevopsProjectTaskListOutcomeCallable listDevopsProjectTaskListCallable(const Model::ListDevopsProjectTaskListRequest& request) const;
|
||||
ListDevopsProjectTasksOutcome listDevopsProjectTasks(const Model::ListDevopsProjectTasksRequest &request)const;
|
||||
void listDevopsProjectTasksAsync(const Model::ListDevopsProjectTasksRequest& request, const ListDevopsProjectTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListDevopsProjectTasksOutcomeCallable listDevopsProjectTasksCallable(const Model::ListDevopsProjectTasksRequest& 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_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTREQUEST_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTaskListRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListDevopsProjectTaskListRequest();
|
||||
~ListDevopsProjectTaskListRequest();
|
||||
|
||||
std::string getProjectId()const;
|
||||
void setProjectId(const std::string& projectId);
|
||||
std::string getOrgId()const;
|
||||
void setOrgId(const std::string& orgId);
|
||||
|
||||
private:
|
||||
std::string projectId_;
|
||||
std::string orgId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTRESULT_H_
|
||||
#define ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/devops-rdc/Devops_rdcExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Devops_rdc
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DEVOPS_RDC_EXPORT ListDevopsProjectTaskListResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Object
|
||||
{
|
||||
struct ResultItem
|
||||
{
|
||||
std::string id;
|
||||
};
|
||||
std::vector<ResultItem> result;
|
||||
};
|
||||
|
||||
|
||||
ListDevopsProjectTaskListResult();
|
||||
explicit ListDevopsProjectTaskListResult(const std::string &payload);
|
||||
~ListDevopsProjectTaskListResult();
|
||||
std::string getErrorMsg()const;
|
||||
Object getObject()const;
|
||||
std::string getErrorCode()const;
|
||||
bool getSuccessful()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errorMsg_;
|
||||
Object object_;
|
||||
std::string errorCode_;
|
||||
bool successful_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DEVOPS_RDC_MODEL_LISTDEVOPSPROJECTTASKLISTRESULT_H_
|
||||
@@ -1347,6 +1347,42 @@ Devops_rdcClient::ListDevopsProjectTaskFlowStatusOutcomeCallable Devops_rdcClien
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Devops_rdcClient::ListDevopsProjectTaskListOutcome Devops_rdcClient::listDevopsProjectTaskList(const ListDevopsProjectTaskListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListDevopsProjectTaskListOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListDevopsProjectTaskListOutcome(ListDevopsProjectTaskListResult(outcome.result()));
|
||||
else
|
||||
return ListDevopsProjectTaskListOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void Devops_rdcClient::listDevopsProjectTaskListAsync(const ListDevopsProjectTaskListRequest& request, const ListDevopsProjectTaskListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listDevopsProjectTaskList(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
Devops_rdcClient::ListDevopsProjectTaskListOutcomeCallable Devops_rdcClient::listDevopsProjectTaskListCallable(const ListDevopsProjectTaskListRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListDevopsProjectTaskListOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listDevopsProjectTaskList(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
Devops_rdcClient::ListDevopsProjectTasksOutcome Devops_rdcClient::listDevopsProjectTasks(const ListDevopsProjectTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -50,24 +50,24 @@ void GetPipelineInstanceBuildNumberStatusResult::parse(const std::string &payloa
|
||||
groupObject.name = objectNodeGroupsgroup["Name"].asString();
|
||||
if(!objectNodeGroupsgroup["Status"].isNull())
|
||||
groupObject.status = objectNodeGroupsgroup["Status"].asString();
|
||||
auto allStagesNode = allGroupsNode["Stages"]["stage"];
|
||||
for (auto allGroupsNodeStagesstage : allStagesNode)
|
||||
auto allStagesNode = objectNodeGroupsgroup["Stages"]["stage"];
|
||||
for (auto objectNodeGroupsgroupStagesstage : allStagesNode)
|
||||
{
|
||||
Object::Group::Stage stagesObject;
|
||||
if(!allGroupsNodeStagesstage["Status"].isNull())
|
||||
stagesObject.status = allGroupsNodeStagesstage["Status"].asString();
|
||||
if(!allGroupsNodeStagesstage["Sign"].isNull())
|
||||
stagesObject.sign = allGroupsNodeStagesstage["Sign"].asString();
|
||||
auto allComponentsNode = allStagesNode["Components"]["component"];
|
||||
for (auto allStagesNodeComponentscomponent : allComponentsNode)
|
||||
if(!objectNodeGroupsgroupStagesstage["Status"].isNull())
|
||||
stagesObject.status = objectNodeGroupsgroupStagesstage["Status"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstage["Sign"].isNull())
|
||||
stagesObject.sign = objectNodeGroupsgroupStagesstage["Sign"].asString();
|
||||
auto allComponentsNode = objectNodeGroupsgroupStagesstage["Components"]["component"];
|
||||
for (auto objectNodeGroupsgroupStagesstageComponentscomponent : allComponentsNode)
|
||||
{
|
||||
Object::Group::Stage::Component componentsObject;
|
||||
if(!allStagesNodeComponentscomponent["Name"].isNull())
|
||||
componentsObject.name = allStagesNodeComponentscomponent["Name"].asString();
|
||||
if(!allStagesNodeComponentscomponent["Status"].isNull())
|
||||
componentsObject.status = allStagesNodeComponentscomponent["Status"].asString();
|
||||
if(!allStagesNodeComponentscomponent["JobId"].isNull())
|
||||
componentsObject.jobId = std::stol(allStagesNodeComponentscomponent["JobId"].asString());
|
||||
if(!objectNodeGroupsgroupStagesstageComponentscomponent["Name"].isNull())
|
||||
componentsObject.name = objectNodeGroupsgroupStagesstageComponentscomponent["Name"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstageComponentscomponent["Status"].isNull())
|
||||
componentsObject.status = objectNodeGroupsgroupStagesstageComponentscomponent["Status"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].isNull())
|
||||
componentsObject.jobId = std::stol(objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].asString());
|
||||
stagesObject.components.push_back(componentsObject);
|
||||
}
|
||||
groupObject.stages.push_back(stagesObject);
|
||||
|
||||
@@ -50,24 +50,24 @@ void GetPipelineInstanceGroupStatusResult::parse(const std::string &payload)
|
||||
groupObject.name = objectNodeGroupsgroup["Name"].asString();
|
||||
if(!objectNodeGroupsgroup["Status"].isNull())
|
||||
groupObject.status = objectNodeGroupsgroup["Status"].asString();
|
||||
auto allStagesNode = allGroupsNode["Stages"]["stage"];
|
||||
for (auto allGroupsNodeStagesstage : allStagesNode)
|
||||
auto allStagesNode = objectNodeGroupsgroup["Stages"]["stage"];
|
||||
for (auto objectNodeGroupsgroupStagesstage : allStagesNode)
|
||||
{
|
||||
Object::Group::Stage stagesObject;
|
||||
if(!allGroupsNodeStagesstage["Status"].isNull())
|
||||
stagesObject.status = allGroupsNodeStagesstage["Status"].asString();
|
||||
if(!allGroupsNodeStagesstage["Sign"].isNull())
|
||||
stagesObject.sign = allGroupsNodeStagesstage["Sign"].asString();
|
||||
auto allComponentsNode = allStagesNode["Components"]["component"];
|
||||
for (auto allStagesNodeComponentscomponent : allComponentsNode)
|
||||
if(!objectNodeGroupsgroupStagesstage["Status"].isNull())
|
||||
stagesObject.status = objectNodeGroupsgroupStagesstage["Status"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstage["Sign"].isNull())
|
||||
stagesObject.sign = objectNodeGroupsgroupStagesstage["Sign"].asString();
|
||||
auto allComponentsNode = objectNodeGroupsgroupStagesstage["Components"]["component"];
|
||||
for (auto objectNodeGroupsgroupStagesstageComponentscomponent : allComponentsNode)
|
||||
{
|
||||
Object::Group::Stage::Component componentsObject;
|
||||
if(!allStagesNodeComponentscomponent["Name"].isNull())
|
||||
componentsObject.name = allStagesNodeComponentscomponent["Name"].asString();
|
||||
if(!allStagesNodeComponentscomponent["Status"].isNull())
|
||||
componentsObject.status = allStagesNodeComponentscomponent["Status"].asString();
|
||||
if(!allStagesNodeComponentscomponent["JobId"].isNull())
|
||||
componentsObject.jobId = allStagesNodeComponentscomponent["JobId"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstageComponentscomponent["Name"].isNull())
|
||||
componentsObject.name = objectNodeGroupsgroupStagesstageComponentscomponent["Name"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstageComponentscomponent["Status"].isNull())
|
||||
componentsObject.status = objectNodeGroupsgroupStagesstageComponentscomponent["Status"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].isNull())
|
||||
componentsObject.jobId = objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].asString();
|
||||
stagesObject.components.push_back(componentsObject);
|
||||
}
|
||||
groupObject.stages.push_back(stagesObject);
|
||||
|
||||
@@ -49,16 +49,16 @@ void GetPipelineLogResult::parse(const std::string &payload)
|
||||
objectObject.actionName = valueObjectjob["ActionName"].asString();
|
||||
if(!valueObjectjob["StartTime"].isNull())
|
||||
objectObject.startTime = valueObjectjob["StartTime"].asString();
|
||||
auto allBuildProcessNodesNode = allObjectNode["BuildProcessNodes"]["buildProcessNode"];
|
||||
for (auto allObjectNodeBuildProcessNodesbuildProcessNode : allBuildProcessNodesNode)
|
||||
auto allBuildProcessNodesNode = valueObjectjob["BuildProcessNodes"]["buildProcessNode"];
|
||||
for (auto valueObjectjobBuildProcessNodesbuildProcessNode : allBuildProcessNodesNode)
|
||||
{
|
||||
Job::BuildProcessNode buildProcessNodesObject;
|
||||
if(!allObjectNodeBuildProcessNodesbuildProcessNode["NodeName"].isNull())
|
||||
buildProcessNodesObject.nodeName = allObjectNodeBuildProcessNodesbuildProcessNode["NodeName"].asString();
|
||||
if(!allObjectNodeBuildProcessNodesbuildProcessNode["NodeIndex"].isNull())
|
||||
buildProcessNodesObject.nodeIndex = std::stoi(allObjectNodeBuildProcessNodesbuildProcessNode["NodeIndex"].asString());
|
||||
if(!allObjectNodeBuildProcessNodesbuildProcessNode["Status"].isNull())
|
||||
buildProcessNodesObject.status = allObjectNodeBuildProcessNodesbuildProcessNode["Status"].asString();
|
||||
if(!valueObjectjobBuildProcessNodesbuildProcessNode["NodeName"].isNull())
|
||||
buildProcessNodesObject.nodeName = valueObjectjobBuildProcessNodesbuildProcessNode["NodeName"].asString();
|
||||
if(!valueObjectjobBuildProcessNodesbuildProcessNode["NodeIndex"].isNull())
|
||||
buildProcessNodesObject.nodeIndex = std::stoi(valueObjectjobBuildProcessNodesbuildProcessNode["NodeIndex"].asString());
|
||||
if(!valueObjectjobBuildProcessNodesbuildProcessNode["Status"].isNull())
|
||||
buildProcessNodesObject.status = valueObjectjobBuildProcessNodesbuildProcessNode["Status"].asString();
|
||||
objectObject.buildProcessNodes.push_back(buildProcessNodesObject);
|
||||
}
|
||||
object_.push_back(objectObject);
|
||||
|
||||
@@ -50,24 +50,24 @@ void GetPipleineLatestInstanceStatusResult::parse(const std::string &payload)
|
||||
groupObject.name = objectNodeGroupsgroup["Name"].asString();
|
||||
if(!objectNodeGroupsgroup["Status"].isNull())
|
||||
groupObject.status = objectNodeGroupsgroup["Status"].asString();
|
||||
auto allStagesNode = allGroupsNode["Stages"]["stage"];
|
||||
for (auto allGroupsNodeStagesstage : allStagesNode)
|
||||
auto allStagesNode = objectNodeGroupsgroup["Stages"]["stage"];
|
||||
for (auto objectNodeGroupsgroupStagesstage : allStagesNode)
|
||||
{
|
||||
Object::Group::Stage stagesObject;
|
||||
if(!allGroupsNodeStagesstage["Status"].isNull())
|
||||
stagesObject.status = allGroupsNodeStagesstage["Status"].asString();
|
||||
if(!allGroupsNodeStagesstage["Sign"].isNull())
|
||||
stagesObject.sign = allGroupsNodeStagesstage["Sign"].asString();
|
||||
auto allComponentsNode = allStagesNode["Components"]["component"];
|
||||
for (auto allStagesNodeComponentscomponent : allComponentsNode)
|
||||
if(!objectNodeGroupsgroupStagesstage["Status"].isNull())
|
||||
stagesObject.status = objectNodeGroupsgroupStagesstage["Status"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstage["Sign"].isNull())
|
||||
stagesObject.sign = objectNodeGroupsgroupStagesstage["Sign"].asString();
|
||||
auto allComponentsNode = objectNodeGroupsgroupStagesstage["Components"]["component"];
|
||||
for (auto objectNodeGroupsgroupStagesstageComponentscomponent : allComponentsNode)
|
||||
{
|
||||
Object::Group::Stage::Component componentsObject;
|
||||
if(!allStagesNodeComponentscomponent["Name"].isNull())
|
||||
componentsObject.name = allStagesNodeComponentscomponent["Name"].asString();
|
||||
if(!allStagesNodeComponentscomponent["Status"].isNull())
|
||||
componentsObject.status = allStagesNodeComponentscomponent["Status"].asString();
|
||||
if(!allStagesNodeComponentscomponent["JobId"].isNull())
|
||||
componentsObject.jobId = std::stol(allStagesNodeComponentscomponent["JobId"].asString());
|
||||
if(!objectNodeGroupsgroupStagesstageComponentscomponent["Name"].isNull())
|
||||
componentsObject.name = objectNodeGroupsgroupStagesstageComponentscomponent["Name"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstageComponentscomponent["Status"].isNull())
|
||||
componentsObject.status = objectNodeGroupsgroupStagesstageComponentscomponent["Status"].asString();
|
||||
if(!objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].isNull())
|
||||
componentsObject.jobId = std::stol(objectNodeGroupsgroupStagesstageComponentscomponent["JobId"].asString());
|
||||
stagesObject.components.push_back(componentsObject);
|
||||
}
|
||||
groupObject.stages.push_back(stagesObject);
|
||||
|
||||
51
devops-rdc/src/model/ListDevopsProjectTaskListRequest.cc
Normal file
51
devops-rdc/src/model/ListDevopsProjectTaskListRequest.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/devops-rdc/model/ListDevopsProjectTaskListRequest.h>
|
||||
|
||||
using AlibabaCloud::Devops_rdc::Model::ListDevopsProjectTaskListRequest;
|
||||
|
||||
ListDevopsProjectTaskListRequest::ListDevopsProjectTaskListRequest() :
|
||||
RpcServiceRequest("devops-rdc", "2020-03-03", "ListDevopsProjectTaskList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListDevopsProjectTaskListRequest::~ListDevopsProjectTaskListRequest()
|
||||
{}
|
||||
|
||||
std::string ListDevopsProjectTaskListRequest::getProjectId()const
|
||||
{
|
||||
return projectId_;
|
||||
}
|
||||
|
||||
void ListDevopsProjectTaskListRequest::setProjectId(const std::string& projectId)
|
||||
{
|
||||
projectId_ = projectId;
|
||||
setBodyParameter("ProjectId", projectId);
|
||||
}
|
||||
|
||||
std::string ListDevopsProjectTaskListRequest::getOrgId()const
|
||||
{
|
||||
return orgId_;
|
||||
}
|
||||
|
||||
void ListDevopsProjectTaskListRequest::setOrgId(const std::string& orgId)
|
||||
{
|
||||
orgId_ = orgId;
|
||||
setBodyParameter("OrgId", orgId);
|
||||
}
|
||||
|
||||
79
devops-rdc/src/model/ListDevopsProjectTaskListResult.cc
Normal file
79
devops-rdc/src/model/ListDevopsProjectTaskListResult.cc
Normal file
@@ -0,0 +1,79 @@
|
||||
/*
|
||||
* 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/devops-rdc/model/ListDevopsProjectTaskListResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Devops_rdc;
|
||||
using namespace AlibabaCloud::Devops_rdc::Model;
|
||||
|
||||
ListDevopsProjectTaskListResult::ListDevopsProjectTaskListResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListDevopsProjectTaskListResult::ListDevopsProjectTaskListResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListDevopsProjectTaskListResult::~ListDevopsProjectTaskListResult()
|
||||
{}
|
||||
|
||||
void ListDevopsProjectTaskListResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto objectNode = value["Object"];
|
||||
auto allResultNode = objectNode["Result"]["ResultItem"];
|
||||
for (auto objectNodeResultResultItem : allResultNode)
|
||||
{
|
||||
Object::ResultItem resultItemObject;
|
||||
if(!objectNodeResultResultItem["Id"].isNull())
|
||||
resultItemObject.id = objectNodeResultResultItem["Id"].asString();
|
||||
object_.result.push_back(resultItemObject);
|
||||
}
|
||||
if(!value["Successful"].isNull())
|
||||
successful_ = value["Successful"].asString() == "true";
|
||||
if(!value["ErrorCode"].isNull())
|
||||
errorCode_ = value["ErrorCode"].asString();
|
||||
if(!value["ErrorMsg"].isNull())
|
||||
errorMsg_ = value["ErrorMsg"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListDevopsProjectTaskListResult::getErrorMsg()const
|
||||
{
|
||||
return errorMsg_;
|
||||
}
|
||||
|
||||
ListDevopsProjectTaskListResult::Object ListDevopsProjectTaskListResult::getObject()const
|
||||
{
|
||||
return object_;
|
||||
}
|
||||
|
||||
std::string ListDevopsProjectTaskListResult::getErrorCode()const
|
||||
{
|
||||
return errorCode_;
|
||||
}
|
||||
|
||||
bool ListDevopsProjectTaskListResult::getSuccessful()const
|
||||
{
|
||||
return successful_;
|
||||
}
|
||||
|
||||
278
dts/CMakeLists.txt
Normal file
278
dts/CMakeLists.txt
Normal file
@@ -0,0 +1,278 @@
|
||||
#
|
||||
# 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(dts_public_header
|
||||
include/alibabacloud/dts/DtsClient.h
|
||||
include/alibabacloud/dts/DtsExport.h )
|
||||
|
||||
set(dts_public_header_model
|
||||
include/alibabacloud/dts/model/ConfigureMigrationJobRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureMigrationJobResult.h
|
||||
include/alibabacloud/dts/model/ConfigureMigrationJobAlertRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureMigrationJobAlertResult.h
|
||||
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceResult.h
|
||||
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceAlertRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureSubscriptionInstanceAlertResult.h
|
||||
include/alibabacloud/dts/model/ConfigureSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/ConfigureSynchronizationJobAlertRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureSynchronizationJobAlertResult.h
|
||||
include/alibabacloud/dts/model/ConfigureSynchronizationJobReplicatorCompareRequest.h
|
||||
include/alibabacloud/dts/model/ConfigureSynchronizationJobReplicatorCompareResult.h
|
||||
include/alibabacloud/dts/model/CreateConsumerGroupRequest.h
|
||||
include/alibabacloud/dts/model/CreateConsumerGroupResult.h
|
||||
include/alibabacloud/dts/model/CreateMigrationJobRequest.h
|
||||
include/alibabacloud/dts/model/CreateMigrationJobResult.h
|
||||
include/alibabacloud/dts/model/CreateSubscriptionInstanceRequest.h
|
||||
include/alibabacloud/dts/model/CreateSubscriptionInstanceResult.h
|
||||
include/alibabacloud/dts/model/CreateSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/CreateSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/DeleteConsumerGroupRequest.h
|
||||
include/alibabacloud/dts/model/DeleteConsumerGroupResult.h
|
||||
include/alibabacloud/dts/model/DeleteMigrationJobRequest.h
|
||||
include/alibabacloud/dts/model/DeleteMigrationJobResult.h
|
||||
include/alibabacloud/dts/model/DeleteSubscriptionInstanceRequest.h
|
||||
include/alibabacloud/dts/model/DeleteSubscriptionInstanceResult.h
|
||||
include/alibabacloud/dts/model/DeleteSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/DeleteSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/DescribeConsumerGroupRequest.h
|
||||
include/alibabacloud/dts/model/DescribeConsumerGroupResult.h
|
||||
include/alibabacloud/dts/model/DescribeEndpointSwitchStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeEndpointSwitchStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeInitializationStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeInitializationStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobAlertRequest.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobAlertResult.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobDetailRequest.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobDetailResult.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobsRequest.h
|
||||
include/alibabacloud/dts/model/DescribeMigrationJobsResult.h
|
||||
include/alibabacloud/dts/model/DescribeSubscriptionInstanceAlertRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSubscriptionInstanceAlertResult.h
|
||||
include/alibabacloud/dts/model/DescribeSubscriptionInstanceStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSubscriptionInstanceStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeSubscriptionInstancesRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSubscriptionInstancesResult.h
|
||||
include/alibabacloud/dts/model/DescribeSubscriptionObjectModifyStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSubscriptionObjectModifyStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobAlertRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobAlertResult.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobReplicatorCompareRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobReplicatorCompareResult.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobStatusResult.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobStatusListRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobStatusListResult.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobsRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationJobsResult.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationObjectModifyStatusRequest.h
|
||||
include/alibabacloud/dts/model/DescribeSynchronizationObjectModifyStatusResult.h
|
||||
include/alibabacloud/dts/model/ListTagResourcesRequest.h
|
||||
include/alibabacloud/dts/model/ListTagResourcesResult.h
|
||||
include/alibabacloud/dts/model/ModifyConsumerGroupPasswordRequest.h
|
||||
include/alibabacloud/dts/model/ModifyConsumerGroupPasswordResult.h
|
||||
include/alibabacloud/dts/model/ModifyConsumptionTimestampRequest.h
|
||||
include/alibabacloud/dts/model/ModifyConsumptionTimestampResult.h
|
||||
include/alibabacloud/dts/model/ModifyMigrationObjectRequest.h
|
||||
include/alibabacloud/dts/model/ModifyMigrationObjectResult.h
|
||||
include/alibabacloud/dts/model/ModifySubscriptionObjectRequest.h
|
||||
include/alibabacloud/dts/model/ModifySubscriptionObjectResult.h
|
||||
include/alibabacloud/dts/model/ModifySynchronizationObjectRequest.h
|
||||
include/alibabacloud/dts/model/ModifySynchronizationObjectResult.h
|
||||
include/alibabacloud/dts/model/ResetSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/ResetSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/ShieldPrecheckRequest.h
|
||||
include/alibabacloud/dts/model/ShieldPrecheckResult.h
|
||||
include/alibabacloud/dts/model/StartMigrationJobRequest.h
|
||||
include/alibabacloud/dts/model/StartMigrationJobResult.h
|
||||
include/alibabacloud/dts/model/StartSubscriptionInstanceRequest.h
|
||||
include/alibabacloud/dts/model/StartSubscriptionInstanceResult.h
|
||||
include/alibabacloud/dts/model/StartSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/StartSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/StopMigrationJobRequest.h
|
||||
include/alibabacloud/dts/model/StopMigrationJobResult.h
|
||||
include/alibabacloud/dts/model/SuspendMigrationJobRequest.h
|
||||
include/alibabacloud/dts/model/SuspendMigrationJobResult.h
|
||||
include/alibabacloud/dts/model/SuspendSynchronizationJobRequest.h
|
||||
include/alibabacloud/dts/model/SuspendSynchronizationJobResult.h
|
||||
include/alibabacloud/dts/model/SwitchSynchronizationEndpointRequest.h
|
||||
include/alibabacloud/dts/model/SwitchSynchronizationEndpointResult.h
|
||||
include/alibabacloud/dts/model/TagResourcesRequest.h
|
||||
include/alibabacloud/dts/model/TagResourcesResult.h
|
||||
include/alibabacloud/dts/model/UntagResourcesRequest.h
|
||||
include/alibabacloud/dts/model/UntagResourcesResult.h )
|
||||
|
||||
set(dts_src
|
||||
src/DtsClient.cc
|
||||
src/model/ConfigureMigrationJobRequest.cc
|
||||
src/model/ConfigureMigrationJobResult.cc
|
||||
src/model/ConfigureMigrationJobAlertRequest.cc
|
||||
src/model/ConfigureMigrationJobAlertResult.cc
|
||||
src/model/ConfigureSubscriptionInstanceRequest.cc
|
||||
src/model/ConfigureSubscriptionInstanceResult.cc
|
||||
src/model/ConfigureSubscriptionInstanceAlertRequest.cc
|
||||
src/model/ConfigureSubscriptionInstanceAlertResult.cc
|
||||
src/model/ConfigureSynchronizationJobRequest.cc
|
||||
src/model/ConfigureSynchronizationJobResult.cc
|
||||
src/model/ConfigureSynchronizationJobAlertRequest.cc
|
||||
src/model/ConfigureSynchronizationJobAlertResult.cc
|
||||
src/model/ConfigureSynchronizationJobReplicatorCompareRequest.cc
|
||||
src/model/ConfigureSynchronizationJobReplicatorCompareResult.cc
|
||||
src/model/CreateConsumerGroupRequest.cc
|
||||
src/model/CreateConsumerGroupResult.cc
|
||||
src/model/CreateMigrationJobRequest.cc
|
||||
src/model/CreateMigrationJobResult.cc
|
||||
src/model/CreateSubscriptionInstanceRequest.cc
|
||||
src/model/CreateSubscriptionInstanceResult.cc
|
||||
src/model/CreateSynchronizationJobRequest.cc
|
||||
src/model/CreateSynchronizationJobResult.cc
|
||||
src/model/DeleteConsumerGroupRequest.cc
|
||||
src/model/DeleteConsumerGroupResult.cc
|
||||
src/model/DeleteMigrationJobRequest.cc
|
||||
src/model/DeleteMigrationJobResult.cc
|
||||
src/model/DeleteSubscriptionInstanceRequest.cc
|
||||
src/model/DeleteSubscriptionInstanceResult.cc
|
||||
src/model/DeleteSynchronizationJobRequest.cc
|
||||
src/model/DeleteSynchronizationJobResult.cc
|
||||
src/model/DescribeConsumerGroupRequest.cc
|
||||
src/model/DescribeConsumerGroupResult.cc
|
||||
src/model/DescribeEndpointSwitchStatusRequest.cc
|
||||
src/model/DescribeEndpointSwitchStatusResult.cc
|
||||
src/model/DescribeInitializationStatusRequest.cc
|
||||
src/model/DescribeInitializationStatusResult.cc
|
||||
src/model/DescribeMigrationJobAlertRequest.cc
|
||||
src/model/DescribeMigrationJobAlertResult.cc
|
||||
src/model/DescribeMigrationJobDetailRequest.cc
|
||||
src/model/DescribeMigrationJobDetailResult.cc
|
||||
src/model/DescribeMigrationJobStatusRequest.cc
|
||||
src/model/DescribeMigrationJobStatusResult.cc
|
||||
src/model/DescribeMigrationJobsRequest.cc
|
||||
src/model/DescribeMigrationJobsResult.cc
|
||||
src/model/DescribeSubscriptionInstanceAlertRequest.cc
|
||||
src/model/DescribeSubscriptionInstanceAlertResult.cc
|
||||
src/model/DescribeSubscriptionInstanceStatusRequest.cc
|
||||
src/model/DescribeSubscriptionInstanceStatusResult.cc
|
||||
src/model/DescribeSubscriptionInstancesRequest.cc
|
||||
src/model/DescribeSubscriptionInstancesResult.cc
|
||||
src/model/DescribeSubscriptionObjectModifyStatusRequest.cc
|
||||
src/model/DescribeSubscriptionObjectModifyStatusResult.cc
|
||||
src/model/DescribeSynchronizationJobAlertRequest.cc
|
||||
src/model/DescribeSynchronizationJobAlertResult.cc
|
||||
src/model/DescribeSynchronizationJobReplicatorCompareRequest.cc
|
||||
src/model/DescribeSynchronizationJobReplicatorCompareResult.cc
|
||||
src/model/DescribeSynchronizationJobStatusRequest.cc
|
||||
src/model/DescribeSynchronizationJobStatusResult.cc
|
||||
src/model/DescribeSynchronizationJobStatusListRequest.cc
|
||||
src/model/DescribeSynchronizationJobStatusListResult.cc
|
||||
src/model/DescribeSynchronizationJobsRequest.cc
|
||||
src/model/DescribeSynchronizationJobsResult.cc
|
||||
src/model/DescribeSynchronizationObjectModifyStatusRequest.cc
|
||||
src/model/DescribeSynchronizationObjectModifyStatusResult.cc
|
||||
src/model/ListTagResourcesRequest.cc
|
||||
src/model/ListTagResourcesResult.cc
|
||||
src/model/ModifyConsumerGroupPasswordRequest.cc
|
||||
src/model/ModifyConsumerGroupPasswordResult.cc
|
||||
src/model/ModifyConsumptionTimestampRequest.cc
|
||||
src/model/ModifyConsumptionTimestampResult.cc
|
||||
src/model/ModifyMigrationObjectRequest.cc
|
||||
src/model/ModifyMigrationObjectResult.cc
|
||||
src/model/ModifySubscriptionObjectRequest.cc
|
||||
src/model/ModifySubscriptionObjectResult.cc
|
||||
src/model/ModifySynchronizationObjectRequest.cc
|
||||
src/model/ModifySynchronizationObjectResult.cc
|
||||
src/model/ResetSynchronizationJobRequest.cc
|
||||
src/model/ResetSynchronizationJobResult.cc
|
||||
src/model/ShieldPrecheckRequest.cc
|
||||
src/model/ShieldPrecheckResult.cc
|
||||
src/model/StartMigrationJobRequest.cc
|
||||
src/model/StartMigrationJobResult.cc
|
||||
src/model/StartSubscriptionInstanceRequest.cc
|
||||
src/model/StartSubscriptionInstanceResult.cc
|
||||
src/model/StartSynchronizationJobRequest.cc
|
||||
src/model/StartSynchronizationJobResult.cc
|
||||
src/model/StopMigrationJobRequest.cc
|
||||
src/model/StopMigrationJobResult.cc
|
||||
src/model/SuspendMigrationJobRequest.cc
|
||||
src/model/SuspendMigrationJobResult.cc
|
||||
src/model/SuspendSynchronizationJobRequest.cc
|
||||
src/model/SuspendSynchronizationJobResult.cc
|
||||
src/model/SwitchSynchronizationEndpointRequest.cc
|
||||
src/model/SwitchSynchronizationEndpointResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
src/model/UntagResourcesResult.cc )
|
||||
|
||||
add_library(dts ${LIB_TYPE}
|
||||
${dts_public_header}
|
||||
${dts_public_header_model}
|
||||
${dts_src})
|
||||
|
||||
set_target_properties(dts
|
||||
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}dts
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(dts
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_DTS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(dts
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(dts
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(dts
|
||||
jsoncpp)
|
||||
target_include_directories(dts
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(dts
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(dts
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(dts
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(dts
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${dts_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dts)
|
||||
install(FILES ${dts_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/dts/model)
|
||||
install(TARGETS dts
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
438
dts/include/alibabacloud/dts/DtsClient.h
Normal file
438
dts/include/alibabacloud/dts/DtsClient.h
Normal file
@@ -0,0 +1,438 @@
|
||||
/*
|
||||
* 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_DTS_DTSCLIENT_H_
|
||||
#define ALIBABACLOUD_DTS_DTSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "DtsExport.h"
|
||||
#include "model/ConfigureMigrationJobRequest.h"
|
||||
#include "model/ConfigureMigrationJobResult.h"
|
||||
#include "model/ConfigureMigrationJobAlertRequest.h"
|
||||
#include "model/ConfigureMigrationJobAlertResult.h"
|
||||
#include "model/ConfigureSubscriptionInstanceRequest.h"
|
||||
#include "model/ConfigureSubscriptionInstanceResult.h"
|
||||
#include "model/ConfigureSubscriptionInstanceAlertRequest.h"
|
||||
#include "model/ConfigureSubscriptionInstanceAlertResult.h"
|
||||
#include "model/ConfigureSynchronizationJobRequest.h"
|
||||
#include "model/ConfigureSynchronizationJobResult.h"
|
||||
#include "model/ConfigureSynchronizationJobAlertRequest.h"
|
||||
#include "model/ConfigureSynchronizationJobAlertResult.h"
|
||||
#include "model/ConfigureSynchronizationJobReplicatorCompareRequest.h"
|
||||
#include "model/ConfigureSynchronizationJobReplicatorCompareResult.h"
|
||||
#include "model/CreateConsumerGroupRequest.h"
|
||||
#include "model/CreateConsumerGroupResult.h"
|
||||
#include "model/CreateMigrationJobRequest.h"
|
||||
#include "model/CreateMigrationJobResult.h"
|
||||
#include "model/CreateSubscriptionInstanceRequest.h"
|
||||
#include "model/CreateSubscriptionInstanceResult.h"
|
||||
#include "model/CreateSynchronizationJobRequest.h"
|
||||
#include "model/CreateSynchronizationJobResult.h"
|
||||
#include "model/DeleteConsumerGroupRequest.h"
|
||||
#include "model/DeleteConsumerGroupResult.h"
|
||||
#include "model/DeleteMigrationJobRequest.h"
|
||||
#include "model/DeleteMigrationJobResult.h"
|
||||
#include "model/DeleteSubscriptionInstanceRequest.h"
|
||||
#include "model/DeleteSubscriptionInstanceResult.h"
|
||||
#include "model/DeleteSynchronizationJobRequest.h"
|
||||
#include "model/DeleteSynchronizationJobResult.h"
|
||||
#include "model/DescribeConsumerGroupRequest.h"
|
||||
#include "model/DescribeConsumerGroupResult.h"
|
||||
#include "model/DescribeEndpointSwitchStatusRequest.h"
|
||||
#include "model/DescribeEndpointSwitchStatusResult.h"
|
||||
#include "model/DescribeInitializationStatusRequest.h"
|
||||
#include "model/DescribeInitializationStatusResult.h"
|
||||
#include "model/DescribeMigrationJobAlertRequest.h"
|
||||
#include "model/DescribeMigrationJobAlertResult.h"
|
||||
#include "model/DescribeMigrationJobDetailRequest.h"
|
||||
#include "model/DescribeMigrationJobDetailResult.h"
|
||||
#include "model/DescribeMigrationJobStatusRequest.h"
|
||||
#include "model/DescribeMigrationJobStatusResult.h"
|
||||
#include "model/DescribeMigrationJobsRequest.h"
|
||||
#include "model/DescribeMigrationJobsResult.h"
|
||||
#include "model/DescribeSubscriptionInstanceAlertRequest.h"
|
||||
#include "model/DescribeSubscriptionInstanceAlertResult.h"
|
||||
#include "model/DescribeSubscriptionInstanceStatusRequest.h"
|
||||
#include "model/DescribeSubscriptionInstanceStatusResult.h"
|
||||
#include "model/DescribeSubscriptionInstancesRequest.h"
|
||||
#include "model/DescribeSubscriptionInstancesResult.h"
|
||||
#include "model/DescribeSubscriptionObjectModifyStatusRequest.h"
|
||||
#include "model/DescribeSubscriptionObjectModifyStatusResult.h"
|
||||
#include "model/DescribeSynchronizationJobAlertRequest.h"
|
||||
#include "model/DescribeSynchronizationJobAlertResult.h"
|
||||
#include "model/DescribeSynchronizationJobReplicatorCompareRequest.h"
|
||||
#include "model/DescribeSynchronizationJobReplicatorCompareResult.h"
|
||||
#include "model/DescribeSynchronizationJobStatusRequest.h"
|
||||
#include "model/DescribeSynchronizationJobStatusResult.h"
|
||||
#include "model/DescribeSynchronizationJobStatusListRequest.h"
|
||||
#include "model/DescribeSynchronizationJobStatusListResult.h"
|
||||
#include "model/DescribeSynchronizationJobsRequest.h"
|
||||
#include "model/DescribeSynchronizationJobsResult.h"
|
||||
#include "model/DescribeSynchronizationObjectModifyStatusRequest.h"
|
||||
#include "model/DescribeSynchronizationObjectModifyStatusResult.h"
|
||||
#include "model/ListTagResourcesRequest.h"
|
||||
#include "model/ListTagResourcesResult.h"
|
||||
#include "model/ModifyConsumerGroupPasswordRequest.h"
|
||||
#include "model/ModifyConsumerGroupPasswordResult.h"
|
||||
#include "model/ModifyConsumptionTimestampRequest.h"
|
||||
#include "model/ModifyConsumptionTimestampResult.h"
|
||||
#include "model/ModifyMigrationObjectRequest.h"
|
||||
#include "model/ModifyMigrationObjectResult.h"
|
||||
#include "model/ModifySubscriptionObjectRequest.h"
|
||||
#include "model/ModifySubscriptionObjectResult.h"
|
||||
#include "model/ModifySynchronizationObjectRequest.h"
|
||||
#include "model/ModifySynchronizationObjectResult.h"
|
||||
#include "model/ResetSynchronizationJobRequest.h"
|
||||
#include "model/ResetSynchronizationJobResult.h"
|
||||
#include "model/ShieldPrecheckRequest.h"
|
||||
#include "model/ShieldPrecheckResult.h"
|
||||
#include "model/StartMigrationJobRequest.h"
|
||||
#include "model/StartMigrationJobResult.h"
|
||||
#include "model/StartSubscriptionInstanceRequest.h"
|
||||
#include "model/StartSubscriptionInstanceResult.h"
|
||||
#include "model/StartSynchronizationJobRequest.h"
|
||||
#include "model/StartSynchronizationJobResult.h"
|
||||
#include "model/StopMigrationJobRequest.h"
|
||||
#include "model/StopMigrationJobResult.h"
|
||||
#include "model/SuspendMigrationJobRequest.h"
|
||||
#include "model/SuspendMigrationJobResult.h"
|
||||
#include "model/SuspendSynchronizationJobRequest.h"
|
||||
#include "model/SuspendSynchronizationJobResult.h"
|
||||
#include "model/SwitchSynchronizationEndpointRequest.h"
|
||||
#include "model/SwitchSynchronizationEndpointResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
#include "model/UntagResourcesResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT DtsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::ConfigureMigrationJobResult> ConfigureMigrationJobOutcome;
|
||||
typedef std::future<ConfigureMigrationJobOutcome> ConfigureMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureMigrationJobRequest&, const ConfigureMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureMigrationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureMigrationJobAlertResult> ConfigureMigrationJobAlertOutcome;
|
||||
typedef std::future<ConfigureMigrationJobAlertOutcome> ConfigureMigrationJobAlertOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureMigrationJobAlertRequest&, const ConfigureMigrationJobAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureMigrationJobAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureSubscriptionInstanceResult> ConfigureSubscriptionInstanceOutcome;
|
||||
typedef std::future<ConfigureSubscriptionInstanceOutcome> ConfigureSubscriptionInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureSubscriptionInstanceRequest&, const ConfigureSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSubscriptionInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureSubscriptionInstanceAlertResult> ConfigureSubscriptionInstanceAlertOutcome;
|
||||
typedef std::future<ConfigureSubscriptionInstanceAlertOutcome> ConfigureSubscriptionInstanceAlertOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureSubscriptionInstanceAlertRequest&, const ConfigureSubscriptionInstanceAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSubscriptionInstanceAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureSynchronizationJobResult> ConfigureSynchronizationJobOutcome;
|
||||
typedef std::future<ConfigureSynchronizationJobOutcome> ConfigureSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureSynchronizationJobRequest&, const ConfigureSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureSynchronizationJobAlertResult> ConfigureSynchronizationJobAlertOutcome;
|
||||
typedef std::future<ConfigureSynchronizationJobAlertOutcome> ConfigureSynchronizationJobAlertOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureSynchronizationJobAlertRequest&, const ConfigureSynchronizationJobAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSynchronizationJobAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::ConfigureSynchronizationJobReplicatorCompareResult> ConfigureSynchronizationJobReplicatorCompareOutcome;
|
||||
typedef std::future<ConfigureSynchronizationJobReplicatorCompareOutcome> ConfigureSynchronizationJobReplicatorCompareOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ConfigureSynchronizationJobReplicatorCompareRequest&, const ConfigureSynchronizationJobReplicatorCompareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ConfigureSynchronizationJobReplicatorCompareAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateConsumerGroupResult> CreateConsumerGroupOutcome;
|
||||
typedef std::future<CreateConsumerGroupOutcome> CreateConsumerGroupOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateConsumerGroupRequest&, const CreateConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateConsumerGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateMigrationJobResult> CreateMigrationJobOutcome;
|
||||
typedef std::future<CreateMigrationJobOutcome> CreateMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateMigrationJobRequest&, const CreateMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMigrationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSubscriptionInstanceResult> CreateSubscriptionInstanceOutcome;
|
||||
typedef std::future<CreateSubscriptionInstanceOutcome> CreateSubscriptionInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateSubscriptionInstanceRequest&, const CreateSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSubscriptionInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateSynchronizationJobResult> CreateSynchronizationJobOutcome;
|
||||
typedef std::future<CreateSynchronizationJobOutcome> CreateSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::CreateSynchronizationJobRequest&, const CreateSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteConsumerGroupResult> DeleteConsumerGroupOutcome;
|
||||
typedef std::future<DeleteConsumerGroupOutcome> DeleteConsumerGroupOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteConsumerGroupRequest&, const DeleteConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteConsumerGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteMigrationJobResult> DeleteMigrationJobOutcome;
|
||||
typedef std::future<DeleteMigrationJobOutcome> DeleteMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteMigrationJobRequest&, const DeleteMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteMigrationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSubscriptionInstanceResult> DeleteSubscriptionInstanceOutcome;
|
||||
typedef std::future<DeleteSubscriptionInstanceOutcome> DeleteSubscriptionInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteSubscriptionInstanceRequest&, const DeleteSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSubscriptionInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteSynchronizationJobResult> DeleteSynchronizationJobOutcome;
|
||||
typedef std::future<DeleteSynchronizationJobOutcome> DeleteSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DeleteSynchronizationJobRequest&, const DeleteSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeConsumerGroupResult> DescribeConsumerGroupOutcome;
|
||||
typedef std::future<DescribeConsumerGroupOutcome> DescribeConsumerGroupOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeConsumerGroupRequest&, const DescribeConsumerGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeConsumerGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeEndpointSwitchStatusResult> DescribeEndpointSwitchStatusOutcome;
|
||||
typedef std::future<DescribeEndpointSwitchStatusOutcome> DescribeEndpointSwitchStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeEndpointSwitchStatusRequest&, const DescribeEndpointSwitchStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeEndpointSwitchStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeInitializationStatusResult> DescribeInitializationStatusOutcome;
|
||||
typedef std::future<DescribeInitializationStatusOutcome> DescribeInitializationStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeInitializationStatusRequest&, const DescribeInitializationStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeInitializationStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMigrationJobAlertResult> DescribeMigrationJobAlertOutcome;
|
||||
typedef std::future<DescribeMigrationJobAlertOutcome> DescribeMigrationJobAlertOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobAlertRequest&, const DescribeMigrationJobAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMigrationJobDetailResult> DescribeMigrationJobDetailOutcome;
|
||||
typedef std::future<DescribeMigrationJobDetailOutcome> DescribeMigrationJobDetailOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobDetailRequest&, const DescribeMigrationJobDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobDetailAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMigrationJobStatusResult> DescribeMigrationJobStatusOutcome;
|
||||
typedef std::future<DescribeMigrationJobStatusOutcome> DescribeMigrationJobStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobStatusRequest&, const DescribeMigrationJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeMigrationJobsResult> DescribeMigrationJobsOutcome;
|
||||
typedef std::future<DescribeMigrationJobsOutcome> DescribeMigrationJobsOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeMigrationJobsRequest&, const DescribeMigrationJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeMigrationJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSubscriptionInstanceAlertResult> DescribeSubscriptionInstanceAlertOutcome;
|
||||
typedef std::future<DescribeSubscriptionInstanceAlertOutcome> DescribeSubscriptionInstanceAlertOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionInstanceAlertRequest&, const DescribeSubscriptionInstanceAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionInstanceAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSubscriptionInstanceStatusResult> DescribeSubscriptionInstanceStatusOutcome;
|
||||
typedef std::future<DescribeSubscriptionInstanceStatusOutcome> DescribeSubscriptionInstanceStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionInstanceStatusRequest&, const DescribeSubscriptionInstanceStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionInstanceStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSubscriptionInstancesResult> DescribeSubscriptionInstancesOutcome;
|
||||
typedef std::future<DescribeSubscriptionInstancesOutcome> DescribeSubscriptionInstancesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionInstancesRequest&, const DescribeSubscriptionInstancesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionInstancesAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSubscriptionObjectModifyStatusResult> DescribeSubscriptionObjectModifyStatusOutcome;
|
||||
typedef std::future<DescribeSubscriptionObjectModifyStatusOutcome> DescribeSubscriptionObjectModifyStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSubscriptionObjectModifyStatusRequest&, const DescribeSubscriptionObjectModifyStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSubscriptionObjectModifyStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSynchronizationJobAlertResult> DescribeSynchronizationJobAlertOutcome;
|
||||
typedef std::future<DescribeSynchronizationJobAlertOutcome> DescribeSynchronizationJobAlertOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobAlertRequest&, const DescribeSynchronizationJobAlertOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobAlertAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSynchronizationJobReplicatorCompareResult> DescribeSynchronizationJobReplicatorCompareOutcome;
|
||||
typedef std::future<DescribeSynchronizationJobReplicatorCompareOutcome> DescribeSynchronizationJobReplicatorCompareOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobReplicatorCompareRequest&, const DescribeSynchronizationJobReplicatorCompareOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobReplicatorCompareAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSynchronizationJobStatusResult> DescribeSynchronizationJobStatusOutcome;
|
||||
typedef std::future<DescribeSynchronizationJobStatusOutcome> DescribeSynchronizationJobStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobStatusRequest&, const DescribeSynchronizationJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSynchronizationJobStatusListResult> DescribeSynchronizationJobStatusListOutcome;
|
||||
typedef std::future<DescribeSynchronizationJobStatusListOutcome> DescribeSynchronizationJobStatusListOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobStatusListRequest&, const DescribeSynchronizationJobStatusListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobStatusListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSynchronizationJobsResult> DescribeSynchronizationJobsOutcome;
|
||||
typedef std::future<DescribeSynchronizationJobsOutcome> DescribeSynchronizationJobsOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationJobsRequest&, const DescribeSynchronizationJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeSynchronizationObjectModifyStatusResult> DescribeSynchronizationObjectModifyStatusOutcome;
|
||||
typedef std::future<DescribeSynchronizationObjectModifyStatusOutcome> DescribeSynchronizationObjectModifyStatusOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::DescribeSynchronizationObjectModifyStatusRequest&, const DescribeSynchronizationObjectModifyStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeSynchronizationObjectModifyStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListTagResourcesResult> ListTagResourcesOutcome;
|
||||
typedef std::future<ListTagResourcesOutcome> ListTagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ListTagResourcesRequest&, const ListTagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListTagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyConsumerGroupPasswordResult> ModifyConsumerGroupPasswordOutcome;
|
||||
typedef std::future<ModifyConsumerGroupPasswordOutcome> ModifyConsumerGroupPasswordOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyConsumerGroupPasswordRequest&, const ModifyConsumerGroupPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyConsumerGroupPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyConsumptionTimestampResult> ModifyConsumptionTimestampOutcome;
|
||||
typedef std::future<ModifyConsumptionTimestampOutcome> ModifyConsumptionTimestampOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyConsumptionTimestampRequest&, const ModifyConsumptionTimestampOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyConsumptionTimestampAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyMigrationObjectResult> ModifyMigrationObjectOutcome;
|
||||
typedef std::future<ModifyMigrationObjectOutcome> ModifyMigrationObjectOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifyMigrationObjectRequest&, const ModifyMigrationObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMigrationObjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySubscriptionObjectResult> ModifySubscriptionObjectOutcome;
|
||||
typedef std::future<ModifySubscriptionObjectOutcome> ModifySubscriptionObjectOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifySubscriptionObjectRequest&, const ModifySubscriptionObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySubscriptionObjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifySynchronizationObjectResult> ModifySynchronizationObjectOutcome;
|
||||
typedef std::future<ModifySynchronizationObjectOutcome> ModifySynchronizationObjectOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ModifySynchronizationObjectRequest&, const ModifySynchronizationObjectOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifySynchronizationObjectAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResetSynchronizationJobResult> ResetSynchronizationJobOutcome;
|
||||
typedef std::future<ResetSynchronizationJobOutcome> ResetSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ResetSynchronizationJobRequest&, const ResetSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::ShieldPrecheckResult> ShieldPrecheckOutcome;
|
||||
typedef std::future<ShieldPrecheckOutcome> ShieldPrecheckOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::ShieldPrecheckRequest&, const ShieldPrecheckOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ShieldPrecheckAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartMigrationJobResult> StartMigrationJobOutcome;
|
||||
typedef std::future<StartMigrationJobOutcome> StartMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StartMigrationJobRequest&, const StartMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMigrationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartSubscriptionInstanceResult> StartSubscriptionInstanceOutcome;
|
||||
typedef std::future<StartSubscriptionInstanceOutcome> StartSubscriptionInstanceOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StartSubscriptionInstanceRequest&, const StartSubscriptionInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartSubscriptionInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartSynchronizationJobResult> StartSynchronizationJobOutcome;
|
||||
typedef std::future<StartSynchronizationJobOutcome> StartSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StartSynchronizationJobRequest&, const StartSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopMigrationJobResult> StopMigrationJobOutcome;
|
||||
typedef std::future<StopMigrationJobOutcome> StopMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::StopMigrationJobRequest&, const StopMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMigrationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::SuspendMigrationJobResult> SuspendMigrationJobOutcome;
|
||||
typedef std::future<SuspendMigrationJobOutcome> SuspendMigrationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::SuspendMigrationJobRequest&, const SuspendMigrationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendMigrationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::SuspendSynchronizationJobResult> SuspendSynchronizationJobOutcome;
|
||||
typedef std::future<SuspendSynchronizationJobOutcome> SuspendSynchronizationJobOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::SuspendSynchronizationJobRequest&, const SuspendSynchronizationJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SuspendSynchronizationJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::SwitchSynchronizationEndpointResult> SwitchSynchronizationEndpointOutcome;
|
||||
typedef std::future<SwitchSynchronizationEndpointOutcome> SwitchSynchronizationEndpointOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::SwitchSynchronizationEndpointRequest&, const SwitchSynchronizationEndpointOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SwitchSynchronizationEndpointAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
typedef Outcome<Error, Model::UntagResourcesResult> UntagResourcesOutcome;
|
||||
typedef std::future<UntagResourcesOutcome> UntagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const DtsClient*, const Model::UntagResourcesRequest&, const UntagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> UntagResourcesAsyncHandler;
|
||||
|
||||
DtsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
DtsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
DtsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~DtsClient();
|
||||
ConfigureMigrationJobOutcome configureMigrationJob(const Model::ConfigureMigrationJobRequest &request)const;
|
||||
void configureMigrationJobAsync(const Model::ConfigureMigrationJobRequest& request, const ConfigureMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureMigrationJobOutcomeCallable configureMigrationJobCallable(const Model::ConfigureMigrationJobRequest& request) const;
|
||||
ConfigureMigrationJobAlertOutcome configureMigrationJobAlert(const Model::ConfigureMigrationJobAlertRequest &request)const;
|
||||
void configureMigrationJobAlertAsync(const Model::ConfigureMigrationJobAlertRequest& request, const ConfigureMigrationJobAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureMigrationJobAlertOutcomeCallable configureMigrationJobAlertCallable(const Model::ConfigureMigrationJobAlertRequest& request) const;
|
||||
ConfigureSubscriptionInstanceOutcome configureSubscriptionInstance(const Model::ConfigureSubscriptionInstanceRequest &request)const;
|
||||
void configureSubscriptionInstanceAsync(const Model::ConfigureSubscriptionInstanceRequest& request, const ConfigureSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureSubscriptionInstanceOutcomeCallable configureSubscriptionInstanceCallable(const Model::ConfigureSubscriptionInstanceRequest& request) const;
|
||||
ConfigureSubscriptionInstanceAlertOutcome configureSubscriptionInstanceAlert(const Model::ConfigureSubscriptionInstanceAlertRequest &request)const;
|
||||
void configureSubscriptionInstanceAlertAsync(const Model::ConfigureSubscriptionInstanceAlertRequest& request, const ConfigureSubscriptionInstanceAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureSubscriptionInstanceAlertOutcomeCallable configureSubscriptionInstanceAlertCallable(const Model::ConfigureSubscriptionInstanceAlertRequest& request) const;
|
||||
ConfigureSynchronizationJobOutcome configureSynchronizationJob(const Model::ConfigureSynchronizationJobRequest &request)const;
|
||||
void configureSynchronizationJobAsync(const Model::ConfigureSynchronizationJobRequest& request, const ConfigureSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureSynchronizationJobOutcomeCallable configureSynchronizationJobCallable(const Model::ConfigureSynchronizationJobRequest& request) const;
|
||||
ConfigureSynchronizationJobAlertOutcome configureSynchronizationJobAlert(const Model::ConfigureSynchronizationJobAlertRequest &request)const;
|
||||
void configureSynchronizationJobAlertAsync(const Model::ConfigureSynchronizationJobAlertRequest& request, const ConfigureSynchronizationJobAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureSynchronizationJobAlertOutcomeCallable configureSynchronizationJobAlertCallable(const Model::ConfigureSynchronizationJobAlertRequest& request) const;
|
||||
ConfigureSynchronizationJobReplicatorCompareOutcome configureSynchronizationJobReplicatorCompare(const Model::ConfigureSynchronizationJobReplicatorCompareRequest &request)const;
|
||||
void configureSynchronizationJobReplicatorCompareAsync(const Model::ConfigureSynchronizationJobReplicatorCompareRequest& request, const ConfigureSynchronizationJobReplicatorCompareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ConfigureSynchronizationJobReplicatorCompareOutcomeCallable configureSynchronizationJobReplicatorCompareCallable(const Model::ConfigureSynchronizationJobReplicatorCompareRequest& request) const;
|
||||
CreateConsumerGroupOutcome createConsumerGroup(const Model::CreateConsumerGroupRequest &request)const;
|
||||
void createConsumerGroupAsync(const Model::CreateConsumerGroupRequest& request, const CreateConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateConsumerGroupOutcomeCallable createConsumerGroupCallable(const Model::CreateConsumerGroupRequest& request) const;
|
||||
CreateMigrationJobOutcome createMigrationJob(const Model::CreateMigrationJobRequest &request)const;
|
||||
void createMigrationJobAsync(const Model::CreateMigrationJobRequest& request, const CreateMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMigrationJobOutcomeCallable createMigrationJobCallable(const Model::CreateMigrationJobRequest& request) const;
|
||||
CreateSubscriptionInstanceOutcome createSubscriptionInstance(const Model::CreateSubscriptionInstanceRequest &request)const;
|
||||
void createSubscriptionInstanceAsync(const Model::CreateSubscriptionInstanceRequest& request, const CreateSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSubscriptionInstanceOutcomeCallable createSubscriptionInstanceCallable(const Model::CreateSubscriptionInstanceRequest& request) const;
|
||||
CreateSynchronizationJobOutcome createSynchronizationJob(const Model::CreateSynchronizationJobRequest &request)const;
|
||||
void createSynchronizationJobAsync(const Model::CreateSynchronizationJobRequest& request, const CreateSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateSynchronizationJobOutcomeCallable createSynchronizationJobCallable(const Model::CreateSynchronizationJobRequest& request) const;
|
||||
DeleteConsumerGroupOutcome deleteConsumerGroup(const Model::DeleteConsumerGroupRequest &request)const;
|
||||
void deleteConsumerGroupAsync(const Model::DeleteConsumerGroupRequest& request, const DeleteConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteConsumerGroupOutcomeCallable deleteConsumerGroupCallable(const Model::DeleteConsumerGroupRequest& request) const;
|
||||
DeleteMigrationJobOutcome deleteMigrationJob(const Model::DeleteMigrationJobRequest &request)const;
|
||||
void deleteMigrationJobAsync(const Model::DeleteMigrationJobRequest& request, const DeleteMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteMigrationJobOutcomeCallable deleteMigrationJobCallable(const Model::DeleteMigrationJobRequest& request) const;
|
||||
DeleteSubscriptionInstanceOutcome deleteSubscriptionInstance(const Model::DeleteSubscriptionInstanceRequest &request)const;
|
||||
void deleteSubscriptionInstanceAsync(const Model::DeleteSubscriptionInstanceRequest& request, const DeleteSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSubscriptionInstanceOutcomeCallable deleteSubscriptionInstanceCallable(const Model::DeleteSubscriptionInstanceRequest& request) const;
|
||||
DeleteSynchronizationJobOutcome deleteSynchronizationJob(const Model::DeleteSynchronizationJobRequest &request)const;
|
||||
void deleteSynchronizationJobAsync(const Model::DeleteSynchronizationJobRequest& request, const DeleteSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteSynchronizationJobOutcomeCallable deleteSynchronizationJobCallable(const Model::DeleteSynchronizationJobRequest& request) const;
|
||||
DescribeConsumerGroupOutcome describeConsumerGroup(const Model::DescribeConsumerGroupRequest &request)const;
|
||||
void describeConsumerGroupAsync(const Model::DescribeConsumerGroupRequest& request, const DescribeConsumerGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeConsumerGroupOutcomeCallable describeConsumerGroupCallable(const Model::DescribeConsumerGroupRequest& request) const;
|
||||
DescribeEndpointSwitchStatusOutcome describeEndpointSwitchStatus(const Model::DescribeEndpointSwitchStatusRequest &request)const;
|
||||
void describeEndpointSwitchStatusAsync(const Model::DescribeEndpointSwitchStatusRequest& request, const DescribeEndpointSwitchStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeEndpointSwitchStatusOutcomeCallable describeEndpointSwitchStatusCallable(const Model::DescribeEndpointSwitchStatusRequest& request) const;
|
||||
DescribeInitializationStatusOutcome describeInitializationStatus(const Model::DescribeInitializationStatusRequest &request)const;
|
||||
void describeInitializationStatusAsync(const Model::DescribeInitializationStatusRequest& request, const DescribeInitializationStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeInitializationStatusOutcomeCallable describeInitializationStatusCallable(const Model::DescribeInitializationStatusRequest& request) const;
|
||||
DescribeMigrationJobAlertOutcome describeMigrationJobAlert(const Model::DescribeMigrationJobAlertRequest &request)const;
|
||||
void describeMigrationJobAlertAsync(const Model::DescribeMigrationJobAlertRequest& request, const DescribeMigrationJobAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMigrationJobAlertOutcomeCallable describeMigrationJobAlertCallable(const Model::DescribeMigrationJobAlertRequest& request) const;
|
||||
DescribeMigrationJobDetailOutcome describeMigrationJobDetail(const Model::DescribeMigrationJobDetailRequest &request)const;
|
||||
void describeMigrationJobDetailAsync(const Model::DescribeMigrationJobDetailRequest& request, const DescribeMigrationJobDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMigrationJobDetailOutcomeCallable describeMigrationJobDetailCallable(const Model::DescribeMigrationJobDetailRequest& request) const;
|
||||
DescribeMigrationJobStatusOutcome describeMigrationJobStatus(const Model::DescribeMigrationJobStatusRequest &request)const;
|
||||
void describeMigrationJobStatusAsync(const Model::DescribeMigrationJobStatusRequest& request, const DescribeMigrationJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMigrationJobStatusOutcomeCallable describeMigrationJobStatusCallable(const Model::DescribeMigrationJobStatusRequest& request) const;
|
||||
DescribeMigrationJobsOutcome describeMigrationJobs(const Model::DescribeMigrationJobsRequest &request)const;
|
||||
void describeMigrationJobsAsync(const Model::DescribeMigrationJobsRequest& request, const DescribeMigrationJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeMigrationJobsOutcomeCallable describeMigrationJobsCallable(const Model::DescribeMigrationJobsRequest& request) const;
|
||||
DescribeSubscriptionInstanceAlertOutcome describeSubscriptionInstanceAlert(const Model::DescribeSubscriptionInstanceAlertRequest &request)const;
|
||||
void describeSubscriptionInstanceAlertAsync(const Model::DescribeSubscriptionInstanceAlertRequest& request, const DescribeSubscriptionInstanceAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSubscriptionInstanceAlertOutcomeCallable describeSubscriptionInstanceAlertCallable(const Model::DescribeSubscriptionInstanceAlertRequest& request) const;
|
||||
DescribeSubscriptionInstanceStatusOutcome describeSubscriptionInstanceStatus(const Model::DescribeSubscriptionInstanceStatusRequest &request)const;
|
||||
void describeSubscriptionInstanceStatusAsync(const Model::DescribeSubscriptionInstanceStatusRequest& request, const DescribeSubscriptionInstanceStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSubscriptionInstanceStatusOutcomeCallable describeSubscriptionInstanceStatusCallable(const Model::DescribeSubscriptionInstanceStatusRequest& request) const;
|
||||
DescribeSubscriptionInstancesOutcome describeSubscriptionInstances(const Model::DescribeSubscriptionInstancesRequest &request)const;
|
||||
void describeSubscriptionInstancesAsync(const Model::DescribeSubscriptionInstancesRequest& request, const DescribeSubscriptionInstancesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSubscriptionInstancesOutcomeCallable describeSubscriptionInstancesCallable(const Model::DescribeSubscriptionInstancesRequest& request) const;
|
||||
DescribeSubscriptionObjectModifyStatusOutcome describeSubscriptionObjectModifyStatus(const Model::DescribeSubscriptionObjectModifyStatusRequest &request)const;
|
||||
void describeSubscriptionObjectModifyStatusAsync(const Model::DescribeSubscriptionObjectModifyStatusRequest& request, const DescribeSubscriptionObjectModifyStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSubscriptionObjectModifyStatusOutcomeCallable describeSubscriptionObjectModifyStatusCallable(const Model::DescribeSubscriptionObjectModifyStatusRequest& request) const;
|
||||
DescribeSynchronizationJobAlertOutcome describeSynchronizationJobAlert(const Model::DescribeSynchronizationJobAlertRequest &request)const;
|
||||
void describeSynchronizationJobAlertAsync(const Model::DescribeSynchronizationJobAlertRequest& request, const DescribeSynchronizationJobAlertAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSynchronizationJobAlertOutcomeCallable describeSynchronizationJobAlertCallable(const Model::DescribeSynchronizationJobAlertRequest& request) const;
|
||||
DescribeSynchronizationJobReplicatorCompareOutcome describeSynchronizationJobReplicatorCompare(const Model::DescribeSynchronizationJobReplicatorCompareRequest &request)const;
|
||||
void describeSynchronizationJobReplicatorCompareAsync(const Model::DescribeSynchronizationJobReplicatorCompareRequest& request, const DescribeSynchronizationJobReplicatorCompareAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSynchronizationJobReplicatorCompareOutcomeCallable describeSynchronizationJobReplicatorCompareCallable(const Model::DescribeSynchronizationJobReplicatorCompareRequest& request) const;
|
||||
DescribeSynchronizationJobStatusOutcome describeSynchronizationJobStatus(const Model::DescribeSynchronizationJobStatusRequest &request)const;
|
||||
void describeSynchronizationJobStatusAsync(const Model::DescribeSynchronizationJobStatusRequest& request, const DescribeSynchronizationJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSynchronizationJobStatusOutcomeCallable describeSynchronizationJobStatusCallable(const Model::DescribeSynchronizationJobStatusRequest& request) const;
|
||||
DescribeSynchronizationJobStatusListOutcome describeSynchronizationJobStatusList(const Model::DescribeSynchronizationJobStatusListRequest &request)const;
|
||||
void describeSynchronizationJobStatusListAsync(const Model::DescribeSynchronizationJobStatusListRequest& request, const DescribeSynchronizationJobStatusListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSynchronizationJobStatusListOutcomeCallable describeSynchronizationJobStatusListCallable(const Model::DescribeSynchronizationJobStatusListRequest& request) const;
|
||||
DescribeSynchronizationJobsOutcome describeSynchronizationJobs(const Model::DescribeSynchronizationJobsRequest &request)const;
|
||||
void describeSynchronizationJobsAsync(const Model::DescribeSynchronizationJobsRequest& request, const DescribeSynchronizationJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSynchronizationJobsOutcomeCallable describeSynchronizationJobsCallable(const Model::DescribeSynchronizationJobsRequest& request) const;
|
||||
DescribeSynchronizationObjectModifyStatusOutcome describeSynchronizationObjectModifyStatus(const Model::DescribeSynchronizationObjectModifyStatusRequest &request)const;
|
||||
void describeSynchronizationObjectModifyStatusAsync(const Model::DescribeSynchronizationObjectModifyStatusRequest& request, const DescribeSynchronizationObjectModifyStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeSynchronizationObjectModifyStatusOutcomeCallable describeSynchronizationObjectModifyStatusCallable(const Model::DescribeSynchronizationObjectModifyStatusRequest& request) const;
|
||||
ListTagResourcesOutcome listTagResources(const Model::ListTagResourcesRequest &request)const;
|
||||
void listTagResourcesAsync(const Model::ListTagResourcesRequest& request, const ListTagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListTagResourcesOutcomeCallable listTagResourcesCallable(const Model::ListTagResourcesRequest& request) const;
|
||||
ModifyConsumerGroupPasswordOutcome modifyConsumerGroupPassword(const Model::ModifyConsumerGroupPasswordRequest &request)const;
|
||||
void modifyConsumerGroupPasswordAsync(const Model::ModifyConsumerGroupPasswordRequest& request, const ModifyConsumerGroupPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyConsumerGroupPasswordOutcomeCallable modifyConsumerGroupPasswordCallable(const Model::ModifyConsumerGroupPasswordRequest& request) const;
|
||||
ModifyConsumptionTimestampOutcome modifyConsumptionTimestamp(const Model::ModifyConsumptionTimestampRequest &request)const;
|
||||
void modifyConsumptionTimestampAsync(const Model::ModifyConsumptionTimestampRequest& request, const ModifyConsumptionTimestampAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyConsumptionTimestampOutcomeCallable modifyConsumptionTimestampCallable(const Model::ModifyConsumptionTimestampRequest& request) const;
|
||||
ModifyMigrationObjectOutcome modifyMigrationObject(const Model::ModifyMigrationObjectRequest &request)const;
|
||||
void modifyMigrationObjectAsync(const Model::ModifyMigrationObjectRequest& request, const ModifyMigrationObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyMigrationObjectOutcomeCallable modifyMigrationObjectCallable(const Model::ModifyMigrationObjectRequest& request) const;
|
||||
ModifySubscriptionObjectOutcome modifySubscriptionObject(const Model::ModifySubscriptionObjectRequest &request)const;
|
||||
void modifySubscriptionObjectAsync(const Model::ModifySubscriptionObjectRequest& request, const ModifySubscriptionObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySubscriptionObjectOutcomeCallable modifySubscriptionObjectCallable(const Model::ModifySubscriptionObjectRequest& request) const;
|
||||
ModifySynchronizationObjectOutcome modifySynchronizationObject(const Model::ModifySynchronizationObjectRequest &request)const;
|
||||
void modifySynchronizationObjectAsync(const Model::ModifySynchronizationObjectRequest& request, const ModifySynchronizationObjectAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifySynchronizationObjectOutcomeCallable modifySynchronizationObjectCallable(const Model::ModifySynchronizationObjectRequest& request) const;
|
||||
ResetSynchronizationJobOutcome resetSynchronizationJob(const Model::ResetSynchronizationJobRequest &request)const;
|
||||
void resetSynchronizationJobAsync(const Model::ResetSynchronizationJobRequest& request, const ResetSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetSynchronizationJobOutcomeCallable resetSynchronizationJobCallable(const Model::ResetSynchronizationJobRequest& request) const;
|
||||
ShieldPrecheckOutcome shieldPrecheck(const Model::ShieldPrecheckRequest &request)const;
|
||||
void shieldPrecheckAsync(const Model::ShieldPrecheckRequest& request, const ShieldPrecheckAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ShieldPrecheckOutcomeCallable shieldPrecheckCallable(const Model::ShieldPrecheckRequest& request) const;
|
||||
StartMigrationJobOutcome startMigrationJob(const Model::StartMigrationJobRequest &request)const;
|
||||
void startMigrationJobAsync(const Model::StartMigrationJobRequest& request, const StartMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartMigrationJobOutcomeCallable startMigrationJobCallable(const Model::StartMigrationJobRequest& request) const;
|
||||
StartSubscriptionInstanceOutcome startSubscriptionInstance(const Model::StartSubscriptionInstanceRequest &request)const;
|
||||
void startSubscriptionInstanceAsync(const Model::StartSubscriptionInstanceRequest& request, const StartSubscriptionInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartSubscriptionInstanceOutcomeCallable startSubscriptionInstanceCallable(const Model::StartSubscriptionInstanceRequest& request) const;
|
||||
StartSynchronizationJobOutcome startSynchronizationJob(const Model::StartSynchronizationJobRequest &request)const;
|
||||
void startSynchronizationJobAsync(const Model::StartSynchronizationJobRequest& request, const StartSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartSynchronizationJobOutcomeCallable startSynchronizationJobCallable(const Model::StartSynchronizationJobRequest& request) const;
|
||||
StopMigrationJobOutcome stopMigrationJob(const Model::StopMigrationJobRequest &request)const;
|
||||
void stopMigrationJobAsync(const Model::StopMigrationJobRequest& request, const StopMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopMigrationJobOutcomeCallable stopMigrationJobCallable(const Model::StopMigrationJobRequest& request) const;
|
||||
SuspendMigrationJobOutcome suspendMigrationJob(const Model::SuspendMigrationJobRequest &request)const;
|
||||
void suspendMigrationJobAsync(const Model::SuspendMigrationJobRequest& request, const SuspendMigrationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SuspendMigrationJobOutcomeCallable suspendMigrationJobCallable(const Model::SuspendMigrationJobRequest& request) const;
|
||||
SuspendSynchronizationJobOutcome suspendSynchronizationJob(const Model::SuspendSynchronizationJobRequest &request)const;
|
||||
void suspendSynchronizationJobAsync(const Model::SuspendSynchronizationJobRequest& request, const SuspendSynchronizationJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SuspendSynchronizationJobOutcomeCallable suspendSynchronizationJobCallable(const Model::SuspendSynchronizationJobRequest& request) const;
|
||||
SwitchSynchronizationEndpointOutcome switchSynchronizationEndpoint(const Model::SwitchSynchronizationEndpointRequest &request)const;
|
||||
void switchSynchronizationEndpointAsync(const Model::SwitchSynchronizationEndpointRequest& request, const SwitchSynchronizationEndpointAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SwitchSynchronizationEndpointOutcomeCallable switchSynchronizationEndpointCallable(const Model::SwitchSynchronizationEndpointRequest& request) const;
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
UntagResourcesOutcome untagResources(const Model::UntagResourcesRequest &request)const;
|
||||
void untagResourcesAsync(const Model::UntagResourcesRequest& request, const UntagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
UntagResourcesOutcomeCallable untagResourcesCallable(const Model::UntagResourcesRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_DTS_DTSCLIENT_H_
|
||||
32
dts/include/alibabacloud/dts/DtsExport.h
Normal file
32
dts/include/alibabacloud/dts/DtsExport.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_DTS_DTSEXPORT_H_
|
||||
#define ALIBABACLOUD_DTS_DTSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_DTS_LIBRARY)
|
||||
# define ALIBABACLOUD_DTS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_DTS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_DTS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_DTS_DTSEXPORT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBALERTREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBALERTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureMigrationJobAlertRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfigureMigrationJobAlertRequest();
|
||||
~ConfigureMigrationJobAlertRequest();
|
||||
|
||||
std::string getDelayOverSeconds()const;
|
||||
void setDelayOverSeconds(const std::string& delayOverSeconds);
|
||||
std::string getDelayAlertStatus()const;
|
||||
void setDelayAlertStatus(const std::string& delayAlertStatus);
|
||||
std::string getMigrationJobId()const;
|
||||
void setMigrationJobId(const std::string& migrationJobId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getErrorAlertPhone()const;
|
||||
void setErrorAlertPhone(const std::string& errorAlertPhone);
|
||||
std::string getDelayAlertPhone()const;
|
||||
void setDelayAlertPhone(const std::string& delayAlertPhone);
|
||||
std::string getErrorAlertStatus()const;
|
||||
void setErrorAlertStatus(const std::string& errorAlertStatus);
|
||||
|
||||
private:
|
||||
std::string delayOverSeconds_;
|
||||
std::string delayAlertStatus_;
|
||||
std::string migrationJobId_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string errorAlertPhone_;
|
||||
std::string delayAlertPhone_;
|
||||
std::string errorAlertStatus_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBALERTREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBALERTRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBALERTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureMigrationJobAlertResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ConfigureMigrationJobAlertResult();
|
||||
explicit ConfigureMigrationJobAlertResult(const std::string &payload);
|
||||
~ConfigureMigrationJobAlertResult();
|
||||
std::string getErrMessage()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBALERTRESULT_H_
|
||||
@@ -0,0 +1,144 @@
|
||||
/*
|
||||
* 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_DTS_MODEL_CONFIGUREMIGRATIONJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureMigrationJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfigureMigrationJobRequest();
|
||||
~ConfigureMigrationJobRequest();
|
||||
|
||||
std::string getSourceEndpointInstanceID()const;
|
||||
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
|
||||
std::string getCheckpoint()const;
|
||||
void setCheckpoint(const std::string& checkpoint);
|
||||
std::string getSourceEndpointEngineName()const;
|
||||
void setSourceEndpointEngineName(const std::string& sourceEndpointEngineName);
|
||||
std::string getSourceEndpointOracleSID()const;
|
||||
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
|
||||
std::string getDestinationEndpointInstanceID()const;
|
||||
void setDestinationEndpointInstanceID(const std::string& destinationEndpointInstanceID);
|
||||
std::string getSourceEndpointIP()const;
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
std::string getDestinationEndpointPassword()const;
|
||||
void setDestinationEndpointPassword(const std::string& destinationEndpointPassword);
|
||||
std::string getMigrationObject()const;
|
||||
void setMigrationObject(const std::string& migrationObject);
|
||||
bool getMigrationModeDataIntialization()const;
|
||||
void setMigrationModeDataIntialization(bool migrationModeDataIntialization);
|
||||
std::string getMigrationJobId()const;
|
||||
void setMigrationJobId(const std::string& migrationJobId);
|
||||
std::string getSourceEndpointInstanceType()const;
|
||||
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
|
||||
std::string getDestinationEndpointEngineName()const;
|
||||
void setDestinationEndpointEngineName(const std::string& destinationEndpointEngineName);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
bool getMigrationModeStructureIntialization()const;
|
||||
void setMigrationModeStructureIntialization(bool migrationModeStructureIntialization);
|
||||
bool getMigrationModeDataSynchronization()const;
|
||||
void setMigrationModeDataSynchronization(bool migrationModeDataSynchronization);
|
||||
std::string getDestinationEndpointRegion()const;
|
||||
void setDestinationEndpointRegion(const std::string& destinationEndpointRegion);
|
||||
std::string getSourceEndpointUserName()const;
|
||||
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
|
||||
std::string getSourceEndpointDatabaseName()const;
|
||||
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
|
||||
std::string getSourceEndpointPort()const;
|
||||
void setSourceEndpointPort(const std::string& sourceEndpointPort);
|
||||
std::string getSourceEndpointOwnerID()const;
|
||||
void setSourceEndpointOwnerID(const std::string& sourceEndpointOwnerID);
|
||||
std::string getDestinationEndpointUserName()const;
|
||||
void setDestinationEndpointUserName(const std::string& destinationEndpointUserName);
|
||||
std::string getDestinationEndpointOracleSID()const;
|
||||
void setDestinationEndpointOracleSID(const std::string& destinationEndpointOracleSID);
|
||||
std::string getDestinationEndpointPort()const;
|
||||
void setDestinationEndpointPort(const std::string& destinationEndpointPort);
|
||||
std::string getSourceEndpointRegion()const;
|
||||
void setSourceEndpointRegion(const std::string& sourceEndpointRegion);
|
||||
std::string getSourceEndpointRole()const;
|
||||
void setSourceEndpointRole(const std::string& sourceEndpointRole);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getDestinationEndpointDataBaseName()const;
|
||||
void setDestinationEndpointDataBaseName(const std::string& destinationEndpointDataBaseName);
|
||||
std::string getSourceEndpointPassword()const;
|
||||
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
|
||||
std::string getMigrationReserved()const;
|
||||
void setMigrationReserved(const std::string& migrationReserved);
|
||||
std::string getDestinationEndpointIP()const;
|
||||
void setDestinationEndpointIP(const std::string& destinationEndpointIP);
|
||||
std::string getMigrationJobName()const;
|
||||
void setMigrationJobName(const std::string& migrationJobName);
|
||||
std::string getDestinationEndpointInstanceType()const;
|
||||
void setDestinationEndpointInstanceType(const std::string& destinationEndpointInstanceType);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string checkpoint_;
|
||||
std::string sourceEndpointEngineName_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
std::string destinationEndpointInstanceID_;
|
||||
std::string sourceEndpointIP_;
|
||||
std::string destinationEndpointPassword_;
|
||||
std::string migrationObject_;
|
||||
bool migrationModeDataIntialization_;
|
||||
std::string migrationJobId_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string destinationEndpointEngineName_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
bool migrationModeStructureIntialization_;
|
||||
bool migrationModeDataSynchronization_;
|
||||
std::string destinationEndpointRegion_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
std::string sourceEndpointPort_;
|
||||
std::string sourceEndpointOwnerID_;
|
||||
std::string destinationEndpointUserName_;
|
||||
std::string destinationEndpointOracleSID_;
|
||||
std::string destinationEndpointPort_;
|
||||
std::string sourceEndpointRegion_;
|
||||
std::string sourceEndpointRole_;
|
||||
std::string ownerId_;
|
||||
std::string destinationEndpointDataBaseName_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string migrationReserved_;
|
||||
std::string destinationEndpointIP_;
|
||||
std::string migrationJobName_;
|
||||
std::string destinationEndpointInstanceType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureMigrationJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ConfigureMigrationJobResult();
|
||||
explicit ConfigureMigrationJobResult(const std::string &payload);
|
||||
~ConfigureMigrationJobResult();
|
||||
std::string getErrMessage()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGUREMIGRATIONJOBRESULT_H_
|
||||
@@ -0,0 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEALERTREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEALERTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureSubscriptionInstanceAlertRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfigureSubscriptionInstanceAlertRequest();
|
||||
~ConfigureSubscriptionInstanceAlertRequest();
|
||||
|
||||
std::string getDelayOverSeconds()const;
|
||||
void setDelayOverSeconds(const std::string& delayOverSeconds);
|
||||
std::string getDelayAlertStatus()const;
|
||||
void setDelayAlertStatus(const std::string& delayAlertStatus);
|
||||
std::string getSubscriptionInstanceId()const;
|
||||
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getErrorAlertPhone()const;
|
||||
void setErrorAlertPhone(const std::string& errorAlertPhone);
|
||||
std::string getDelayAlertPhone()const;
|
||||
void setDelayAlertPhone(const std::string& delayAlertPhone);
|
||||
std::string getErrorAlertStatus()const;
|
||||
void setErrorAlertStatus(const std::string& errorAlertStatus);
|
||||
|
||||
private:
|
||||
std::string delayOverSeconds_;
|
||||
std::string delayAlertStatus_;
|
||||
std::string subscriptionInstanceId_;
|
||||
std::string ownerId_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string errorAlertPhone_;
|
||||
std::string delayAlertPhone_;
|
||||
std::string errorAlertStatus_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEALERTREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEALERTRESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEALERTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureSubscriptionInstanceAlertResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ConfigureSubscriptionInstanceAlertResult();
|
||||
explicit ConfigureSubscriptionInstanceAlertResult(const std::string &payload);
|
||||
~ConfigureSubscriptionInstanceAlertResult();
|
||||
std::string getErrMessage()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEALERTRESULT_H_
|
||||
@@ -0,0 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureSubscriptionInstanceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfigureSubscriptionInstanceRequest();
|
||||
~ConfigureSubscriptionInstanceRequest();
|
||||
|
||||
std::string getSourceEndpointInstanceID()const;
|
||||
void setSourceEndpointInstanceID(const std::string& sourceEndpointInstanceID);
|
||||
std::string getSourceEndpointOracleSID()const;
|
||||
void setSourceEndpointOracleSID(const std::string& sourceEndpointOracleSID);
|
||||
std::string getSourceEndpointIP()const;
|
||||
void setSourceEndpointIP(const std::string& sourceEndpointIP);
|
||||
bool getSubscriptionDataTypeDML()const;
|
||||
void setSubscriptionDataTypeDML(bool subscriptionDataTypeDML);
|
||||
std::string getSourceEndpointInstanceType()const;
|
||||
void setSourceEndpointInstanceType(const std::string& sourceEndpointInstanceType);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getSubscriptionObject()const;
|
||||
void setSubscriptionObject(const std::string& subscriptionObject);
|
||||
std::string getSubscriptionInstanceVSwitchId()const;
|
||||
void setSubscriptionInstanceVSwitchId(const std::string& subscriptionInstanceVSwitchId);
|
||||
std::string getSourceEndpointUserName()const;
|
||||
void setSourceEndpointUserName(const std::string& sourceEndpointUserName);
|
||||
std::string getSourceEndpointDatabaseName()const;
|
||||
void setSourceEndpointDatabaseName(const std::string& sourceEndpointDatabaseName);
|
||||
std::string getSourceEndpointPort()const;
|
||||
void setSourceEndpointPort(const std::string& sourceEndpointPort);
|
||||
std::string getSourceEndpointOwnerID()const;
|
||||
void setSourceEndpointOwnerID(const std::string& sourceEndpointOwnerID);
|
||||
std::string getSubscriptionInstanceVPCId()const;
|
||||
void setSubscriptionInstanceVPCId(const std::string& subscriptionInstanceVPCId);
|
||||
std::string getSubscriptionInstanceNetworkType()const;
|
||||
void setSubscriptionInstanceNetworkType(const std::string& subscriptionInstanceNetworkType);
|
||||
std::string getSubscriptionInstanceId()const;
|
||||
void setSubscriptionInstanceId(const std::string& subscriptionInstanceId);
|
||||
std::string getSourceEndpointRole()const;
|
||||
void setSourceEndpointRole(const std::string& sourceEndpointRole);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
bool getSubscriptionDataTypeDDL()const;
|
||||
void setSubscriptionDataTypeDDL(bool subscriptionDataTypeDDL);
|
||||
std::string getSourceEndpointPassword()const;
|
||||
void setSourceEndpointPassword(const std::string& sourceEndpointPassword);
|
||||
std::string getSubscriptionInstanceName()const;
|
||||
void setSubscriptionInstanceName(const std::string& subscriptionInstanceName);
|
||||
|
||||
private:
|
||||
std::string sourceEndpointInstanceID_;
|
||||
std::string sourceEndpointOracleSID_;
|
||||
std::string sourceEndpointIP_;
|
||||
bool subscriptionDataTypeDML_;
|
||||
std::string sourceEndpointInstanceType_;
|
||||
std::string accessKeyId_;
|
||||
std::string accountId_;
|
||||
std::string subscriptionObject_;
|
||||
std::string subscriptionInstanceVSwitchId_;
|
||||
std::string sourceEndpointUserName_;
|
||||
std::string sourceEndpointDatabaseName_;
|
||||
std::string sourceEndpointPort_;
|
||||
std::string sourceEndpointOwnerID_;
|
||||
std::string subscriptionInstanceVPCId_;
|
||||
std::string subscriptionInstanceNetworkType_;
|
||||
std::string subscriptionInstanceId_;
|
||||
std::string sourceEndpointRole_;
|
||||
std::string ownerId_;
|
||||
bool subscriptionDataTypeDDL_;
|
||||
std::string sourceEndpointPassword_;
|
||||
std::string subscriptionInstanceName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCEREQUEST_H_
|
||||
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCERESULT_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureSubscriptionInstanceResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ConfigureSubscriptionInstanceResult();
|
||||
explicit ConfigureSubscriptionInstanceResult(const std::string &payload);
|
||||
~ConfigureSubscriptionInstanceResult();
|
||||
std::string getErrMessage()const;
|
||||
std::string getSuccess()const;
|
||||
std::string getErrCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string errMessage_;
|
||||
std::string success_;
|
||||
std::string errCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESUBSCRIPTIONINSTANCERESULT_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_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBALERTREQUEST_H_
|
||||
#define ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBALERTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/dts/DtsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Dts
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_DTS_EXPORT ConfigureSynchronizationJobAlertRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ConfigureSynchronizationJobAlertRequest();
|
||||
~ConfigureSynchronizationJobAlertRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getSynchronizationJobId()const;
|
||||
void setSynchronizationJobId(const std::string& synchronizationJobId);
|
||||
std::string getAccountId()const;
|
||||
void setAccountId(const std::string& accountId);
|
||||
std::string getDelayAlertPhone()const;
|
||||
void setDelayAlertPhone(const std::string& delayAlertPhone);
|
||||
std::string getDelayOverSeconds()const;
|
||||
void setDelayOverSeconds(const std::string& delayOverSeconds);
|
||||
std::string getDelayAlertStatus()const;
|
||||
void setDelayAlertStatus(const std::string& delayAlertStatus);
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
std::string getErrorAlertPhone()const;
|
||||
void setErrorAlertPhone(const std::string& errorAlertPhone);
|
||||
std::string getErrorAlertStatus()const;
|
||||
void setErrorAlertStatus(const std::string& errorAlertStatus);
|
||||
std::string getSynchronizationDirection()const;
|
||||
void setSynchronizationDirection(const std::string& synchronizationDirection);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string synchronizationJobId_;
|
||||
std::string accountId_;
|
||||
std::string delayAlertPhone_;
|
||||
std::string delayOverSeconds_;
|
||||
std::string delayAlertStatus_;
|
||||
std::string ownerId_;
|
||||
std::string errorAlertPhone_;
|
||||
std::string errorAlertStatus_;
|
||||
std::string synchronizationDirection_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_DTS_MODEL_CONFIGURESYNCHRONIZATIONJOBALERTREQUEST_H_
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user