Compare commits
27 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e6902accf9 | ||
|
|
eda4d09d82 | ||
|
|
537988875e | ||
|
|
d6278ad8a3 | ||
|
|
c0e3f6e782 | ||
|
|
8778009aff | ||
|
|
7b81c413a1 | ||
|
|
27a39a83b5 | ||
|
|
c132dd86ae | ||
|
|
f73358f7e8 | ||
|
|
23c07a12a3 | ||
|
|
8e7691c351 | ||
|
|
a5a5b1c4eb | ||
|
|
bdb663548a | ||
|
|
1862b4677d | ||
|
|
34093b78ef | ||
|
|
59616fc161 | ||
|
|
a1f3045396 | ||
|
|
0fe872d573 | ||
|
|
5f50d51531 | ||
|
|
bb60ca8fb6 | ||
|
|
2482eecd86 | ||
|
|
4edd799a79 | ||
|
|
d03f6c2f9d | ||
|
|
47e98acc6f | ||
|
|
4c50775cc9 | ||
|
|
53b22dba98 |
84
CHANGELOG
84
CHANGELOG
@@ -1,3 +1,87 @@
|
||||
2021-10-26 Version: 1.36.910
|
||||
- Update Dyvmsapi SDK.
|
||||
|
||||
2021-10-25 Version: 1.36.909
|
||||
- DescribeDtsJobs api, delay filed change from int to long.
|
||||
|
||||
2021-10-25 Version: 1.36.908
|
||||
- Generated 2016-04-08 for `Emr`.
|
||||
|
||||
2021-10-25 Version: 1.36.907
|
||||
- Generated 2016-11-01 for `live`.
|
||||
|
||||
2021-10-21 Version: 1.36.906
|
||||
- Update Open API.
|
||||
|
||||
2021-10-21 Version: 1.36.905
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2021-10-21 Version: 1.36.904
|
||||
- Release AddQualityScore.
|
||||
|
||||
2021-10-21 Version: 1.36.903
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2021-10-20 Version: 1.36.902
|
||||
- Add DeviceCenter API, including CreateDeviceDynamicGroup, DeleteDeviceDynamicGroup, QueryDynamicGroupDevices.
|
||||
- Update DeviceCenter API, including SetDeviceGroupTags, QueryDeviceGroupByFuzzyName, QueryDeviceGroupByDevice, QueryDeviceGroupTagList, UpdateDeviceGroup, QueryDeviceGroupList, QueryDeviceGroupInfo.
|
||||
- Update OTA API, including CreateOTADynamicUpgradeJob, CreateOTAStaticUpgradeJob, QueryOTAJob.
|
||||
|
||||
2021-10-19 Version: 1.36.901
|
||||
- Supported ScaleApp totalPartitions.
|
||||
|
||||
2021-10-18 Version: 1.36.900
|
||||
- Generated 2019-09-10, 2018-01-17 for `waf-openapi`.
|
||||
|
||||
2021-10-18 Version: 1.36.899
|
||||
- Adjust ecs openapi endpoint.
|
||||
- Fix SDK array format.
|
||||
|
||||
2021-10-15 Version: 1.36.898
|
||||
- Added audit status.
|
||||
|
||||
2021-10-15 Version: 1.36.897
|
||||
- Generated 2020-02-01 for `cloudesl`.
|
||||
|
||||
2021-10-14 Version: 1.36.896
|
||||
- Add API for predictive dialer.
|
||||
|
||||
2021-10-08 Version: 1.36.895
|
||||
- Adjust ecs openapi endpoint.
|
||||
|
||||
2021-10-08 Version: 1.36.894
|
||||
- Fixed SDK update delay.
|
||||
|
||||
2021-10-08 Version: 1.36.893
|
||||
- Fixed SDK update delay.
|
||||
|
||||
2021-10-08 Version: 1.36.892
|
||||
- Fixed SDK update delay.
|
||||
|
||||
2021-10-08 Version: 1.36.891
|
||||
- Release SearchFace BatchAddFaces.
|
||||
|
||||
2021-09-29 Version: 1.36.890
|
||||
- Supported AssumeRoleWithOIDC.
|
||||
|
||||
2021-09-28 Version: 1.36.889
|
||||
- Add new internal API.
|
||||
|
||||
2021-09-26 Version: 1.36.888
|
||||
- Support odcap device.
|
||||
|
||||
2021-09-26 Version: 1.36.887
|
||||
- Support odcap device.
|
||||
|
||||
2021-09-26 Version: 1.36.886
|
||||
- Update imageenhan.
|
||||
|
||||
2021-09-26 Version: 1.36.885
|
||||
- Supported sdk for sddp.
|
||||
|
||||
2021-09-24 Version: 1.36.884
|
||||
- Release RetouchSkin LiquifyFace.
|
||||
|
||||
2021-09-23 Version: 1.36.883
|
||||
- Supports the purchase of polardb storage packages.
|
||||
- Support temporary upgrades and allocations of instances.
|
||||
|
||||
@@ -21,6 +21,8 @@ set(ccc_public_header
|
||||
include/alibabacloud/ccc/CCCExport.h )
|
||||
|
||||
set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/AbortCampaignRequest.h
|
||||
include/alibabacloud/ccc/model/AbortCampaignResult.h
|
||||
include/alibabacloud/ccc/model/AddNumbersToSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/AddNumbersToSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/AddPersonalNumbersToUserRequest.h
|
||||
@@ -49,6 +51,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/CoachCallResult.h
|
||||
include/alibabacloud/ccc/model/CompleteAttendedTransferRequest.h
|
||||
include/alibabacloud/ccc/model/CompleteAttendedTransferResult.h
|
||||
include/alibabacloud/ccc/model/CreateCampaignRequest.h
|
||||
include/alibabacloud/ccc/model/CreateCampaignResult.h
|
||||
include/alibabacloud/ccc/model/CreateInstanceRequest.h
|
||||
include/alibabacloud/ccc/model/CreateInstanceResult.h
|
||||
include/alibabacloud/ccc/model/CreateSkillGroupRequest.h
|
||||
@@ -59,6 +63,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/DeleteSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/GetCallDetailRecordRequest.h
|
||||
include/alibabacloud/ccc/model/GetCallDetailRecordResult.h
|
||||
include/alibabacloud/ccc/model/GetCampaignRequest.h
|
||||
include/alibabacloud/ccc/model/GetCampaignResult.h
|
||||
include/alibabacloud/ccc/model/GetHistoricalCallerReportRequest.h
|
||||
include/alibabacloud/ccc/model/GetHistoricalCallerReportResult.h
|
||||
include/alibabacloud/ccc/model/GetHistoricalInstanceReportRequest.h
|
||||
@@ -95,10 +101,18 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/LaunchSurveyResult.h
|
||||
include/alibabacloud/ccc/model/ListAgentStateLogsRequest.h
|
||||
include/alibabacloud/ccc/model/ListAgentStateLogsResult.h
|
||||
include/alibabacloud/ccc/model/ListAttemptsRequest.h
|
||||
include/alibabacloud/ccc/model/ListAttemptsResult.h
|
||||
include/alibabacloud/ccc/model/ListBriefSkillGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/ListBriefSkillGroupsResult.h
|
||||
include/alibabacloud/ccc/model/ListCallDetailRecordsRequest.h
|
||||
include/alibabacloud/ccc/model/ListCallDetailRecordsResult.h
|
||||
include/alibabacloud/ccc/model/ListCampaignTrendingReportRequest.h
|
||||
include/alibabacloud/ccc/model/ListCampaignTrendingReportResult.h
|
||||
include/alibabacloud/ccc/model/ListCampaignsRequest.h
|
||||
include/alibabacloud/ccc/model/ListCampaignsResult.h
|
||||
include/alibabacloud/ccc/model/ListCasesRequest.h
|
||||
include/alibabacloud/ccc/model/ListCasesResult.h
|
||||
include/alibabacloud/ccc/model/ListConfigItemsRequest.h
|
||||
include/alibabacloud/ccc/model/ListConfigItemsResult.h
|
||||
include/alibabacloud/ccc/model/ListContactFlowsRequest.h
|
||||
@@ -169,6 +183,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/MonitorCallResult.h
|
||||
include/alibabacloud/ccc/model/MuteCallRequest.h
|
||||
include/alibabacloud/ccc/model/MuteCallResult.h
|
||||
include/alibabacloud/ccc/model/PauseCampaignRequest.h
|
||||
include/alibabacloud/ccc/model/PauseCampaignResult.h
|
||||
include/alibabacloud/ccc/model/PickOutboundNumbersRequest.h
|
||||
include/alibabacloud/ccc/model/PickOutboundNumbersResult.h
|
||||
include/alibabacloud/ccc/model/PollUserStatusRequest.h
|
||||
@@ -197,6 +213,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ResetAgentStateResult.h
|
||||
include/alibabacloud/ccc/model/ResetUserPasswordRequest.h
|
||||
include/alibabacloud/ccc/model/ResetUserPasswordResult.h
|
||||
include/alibabacloud/ccc/model/ResumeCampaignRequest.h
|
||||
include/alibabacloud/ccc/model/ResumeCampaignResult.h
|
||||
include/alibabacloud/ccc/model/RetrieveCallRequest.h
|
||||
include/alibabacloud/ccc/model/RetrieveCallResult.h
|
||||
include/alibabacloud/ccc/model/SaveRTCStatsV2Request.h
|
||||
@@ -217,6 +235,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/StartBack2BackCallResult.h
|
||||
include/alibabacloud/ccc/model/StartPredictiveCallRequest.h
|
||||
include/alibabacloud/ccc/model/StartPredictiveCallResult.h
|
||||
include/alibabacloud/ccc/model/SubmitCampaignRequest.h
|
||||
include/alibabacloud/ccc/model/SubmitCampaignResult.h
|
||||
include/alibabacloud/ccc/model/TakeBreakRequest.h
|
||||
include/alibabacloud/ccc/model/TakeBreakResult.h
|
||||
include/alibabacloud/ccc/model/UnmuteCallRequest.h
|
||||
@@ -226,6 +246,8 @@ set(ccc_public_header_model
|
||||
|
||||
set(ccc_src
|
||||
src/CCCClient.cc
|
||||
src/model/AbortCampaignRequest.cc
|
||||
src/model/AbortCampaignResult.cc
|
||||
src/model/AddNumbersToSkillGroupRequest.cc
|
||||
src/model/AddNumbersToSkillGroupResult.cc
|
||||
src/model/AddPersonalNumbersToUserRequest.cc
|
||||
@@ -254,6 +276,8 @@ set(ccc_src
|
||||
src/model/CoachCallResult.cc
|
||||
src/model/CompleteAttendedTransferRequest.cc
|
||||
src/model/CompleteAttendedTransferResult.cc
|
||||
src/model/CreateCampaignRequest.cc
|
||||
src/model/CreateCampaignResult.cc
|
||||
src/model/CreateInstanceRequest.cc
|
||||
src/model/CreateInstanceResult.cc
|
||||
src/model/CreateSkillGroupRequest.cc
|
||||
@@ -264,6 +288,8 @@ set(ccc_src
|
||||
src/model/DeleteSkillGroupResult.cc
|
||||
src/model/GetCallDetailRecordRequest.cc
|
||||
src/model/GetCallDetailRecordResult.cc
|
||||
src/model/GetCampaignRequest.cc
|
||||
src/model/GetCampaignResult.cc
|
||||
src/model/GetHistoricalCallerReportRequest.cc
|
||||
src/model/GetHistoricalCallerReportResult.cc
|
||||
src/model/GetHistoricalInstanceReportRequest.cc
|
||||
@@ -300,10 +326,18 @@ set(ccc_src
|
||||
src/model/LaunchSurveyResult.cc
|
||||
src/model/ListAgentStateLogsRequest.cc
|
||||
src/model/ListAgentStateLogsResult.cc
|
||||
src/model/ListAttemptsRequest.cc
|
||||
src/model/ListAttemptsResult.cc
|
||||
src/model/ListBriefSkillGroupsRequest.cc
|
||||
src/model/ListBriefSkillGroupsResult.cc
|
||||
src/model/ListCallDetailRecordsRequest.cc
|
||||
src/model/ListCallDetailRecordsResult.cc
|
||||
src/model/ListCampaignTrendingReportRequest.cc
|
||||
src/model/ListCampaignTrendingReportResult.cc
|
||||
src/model/ListCampaignsRequest.cc
|
||||
src/model/ListCampaignsResult.cc
|
||||
src/model/ListCasesRequest.cc
|
||||
src/model/ListCasesResult.cc
|
||||
src/model/ListConfigItemsRequest.cc
|
||||
src/model/ListConfigItemsResult.cc
|
||||
src/model/ListContactFlowsRequest.cc
|
||||
@@ -374,6 +408,8 @@ set(ccc_src
|
||||
src/model/MonitorCallResult.cc
|
||||
src/model/MuteCallRequest.cc
|
||||
src/model/MuteCallResult.cc
|
||||
src/model/PauseCampaignRequest.cc
|
||||
src/model/PauseCampaignResult.cc
|
||||
src/model/PickOutboundNumbersRequest.cc
|
||||
src/model/PickOutboundNumbersResult.cc
|
||||
src/model/PollUserStatusRequest.cc
|
||||
@@ -402,6 +438,8 @@ set(ccc_src
|
||||
src/model/ResetAgentStateResult.cc
|
||||
src/model/ResetUserPasswordRequest.cc
|
||||
src/model/ResetUserPasswordResult.cc
|
||||
src/model/ResumeCampaignRequest.cc
|
||||
src/model/ResumeCampaignResult.cc
|
||||
src/model/RetrieveCallRequest.cc
|
||||
src/model/RetrieveCallResult.cc
|
||||
src/model/SaveRTCStatsV2Request.cc
|
||||
@@ -422,6 +460,8 @@ set(ccc_src
|
||||
src/model/StartBack2BackCallResult.cc
|
||||
src/model/StartPredictiveCallRequest.cc
|
||||
src/model/StartPredictiveCallResult.cc
|
||||
src/model/SubmitCampaignRequest.cc
|
||||
src/model/SubmitCampaignResult.cc
|
||||
src/model/TakeBreakRequest.cc
|
||||
src/model/TakeBreakResult.cc
|
||||
src/model/UnmuteCallRequest.cc
|
||||
|
||||
@@ -22,6 +22,8 @@
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CCCExport.h"
|
||||
#include "model/AbortCampaignRequest.h"
|
||||
#include "model/AbortCampaignResult.h"
|
||||
#include "model/AddNumbersToSkillGroupRequest.h"
|
||||
#include "model/AddNumbersToSkillGroupResult.h"
|
||||
#include "model/AddPersonalNumbersToUserRequest.h"
|
||||
@@ -50,6 +52,8 @@
|
||||
#include "model/CoachCallResult.h"
|
||||
#include "model/CompleteAttendedTransferRequest.h"
|
||||
#include "model/CompleteAttendedTransferResult.h"
|
||||
#include "model/CreateCampaignRequest.h"
|
||||
#include "model/CreateCampaignResult.h"
|
||||
#include "model/CreateInstanceRequest.h"
|
||||
#include "model/CreateInstanceResult.h"
|
||||
#include "model/CreateSkillGroupRequest.h"
|
||||
@@ -60,6 +64,8 @@
|
||||
#include "model/DeleteSkillGroupResult.h"
|
||||
#include "model/GetCallDetailRecordRequest.h"
|
||||
#include "model/GetCallDetailRecordResult.h"
|
||||
#include "model/GetCampaignRequest.h"
|
||||
#include "model/GetCampaignResult.h"
|
||||
#include "model/GetHistoricalCallerReportRequest.h"
|
||||
#include "model/GetHistoricalCallerReportResult.h"
|
||||
#include "model/GetHistoricalInstanceReportRequest.h"
|
||||
@@ -96,10 +102,18 @@
|
||||
#include "model/LaunchSurveyResult.h"
|
||||
#include "model/ListAgentStateLogsRequest.h"
|
||||
#include "model/ListAgentStateLogsResult.h"
|
||||
#include "model/ListAttemptsRequest.h"
|
||||
#include "model/ListAttemptsResult.h"
|
||||
#include "model/ListBriefSkillGroupsRequest.h"
|
||||
#include "model/ListBriefSkillGroupsResult.h"
|
||||
#include "model/ListCallDetailRecordsRequest.h"
|
||||
#include "model/ListCallDetailRecordsResult.h"
|
||||
#include "model/ListCampaignTrendingReportRequest.h"
|
||||
#include "model/ListCampaignTrendingReportResult.h"
|
||||
#include "model/ListCampaignsRequest.h"
|
||||
#include "model/ListCampaignsResult.h"
|
||||
#include "model/ListCasesRequest.h"
|
||||
#include "model/ListCasesResult.h"
|
||||
#include "model/ListConfigItemsRequest.h"
|
||||
#include "model/ListConfigItemsResult.h"
|
||||
#include "model/ListContactFlowsRequest.h"
|
||||
@@ -170,6 +184,8 @@
|
||||
#include "model/MonitorCallResult.h"
|
||||
#include "model/MuteCallRequest.h"
|
||||
#include "model/MuteCallResult.h"
|
||||
#include "model/PauseCampaignRequest.h"
|
||||
#include "model/PauseCampaignResult.h"
|
||||
#include "model/PickOutboundNumbersRequest.h"
|
||||
#include "model/PickOutboundNumbersResult.h"
|
||||
#include "model/PollUserStatusRequest.h"
|
||||
@@ -198,6 +214,8 @@
|
||||
#include "model/ResetAgentStateResult.h"
|
||||
#include "model/ResetUserPasswordRequest.h"
|
||||
#include "model/ResetUserPasswordResult.h"
|
||||
#include "model/ResumeCampaignRequest.h"
|
||||
#include "model/ResumeCampaignResult.h"
|
||||
#include "model/RetrieveCallRequest.h"
|
||||
#include "model/RetrieveCallResult.h"
|
||||
#include "model/SaveRTCStatsV2Request.h"
|
||||
@@ -218,6 +236,8 @@
|
||||
#include "model/StartBack2BackCallResult.h"
|
||||
#include "model/StartPredictiveCallRequest.h"
|
||||
#include "model/StartPredictiveCallResult.h"
|
||||
#include "model/SubmitCampaignRequest.h"
|
||||
#include "model/SubmitCampaignResult.h"
|
||||
#include "model/TakeBreakRequest.h"
|
||||
#include "model/TakeBreakResult.h"
|
||||
#include "model/UnmuteCallRequest.h"
|
||||
@@ -233,6 +253,9 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CCC_EXPORT CCCClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::AbortCampaignResult> AbortCampaignOutcome;
|
||||
typedef std::future<AbortCampaignOutcome> AbortCampaignOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AbortCampaignRequest&, const AbortCampaignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AbortCampaignAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddNumbersToSkillGroupResult> AddNumbersToSkillGroupOutcome;
|
||||
typedef std::future<AddNumbersToSkillGroupOutcome> AddNumbersToSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddNumbersToSkillGroupRequest&, const AddNumbersToSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddNumbersToSkillGroupAsyncHandler;
|
||||
@@ -275,6 +298,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CompleteAttendedTransferResult> CompleteAttendedTransferOutcome;
|
||||
typedef std::future<CompleteAttendedTransferOutcome> CompleteAttendedTransferOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CompleteAttendedTransferRequest&, const CompleteAttendedTransferOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CompleteAttendedTransferAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCampaignResult> CreateCampaignOutcome;
|
||||
typedef std::future<CreateCampaignOutcome> CreateCampaignOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateCampaignRequest&, const CreateCampaignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCampaignAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateInstanceResult> CreateInstanceOutcome;
|
||||
typedef std::future<CreateInstanceOutcome> CreateInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateInstanceRequest&, const CreateInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateInstanceAsyncHandler;
|
||||
@@ -290,6 +316,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetCallDetailRecordResult> GetCallDetailRecordOutcome;
|
||||
typedef std::future<GetCallDetailRecordOutcome> GetCallDetailRecordOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetCallDetailRecordRequest&, const GetCallDetailRecordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCallDetailRecordAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCampaignResult> GetCampaignOutcome;
|
||||
typedef std::future<GetCampaignOutcome> GetCampaignOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetCampaignRequest&, const GetCampaignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCampaignAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetHistoricalCallerReportResult> GetHistoricalCallerReportOutcome;
|
||||
typedef std::future<GetHistoricalCallerReportOutcome> GetHistoricalCallerReportOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetHistoricalCallerReportRequest&, const GetHistoricalCallerReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetHistoricalCallerReportAsyncHandler;
|
||||
@@ -344,12 +373,24 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListAgentStateLogsResult> ListAgentStateLogsOutcome;
|
||||
typedef std::future<ListAgentStateLogsOutcome> ListAgentStateLogsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListAgentStateLogsRequest&, const ListAgentStateLogsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAgentStateLogsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListAttemptsResult> ListAttemptsOutcome;
|
||||
typedef std::future<ListAttemptsOutcome> ListAttemptsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListAttemptsRequest&, const ListAttemptsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListAttemptsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListBriefSkillGroupsResult> ListBriefSkillGroupsOutcome;
|
||||
typedef std::future<ListBriefSkillGroupsOutcome> ListBriefSkillGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListBriefSkillGroupsRequest&, const ListBriefSkillGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListBriefSkillGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCallDetailRecordsResult> ListCallDetailRecordsOutcome;
|
||||
typedef std::future<ListCallDetailRecordsOutcome> ListCallDetailRecordsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListCallDetailRecordsRequest&, const ListCallDetailRecordsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCallDetailRecordsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCampaignTrendingReportResult> ListCampaignTrendingReportOutcome;
|
||||
typedef std::future<ListCampaignTrendingReportOutcome> ListCampaignTrendingReportOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListCampaignTrendingReportRequest&, const ListCampaignTrendingReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCampaignTrendingReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCampaignsResult> ListCampaignsOutcome;
|
||||
typedef std::future<ListCampaignsOutcome> ListCampaignsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListCampaignsRequest&, const ListCampaignsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCampaignsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListCasesResult> ListCasesOutcome;
|
||||
typedef std::future<ListCasesOutcome> ListCasesOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListCasesRequest&, const ListCasesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListCasesAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListConfigItemsResult> ListConfigItemsOutcome;
|
||||
typedef std::future<ListConfigItemsOutcome> ListConfigItemsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListConfigItemsRequest&, const ListConfigItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListConfigItemsAsyncHandler;
|
||||
@@ -455,6 +496,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::MuteCallResult> MuteCallOutcome;
|
||||
typedef std::future<MuteCallOutcome> MuteCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::MuteCallRequest&, const MuteCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MuteCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::PauseCampaignResult> PauseCampaignOutcome;
|
||||
typedef std::future<PauseCampaignOutcome> PauseCampaignOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PauseCampaignRequest&, const PauseCampaignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PauseCampaignAsyncHandler;
|
||||
typedef Outcome<Error, Model::PickOutboundNumbersResult> PickOutboundNumbersOutcome;
|
||||
typedef std::future<PickOutboundNumbersOutcome> PickOutboundNumbersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PickOutboundNumbersRequest&, const PickOutboundNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PickOutboundNumbersAsyncHandler;
|
||||
@@ -497,6 +541,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ResetUserPasswordResult> ResetUserPasswordOutcome;
|
||||
typedef std::future<ResetUserPasswordOutcome> ResetUserPasswordOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ResetUserPasswordRequest&, const ResetUserPasswordOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResetUserPasswordAsyncHandler;
|
||||
typedef Outcome<Error, Model::ResumeCampaignResult> ResumeCampaignOutcome;
|
||||
typedef std::future<ResumeCampaignOutcome> ResumeCampaignOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ResumeCampaignRequest&, const ResumeCampaignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ResumeCampaignAsyncHandler;
|
||||
typedef Outcome<Error, Model::RetrieveCallResult> RetrieveCallOutcome;
|
||||
typedef std::future<RetrieveCallOutcome> RetrieveCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RetrieveCallRequest&, const RetrieveCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RetrieveCallAsyncHandler;
|
||||
@@ -527,6 +574,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StartPredictiveCallResult> StartPredictiveCallOutcome;
|
||||
typedef std::future<StartPredictiveCallOutcome> StartPredictiveCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::StartPredictiveCallRequest&, const StartPredictiveCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartPredictiveCallAsyncHandler;
|
||||
typedef Outcome<Error, Model::SubmitCampaignResult> SubmitCampaignOutcome;
|
||||
typedef std::future<SubmitCampaignOutcome> SubmitCampaignOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::SubmitCampaignRequest&, const SubmitCampaignOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SubmitCampaignAsyncHandler;
|
||||
typedef Outcome<Error, Model::TakeBreakResult> TakeBreakOutcome;
|
||||
typedef std::future<TakeBreakOutcome> TakeBreakOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::TakeBreakRequest&, const TakeBreakOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TakeBreakAsyncHandler;
|
||||
@@ -541,6 +591,9 @@ namespace AlibabaCloud
|
||||
CCCClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CCCClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CCCClient();
|
||||
AbortCampaignOutcome abortCampaign(const Model::AbortCampaignRequest &request)const;
|
||||
void abortCampaignAsync(const Model::AbortCampaignRequest& request, const AbortCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AbortCampaignOutcomeCallable abortCampaignCallable(const Model::AbortCampaignRequest& request) const;
|
||||
AddNumbersToSkillGroupOutcome addNumbersToSkillGroup(const Model::AddNumbersToSkillGroupRequest &request)const;
|
||||
void addNumbersToSkillGroupAsync(const Model::AddNumbersToSkillGroupRequest& request, const AddNumbersToSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddNumbersToSkillGroupOutcomeCallable addNumbersToSkillGroupCallable(const Model::AddNumbersToSkillGroupRequest& request) const;
|
||||
@@ -583,6 +636,9 @@ namespace AlibabaCloud
|
||||
CompleteAttendedTransferOutcome completeAttendedTransfer(const Model::CompleteAttendedTransferRequest &request)const;
|
||||
void completeAttendedTransferAsync(const Model::CompleteAttendedTransferRequest& request, const CompleteAttendedTransferAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CompleteAttendedTransferOutcomeCallable completeAttendedTransferCallable(const Model::CompleteAttendedTransferRequest& request) const;
|
||||
CreateCampaignOutcome createCampaign(const Model::CreateCampaignRequest &request)const;
|
||||
void createCampaignAsync(const Model::CreateCampaignRequest& request, const CreateCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCampaignOutcomeCallable createCampaignCallable(const Model::CreateCampaignRequest& request) const;
|
||||
CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const;
|
||||
void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const;
|
||||
@@ -598,6 +654,9 @@ namespace AlibabaCloud
|
||||
GetCallDetailRecordOutcome getCallDetailRecord(const Model::GetCallDetailRecordRequest &request)const;
|
||||
void getCallDetailRecordAsync(const Model::GetCallDetailRecordRequest& request, const GetCallDetailRecordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCallDetailRecordOutcomeCallable getCallDetailRecordCallable(const Model::GetCallDetailRecordRequest& request) const;
|
||||
GetCampaignOutcome getCampaign(const Model::GetCampaignRequest &request)const;
|
||||
void getCampaignAsync(const Model::GetCampaignRequest& request, const GetCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCampaignOutcomeCallable getCampaignCallable(const Model::GetCampaignRequest& request) const;
|
||||
GetHistoricalCallerReportOutcome getHistoricalCallerReport(const Model::GetHistoricalCallerReportRequest &request)const;
|
||||
void getHistoricalCallerReportAsync(const Model::GetHistoricalCallerReportRequest& request, const GetHistoricalCallerReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetHistoricalCallerReportOutcomeCallable getHistoricalCallerReportCallable(const Model::GetHistoricalCallerReportRequest& request) const;
|
||||
@@ -652,12 +711,24 @@ namespace AlibabaCloud
|
||||
ListAgentStateLogsOutcome listAgentStateLogs(const Model::ListAgentStateLogsRequest &request)const;
|
||||
void listAgentStateLogsAsync(const Model::ListAgentStateLogsRequest& request, const ListAgentStateLogsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAgentStateLogsOutcomeCallable listAgentStateLogsCallable(const Model::ListAgentStateLogsRequest& request) const;
|
||||
ListAttemptsOutcome listAttempts(const Model::ListAttemptsRequest &request)const;
|
||||
void listAttemptsAsync(const Model::ListAttemptsRequest& request, const ListAttemptsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListAttemptsOutcomeCallable listAttemptsCallable(const Model::ListAttemptsRequest& request) const;
|
||||
ListBriefSkillGroupsOutcome listBriefSkillGroups(const Model::ListBriefSkillGroupsRequest &request)const;
|
||||
void listBriefSkillGroupsAsync(const Model::ListBriefSkillGroupsRequest& request, const ListBriefSkillGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListBriefSkillGroupsOutcomeCallable listBriefSkillGroupsCallable(const Model::ListBriefSkillGroupsRequest& request) const;
|
||||
ListCallDetailRecordsOutcome listCallDetailRecords(const Model::ListCallDetailRecordsRequest &request)const;
|
||||
void listCallDetailRecordsAsync(const Model::ListCallDetailRecordsRequest& request, const ListCallDetailRecordsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCallDetailRecordsOutcomeCallable listCallDetailRecordsCallable(const Model::ListCallDetailRecordsRequest& request) const;
|
||||
ListCampaignTrendingReportOutcome listCampaignTrendingReport(const Model::ListCampaignTrendingReportRequest &request)const;
|
||||
void listCampaignTrendingReportAsync(const Model::ListCampaignTrendingReportRequest& request, const ListCampaignTrendingReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCampaignTrendingReportOutcomeCallable listCampaignTrendingReportCallable(const Model::ListCampaignTrendingReportRequest& request) const;
|
||||
ListCampaignsOutcome listCampaigns(const Model::ListCampaignsRequest &request)const;
|
||||
void listCampaignsAsync(const Model::ListCampaignsRequest& request, const ListCampaignsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCampaignsOutcomeCallable listCampaignsCallable(const Model::ListCampaignsRequest& request) const;
|
||||
ListCasesOutcome listCases(const Model::ListCasesRequest &request)const;
|
||||
void listCasesAsync(const Model::ListCasesRequest& request, const ListCasesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListCasesOutcomeCallable listCasesCallable(const Model::ListCasesRequest& request) const;
|
||||
ListConfigItemsOutcome listConfigItems(const Model::ListConfigItemsRequest &request)const;
|
||||
void listConfigItemsAsync(const Model::ListConfigItemsRequest& request, const ListConfigItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListConfigItemsOutcomeCallable listConfigItemsCallable(const Model::ListConfigItemsRequest& request) const;
|
||||
@@ -763,6 +834,9 @@ namespace AlibabaCloud
|
||||
MuteCallOutcome muteCall(const Model::MuteCallRequest &request)const;
|
||||
void muteCallAsync(const Model::MuteCallRequest& request, const MuteCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MuteCallOutcomeCallable muteCallCallable(const Model::MuteCallRequest& request) const;
|
||||
PauseCampaignOutcome pauseCampaign(const Model::PauseCampaignRequest &request)const;
|
||||
void pauseCampaignAsync(const Model::PauseCampaignRequest& request, const PauseCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PauseCampaignOutcomeCallable pauseCampaignCallable(const Model::PauseCampaignRequest& request) const;
|
||||
PickOutboundNumbersOutcome pickOutboundNumbers(const Model::PickOutboundNumbersRequest &request)const;
|
||||
void pickOutboundNumbersAsync(const Model::PickOutboundNumbersRequest& request, const PickOutboundNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PickOutboundNumbersOutcomeCallable pickOutboundNumbersCallable(const Model::PickOutboundNumbersRequest& request) const;
|
||||
@@ -805,6 +879,9 @@ namespace AlibabaCloud
|
||||
ResetUserPasswordOutcome resetUserPassword(const Model::ResetUserPasswordRequest &request)const;
|
||||
void resetUserPasswordAsync(const Model::ResetUserPasswordRequest& request, const ResetUserPasswordAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResetUserPasswordOutcomeCallable resetUserPasswordCallable(const Model::ResetUserPasswordRequest& request) const;
|
||||
ResumeCampaignOutcome resumeCampaign(const Model::ResumeCampaignRequest &request)const;
|
||||
void resumeCampaignAsync(const Model::ResumeCampaignRequest& request, const ResumeCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ResumeCampaignOutcomeCallable resumeCampaignCallable(const Model::ResumeCampaignRequest& request) const;
|
||||
RetrieveCallOutcome retrieveCall(const Model::RetrieveCallRequest &request)const;
|
||||
void retrieveCallAsync(const Model::RetrieveCallRequest& request, const RetrieveCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RetrieveCallOutcomeCallable retrieveCallCallable(const Model::RetrieveCallRequest& request) const;
|
||||
@@ -835,6 +912,9 @@ namespace AlibabaCloud
|
||||
StartPredictiveCallOutcome startPredictiveCall(const Model::StartPredictiveCallRequest &request)const;
|
||||
void startPredictiveCallAsync(const Model::StartPredictiveCallRequest& request, const StartPredictiveCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartPredictiveCallOutcomeCallable startPredictiveCallCallable(const Model::StartPredictiveCallRequest& request) const;
|
||||
SubmitCampaignOutcome submitCampaign(const Model::SubmitCampaignRequest &request)const;
|
||||
void submitCampaignAsync(const Model::SubmitCampaignRequest& request, const SubmitCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SubmitCampaignOutcomeCallable submitCampaignCallable(const Model::SubmitCampaignRequest& request) const;
|
||||
TakeBreakOutcome takeBreak(const Model::TakeBreakRequest &request)const;
|
||||
void takeBreakAsync(const Model::TakeBreakRequest& request, const TakeBreakAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TakeBreakOutcomeCallable takeBreakCallable(const Model::TakeBreakRequest& request) const;
|
||||
|
||||
51
ccc/include/alibabacloud/ccc/model/AbortCampaignRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/AbortCampaignRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT AbortCampaignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AbortCampaignRequest();
|
||||
~AbortCampaignRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCampaignId()const;
|
||||
void setCampaignId(const std::string& campaignId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string campaignId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_
|
||||
55
ccc/include/alibabacloud/ccc/model/AbortCampaignResult.h
Normal file
55
ccc/include/alibabacloud/ccc/model/AbortCampaignResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT AbortCampaignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
AbortCampaignResult();
|
||||
explicit AbortCampaignResult(const std::string &payload);
|
||||
~AbortCampaignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNRESULT_H_
|
||||
90
ccc/include/alibabacloud/ccc/model/CreateCampaignRequest.h
Normal file
90
ccc/include/alibabacloud/ccc/model/CreateCampaignRequest.h
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT CreateCampaignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCampaignRequest();
|
||||
~CreateCampaignRequest();
|
||||
|
||||
std::string getQueueId()const;
|
||||
void setQueueId(const std::string& queueId);
|
||||
std::string getContactFlowId()const;
|
||||
void setContactFlowId(const std::string& contactFlowId);
|
||||
bool getSimulation()const;
|
||||
void setSimulation(bool simulation);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
long getMaxAttemptCount()const;
|
||||
void setMaxAttemptCount(long maxAttemptCount);
|
||||
std::string getStrategyParameters()const;
|
||||
void setStrategyParameters(const std::string& strategyParameters);
|
||||
std::string getCaseFileKey()const;
|
||||
void setCaseFileKey(const std::string& caseFileKey);
|
||||
long getMinAttemptInterval()const;
|
||||
void setMinAttemptInterval(long minAttemptInterval);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSimulationParameters()const;
|
||||
void setSimulationParameters(const std::string& simulationParameters);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getStrategyType()const;
|
||||
void setStrategyType(const std::string& strategyType);
|
||||
std::string getCaseList()const;
|
||||
void setCaseList(const std::string& caseList);
|
||||
std::string getCallableTime()const;
|
||||
void setCallableTime(const std::string& callableTime);
|
||||
|
||||
private:
|
||||
std::string queueId_;
|
||||
std::string contactFlowId_;
|
||||
bool simulation_;
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
long maxAttemptCount_;
|
||||
std::string strategyParameters_;
|
||||
std::string caseFileKey_;
|
||||
long minAttemptInterval_;
|
||||
std::string instanceId_;
|
||||
std::string simulationParameters_;
|
||||
std::string name_;
|
||||
std::string strategyType_;
|
||||
std::string caseList_;
|
||||
std::string callableTime_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_
|
||||
57
ccc/include/alibabacloud/ccc/model/CreateCampaignResult.h
Normal file
57
ccc/include/alibabacloud/ccc/model/CreateCampaignResult.h
Normal file
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT CreateCampaignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreateCampaignResult();
|
||||
explicit CreateCampaignResult(const std::string &payload);
|
||||
~CreateCampaignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getCampaignId()const;
|
||||
long getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string campaignId_;
|
||||
long httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/GetCampaignRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/GetCampaignRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT GetCampaignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetCampaignRequest();
|
||||
~GetCampaignRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCampaignId()const;
|
||||
void setCampaignId(const std::string& campaignId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string campaignId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_
|
||||
80
ccc/include/alibabacloud/ccc/model/GetCampaignResult.h
Normal file
80
ccc/include/alibabacloud/ccc/model/GetCampaignResult.h
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_GETCAMPAIGNRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT GetCampaignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
long casesAborted;
|
||||
long casesUncompleted;
|
||||
long maxAttemptCount;
|
||||
long minAttemptInterval;
|
||||
std::string strategyType;
|
||||
long casesConnected;
|
||||
long planedStartTime;
|
||||
std::string simulationParameters;
|
||||
std::string queueId;
|
||||
long totalCases;
|
||||
std::string name;
|
||||
long actualStartTime;
|
||||
std::string strategyParameters;
|
||||
bool simulation;
|
||||
std::string campaignId;
|
||||
std::string state;
|
||||
long completedRate;
|
||||
long actualEndTime;
|
||||
long planedEndTime;
|
||||
std::string queueName;
|
||||
};
|
||||
|
||||
|
||||
GetCampaignResult();
|
||||
explicit GetCampaignResult(const std::string &payload);
|
||||
~GetCampaignResult();
|
||||
long getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNRESULT_H_
|
||||
84
ccc/include/alibabacloud/ccc/model/ListAttemptsRequest.h
Normal file
84
ccc/include/alibabacloud/ccc/model/ListAttemptsRequest.h
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_LISTATTEMPTSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListAttemptsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListAttemptsRequest();
|
||||
~ListAttemptsRequest();
|
||||
|
||||
std::string getContactId()const;
|
||||
void setContactId(const std::string& contactId);
|
||||
std::string getCampaignId()const;
|
||||
void setCampaignId(const std::string& campaignId);
|
||||
std::string getCallee()const;
|
||||
void setCallee(const std::string& callee);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getQueueId()const;
|
||||
void setQueueId(const std::string& queueId);
|
||||
std::string getAgentId()const;
|
||||
void setAgentId(const std::string& agentId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
std::string getCaller()const;
|
||||
void setCaller(const std::string& caller);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCaseId()const;
|
||||
void setCaseId(const std::string& caseId);
|
||||
std::string getAttemptId()const;
|
||||
void setAttemptId(const std::string& attemptId);
|
||||
|
||||
private:
|
||||
std::string contactId_;
|
||||
std::string campaignId_;
|
||||
std::string callee_;
|
||||
long startTime_;
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string queueId_;
|
||||
std::string agentId_;
|
||||
long endTime_;
|
||||
std::string caller_;
|
||||
std::string instanceId_;
|
||||
std::string caseId_;
|
||||
std::string attemptId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSREQUEST_H_
|
||||
87
ccc/include/alibabacloud/ccc/model/ListAttemptsResult.h
Normal file
87
ccc/include/alibabacloud/ccc/model/ListAttemptsResult.h
Normal file
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_LISTATTEMPTSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListAttemptsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct AttemptList
|
||||
{
|
||||
std::string callee;
|
||||
long dialTime;
|
||||
std::string attemptId;
|
||||
std::string instanceId;
|
||||
long agentEstablishedTime;
|
||||
std::string queueId;
|
||||
std::string caseId;
|
||||
long dialDuration;
|
||||
long queueDuration;
|
||||
std::string contactId;
|
||||
long ivrDuration;
|
||||
long enqueueTime;
|
||||
long agentRingDuration;
|
||||
long assignAgentTime;
|
||||
std::string campaignId;
|
||||
std::string caller;
|
||||
long customerReleasedTime;
|
||||
std::string agentId;
|
||||
long customerEstablishedTime;
|
||||
long enterIvrTime;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<AttemptList> list;
|
||||
};
|
||||
|
||||
|
||||
ListAttemptsResult();
|
||||
explicit ListAttemptsResult(const std::string &payload);
|
||||
~ListAttemptsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSRESULT_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_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListCampaignTrendingReportRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCampaignTrendingReportRequest();
|
||||
~ListCampaignTrendingReportRequest();
|
||||
|
||||
std::string getCampaignId()const;
|
||||
void setCampaignId(const std::string& campaignId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string campaignId_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListCampaignTrendingReportResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct TrendingList
|
||||
{
|
||||
long breakAgents;
|
||||
long concurrency;
|
||||
long loggedInAgents;
|
||||
long readyAgents;
|
||||
long workAgents;
|
||||
long talkAgents;
|
||||
long datetime;
|
||||
};
|
||||
|
||||
|
||||
ListCampaignTrendingReportResult();
|
||||
explicit ListCampaignTrendingReportResult(const std::string &payload);
|
||||
~ListCampaignTrendingReportResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<TrendingList> getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<TrendingList> data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTRESULT_H_
|
||||
75
ccc/include/alibabacloud/ccc/model/ListCampaignsRequest.h
Normal file
75
ccc/include/alibabacloud/ccc/model/ListCampaignsRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListCampaignsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCampaignsRequest();
|
||||
~ListCampaignsRequest();
|
||||
|
||||
std::string getActualStartTimeTo()const;
|
||||
void setActualStartTimeTo(const std::string& actualStartTimeTo);
|
||||
std::string getQueueId()const;
|
||||
void setQueueId(const std::string& queueId);
|
||||
std::string getActualStartTimeFrom()const;
|
||||
void setActualStartTimeFrom(const std::string& actualStartTimeFrom);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
std::string getPlanedStartTimeFrom()const;
|
||||
void setPlanedStartTimeFrom(const std::string& planedStartTimeFrom);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
std::string getPlanedStartTimeTo()const;
|
||||
void setPlanedStartTimeTo(const std::string& planedStartTimeTo);
|
||||
std::string getState()const;
|
||||
void setState(const std::string& state);
|
||||
|
||||
private:
|
||||
std::string actualStartTimeTo_;
|
||||
std::string queueId_;
|
||||
std::string actualStartTimeFrom_;
|
||||
long pageNumber_;
|
||||
std::string planedStartTimeFrom_;
|
||||
std::string instanceId_;
|
||||
std::string name_;
|
||||
long pageSize_;
|
||||
std::string planedStartTimeTo_;
|
||||
std::string state_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSREQUEST_H_
|
||||
88
ccc/include/alibabacloud/ccc/model/ListCampaignsResult.h
Normal file
88
ccc/include/alibabacloud/ccc/model/ListCampaignsResult.h
Normal file
@@ -0,0 +1,88 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_LISTCAMPAIGNSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListCampaignsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ListItem
|
||||
{
|
||||
long casesAborted;
|
||||
long casesUncompleted;
|
||||
long maxAttemptCount;
|
||||
long minAttemptInterval;
|
||||
std::string strategyType;
|
||||
long casesConnected;
|
||||
long planedStartTime;
|
||||
std::string queueId;
|
||||
long totalCases;
|
||||
std::string name;
|
||||
long actualStartTime;
|
||||
std::string strategyParameters;
|
||||
bool simulation;
|
||||
std::string campaignId;
|
||||
std::string state;
|
||||
long completedRate;
|
||||
long actualEndTime;
|
||||
long planedEndTime;
|
||||
std::string queueName;
|
||||
};
|
||||
long totalCount;
|
||||
long pageSize;
|
||||
long pageNumber;
|
||||
std::vector<ListItem> list;
|
||||
};
|
||||
|
||||
|
||||
ListCampaignsResult();
|
||||
explicit ListCampaignsResult(const std::string &payload);
|
||||
~ListCampaignsResult();
|
||||
std::string getMessage()const;
|
||||
long getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSRESULT_H_
|
||||
60
ccc/include/alibabacloud/ccc/model/ListCasesRequest.h
Normal file
60
ccc/include/alibabacloud/ccc/model/ListCasesRequest.h
Normal file
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTCASESREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCASESREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListCasesRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListCasesRequest();
|
||||
~ListCasesRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCampaignId()const;
|
||||
void setCampaignId(const std::string& campaignId);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
long getPageSize()const;
|
||||
void setPageSize(long pageSize);
|
||||
long getPageNumber()const;
|
||||
void setPageNumber(long pageNumber);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string campaignId_;
|
||||
std::string phoneNumber_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCASESREQUEST_H_
|
||||
77
ccc/include/alibabacloud/ccc/model/ListCasesResult.h
Normal file
77
ccc/include/alibabacloud/ccc/model/ListCasesResult.h
Normal file
@@ -0,0 +1,77 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CCC_MODEL_LISTCASESRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTCASESRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ListCasesResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct ListItem
|
||||
{
|
||||
std::string expandInfo;
|
||||
long attemptCount;
|
||||
std::string abandonType;
|
||||
std::string state;
|
||||
std::string failureReason;
|
||||
std::string phoneNumber;
|
||||
std::string caseId;
|
||||
std::string customVariables;
|
||||
};
|
||||
long totalCount;
|
||||
long pageSize;
|
||||
long pageNumber;
|
||||
std::vector<ListItem> list;
|
||||
};
|
||||
|
||||
|
||||
ListCasesResult();
|
||||
explicit ListCasesResult(const std::string &payload);
|
||||
~ListCasesResult();
|
||||
std::string getMessage()const;
|
||||
long getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
long httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTCASESRESULT_H_
|
||||
@@ -39,21 +39,21 @@ namespace AlibabaCloud
|
||||
struct Inbound
|
||||
{
|
||||
long totalWorkTime;
|
||||
long callsRinged;
|
||||
long totalHoldTime;
|
||||
long callsRinged;
|
||||
float averageHoldTime;
|
||||
long callsOffered;
|
||||
long maxRingTime;
|
||||
long callsHold;
|
||||
long callsOffered;
|
||||
float satisfactionIndex;
|
||||
long callsHold;
|
||||
long totalRingTime;
|
||||
float handleRate;
|
||||
long totalTalkTime;
|
||||
long maxTalkTime;
|
||||
float satisfactionRate;
|
||||
long callsAttendedTransferOut;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
float averageTalkTime;
|
||||
long satisfactionSurveysOffered;
|
||||
long callsHandled;
|
||||
long satisfactionSurveysResponded;
|
||||
@@ -61,19 +61,19 @@ namespace AlibabaCloud
|
||||
float averageRingTime;
|
||||
float averageWorkTime;
|
||||
long callsBlindTransferOut;
|
||||
long callsBlindTransferIn;
|
||||
long maxWorkTime;
|
||||
long callsBlindTransferIn;
|
||||
};
|
||||
struct Outbound
|
||||
{
|
||||
long totalDialingTime;
|
||||
long totalWorkTime;
|
||||
long callsRinged;
|
||||
long totalHoldTime;
|
||||
long callsRinged;
|
||||
float averageHoldTime;
|
||||
long maxRingTime;
|
||||
long callsHold;
|
||||
float satisfactionIndex;
|
||||
long callsHold;
|
||||
long totalRingTime;
|
||||
float averageDialingTime;
|
||||
long callsAnswered;
|
||||
@@ -84,16 +84,16 @@ namespace AlibabaCloud
|
||||
float satisfactionRate;
|
||||
long callsAttendedTransferOut;
|
||||
float answerRate;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
float averageTalkTime;
|
||||
long satisfactionSurveysOffered;
|
||||
long satisfactionSurveysResponded;
|
||||
long callsAttendedTransferIn;
|
||||
float averageRingTime;
|
||||
float averageWorkTime;
|
||||
long callsBlindTransferOut;
|
||||
long callsBlindTransferIn;
|
||||
long maxWorkTime;
|
||||
long callsBlindTransferIn;
|
||||
};
|
||||
struct Overall
|
||||
{
|
||||
@@ -102,8 +102,8 @@ namespace AlibabaCloud
|
||||
long totalCalls;
|
||||
long totalWorkTime;
|
||||
long totalHoldTime;
|
||||
float averageHoldTime;
|
||||
long satisfactionSurveysOffered;
|
||||
float averageHoldTime;
|
||||
float satisfactionIndex;
|
||||
float averageBreakTime;
|
||||
long satisfactionSurveysResponded;
|
||||
@@ -111,19 +111,20 @@ namespace AlibabaCloud
|
||||
float averageReadyTime;
|
||||
long totalLoggedInTime;
|
||||
long maxTalkTime;
|
||||
float satisfactionRate;
|
||||
float averageWorkTime;
|
||||
long maxReadyTime;
|
||||
float satisfactionRate;
|
||||
long maxBreakTime;
|
||||
long maxWorkTime;
|
||||
float averageTalkTime;
|
||||
long maxHoldTime;
|
||||
long maxBreakTime;
|
||||
float occupancyRate;
|
||||
long maxHoldTime;
|
||||
float averageTalkTime;
|
||||
};
|
||||
Outbound outbound;
|
||||
Overall overall;
|
||||
std::string agentId;
|
||||
std::string displayId;
|
||||
std::string agentName;
|
||||
std::string agentId;
|
||||
Inbound inbound;
|
||||
};
|
||||
int totalCount;
|
||||
|
||||
@@ -46,8 +46,8 @@ namespace AlibabaCloud
|
||||
};
|
||||
struct UserSkillLevel
|
||||
{
|
||||
std::string skillGroupName;
|
||||
int skillLevel;
|
||||
std::string skillGroupName;
|
||||
std::string skillGroupId;
|
||||
};
|
||||
std::string loginName;
|
||||
@@ -58,6 +58,7 @@ namespace AlibabaCloud
|
||||
bool primaryAccount;
|
||||
std::string displayName;
|
||||
std::vector<UserDetail::PhoneNumber> personalOutboundNumberList;
|
||||
std::string displayId;
|
||||
std::string mobile;
|
||||
std::string roleId;
|
||||
std::string workMode;
|
||||
|
||||
51
ccc/include/alibabacloud/ccc/model/PauseCampaignRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/PauseCampaignRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT PauseCampaignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PauseCampaignRequest();
|
||||
~PauseCampaignRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCampaignId()const;
|
||||
void setCampaignId(const std::string& campaignId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string campaignId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNREQUEST_H_
|
||||
55
ccc/include/alibabacloud/ccc/model/PauseCampaignResult.h
Normal file
55
ccc/include/alibabacloud/ccc/model/PauseCampaignResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT PauseCampaignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PauseCampaignResult();
|
||||
explicit PauseCampaignResult(const std::string &payload);
|
||||
~PauseCampaignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/ResumeCampaignRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/ResumeCampaignRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ResumeCampaignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ResumeCampaignRequest();
|
||||
~ResumeCampaignRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCampaignId()const;
|
||||
void setCampaignId(const std::string& campaignId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string campaignId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNREQUEST_H_
|
||||
55
ccc/include/alibabacloud/ccc/model/ResumeCampaignResult.h
Normal file
55
ccc/include/alibabacloud/ccc/model/ResumeCampaignResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT ResumeCampaignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
ResumeCampaignResult();
|
||||
explicit ResumeCampaignResult(const std::string &payload);
|
||||
~ResumeCampaignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNRESULT_H_
|
||||
51
ccc/include/alibabacloud/ccc/model/SubmitCampaignRequest.h
Normal file
51
ccc/include/alibabacloud/ccc/model/SubmitCampaignRequest.h
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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT SubmitCampaignRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SubmitCampaignRequest();
|
||||
~SubmitCampaignRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCampaignId()const;
|
||||
void setCampaignId(const std::string& campaignId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string campaignId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNREQUEST_H_
|
||||
55
ccc/include/alibabacloud/ccc/model/SubmitCampaignResult.h
Normal file
55
ccc/include/alibabacloud/ccc/model/SubmitCampaignResult.h
Normal file
@@ -0,0 +1,55 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/ccc/CCCExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace CCC
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CCC_EXPORT SubmitCampaignResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SubmitCampaignResult();
|
||||
explicit SubmitCampaignResult(const std::string &payload);
|
||||
~SubmitCampaignResult();
|
||||
std::string getMessage()const;
|
||||
std::string getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::string httpStatusCode_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNRESULT_H_
|
||||
@@ -51,6 +51,42 @@ CCCClient::CCCClient(const std::string & accessKeyId, const std::string & access
|
||||
CCCClient::~CCCClient()
|
||||
{}
|
||||
|
||||
CCCClient::AbortCampaignOutcome CCCClient::abortCampaign(const AbortCampaignRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return AbortCampaignOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return AbortCampaignOutcome(AbortCampaignResult(outcome.result()));
|
||||
else
|
||||
return AbortCampaignOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::abortCampaignAsync(const AbortCampaignRequest& request, const AbortCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, abortCampaign(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::AbortCampaignOutcomeCallable CCCClient::abortCampaignCallable(const AbortCampaignRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<AbortCampaignOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->abortCampaign(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::AddNumbersToSkillGroupOutcome CCCClient::addNumbersToSkillGroup(const AddNumbersToSkillGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -555,6 +591,42 @@ CCCClient::CompleteAttendedTransferOutcomeCallable CCCClient::completeAttendedTr
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::CreateCampaignOutcome CCCClient::createCampaign(const CreateCampaignRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateCampaignOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateCampaignOutcome(CreateCampaignResult(outcome.result()));
|
||||
else
|
||||
return CreateCampaignOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::createCampaignAsync(const CreateCampaignRequest& request, const CreateCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createCampaign(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::CreateCampaignOutcomeCallable CCCClient::createCampaignCallable(const CreateCampaignRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateCampaignOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createCampaign(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::CreateInstanceOutcome CCCClient::createInstance(const CreateInstanceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -735,6 +807,42 @@ CCCClient::GetCallDetailRecordOutcomeCallable CCCClient::getCallDetailRecordCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::GetCampaignOutcome CCCClient::getCampaign(const GetCampaignRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetCampaignOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetCampaignOutcome(GetCampaignResult(outcome.result()));
|
||||
else
|
||||
return GetCampaignOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::getCampaignAsync(const GetCampaignRequest& request, const GetCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getCampaign(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::GetCampaignOutcomeCallable CCCClient::getCampaignCallable(const GetCampaignRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetCampaignOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getCampaign(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::GetHistoricalCallerReportOutcome CCCClient::getHistoricalCallerReport(const GetHistoricalCallerReportRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1383,6 +1491,42 @@ CCCClient::ListAgentStateLogsOutcomeCallable CCCClient::listAgentStateLogsCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListAttemptsOutcome CCCClient::listAttempts(const ListAttemptsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListAttemptsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListAttemptsOutcome(ListAttemptsResult(outcome.result()));
|
||||
else
|
||||
return ListAttemptsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listAttemptsAsync(const ListAttemptsRequest& request, const ListAttemptsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listAttempts(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListAttemptsOutcomeCallable CCCClient::listAttemptsCallable(const ListAttemptsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListAttemptsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listAttempts(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListBriefSkillGroupsOutcome CCCClient::listBriefSkillGroups(const ListBriefSkillGroupsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1455,6 +1599,114 @@ CCCClient::ListCallDetailRecordsOutcomeCallable CCCClient::listCallDetailRecords
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListCampaignTrendingReportOutcome CCCClient::listCampaignTrendingReport(const ListCampaignTrendingReportRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCampaignTrendingReportOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCampaignTrendingReportOutcome(ListCampaignTrendingReportResult(outcome.result()));
|
||||
else
|
||||
return ListCampaignTrendingReportOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listCampaignTrendingReportAsync(const ListCampaignTrendingReportRequest& request, const ListCampaignTrendingReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCampaignTrendingReport(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListCampaignTrendingReportOutcomeCallable CCCClient::listCampaignTrendingReportCallable(const ListCampaignTrendingReportRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCampaignTrendingReportOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCampaignTrendingReport(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListCampaignsOutcome CCCClient::listCampaigns(const ListCampaignsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCampaignsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCampaignsOutcome(ListCampaignsResult(outcome.result()));
|
||||
else
|
||||
return ListCampaignsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listCampaignsAsync(const ListCampaignsRequest& request, const ListCampaignsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCampaigns(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListCampaignsOutcomeCallable CCCClient::listCampaignsCallable(const ListCampaignsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCampaignsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCampaigns(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListCasesOutcome CCCClient::listCases(const ListCasesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListCasesOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListCasesOutcome(ListCasesResult(outcome.result()));
|
||||
else
|
||||
return ListCasesOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::listCasesAsync(const ListCasesRequest& request, const ListCasesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listCases(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ListCasesOutcomeCallable CCCClient::listCasesCallable(const ListCasesRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListCasesOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listCases(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ListConfigItemsOutcome CCCClient::listConfigItems(const ListConfigItemsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2715,6 +2967,42 @@ CCCClient::MuteCallOutcomeCallable CCCClient::muteCallCallable(const MuteCallReq
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::PauseCampaignOutcome CCCClient::pauseCampaign(const PauseCampaignRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return PauseCampaignOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return PauseCampaignOutcome(PauseCampaignResult(outcome.result()));
|
||||
else
|
||||
return PauseCampaignOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::pauseCampaignAsync(const PauseCampaignRequest& request, const PauseCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, pauseCampaign(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::PauseCampaignOutcomeCallable CCCClient::pauseCampaignCallable(const PauseCampaignRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<PauseCampaignOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->pauseCampaign(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::PickOutboundNumbersOutcome CCCClient::pickOutboundNumbers(const PickOutboundNumbersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3219,6 +3507,42 @@ CCCClient::ResetUserPasswordOutcomeCallable CCCClient::resetUserPasswordCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::ResumeCampaignOutcome CCCClient::resumeCampaign(const ResumeCampaignRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ResumeCampaignOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ResumeCampaignOutcome(ResumeCampaignResult(outcome.result()));
|
||||
else
|
||||
return ResumeCampaignOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::resumeCampaignAsync(const ResumeCampaignRequest& request, const ResumeCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, resumeCampaign(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::ResumeCampaignOutcomeCallable CCCClient::resumeCampaignCallable(const ResumeCampaignRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ResumeCampaignOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->resumeCampaign(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::RetrieveCallOutcome CCCClient::retrieveCall(const RetrieveCallRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -3579,6 +3903,42 @@ CCCClient::StartPredictiveCallOutcomeCallable CCCClient::startPredictiveCallCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::SubmitCampaignOutcome CCCClient::submitCampaign(const SubmitCampaignRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SubmitCampaignOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SubmitCampaignOutcome(SubmitCampaignResult(outcome.result()));
|
||||
else
|
||||
return SubmitCampaignOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CCCClient::submitCampaignAsync(const SubmitCampaignRequest& request, const SubmitCampaignAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, submitCampaign(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CCCClient::SubmitCampaignOutcomeCallable CCCClient::submitCampaignCallable(const SubmitCampaignRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SubmitCampaignOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->submitCampaign(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CCCClient::TakeBreakOutcome CCCClient::takeBreak(const TakeBreakRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
51
ccc/src/model/AbortCampaignRequest.cc
Normal file
51
ccc/src/model/AbortCampaignRequest.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/ccc/model/AbortCampaignRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::AbortCampaignRequest;
|
||||
|
||||
AbortCampaignRequest::AbortCampaignRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "AbortCampaign")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AbortCampaignRequest::~AbortCampaignRequest()
|
||||
{}
|
||||
|
||||
std::string AbortCampaignRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AbortCampaignRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AbortCampaignRequest::getCampaignId()const
|
||||
{
|
||||
return campaignId_;
|
||||
}
|
||||
|
||||
void AbortCampaignRequest::setCampaignId(const std::string& campaignId)
|
||||
{
|
||||
campaignId_ = campaignId;
|
||||
setParameter("CampaignId", campaignId);
|
||||
}
|
||||
|
||||
65
ccc/src/model/AbortCampaignResult.cc
Normal file
65
ccc/src/model/AbortCampaignResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/AbortCampaignResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
AbortCampaignResult::AbortCampaignResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AbortCampaignResult::AbortCampaignResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AbortCampaignResult::~AbortCampaignResult()
|
||||
{}
|
||||
|
||||
void AbortCampaignResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string AbortCampaignResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string AbortCampaignResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string AbortCampaignResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
194
ccc/src/model/CreateCampaignRequest.cc
Normal file
194
ccc/src/model/CreateCampaignRequest.cc
Normal file
@@ -0,0 +1,194 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/CreateCampaignRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::CreateCampaignRequest;
|
||||
|
||||
CreateCampaignRequest::CreateCampaignRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "CreateCampaign")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCampaignRequest::~CreateCampaignRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCampaignRequest::getQueueId()const
|
||||
{
|
||||
return queueId_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setQueueId(const std::string& queueId)
|
||||
{
|
||||
queueId_ = queueId;
|
||||
setParameter("QueueId", queueId);
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getContactFlowId()const
|
||||
{
|
||||
return contactFlowId_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setContactFlowId(const std::string& contactFlowId)
|
||||
{
|
||||
contactFlowId_ = contactFlowId;
|
||||
setParameter("ContactFlowId", contactFlowId);
|
||||
}
|
||||
|
||||
bool CreateCampaignRequest::getSimulation()const
|
||||
{
|
||||
return simulation_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setSimulation(bool simulation)
|
||||
{
|
||||
simulation_ = simulation;
|
||||
setParameter("Simulation", simulation ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
long CreateCampaignRequest::getMaxAttemptCount()const
|
||||
{
|
||||
return maxAttemptCount_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setMaxAttemptCount(long maxAttemptCount)
|
||||
{
|
||||
maxAttemptCount_ = maxAttemptCount;
|
||||
setParameter("MaxAttemptCount", std::to_string(maxAttemptCount));
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getStrategyParameters()const
|
||||
{
|
||||
return strategyParameters_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setStrategyParameters(const std::string& strategyParameters)
|
||||
{
|
||||
strategyParameters_ = strategyParameters;
|
||||
setParameter("StrategyParameters", strategyParameters);
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getCaseFileKey()const
|
||||
{
|
||||
return caseFileKey_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setCaseFileKey(const std::string& caseFileKey)
|
||||
{
|
||||
caseFileKey_ = caseFileKey;
|
||||
setParameter("CaseFileKey", caseFileKey);
|
||||
}
|
||||
|
||||
long CreateCampaignRequest::getMinAttemptInterval()const
|
||||
{
|
||||
return minAttemptInterval_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setMinAttemptInterval(long minAttemptInterval)
|
||||
{
|
||||
minAttemptInterval_ = minAttemptInterval;
|
||||
setParameter("MinAttemptInterval", std::to_string(minAttemptInterval));
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getSimulationParameters()const
|
||||
{
|
||||
return simulationParameters_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setSimulationParameters(const std::string& simulationParameters)
|
||||
{
|
||||
simulationParameters_ = simulationParameters;
|
||||
setParameter("SimulationParameters", simulationParameters);
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getStrategyType()const
|
||||
{
|
||||
return strategyType_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setStrategyType(const std::string& strategyType)
|
||||
{
|
||||
strategyType_ = strategyType;
|
||||
setParameter("StrategyType", strategyType);
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getCaseList()const
|
||||
{
|
||||
return caseList_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setCaseList(const std::string& caseList)
|
||||
{
|
||||
caseList_ = caseList;
|
||||
setParameter("CaseList", caseList);
|
||||
}
|
||||
|
||||
std::string CreateCampaignRequest::getCallableTime()const
|
||||
{
|
||||
return callableTime_;
|
||||
}
|
||||
|
||||
void CreateCampaignRequest::setCallableTime(const std::string& callableTime)
|
||||
{
|
||||
callableTime_ = callableTime;
|
||||
setParameter("CallableTime", callableTime);
|
||||
}
|
||||
|
||||
72
ccc/src/model/CreateCampaignResult.cc
Normal file
72
ccc/src/model/CreateCampaignResult.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/ccc/model/CreateCampaignResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
CreateCampaignResult::CreateCampaignResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCampaignResult::CreateCampaignResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCampaignResult::~CreateCampaignResult()
|
||||
{}
|
||||
|
||||
void CreateCampaignResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CampaignId"].isNull())
|
||||
campaignId_ = value["CampaignId"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stol(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string CreateCampaignResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string CreateCampaignResult::getCampaignId()const
|
||||
{
|
||||
return campaignId_;
|
||||
}
|
||||
|
||||
long CreateCampaignResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateCampaignResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
51
ccc/src/model/GetCampaignRequest.cc
Normal file
51
ccc/src/model/GetCampaignRequest.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/ccc/model/GetCampaignRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::GetCampaignRequest;
|
||||
|
||||
GetCampaignRequest::GetCampaignRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "GetCampaign")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetCampaignRequest::~GetCampaignRequest()
|
||||
{}
|
||||
|
||||
std::string GetCampaignRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetCampaignRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string GetCampaignRequest::getCampaignId()const
|
||||
{
|
||||
return campaignId_;
|
||||
}
|
||||
|
||||
void GetCampaignRequest::setCampaignId(const std::string& campaignId)
|
||||
{
|
||||
campaignId_ = campaignId;
|
||||
setParameter("CampaignId", campaignId);
|
||||
}
|
||||
|
||||
111
ccc/src/model/GetCampaignResult.cc
Normal file
111
ccc/src/model/GetCampaignResult.cc
Normal file
@@ -0,0 +1,111 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/GetCampaignResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
GetCampaignResult::GetCampaignResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetCampaignResult::GetCampaignResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetCampaignResult::~GetCampaignResult()
|
||||
{}
|
||||
|
||||
void GetCampaignResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["ActualEndTime"].isNull())
|
||||
data_.actualEndTime = std::stol(dataNode["ActualEndTime"].asString());
|
||||
if(!dataNode["ActualStartTime"].isNull())
|
||||
data_.actualStartTime = std::stol(dataNode["ActualStartTime"].asString());
|
||||
if(!dataNode["CasesAborted"].isNull())
|
||||
data_.casesAborted = std::stol(dataNode["CasesAborted"].asString());
|
||||
if(!dataNode["CasesUncompleted"].isNull())
|
||||
data_.casesUncompleted = std::stol(dataNode["CasesUncompleted"].asString());
|
||||
if(!dataNode["CasesConnected"].isNull())
|
||||
data_.casesConnected = std::stol(dataNode["CasesConnected"].asString());
|
||||
if(!dataNode["CompletedRate"].isNull())
|
||||
data_.completedRate = std::stol(dataNode["CompletedRate"].asString());
|
||||
if(!dataNode["MaxAttemptCount"].isNull())
|
||||
data_.maxAttemptCount = std::stol(dataNode["MaxAttemptCount"].asString());
|
||||
if(!dataNode["MinAttemptInterval"].isNull())
|
||||
data_.minAttemptInterval = std::stol(dataNode["MinAttemptInterval"].asString());
|
||||
if(!dataNode["Name"].isNull())
|
||||
data_.name = dataNode["Name"].asString();
|
||||
if(!dataNode["PlanedEndTime"].isNull())
|
||||
data_.planedEndTime = std::stol(dataNode["PlanedEndTime"].asString());
|
||||
if(!dataNode["PlanedStartTime"].isNull())
|
||||
data_.planedStartTime = std::stol(dataNode["PlanedStartTime"].asString());
|
||||
if(!dataNode["QueueName"].isNull())
|
||||
data_.queueName = dataNode["QueueName"].asString();
|
||||
if(!dataNode["TotalCases"].isNull())
|
||||
data_.totalCases = std::stol(dataNode["TotalCases"].asString());
|
||||
if(!dataNode["State"].isNull())
|
||||
data_.state = dataNode["State"].asString();
|
||||
if(!dataNode["CampaignId"].isNull())
|
||||
data_.campaignId = dataNode["CampaignId"].asString();
|
||||
if(!dataNode["StrategyType"].isNull())
|
||||
data_.strategyType = dataNode["StrategyType"].asString();
|
||||
if(!dataNode["StrategyParameters"].isNull())
|
||||
data_.strategyParameters = dataNode["StrategyParameters"].asString();
|
||||
if(!dataNode["QueueId"].isNull())
|
||||
data_.queueId = dataNode["QueueId"].asString();
|
||||
if(!dataNode["Simulation"].isNull())
|
||||
data_.simulation = dataNode["Simulation"].asString() == "true";
|
||||
if(!dataNode["SimulationParameters"].isNull())
|
||||
data_.simulationParameters = dataNode["SimulationParameters"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stol(value["HttpStatusCode"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
long GetCampaignResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
GetCampaignResult::Data GetCampaignResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetCampaignResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetCampaignResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
172
ccc/src/model/ListAttemptsRequest.cc
Normal file
172
ccc/src/model/ListAttemptsRequest.cc
Normal file
@@ -0,0 +1,172 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ListAttemptsRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListAttemptsRequest;
|
||||
|
||||
ListAttemptsRequest::ListAttemptsRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ListAttempts")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListAttemptsRequest::~ListAttemptsRequest()
|
||||
{}
|
||||
|
||||
std::string ListAttemptsRequest::getContactId()const
|
||||
{
|
||||
return contactId_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setContactId(const std::string& contactId)
|
||||
{
|
||||
contactId_ = contactId;
|
||||
setParameter("ContactId", contactId);
|
||||
}
|
||||
|
||||
std::string ListAttemptsRequest::getCampaignId()const
|
||||
{
|
||||
return campaignId_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setCampaignId(const std::string& campaignId)
|
||||
{
|
||||
campaignId_ = campaignId;
|
||||
setParameter("CampaignId", campaignId);
|
||||
}
|
||||
|
||||
std::string ListAttemptsRequest::getCallee()const
|
||||
{
|
||||
return callee_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setCallee(const std::string& callee)
|
||||
{
|
||||
callee_ = callee;
|
||||
setParameter("Callee", callee);
|
||||
}
|
||||
|
||||
long ListAttemptsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
int ListAttemptsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int ListAttemptsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListAttemptsRequest::getQueueId()const
|
||||
{
|
||||
return queueId_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setQueueId(const std::string& queueId)
|
||||
{
|
||||
queueId_ = queueId;
|
||||
setParameter("QueueId", queueId);
|
||||
}
|
||||
|
||||
std::string ListAttemptsRequest::getAgentId()const
|
||||
{
|
||||
return agentId_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setAgentId(const std::string& agentId)
|
||||
{
|
||||
agentId_ = agentId;
|
||||
setParameter("AgentId", agentId);
|
||||
}
|
||||
|
||||
long ListAttemptsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
std::string ListAttemptsRequest::getCaller()const
|
||||
{
|
||||
return caller_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setCaller(const std::string& caller)
|
||||
{
|
||||
caller_ = caller;
|
||||
setParameter("Caller", caller);
|
||||
}
|
||||
|
||||
std::string ListAttemptsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListAttemptsRequest::getCaseId()const
|
||||
{
|
||||
return caseId_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setCaseId(const std::string& caseId)
|
||||
{
|
||||
caseId_ = caseId;
|
||||
setParameter("CaseId", caseId);
|
||||
}
|
||||
|
||||
std::string ListAttemptsRequest::getAttemptId()const
|
||||
{
|
||||
return attemptId_;
|
||||
}
|
||||
|
||||
void ListAttemptsRequest::setAttemptId(const std::string& attemptId)
|
||||
{
|
||||
attemptId_ = attemptId;
|
||||
setParameter("AttemptId", attemptId);
|
||||
}
|
||||
|
||||
123
ccc/src/model/ListAttemptsResult.cc
Normal file
123
ccc/src/model/ListAttemptsResult.cc
Normal file
@@ -0,0 +1,123 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ListAttemptsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListAttemptsResult::ListAttemptsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListAttemptsResult::ListAttemptsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListAttemptsResult::~ListAttemptsResult()
|
||||
{}
|
||||
|
||||
void ListAttemptsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stoi(dataNode["TotalCount"].asString());
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stoi(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stoi(dataNode["PageSize"].asString());
|
||||
auto allListNode = dataNode["List"]["AttemptList"];
|
||||
for (auto dataNodeListAttemptList : allListNode)
|
||||
{
|
||||
Data::AttemptList attemptListObject;
|
||||
if(!dataNodeListAttemptList["AttemptId"].isNull())
|
||||
attemptListObject.attemptId = dataNodeListAttemptList["AttemptId"].asString();
|
||||
if(!dataNodeListAttemptList["ContactId"].isNull())
|
||||
attemptListObject.contactId = dataNodeListAttemptList["ContactId"].asString();
|
||||
if(!dataNodeListAttemptList["CaseId"].isNull())
|
||||
attemptListObject.caseId = dataNodeListAttemptList["CaseId"].asString();
|
||||
if(!dataNodeListAttemptList["CampaignId"].isNull())
|
||||
attemptListObject.campaignId = dataNodeListAttemptList["CampaignId"].asString();
|
||||
if(!dataNodeListAttemptList["InstanceId"].isNull())
|
||||
attemptListObject.instanceId = dataNodeListAttemptList["InstanceId"].asString();
|
||||
if(!dataNodeListAttemptList["QueueId"].isNull())
|
||||
attemptListObject.queueId = dataNodeListAttemptList["QueueId"].asString();
|
||||
if(!dataNodeListAttemptList["Caller"].isNull())
|
||||
attemptListObject.caller = dataNodeListAttemptList["Caller"].asString();
|
||||
if(!dataNodeListAttemptList["Callee"].isNull())
|
||||
attemptListObject.callee = dataNodeListAttemptList["Callee"].asString();
|
||||
if(!dataNodeListAttemptList["AgentId"].isNull())
|
||||
attemptListObject.agentId = dataNodeListAttemptList["AgentId"].asString();
|
||||
if(!dataNodeListAttemptList["DialTime"].isNull())
|
||||
attemptListObject.dialTime = std::stol(dataNodeListAttemptList["DialTime"].asString());
|
||||
if(!dataNodeListAttemptList["DialDuration"].isNull())
|
||||
attemptListObject.dialDuration = std::stol(dataNodeListAttemptList["DialDuration"].asString());
|
||||
if(!dataNodeListAttemptList["CustomerEstablishedTime"].isNull())
|
||||
attemptListObject.customerEstablishedTime = std::stol(dataNodeListAttemptList["CustomerEstablishedTime"].asString());
|
||||
if(!dataNodeListAttemptList["CustomerReleasedTime"].isNull())
|
||||
attemptListObject.customerReleasedTime = std::stol(dataNodeListAttemptList["CustomerReleasedTime"].asString());
|
||||
if(!dataNodeListAttemptList["EnterIvrTime"].isNull())
|
||||
attemptListObject.enterIvrTime = std::stol(dataNodeListAttemptList["EnterIvrTime"].asString());
|
||||
if(!dataNodeListAttemptList["IvrDuration"].isNull())
|
||||
attemptListObject.ivrDuration = std::stol(dataNodeListAttemptList["IvrDuration"].asString());
|
||||
if(!dataNodeListAttemptList["EnqueueTime"].isNull())
|
||||
attemptListObject.enqueueTime = std::stol(dataNodeListAttemptList["EnqueueTime"].asString());
|
||||
if(!dataNodeListAttemptList["QueueDuration"].isNull())
|
||||
attemptListObject.queueDuration = std::stol(dataNodeListAttemptList["QueueDuration"].asString());
|
||||
if(!dataNodeListAttemptList["AssignAgentTime"].isNull())
|
||||
attemptListObject.assignAgentTime = std::stol(dataNodeListAttemptList["AssignAgentTime"].asString());
|
||||
if(!dataNodeListAttemptList["AgentRingDuration"].isNull())
|
||||
attemptListObject.agentRingDuration = std::stol(dataNodeListAttemptList["AgentRingDuration"].asString());
|
||||
if(!dataNodeListAttemptList["AgentEstablishedTime"].isNull())
|
||||
attemptListObject.agentEstablishedTime = std::stol(dataNodeListAttemptList["AgentEstablishedTime"].asString());
|
||||
data_.list.push_back(attemptListObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListAttemptsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ListAttemptsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListAttemptsResult::Data ListAttemptsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListAttemptsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
73
ccc/src/model/ListCampaignTrendingReportRequest.cc
Normal file
73
ccc/src/model/ListCampaignTrendingReportRequest.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/ccc/model/ListCampaignTrendingReportRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListCampaignTrendingReportRequest;
|
||||
|
||||
ListCampaignTrendingReportRequest::ListCampaignTrendingReportRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ListCampaignTrendingReport")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
ListCampaignTrendingReportRequest::~ListCampaignTrendingReportRequest()
|
||||
{}
|
||||
|
||||
std::string ListCampaignTrendingReportRequest::getCampaignId()const
|
||||
{
|
||||
return campaignId_;
|
||||
}
|
||||
|
||||
void ListCampaignTrendingReportRequest::setCampaignId(const std::string& campaignId)
|
||||
{
|
||||
campaignId_ = campaignId;
|
||||
setParameter("CampaignId", campaignId);
|
||||
}
|
||||
|
||||
long ListCampaignTrendingReportRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListCampaignTrendingReportRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long ListCampaignTrendingReportRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListCampaignTrendingReportRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
std::string ListCampaignTrendingReportRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListCampaignTrendingReportRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
90
ccc/src/model/ListCampaignTrendingReportResult.cc
Normal file
90
ccc/src/model/ListCampaignTrendingReportResult.cc
Normal file
@@ -0,0 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/ListCampaignTrendingReportResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListCampaignTrendingReportResult::ListCampaignTrendingReportResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCampaignTrendingReportResult::ListCampaignTrendingReportResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCampaignTrendingReportResult::~ListCampaignTrendingReportResult()
|
||||
{}
|
||||
|
||||
void ListCampaignTrendingReportResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDataNode = value["Data"]["TrendingList"];
|
||||
for (auto valueDataTrendingList : allDataNode)
|
||||
{
|
||||
TrendingList dataObject;
|
||||
if(!valueDataTrendingList["Datetime"].isNull())
|
||||
dataObject.datetime = std::stol(valueDataTrendingList["Datetime"].asString());
|
||||
if(!valueDataTrendingList["Concurrency"].isNull())
|
||||
dataObject.concurrency = std::stol(valueDataTrendingList["Concurrency"].asString());
|
||||
if(!valueDataTrendingList["TalkAgents"].isNull())
|
||||
dataObject.talkAgents = std::stol(valueDataTrendingList["TalkAgents"].asString());
|
||||
if(!valueDataTrendingList["ReadyAgents"].isNull())
|
||||
dataObject.readyAgents = std::stol(valueDataTrendingList["ReadyAgents"].asString());
|
||||
if(!valueDataTrendingList["WorkAgents"].isNull())
|
||||
dataObject.workAgents = std::stol(valueDataTrendingList["WorkAgents"].asString());
|
||||
if(!valueDataTrendingList["LoggedInAgents"].isNull())
|
||||
dataObject.loggedInAgents = std::stol(valueDataTrendingList["LoggedInAgents"].asString());
|
||||
if(!valueDataTrendingList["BreakAgents"].isNull())
|
||||
dataObject.breakAgents = std::stol(valueDataTrendingList["BreakAgents"].asString());
|
||||
data_.push_back(dataObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ListCampaignTrendingReportResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ListCampaignTrendingReportResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<ListCampaignTrendingReportResult::TrendingList> ListCampaignTrendingReportResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCampaignTrendingReportResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
139
ccc/src/model/ListCampaignsRequest.cc
Normal file
139
ccc/src/model/ListCampaignsRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ListCampaignsRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListCampaignsRequest;
|
||||
|
||||
ListCampaignsRequest::ListCampaignsRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ListCampaigns")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCampaignsRequest::~ListCampaignsRequest()
|
||||
{}
|
||||
|
||||
std::string ListCampaignsRequest::getActualStartTimeTo()const
|
||||
{
|
||||
return actualStartTimeTo_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setActualStartTimeTo(const std::string& actualStartTimeTo)
|
||||
{
|
||||
actualStartTimeTo_ = actualStartTimeTo;
|
||||
setParameter("ActualStartTimeTo", actualStartTimeTo);
|
||||
}
|
||||
|
||||
std::string ListCampaignsRequest::getQueueId()const
|
||||
{
|
||||
return queueId_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setQueueId(const std::string& queueId)
|
||||
{
|
||||
queueId_ = queueId;
|
||||
setParameter("QueueId", queueId);
|
||||
}
|
||||
|
||||
std::string ListCampaignsRequest::getActualStartTimeFrom()const
|
||||
{
|
||||
return actualStartTimeFrom_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setActualStartTimeFrom(const std::string& actualStartTimeFrom)
|
||||
{
|
||||
actualStartTimeFrom_ = actualStartTimeFrom;
|
||||
setParameter("ActualStartTimeFrom", actualStartTimeFrom);
|
||||
}
|
||||
|
||||
long ListCampaignsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListCampaignsRequest::getPlanedStartTimeFrom()const
|
||||
{
|
||||
return planedStartTimeFrom_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setPlanedStartTimeFrom(const std::string& planedStartTimeFrom)
|
||||
{
|
||||
planedStartTimeFrom_ = planedStartTimeFrom;
|
||||
setParameter("PlanedStartTimeFrom", planedStartTimeFrom);
|
||||
}
|
||||
|
||||
std::string ListCampaignsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListCampaignsRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
}
|
||||
|
||||
long ListCampaignsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
std::string ListCampaignsRequest::getPlanedStartTimeTo()const
|
||||
{
|
||||
return planedStartTimeTo_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setPlanedStartTimeTo(const std::string& planedStartTimeTo)
|
||||
{
|
||||
planedStartTimeTo_ = planedStartTimeTo;
|
||||
setParameter("PlanedStartTimeTo", planedStartTimeTo);
|
||||
}
|
||||
|
||||
std::string ListCampaignsRequest::getState()const
|
||||
{
|
||||
return state_;
|
||||
}
|
||||
|
||||
void ListCampaignsRequest::setState(const std::string& state)
|
||||
{
|
||||
state_ = state;
|
||||
setParameter("State", state);
|
||||
}
|
||||
|
||||
128
ccc/src/model/ListCampaignsResult.cc
Normal file
128
ccc/src/model/ListCampaignsResult.cc
Normal file
@@ -0,0 +1,128 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ListCampaignsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListCampaignsResult::ListCampaignsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCampaignsResult::ListCampaignsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCampaignsResult::~ListCampaignsResult()
|
||||
{}
|
||||
|
||||
void ListCampaignsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stol(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stol(dataNode["PageSize"].asString());
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stol(dataNode["TotalCount"].asString());
|
||||
auto allListNode = dataNode["List"]["listItem"];
|
||||
for (auto dataNodeListlistItem : allListNode)
|
||||
{
|
||||
Data::ListItem listItemObject;
|
||||
if(!dataNodeListlistItem["ActualEndTime"].isNull())
|
||||
listItemObject.actualEndTime = std::stol(dataNodeListlistItem["ActualEndTime"].asString());
|
||||
if(!dataNodeListlistItem["ActualStartTime"].isNull())
|
||||
listItemObject.actualStartTime = std::stol(dataNodeListlistItem["ActualStartTime"].asString());
|
||||
if(!dataNodeListlistItem["CasesAborted"].isNull())
|
||||
listItemObject.casesAborted = std::stol(dataNodeListlistItem["CasesAborted"].asString());
|
||||
if(!dataNodeListlistItem["CasesUncompleted"].isNull())
|
||||
listItemObject.casesUncompleted = std::stol(dataNodeListlistItem["CasesUncompleted"].asString());
|
||||
if(!dataNodeListlistItem["CasesConnected"].isNull())
|
||||
listItemObject.casesConnected = std::stol(dataNodeListlistItem["CasesConnected"].asString());
|
||||
if(!dataNodeListlistItem["CompletedRate"].isNull())
|
||||
listItemObject.completedRate = std::stol(dataNodeListlistItem["CompletedRate"].asString());
|
||||
if(!dataNodeListlistItem["MaxAttemptCount"].isNull())
|
||||
listItemObject.maxAttemptCount = std::stol(dataNodeListlistItem["MaxAttemptCount"].asString());
|
||||
if(!dataNodeListlistItem["MinAttemptInterval"].isNull())
|
||||
listItemObject.minAttemptInterval = std::stol(dataNodeListlistItem["MinAttemptInterval"].asString());
|
||||
if(!dataNodeListlistItem["Name"].isNull())
|
||||
listItemObject.name = dataNodeListlistItem["Name"].asString();
|
||||
if(!dataNodeListlistItem["PlanedEndTime"].isNull())
|
||||
listItemObject.planedEndTime = std::stol(dataNodeListlistItem["PlanedEndTime"].asString());
|
||||
if(!dataNodeListlistItem["PlanedStartTime"].isNull())
|
||||
listItemObject.planedStartTime = std::stol(dataNodeListlistItem["PlanedStartTime"].asString());
|
||||
if(!dataNodeListlistItem["QueueName"].isNull())
|
||||
listItemObject.queueName = dataNodeListlistItem["QueueName"].asString();
|
||||
if(!dataNodeListlistItem["TotalCases"].isNull())
|
||||
listItemObject.totalCases = std::stol(dataNodeListlistItem["TotalCases"].asString());
|
||||
if(!dataNodeListlistItem["State"].isNull())
|
||||
listItemObject.state = dataNodeListlistItem["State"].asString();
|
||||
if(!dataNodeListlistItem["CampaignId"].isNull())
|
||||
listItemObject.campaignId = dataNodeListlistItem["CampaignId"].asString();
|
||||
if(!dataNodeListlistItem["StrategyType"].isNull())
|
||||
listItemObject.strategyType = dataNodeListlistItem["StrategyType"].asString();
|
||||
if(!dataNodeListlistItem["StrategyParameters"].isNull())
|
||||
listItemObject.strategyParameters = dataNodeListlistItem["StrategyParameters"].asString();
|
||||
if(!dataNodeListlistItem["QueueId"].isNull())
|
||||
listItemObject.queueId = dataNodeListlistItem["QueueId"].asString();
|
||||
if(!dataNodeListlistItem["Simulation"].isNull())
|
||||
listItemObject.simulation = dataNodeListlistItem["Simulation"].asString() == "true";
|
||||
data_.list.push_back(listItemObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stol(value["HttpStatusCode"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string ListCampaignsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListCampaignsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListCampaignsResult::Data ListCampaignsResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCampaignsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ListCampaignsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
84
ccc/src/model/ListCasesRequest.cc
Normal file
84
ccc/src/model/ListCasesRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ListCasesRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListCasesRequest;
|
||||
|
||||
ListCasesRequest::ListCasesRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ListCases")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ListCasesRequest::~ListCasesRequest()
|
||||
{}
|
||||
|
||||
std::string ListCasesRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListCasesRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListCasesRequest::getCampaignId()const
|
||||
{
|
||||
return campaignId_;
|
||||
}
|
||||
|
||||
void ListCasesRequest::setCampaignId(const std::string& campaignId)
|
||||
{
|
||||
campaignId_ = campaignId;
|
||||
setParameter("CampaignId", campaignId);
|
||||
}
|
||||
|
||||
std::string ListCasesRequest::getPhoneNumber()const
|
||||
{
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void ListCasesRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setParameter("PhoneNumber", phoneNumber);
|
||||
}
|
||||
|
||||
long ListCasesRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListCasesRequest::setPageSize(long pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long ListCasesRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListCasesRequest::setPageNumber(long pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
106
ccc/src/model/ListCasesResult.cc
Normal file
106
ccc/src/model/ListCasesResult.cc
Normal file
@@ -0,0 +1,106 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/ccc/model/ListCasesResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListCasesResult::ListCasesResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListCasesResult::ListCasesResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListCasesResult::~ListCasesResult()
|
||||
{}
|
||||
|
||||
void ListCasesResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["Data"];
|
||||
if(!dataNode["PageNumber"].isNull())
|
||||
data_.pageNumber = std::stol(dataNode["PageNumber"].asString());
|
||||
if(!dataNode["PageSize"].isNull())
|
||||
data_.pageSize = std::stol(dataNode["PageSize"].asString());
|
||||
if(!dataNode["TotalCount"].isNull())
|
||||
data_.totalCount = std::stol(dataNode["TotalCount"].asString());
|
||||
auto allListNode = dataNode["List"]["listItem"];
|
||||
for (auto dataNodeListlistItem : allListNode)
|
||||
{
|
||||
Data::ListItem listItemObject;
|
||||
if(!dataNodeListlistItem["AbandonType"].isNull())
|
||||
listItemObject.abandonType = dataNodeListlistItem["AbandonType"].asString();
|
||||
if(!dataNodeListlistItem["AttemptCount"].isNull())
|
||||
listItemObject.attemptCount = std::stol(dataNodeListlistItem["AttemptCount"].asString());
|
||||
if(!dataNodeListlistItem["ExpandInfo"].isNull())
|
||||
listItemObject.expandInfo = dataNodeListlistItem["ExpandInfo"].asString();
|
||||
if(!dataNodeListlistItem["FailureReason"].isNull())
|
||||
listItemObject.failureReason = dataNodeListlistItem["FailureReason"].asString();
|
||||
if(!dataNodeListlistItem["PhoneNumber"].isNull())
|
||||
listItemObject.phoneNumber = dataNodeListlistItem["PhoneNumber"].asString();
|
||||
if(!dataNodeListlistItem["State"].isNull())
|
||||
listItemObject.state = dataNodeListlistItem["State"].asString();
|
||||
if(!dataNodeListlistItem["CaseId"].isNull())
|
||||
listItemObject.caseId = dataNodeListlistItem["CaseId"].asString();
|
||||
if(!dataNodeListlistItem["CustomVariables"].isNull())
|
||||
listItemObject.customVariables = dataNodeListlistItem["CustomVariables"].asString();
|
||||
data_.list.push_back(listItemObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stol(value["HttpStatusCode"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string ListCasesResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long ListCasesResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
ListCasesResult::Data ListCasesResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string ListCasesResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ListCasesResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -50,163 +50,165 @@ void ListHistoricalAgentReportResult::parse(const std::string &payload)
|
||||
for (auto dataNodeListItems : allListNode)
|
||||
{
|
||||
Data::Items itemsObject;
|
||||
if(!dataNodeListItems["AgentId"].isNull())
|
||||
itemsObject.agentId = dataNodeListItems["AgentId"].asString();
|
||||
if(!dataNodeListItems["AgentName"].isNull())
|
||||
itemsObject.agentName = dataNodeListItems["AgentName"].asString();
|
||||
if(!dataNodeListItems["AgentId"].isNull())
|
||||
itemsObject.agentId = dataNodeListItems["AgentId"].asString();
|
||||
if(!dataNodeListItems["DisplayId"].isNull())
|
||||
itemsObject.displayId = dataNodeListItems["DisplayId"].asString();
|
||||
auto inboundNode = value["Inbound"];
|
||||
if(!inboundNode["AverageHoldTime"].isNull())
|
||||
itemsObject.inbound.averageHoldTime = std::stof(inboundNode["AverageHoldTime"].asString());
|
||||
if(!inboundNode["AverageRingTime"].isNull())
|
||||
itemsObject.inbound.averageRingTime = std::stof(inboundNode["AverageRingTime"].asString());
|
||||
if(!inboundNode["AverageTalkTime"].isNull())
|
||||
itemsObject.inbound.averageTalkTime = std::stof(inboundNode["AverageTalkTime"].asString());
|
||||
if(!inboundNode["AverageWorkTime"].isNull())
|
||||
itemsObject.inbound.averageWorkTime = std::stof(inboundNode["AverageWorkTime"].asString());
|
||||
if(!inboundNode["CallsAttendedTransferIn"].isNull())
|
||||
itemsObject.inbound.callsAttendedTransferIn = std::stol(inboundNode["CallsAttendedTransferIn"].asString());
|
||||
if(!inboundNode["CallsAttendedTransferOut"].isNull())
|
||||
itemsObject.inbound.callsAttendedTransferOut = std::stol(inboundNode["CallsAttendedTransferOut"].asString());
|
||||
if(!inboundNode["CallsBlindTransferIn"].isNull())
|
||||
itemsObject.inbound.callsBlindTransferIn = std::stol(inboundNode["CallsBlindTransferIn"].asString());
|
||||
if(!inboundNode["CallsBlindTransferOut"].isNull())
|
||||
itemsObject.inbound.callsBlindTransferOut = std::stol(inboundNode["CallsBlindTransferOut"].asString());
|
||||
if(!inboundNode["CallsHandled"].isNull())
|
||||
itemsObject.inbound.callsHandled = std::stol(inboundNode["CallsHandled"].asString());
|
||||
if(!inboundNode["CallsHold"].isNull())
|
||||
itemsObject.inbound.callsHold = std::stol(inboundNode["CallsHold"].asString());
|
||||
if(!inboundNode["CallsOffered"].isNull())
|
||||
itemsObject.inbound.callsOffered = std::stol(inboundNode["CallsOffered"].asString());
|
||||
if(!inboundNode["CallsRinged"].isNull())
|
||||
itemsObject.inbound.callsRinged = std::stol(inboundNode["CallsRinged"].asString());
|
||||
if(!inboundNode["HandleRate"].isNull())
|
||||
itemsObject.inbound.handleRate = std::stof(inboundNode["HandleRate"].asString());
|
||||
if(!inboundNode["MaxHoldTime"].isNull())
|
||||
itemsObject.inbound.maxHoldTime = std::stol(inboundNode["MaxHoldTime"].asString());
|
||||
if(!inboundNode["MaxRingTime"].isNull())
|
||||
itemsObject.inbound.maxRingTime = std::stol(inboundNode["MaxRingTime"].asString());
|
||||
if(!inboundNode["MaxTalkTime"].isNull())
|
||||
itemsObject.inbound.maxTalkTime = std::stol(inboundNode["MaxTalkTime"].asString());
|
||||
if(!inboundNode["MaxWorkTime"].isNull())
|
||||
itemsObject.inbound.maxWorkTime = std::stol(inboundNode["MaxWorkTime"].asString());
|
||||
if(!inboundNode["SatisfactionIndex"].isNull())
|
||||
itemsObject.inbound.satisfactionIndex = std::stof(inboundNode["SatisfactionIndex"].asString());
|
||||
if(!inboundNode["SatisfactionRate"].isNull())
|
||||
itemsObject.inbound.satisfactionRate = std::stof(inboundNode["SatisfactionRate"].asString());
|
||||
if(!inboundNode["SatisfactionSurveysOffered"].isNull())
|
||||
itemsObject.inbound.satisfactionSurveysOffered = std::stol(inboundNode["SatisfactionSurveysOffered"].asString());
|
||||
if(!inboundNode["SatisfactionSurveysResponded"].isNull())
|
||||
itemsObject.inbound.satisfactionSurveysResponded = std::stol(inboundNode["SatisfactionSurveysResponded"].asString());
|
||||
if(!inboundNode["TotalHoldTime"].isNull())
|
||||
itemsObject.inbound.totalHoldTime = std::stol(inboundNode["TotalHoldTime"].asString());
|
||||
if(!inboundNode["TotalRingTime"].isNull())
|
||||
itemsObject.inbound.totalRingTime = std::stol(inboundNode["TotalRingTime"].asString());
|
||||
if(!inboundNode["TotalTalkTime"].isNull())
|
||||
itemsObject.inbound.totalTalkTime = std::stol(inboundNode["TotalTalkTime"].asString());
|
||||
if(!inboundNode["TotalWorkTime"].isNull())
|
||||
itemsObject.inbound.totalWorkTime = std::stol(inboundNode["TotalWorkTime"].asString());
|
||||
if(!inboundNode["CallsAttendedTransferOut"].isNull())
|
||||
itemsObject.inbound.callsAttendedTransferOut = std::stol(inboundNode["CallsAttendedTransferOut"].asString());
|
||||
if(!inboundNode["MaxWorkTime"].isNull())
|
||||
itemsObject.inbound.maxWorkTime = std::stol(inboundNode["MaxWorkTime"].asString());
|
||||
if(!inboundNode["TotalHoldTime"].isNull())
|
||||
itemsObject.inbound.totalHoldTime = std::stol(inboundNode["TotalHoldTime"].asString());
|
||||
if(!inboundNode["AverageWorkTime"].isNull())
|
||||
itemsObject.inbound.averageWorkTime = std::stof(inboundNode["AverageWorkTime"].asString());
|
||||
if(!inboundNode["CallsBlindTransferIn"].isNull())
|
||||
itemsObject.inbound.callsBlindTransferIn = std::stol(inboundNode["CallsBlindTransferIn"].asString());
|
||||
if(!inboundNode["SatisfactionIndex"].isNull())
|
||||
itemsObject.inbound.satisfactionIndex = std::stof(inboundNode["SatisfactionIndex"].asString());
|
||||
if(!inboundNode["CallsRinged"].isNull())
|
||||
itemsObject.inbound.callsRinged = std::stol(inboundNode["CallsRinged"].asString());
|
||||
if(!inboundNode["CallsAttendedTransferIn"].isNull())
|
||||
itemsObject.inbound.callsAttendedTransferIn = std::stol(inboundNode["CallsAttendedTransferIn"].asString());
|
||||
if(!inboundNode["CallsBlindTransferOut"].isNull())
|
||||
itemsObject.inbound.callsBlindTransferOut = std::stol(inboundNode["CallsBlindTransferOut"].asString());
|
||||
if(!inboundNode["TotalRingTime"].isNull())
|
||||
itemsObject.inbound.totalRingTime = std::stol(inboundNode["TotalRingTime"].asString());
|
||||
if(!inboundNode["MaxTalkTime"].isNull())
|
||||
itemsObject.inbound.maxTalkTime = std::stol(inboundNode["MaxTalkTime"].asString());
|
||||
if(!inboundNode["MaxRingTime"].isNull())
|
||||
itemsObject.inbound.maxRingTime = std::stol(inboundNode["MaxRingTime"].asString());
|
||||
if(!inboundNode["TotalTalkTime"].isNull())
|
||||
itemsObject.inbound.totalTalkTime = std::stol(inboundNode["TotalTalkTime"].asString());
|
||||
if(!inboundNode["CallsOffered"].isNull())
|
||||
itemsObject.inbound.callsOffered = std::stol(inboundNode["CallsOffered"].asString());
|
||||
if(!inboundNode["MaxHoldTime"].isNull())
|
||||
itemsObject.inbound.maxHoldTime = std::stol(inboundNode["MaxHoldTime"].asString());
|
||||
if(!inboundNode["AverageTalkTime"].isNull())
|
||||
itemsObject.inbound.averageTalkTime = std::stof(inboundNode["AverageTalkTime"].asString());
|
||||
if(!inboundNode["SatisfactionRate"].isNull())
|
||||
itemsObject.inbound.satisfactionRate = std::stof(inboundNode["SatisfactionRate"].asString());
|
||||
if(!inboundNode["CallsHold"].isNull())
|
||||
itemsObject.inbound.callsHold = std::stol(inboundNode["CallsHold"].asString());
|
||||
if(!inboundNode["SatisfactionSurveysOffered"].isNull())
|
||||
itemsObject.inbound.satisfactionSurveysOffered = std::stol(inboundNode["SatisfactionSurveysOffered"].asString());
|
||||
if(!inboundNode["HandleRate"].isNull())
|
||||
itemsObject.inbound.handleRate = std::stof(inboundNode["HandleRate"].asString());
|
||||
if(!inboundNode["SatisfactionSurveysResponded"].isNull())
|
||||
itemsObject.inbound.satisfactionSurveysResponded = std::stol(inboundNode["SatisfactionSurveysResponded"].asString());
|
||||
if(!inboundNode["AverageHoldTime"].isNull())
|
||||
itemsObject.inbound.averageHoldTime = std::stof(inboundNode["AverageHoldTime"].asString());
|
||||
auto outboundNode = value["Outbound"];
|
||||
if(!outboundNode["AnswerRate"].isNull())
|
||||
itemsObject.outbound.answerRate = std::stof(outboundNode["AnswerRate"].asString());
|
||||
if(!outboundNode["AverageDialingTime"].isNull())
|
||||
itemsObject.outbound.averageDialingTime = std::stof(outboundNode["AverageDialingTime"].asString());
|
||||
if(!outboundNode["AverageHoldTime"].isNull())
|
||||
itemsObject.outbound.averageHoldTime = std::stof(outboundNode["AverageHoldTime"].asString());
|
||||
if(!outboundNode["AverageRingTime"].isNull())
|
||||
itemsObject.outbound.averageRingTime = std::stof(outboundNode["AverageRingTime"].asString());
|
||||
if(!outboundNode["AverageTalkTime"].isNull())
|
||||
itemsObject.outbound.averageTalkTime = std::stof(outboundNode["AverageTalkTime"].asString());
|
||||
if(!outboundNode["AverageWorkTime"].isNull())
|
||||
itemsObject.outbound.averageWorkTime = std::stof(outboundNode["AverageWorkTime"].asString());
|
||||
if(!outboundNode["CallsAnswered"].isNull())
|
||||
itemsObject.outbound.callsAnswered = std::stol(outboundNode["CallsAnswered"].asString());
|
||||
if(!outboundNode["CallsAttendedTransferIn"].isNull())
|
||||
itemsObject.outbound.callsAttendedTransferIn = std::stol(outboundNode["CallsAttendedTransferIn"].asString());
|
||||
if(!outboundNode["CallsAttendedTransferOut"].isNull())
|
||||
itemsObject.outbound.callsAttendedTransferOut = std::stol(outboundNode["CallsAttendedTransferOut"].asString());
|
||||
if(!outboundNode["CallsBlindTransferIn"].isNull())
|
||||
itemsObject.outbound.callsBlindTransferIn = std::stol(outboundNode["CallsBlindTransferIn"].asString());
|
||||
if(!outboundNode["CallsBlindTransferOut"].isNull())
|
||||
itemsObject.outbound.callsBlindTransferOut = std::stol(outboundNode["CallsBlindTransferOut"].asString());
|
||||
if(!outboundNode["CallsDialed"].isNull())
|
||||
itemsObject.outbound.callsDialed = std::stol(outboundNode["CallsDialed"].asString());
|
||||
if(!outboundNode["CallsHold"].isNull())
|
||||
itemsObject.outbound.callsHold = std::stol(outboundNode["CallsHold"].asString());
|
||||
if(!outboundNode["CallsRinged"].isNull())
|
||||
itemsObject.outbound.callsRinged = std::stol(outboundNode["CallsRinged"].asString());
|
||||
if(!outboundNode["MaxDialingTime"].isNull())
|
||||
itemsObject.outbound.maxDialingTime = std::stol(outboundNode["MaxDialingTime"].asString());
|
||||
if(!outboundNode["MaxHoldTime"].isNull())
|
||||
itemsObject.outbound.maxHoldTime = std::stol(outboundNode["MaxHoldTime"].asString());
|
||||
if(!outboundNode["MaxRingTime"].isNull())
|
||||
itemsObject.outbound.maxRingTime = std::stol(outboundNode["MaxRingTime"].asString());
|
||||
if(!outboundNode["MaxTalkTime"].isNull())
|
||||
itemsObject.outbound.maxTalkTime = std::stol(outboundNode["MaxTalkTime"].asString());
|
||||
if(!outboundNode["CallsAnswered"].isNull())
|
||||
itemsObject.outbound.callsAnswered = std::stol(outboundNode["CallsAnswered"].asString());
|
||||
if(!outboundNode["TotalWorkTime"].isNull())
|
||||
itemsObject.outbound.totalWorkTime = std::stol(outboundNode["TotalWorkTime"].asString());
|
||||
if(!outboundNode["CallsAttendedTransferOut"].isNull())
|
||||
itemsObject.outbound.callsAttendedTransferOut = std::stol(outboundNode["CallsAttendedTransferOut"].asString());
|
||||
if(!outboundNode["MaxWorkTime"].isNull())
|
||||
itemsObject.outbound.maxWorkTime = std::stol(outboundNode["MaxWorkTime"].asString());
|
||||
if(!outboundNode["SatisfactionIndex"].isNull())
|
||||
itemsObject.outbound.satisfactionIndex = std::stof(outboundNode["SatisfactionIndex"].asString());
|
||||
if(!outboundNode["SatisfactionRate"].isNull())
|
||||
itemsObject.outbound.satisfactionRate = std::stof(outboundNode["SatisfactionRate"].asString());
|
||||
if(!outboundNode["SatisfactionSurveysOffered"].isNull())
|
||||
itemsObject.outbound.satisfactionSurveysOffered = std::stol(outboundNode["SatisfactionSurveysOffered"].asString());
|
||||
if(!outboundNode["SatisfactionSurveysResponded"].isNull())
|
||||
itemsObject.outbound.satisfactionSurveysResponded = std::stol(outboundNode["SatisfactionSurveysResponded"].asString());
|
||||
if(!outboundNode["TotalDialingTime"].isNull())
|
||||
itemsObject.outbound.totalDialingTime = std::stol(outboundNode["TotalDialingTime"].asString());
|
||||
if(!outboundNode["TotalHoldTime"].isNull())
|
||||
itemsObject.outbound.totalHoldTime = std::stol(outboundNode["TotalHoldTime"].asString());
|
||||
if(!outboundNode["AverageWorkTime"].isNull())
|
||||
itemsObject.outbound.averageWorkTime = std::stof(outboundNode["AverageWorkTime"].asString());
|
||||
if(!outboundNode["CallsBlindTransferIn"].isNull())
|
||||
itemsObject.outbound.callsBlindTransferIn = std::stol(outboundNode["CallsBlindTransferIn"].asString());
|
||||
if(!outboundNode["SatisfactionIndex"].isNull())
|
||||
itemsObject.outbound.satisfactionIndex = std::stof(outboundNode["SatisfactionIndex"].asString());
|
||||
if(!outboundNode["CallsRinged"].isNull())
|
||||
itemsObject.outbound.callsRinged = std::stol(outboundNode["CallsRinged"].asString());
|
||||
if(!outboundNode["CallsAttendedTransferIn"].isNull())
|
||||
itemsObject.outbound.callsAttendedTransferIn = std::stol(outboundNode["CallsAttendedTransferIn"].asString());
|
||||
if(!outboundNode["CallsBlindTransferOut"].isNull())
|
||||
itemsObject.outbound.callsBlindTransferOut = std::stol(outboundNode["CallsBlindTransferOut"].asString());
|
||||
if(!outboundNode["TotalRingTime"].isNull())
|
||||
itemsObject.outbound.totalRingTime = std::stol(outboundNode["TotalRingTime"].asString());
|
||||
if(!outboundNode["MaxTalkTime"].isNull())
|
||||
itemsObject.outbound.maxTalkTime = std::stol(outboundNode["MaxTalkTime"].asString());
|
||||
if(!outboundNode["MaxRingTime"].isNull())
|
||||
itemsObject.outbound.maxRingTime = std::stol(outboundNode["MaxRingTime"].asString());
|
||||
if(!outboundNode["TotalTalkTime"].isNull())
|
||||
itemsObject.outbound.totalTalkTime = std::stol(outboundNode["TotalTalkTime"].asString());
|
||||
if(!outboundNode["TotalWorkTime"].isNull())
|
||||
itemsObject.outbound.totalWorkTime = std::stol(outboundNode["TotalWorkTime"].asString());
|
||||
if(!outboundNode["MaxDialingTime"].isNull())
|
||||
itemsObject.outbound.maxDialingTime = std::stol(outboundNode["MaxDialingTime"].asString());
|
||||
if(!outboundNode["AnswerRate"].isNull())
|
||||
itemsObject.outbound.answerRate = std::stof(outboundNode["AnswerRate"].asString());
|
||||
if(!outboundNode["MaxHoldTime"].isNull())
|
||||
itemsObject.outbound.maxHoldTime = std::stol(outboundNode["MaxHoldTime"].asString());
|
||||
if(!outboundNode["AverageTalkTime"].isNull())
|
||||
itemsObject.outbound.averageTalkTime = std::stof(outboundNode["AverageTalkTime"].asString());
|
||||
if(!outboundNode["SatisfactionRate"].isNull())
|
||||
itemsObject.outbound.satisfactionRate = std::stof(outboundNode["SatisfactionRate"].asString());
|
||||
if(!outboundNode["CallsHold"].isNull())
|
||||
itemsObject.outbound.callsHold = std::stol(outboundNode["CallsHold"].asString());
|
||||
if(!outboundNode["SatisfactionSurveysOffered"].isNull())
|
||||
itemsObject.outbound.satisfactionSurveysOffered = std::stol(outboundNode["SatisfactionSurveysOffered"].asString());
|
||||
if(!outboundNode["SatisfactionSurveysResponded"].isNull())
|
||||
itemsObject.outbound.satisfactionSurveysResponded = std::stol(outboundNode["SatisfactionSurveysResponded"].asString());
|
||||
if(!outboundNode["AverageHoldTime"].isNull())
|
||||
itemsObject.outbound.averageHoldTime = std::stof(outboundNode["AverageHoldTime"].asString());
|
||||
if(!outboundNode["AverageDialingTime"].isNull())
|
||||
itemsObject.outbound.averageDialingTime = std::stof(outboundNode["AverageDialingTime"].asString());
|
||||
auto overallNode = value["Overall"];
|
||||
if(!overallNode["AverageBreakTime"].isNull())
|
||||
itemsObject.overall.averageBreakTime = std::stof(overallNode["AverageBreakTime"].asString());
|
||||
if(!overallNode["AverageHoldTime"].isNull())
|
||||
itemsObject.overall.averageHoldTime = std::stof(overallNode["AverageHoldTime"].asString());
|
||||
if(!overallNode["AverageReadyTime"].isNull())
|
||||
itemsObject.overall.averageReadyTime = std::stof(overallNode["AverageReadyTime"].asString());
|
||||
if(!overallNode["AverageTalkTime"].isNull())
|
||||
itemsObject.overall.averageTalkTime = std::stof(overallNode["AverageTalkTime"].asString());
|
||||
if(!overallNode["AverageWorkTime"].isNull())
|
||||
itemsObject.overall.averageWorkTime = std::stof(overallNode["AverageWorkTime"].asString());
|
||||
if(!overallNode["MaxBreakTime"].isNull())
|
||||
itemsObject.overall.maxBreakTime = std::stol(overallNode["MaxBreakTime"].asString());
|
||||
if(!overallNode["MaxHoldTime"].isNull())
|
||||
itemsObject.overall.maxHoldTime = std::stol(overallNode["MaxHoldTime"].asString());
|
||||
if(!overallNode["MaxReadyTime"].isNull())
|
||||
itemsObject.overall.maxReadyTime = std::stol(overallNode["MaxReadyTime"].asString());
|
||||
if(!overallNode["MaxTalkTime"].isNull())
|
||||
itemsObject.overall.maxTalkTime = std::stol(overallNode["MaxTalkTime"].asString());
|
||||
if(!overallNode["MaxWorkTime"].isNull())
|
||||
itemsObject.overall.maxWorkTime = std::stol(overallNode["MaxWorkTime"].asString());
|
||||
if(!overallNode["TotalTalkTime"].isNull())
|
||||
itemsObject.overall.totalTalkTime = std::stol(overallNode["TotalTalkTime"].asString());
|
||||
if(!overallNode["TotalLoggedInTime"].isNull())
|
||||
itemsObject.overall.totalLoggedInTime = std::stol(overallNode["TotalLoggedInTime"].asString());
|
||||
if(!overallNode["OccupancyRate"].isNull())
|
||||
itemsObject.overall.occupancyRate = std::stof(overallNode["OccupancyRate"].asString());
|
||||
if(!overallNode["SatisfactionIndex"].isNull())
|
||||
itemsObject.overall.satisfactionIndex = std::stof(overallNode["SatisfactionIndex"].asString());
|
||||
if(!overallNode["TotalWorkTime"].isNull())
|
||||
itemsObject.overall.totalWorkTime = std::stol(overallNode["TotalWorkTime"].asString());
|
||||
if(!overallNode["MaxHoldTime"].isNull())
|
||||
itemsObject.overall.maxHoldTime = std::stol(overallNode["MaxHoldTime"].asString());
|
||||
if(!overallNode["MaxWorkTime"].isNull())
|
||||
itemsObject.overall.maxWorkTime = std::stol(overallNode["MaxWorkTime"].asString());
|
||||
if(!overallNode["AverageBreakTime"].isNull())
|
||||
itemsObject.overall.averageBreakTime = std::stof(overallNode["AverageBreakTime"].asString());
|
||||
if(!overallNode["TotalHoldTime"].isNull())
|
||||
itemsObject.overall.totalHoldTime = std::stol(overallNode["TotalHoldTime"].asString());
|
||||
if(!overallNode["SatisfactionRate"].isNull())
|
||||
itemsObject.overall.satisfactionRate = std::stof(overallNode["SatisfactionRate"].asString());
|
||||
if(!overallNode["MaxBreakTime"].isNull())
|
||||
itemsObject.overall.maxBreakTime = std::stol(overallNode["MaxBreakTime"].asString());
|
||||
if(!overallNode["AverageWorkTime"].isNull())
|
||||
itemsObject.overall.averageWorkTime = std::stof(overallNode["AverageWorkTime"].asString());
|
||||
if(!overallNode["AverageTalkTime"].isNull())
|
||||
itemsObject.overall.averageTalkTime = std::stof(overallNode["AverageTalkTime"].asString());
|
||||
if(!overallNode["SatisfactionIndex"].isNull())
|
||||
itemsObject.overall.satisfactionIndex = std::stof(overallNode["SatisfactionIndex"].asString());
|
||||
if(!overallNode["SatisfactionSurveysOffered"].isNull())
|
||||
itemsObject.overall.satisfactionSurveysOffered = std::stol(overallNode["SatisfactionSurveysOffered"].asString());
|
||||
if(!overallNode["SatisfactionSurveysResponded"].isNull())
|
||||
itemsObject.overall.satisfactionSurveysResponded = std::stol(overallNode["SatisfactionSurveysResponded"].asString());
|
||||
if(!overallNode["TotalBreakTime"].isNull())
|
||||
itemsObject.overall.totalBreakTime = std::stol(overallNode["TotalBreakTime"].asString());
|
||||
if(!overallNode["TotalCalls"].isNull())
|
||||
itemsObject.overall.totalCalls = std::stol(overallNode["TotalCalls"].asString());
|
||||
if(!overallNode["TotalHoldTime"].isNull())
|
||||
itemsObject.overall.totalHoldTime = std::stol(overallNode["TotalHoldTime"].asString());
|
||||
if(!overallNode["TotalLoggedInTime"].isNull())
|
||||
itemsObject.overall.totalLoggedInTime = std::stol(overallNode["TotalLoggedInTime"].asString());
|
||||
if(!overallNode["MaxReadyTime"].isNull())
|
||||
itemsObject.overall.maxReadyTime = std::stol(overallNode["MaxReadyTime"].asString());
|
||||
if(!overallNode["AverageReadyTime"].isNull())
|
||||
itemsObject.overall.averageReadyTime = std::stof(overallNode["AverageReadyTime"].asString());
|
||||
if(!overallNode["AverageHoldTime"].isNull())
|
||||
itemsObject.overall.averageHoldTime = std::stof(overallNode["AverageHoldTime"].asString());
|
||||
if(!overallNode["TotalReadyTime"].isNull())
|
||||
itemsObject.overall.totalReadyTime = std::stol(overallNode["TotalReadyTime"].asString());
|
||||
if(!overallNode["TotalTalkTime"].isNull())
|
||||
itemsObject.overall.totalTalkTime = std::stol(overallNode["TotalTalkTime"].asString());
|
||||
if(!overallNode["TotalWorkTime"].isNull())
|
||||
itemsObject.overall.totalWorkTime = std::stol(overallNode["TotalWorkTime"].asString());
|
||||
if(!overallNode["TotalBreakTime"].isNull())
|
||||
itemsObject.overall.totalBreakTime = std::stol(overallNode["TotalBreakTime"].asString());
|
||||
if(!overallNode["MaxTalkTime"].isNull())
|
||||
itemsObject.overall.maxTalkTime = std::stol(overallNode["MaxTalkTime"].asString());
|
||||
if(!overallNode["TotalCalls"].isNull())
|
||||
itemsObject.overall.totalCalls = std::stol(overallNode["TotalCalls"].asString());
|
||||
data_.list.push_back(itemsObject);
|
||||
}
|
||||
if(!value["Code"].isNull())
|
||||
|
||||
@@ -52,48 +52,50 @@ void ListUsersResult::parse(const std::string &payload)
|
||||
Data::UserDetail userDetailObject;
|
||||
if(!dataNodeListUserDetail["DisplayName"].isNull())
|
||||
userDetailObject.displayName = dataNodeListUserDetail["DisplayName"].asString();
|
||||
if(!dataNodeListUserDetail["Email"].isNull())
|
||||
userDetailObject.email = dataNodeListUserDetail["Email"].asString();
|
||||
if(!dataNodeListUserDetail["LoginName"].isNull())
|
||||
userDetailObject.loginName = dataNodeListUserDetail["LoginName"].asString();
|
||||
if(!dataNodeListUserDetail["Mobile"].isNull())
|
||||
userDetailObject.mobile = dataNodeListUserDetail["Mobile"].asString();
|
||||
if(!dataNodeListUserDetail["RoleId"].isNull())
|
||||
userDetailObject.roleId = dataNodeListUserDetail["RoleId"].asString();
|
||||
if(!dataNodeListUserDetail["RoleName"].isNull())
|
||||
userDetailObject.roleName = dataNodeListUserDetail["RoleName"].asString();
|
||||
if(!dataNodeListUserDetail["UserId"].isNull())
|
||||
userDetailObject.userId = dataNodeListUserDetail["UserId"].asString();
|
||||
if(!dataNodeListUserDetail["Email"].isNull())
|
||||
userDetailObject.email = dataNodeListUserDetail["Email"].asString();
|
||||
if(!dataNodeListUserDetail["WorkMode"].isNull())
|
||||
userDetailObject.workMode = dataNodeListUserDetail["WorkMode"].asString();
|
||||
if(!dataNodeListUserDetail["Mobile"].isNull())
|
||||
userDetailObject.mobile = dataNodeListUserDetail["Mobile"].asString();
|
||||
if(!dataNodeListUserDetail["UserId"].isNull())
|
||||
userDetailObject.userId = dataNodeListUserDetail["UserId"].asString();
|
||||
if(!dataNodeListUserDetail["DisplayId"].isNull())
|
||||
userDetailObject.displayId = dataNodeListUserDetail["DisplayId"].asString();
|
||||
if(!dataNodeListUserDetail["RoleName"].isNull())
|
||||
userDetailObject.roleName = dataNodeListUserDetail["RoleName"].asString();
|
||||
if(!dataNodeListUserDetail["RoleId"].isNull())
|
||||
userDetailObject.roleId = dataNodeListUserDetail["RoleId"].asString();
|
||||
if(!dataNodeListUserDetail["PrimaryAccount"].isNull())
|
||||
userDetailObject.primaryAccount = dataNodeListUserDetail["PrimaryAccount"].asString() == "true";
|
||||
auto allPersonalOutboundNumberListNode = dataNodeListUserDetail["PersonalOutboundNumberList"]["PhoneNumber"];
|
||||
for (auto dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber : allPersonalOutboundNumberListNode)
|
||||
{
|
||||
Data::UserDetail::PhoneNumber personalOutboundNumberListObject;
|
||||
if(!dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Number"].isNull())
|
||||
personalOutboundNumberListObject.number = dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Number"].asString();
|
||||
if(!dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Active"].isNull())
|
||||
personalOutboundNumberListObject.active = dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Active"].asString() == "true";
|
||||
if(!dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["City"].isNull())
|
||||
personalOutboundNumberListObject.city = dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["City"].asString();
|
||||
if(!dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Number"].isNull())
|
||||
personalOutboundNumberListObject.number = dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Number"].asString();
|
||||
if(!dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Province"].isNull())
|
||||
personalOutboundNumberListObject.province = dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Province"].asString();
|
||||
if(!dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Usage"].isNull())
|
||||
personalOutboundNumberListObject.usage = dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Usage"].asString();
|
||||
if(!dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Province"].isNull())
|
||||
personalOutboundNumberListObject.province = dataNodeListUserDetailPersonalOutboundNumberListPhoneNumber["Province"].asString();
|
||||
userDetailObject.personalOutboundNumberList.push_back(personalOutboundNumberListObject);
|
||||
}
|
||||
auto allSkillLevelListNode = dataNodeListUserDetail["SkillLevelList"]["UserSkillLevel"];
|
||||
for (auto dataNodeListUserDetailSkillLevelListUserSkillLevel : allSkillLevelListNode)
|
||||
{
|
||||
Data::UserDetail::UserSkillLevel skillLevelListObject;
|
||||
if(!dataNodeListUserDetailSkillLevelListUserSkillLevel["SkillLevel"].isNull())
|
||||
skillLevelListObject.skillLevel = std::stoi(dataNodeListUserDetailSkillLevelListUserSkillLevel["SkillLevel"].asString());
|
||||
if(!dataNodeListUserDetailSkillLevelListUserSkillLevel["SkillGroupId"].isNull())
|
||||
skillLevelListObject.skillGroupId = dataNodeListUserDetailSkillLevelListUserSkillLevel["SkillGroupId"].asString();
|
||||
if(!dataNodeListUserDetailSkillLevelListUserSkillLevel["SkillGroupName"].isNull())
|
||||
skillLevelListObject.skillGroupName = dataNodeListUserDetailSkillLevelListUserSkillLevel["SkillGroupName"].asString();
|
||||
if(!dataNodeListUserDetailSkillLevelListUserSkillLevel["SkillLevel"].isNull())
|
||||
skillLevelListObject.skillLevel = std::stoi(dataNodeListUserDetailSkillLevelListUserSkillLevel["SkillLevel"].asString());
|
||||
userDetailObject.skillLevelList.push_back(skillLevelListObject);
|
||||
}
|
||||
data_.list.push_back(userDetailObject);
|
||||
|
||||
51
ccc/src/model/PauseCampaignRequest.cc
Normal file
51
ccc/src/model/PauseCampaignRequest.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/ccc/model/PauseCampaignRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::PauseCampaignRequest;
|
||||
|
||||
PauseCampaignRequest::PauseCampaignRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "PauseCampaign")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
PauseCampaignRequest::~PauseCampaignRequest()
|
||||
{}
|
||||
|
||||
std::string PauseCampaignRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void PauseCampaignRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string PauseCampaignRequest::getCampaignId()const
|
||||
{
|
||||
return campaignId_;
|
||||
}
|
||||
|
||||
void PauseCampaignRequest::setCampaignId(const std::string& campaignId)
|
||||
{
|
||||
campaignId_ = campaignId;
|
||||
setParameter("CampaignId", campaignId);
|
||||
}
|
||||
|
||||
65
ccc/src/model/PauseCampaignResult.cc
Normal file
65
ccc/src/model/PauseCampaignResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/PauseCampaignResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
PauseCampaignResult::PauseCampaignResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
PauseCampaignResult::PauseCampaignResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
PauseCampaignResult::~PauseCampaignResult()
|
||||
{}
|
||||
|
||||
void PauseCampaignResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string PauseCampaignResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string PauseCampaignResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string PauseCampaignResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
51
ccc/src/model/ResumeCampaignRequest.cc
Normal file
51
ccc/src/model/ResumeCampaignRequest.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/ccc/model/ResumeCampaignRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ResumeCampaignRequest;
|
||||
|
||||
ResumeCampaignRequest::ResumeCampaignRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "ResumeCampaign")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
ResumeCampaignRequest::~ResumeCampaignRequest()
|
||||
{}
|
||||
|
||||
std::string ResumeCampaignRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ResumeCampaignRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ResumeCampaignRequest::getCampaignId()const
|
||||
{
|
||||
return campaignId_;
|
||||
}
|
||||
|
||||
void ResumeCampaignRequest::setCampaignId(const std::string& campaignId)
|
||||
{
|
||||
campaignId_ = campaignId;
|
||||
setParameter("CampaignId", campaignId);
|
||||
}
|
||||
|
||||
65
ccc/src/model/ResumeCampaignResult.cc
Normal file
65
ccc/src/model/ResumeCampaignResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/ResumeCampaignResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ResumeCampaignResult::ResumeCampaignResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ResumeCampaignResult::ResumeCampaignResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ResumeCampaignResult::~ResumeCampaignResult()
|
||||
{}
|
||||
|
||||
void ResumeCampaignResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ResumeCampaignResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string ResumeCampaignResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ResumeCampaignResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
51
ccc/src/model/SubmitCampaignRequest.cc
Normal file
51
ccc/src/model/SubmitCampaignRequest.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/ccc/model/SubmitCampaignRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::SubmitCampaignRequest;
|
||||
|
||||
SubmitCampaignRequest::SubmitCampaignRequest() :
|
||||
RpcServiceRequest("ccc", "2020-07-01", "SubmitCampaign")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SubmitCampaignRequest::~SubmitCampaignRequest()
|
||||
{}
|
||||
|
||||
std::string SubmitCampaignRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void SubmitCampaignRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string SubmitCampaignRequest::getCampaignId()const
|
||||
{
|
||||
return campaignId_;
|
||||
}
|
||||
|
||||
void SubmitCampaignRequest::setCampaignId(const std::string& campaignId)
|
||||
{
|
||||
campaignId_ = campaignId;
|
||||
setParameter("CampaignId", campaignId);
|
||||
}
|
||||
|
||||
65
ccc/src/model/SubmitCampaignResult.cc
Normal file
65
ccc/src/model/SubmitCampaignResult.cc
Normal file
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/ccc/model/SubmitCampaignResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
SubmitCampaignResult::SubmitCampaignResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SubmitCampaignResult::SubmitCampaignResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SubmitCampaignResult::~SubmitCampaignResult()
|
||||
{}
|
||||
|
||||
void SubmitCampaignResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = value["HttpStatusCode"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string SubmitCampaignResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::string SubmitCampaignResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string SubmitCampaignResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/AddFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/BatchAddCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/BatchAddCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigRequest.h
|
||||
include/alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainConfigRequest.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainConfigResult.h
|
||||
include/alibabacloud/cdn/model/BatchSetCdnDomainServerCertificateRequest.h
|
||||
@@ -79,6 +81,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDeletedDomainsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDeliverListRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDeliverListResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnDomainByCertificateRequest.h
|
||||
@@ -161,6 +165,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h
|
||||
@@ -279,8 +285,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeUserCertificateExpireCountResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserConfigsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserConfigsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomerLabelsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserCustomerLabelsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserDomainsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeUserDomainsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeUserTagsRequest.h
|
||||
@@ -337,8 +341,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/SetCdnDomainStagingConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetConfigOfVersionRequest.h
|
||||
include/alibabacloud/cdn/model/SetConfigOfVersionResult.h
|
||||
include/alibabacloud/cdn/model/SetDomainGreenManagerConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetDomainGreenManagerConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetDomainServerCertificateRequest.h
|
||||
include/alibabacloud/cdn/model/SetDomainServerCertificateResult.h
|
||||
include/alibabacloud/cdn/model/SetFileCacheExpiredConfigRequest.h
|
||||
@@ -375,6 +377,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/SetReqHeaderConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetSourceHostConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetSourceHostConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetUserGreenManagerConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetUserGreenManagerConfigResult.h
|
||||
include/alibabacloud/cdn/model/SetWaitingRoomConfigRequest.h
|
||||
include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h
|
||||
include/alibabacloud/cdn/model/StartCdnDomainRequest.h
|
||||
@@ -402,6 +406,8 @@ set(cdn_src
|
||||
src/model/AddFCTriggerResult.cc
|
||||
src/model/BatchAddCdnDomainRequest.cc
|
||||
src/model/BatchAddCdnDomainResult.cc
|
||||
src/model/BatchDeleteCdnDomainConfigRequest.cc
|
||||
src/model/BatchDeleteCdnDomainConfigResult.cc
|
||||
src/model/BatchSetCdnDomainConfigRequest.cc
|
||||
src/model/BatchSetCdnDomainConfigResult.cc
|
||||
src/model/BatchSetCdnDomainServerCertificateRequest.cc
|
||||
@@ -454,6 +460,8 @@ set(cdn_src
|
||||
src/model/DescribeCdnCertificateDetailResult.cc
|
||||
src/model/DescribeCdnCertificateListRequest.cc
|
||||
src/model/DescribeCdnCertificateListResult.cc
|
||||
src/model/DescribeCdnDeletedDomainsRequest.cc
|
||||
src/model/DescribeCdnDeletedDomainsResult.cc
|
||||
src/model/DescribeCdnDeliverListRequest.cc
|
||||
src/model/DescribeCdnDeliverListResult.cc
|
||||
src/model/DescribeCdnDomainByCertificateRequest.cc
|
||||
@@ -536,6 +544,8 @@ set(cdn_src
|
||||
src/model/DescribeDomainISPDataResult.cc
|
||||
src/model/DescribeDomainMax95BpsDataRequest.cc
|
||||
src/model/DescribeDomainMax95BpsDataResult.cc
|
||||
src/model/DescribeDomainMultiUsageDataRequest.cc
|
||||
src/model/DescribeDomainMultiUsageDataResult.cc
|
||||
src/model/DescribeDomainNamesOfVersionRequest.cc
|
||||
src/model/DescribeDomainNamesOfVersionResult.cc
|
||||
src/model/DescribeDomainPathDataRequest.cc
|
||||
@@ -654,8 +664,6 @@ set(cdn_src
|
||||
src/model/DescribeUserCertificateExpireCountResult.cc
|
||||
src/model/DescribeUserConfigsRequest.cc
|
||||
src/model/DescribeUserConfigsResult.cc
|
||||
src/model/DescribeUserCustomerLabelsRequest.cc
|
||||
src/model/DescribeUserCustomerLabelsResult.cc
|
||||
src/model/DescribeUserDomainsRequest.cc
|
||||
src/model/DescribeUserDomainsResult.cc
|
||||
src/model/DescribeUserTagsRequest.cc
|
||||
@@ -712,8 +720,6 @@ set(cdn_src
|
||||
src/model/SetCdnDomainStagingConfigResult.cc
|
||||
src/model/SetConfigOfVersionRequest.cc
|
||||
src/model/SetConfigOfVersionResult.cc
|
||||
src/model/SetDomainGreenManagerConfigRequest.cc
|
||||
src/model/SetDomainGreenManagerConfigResult.cc
|
||||
src/model/SetDomainServerCertificateRequest.cc
|
||||
src/model/SetDomainServerCertificateResult.cc
|
||||
src/model/SetFileCacheExpiredConfigRequest.cc
|
||||
@@ -750,6 +756,8 @@ set(cdn_src
|
||||
src/model/SetReqHeaderConfigResult.cc
|
||||
src/model/SetSourceHostConfigRequest.cc
|
||||
src/model/SetSourceHostConfigResult.cc
|
||||
src/model/SetUserGreenManagerConfigRequest.cc
|
||||
src/model/SetUserGreenManagerConfigResult.cc
|
||||
src/model/SetWaitingRoomConfigRequest.cc
|
||||
src/model/SetWaitingRoomConfigResult.cc
|
||||
src/model/StartCdnDomainRequest.cc
|
||||
|
||||
@@ -28,6 +28,8 @@
|
||||
#include "model/AddFCTriggerResult.h"
|
||||
#include "model/BatchAddCdnDomainRequest.h"
|
||||
#include "model/BatchAddCdnDomainResult.h"
|
||||
#include "model/BatchDeleteCdnDomainConfigRequest.h"
|
||||
#include "model/BatchDeleteCdnDomainConfigResult.h"
|
||||
#include "model/BatchSetCdnDomainConfigRequest.h"
|
||||
#include "model/BatchSetCdnDomainConfigResult.h"
|
||||
#include "model/BatchSetCdnDomainServerCertificateRequest.h"
|
||||
@@ -80,6 +82,8 @@
|
||||
#include "model/DescribeCdnCertificateDetailResult.h"
|
||||
#include "model/DescribeCdnCertificateListRequest.h"
|
||||
#include "model/DescribeCdnCertificateListResult.h"
|
||||
#include "model/DescribeCdnDeletedDomainsRequest.h"
|
||||
#include "model/DescribeCdnDeletedDomainsResult.h"
|
||||
#include "model/DescribeCdnDeliverListRequest.h"
|
||||
#include "model/DescribeCdnDeliverListResult.h"
|
||||
#include "model/DescribeCdnDomainByCertificateRequest.h"
|
||||
@@ -162,6 +166,8 @@
|
||||
#include "model/DescribeDomainISPDataResult.h"
|
||||
#include "model/DescribeDomainMax95BpsDataRequest.h"
|
||||
#include "model/DescribeDomainMax95BpsDataResult.h"
|
||||
#include "model/DescribeDomainMultiUsageDataRequest.h"
|
||||
#include "model/DescribeDomainMultiUsageDataResult.h"
|
||||
#include "model/DescribeDomainNamesOfVersionRequest.h"
|
||||
#include "model/DescribeDomainNamesOfVersionResult.h"
|
||||
#include "model/DescribeDomainPathDataRequest.h"
|
||||
@@ -280,8 +286,6 @@
|
||||
#include "model/DescribeUserCertificateExpireCountResult.h"
|
||||
#include "model/DescribeUserConfigsRequest.h"
|
||||
#include "model/DescribeUserConfigsResult.h"
|
||||
#include "model/DescribeUserCustomerLabelsRequest.h"
|
||||
#include "model/DescribeUserCustomerLabelsResult.h"
|
||||
#include "model/DescribeUserDomainsRequest.h"
|
||||
#include "model/DescribeUserDomainsResult.h"
|
||||
#include "model/DescribeUserTagsRequest.h"
|
||||
@@ -338,8 +342,6 @@
|
||||
#include "model/SetCdnDomainStagingConfigResult.h"
|
||||
#include "model/SetConfigOfVersionRequest.h"
|
||||
#include "model/SetConfigOfVersionResult.h"
|
||||
#include "model/SetDomainGreenManagerConfigRequest.h"
|
||||
#include "model/SetDomainGreenManagerConfigResult.h"
|
||||
#include "model/SetDomainServerCertificateRequest.h"
|
||||
#include "model/SetDomainServerCertificateResult.h"
|
||||
#include "model/SetFileCacheExpiredConfigRequest.h"
|
||||
@@ -376,6 +378,8 @@
|
||||
#include "model/SetReqHeaderConfigResult.h"
|
||||
#include "model/SetSourceHostConfigRequest.h"
|
||||
#include "model/SetSourceHostConfigResult.h"
|
||||
#include "model/SetUserGreenManagerConfigRequest.h"
|
||||
#include "model/SetUserGreenManagerConfigResult.h"
|
||||
#include "model/SetWaitingRoomConfigRequest.h"
|
||||
#include "model/SetWaitingRoomConfigResult.h"
|
||||
#include "model/StartCdnDomainRequest.h"
|
||||
@@ -412,6 +416,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::BatchAddCdnDomainResult> BatchAddCdnDomainOutcome;
|
||||
typedef std::future<BatchAddCdnDomainOutcome> BatchAddCdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::BatchAddCdnDomainRequest&, const BatchAddCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchAddCdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchDeleteCdnDomainConfigResult> BatchDeleteCdnDomainConfigOutcome;
|
||||
typedef std::future<BatchDeleteCdnDomainConfigOutcome> BatchDeleteCdnDomainConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::BatchDeleteCdnDomainConfigRequest&, const BatchDeleteCdnDomainConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchDeleteCdnDomainConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::BatchSetCdnDomainConfigResult> BatchSetCdnDomainConfigOutcome;
|
||||
typedef std::future<BatchSetCdnDomainConfigOutcome> BatchSetCdnDomainConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::BatchSetCdnDomainConfigRequest&, const BatchSetCdnDomainConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchSetCdnDomainConfigAsyncHandler;
|
||||
@@ -490,6 +497,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeCdnCertificateListResult> DescribeCdnCertificateListOutcome;
|
||||
typedef std::future<DescribeCdnCertificateListOutcome> DescribeCdnCertificateListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnCertificateListRequest&, const DescribeCdnCertificateListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnCertificateListAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnDeletedDomainsResult> DescribeCdnDeletedDomainsOutcome;
|
||||
typedef std::future<DescribeCdnDeletedDomainsOutcome> DescribeCdnDeletedDomainsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnDeletedDomainsRequest&, const DescribeCdnDeletedDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnDeletedDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnDeliverListResult> DescribeCdnDeliverListOutcome;
|
||||
typedef std::future<DescribeCdnDeliverListOutcome> DescribeCdnDeliverListOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnDeliverListRequest&, const DescribeCdnDeliverListOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnDeliverListAsyncHandler;
|
||||
@@ -613,6 +623,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainMax95BpsDataResult> DescribeDomainMax95BpsDataOutcome;
|
||||
typedef std::future<DescribeDomainMax95BpsDataOutcome> DescribeDomainMax95BpsDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainMax95BpsDataRequest&, const DescribeDomainMax95BpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainMax95BpsDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainMultiUsageDataResult> DescribeDomainMultiUsageDataOutcome;
|
||||
typedef std::future<DescribeDomainMultiUsageDataOutcome> DescribeDomainMultiUsageDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainMultiUsageDataRequest&, const DescribeDomainMultiUsageDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainMultiUsageDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainNamesOfVersionResult> DescribeDomainNamesOfVersionOutcome;
|
||||
typedef std::future<DescribeDomainNamesOfVersionOutcome> DescribeDomainNamesOfVersionOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainNamesOfVersionRequest&, const DescribeDomainNamesOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainNamesOfVersionAsyncHandler;
|
||||
@@ -790,9 +803,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeUserConfigsResult> DescribeUserConfigsOutcome;
|
||||
typedef std::future<DescribeUserConfigsOutcome> DescribeUserConfigsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeUserConfigsRequest&, const DescribeUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserConfigsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserCustomerLabelsResult> DescribeUserCustomerLabelsOutcome;
|
||||
typedef std::future<DescribeUserCustomerLabelsOutcome> DescribeUserCustomerLabelsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeUserCustomerLabelsRequest&, const DescribeUserCustomerLabelsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserCustomerLabelsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeUserDomainsResult> DescribeUserDomainsOutcome;
|
||||
typedef std::future<DescribeUserDomainsOutcome> DescribeUserDomainsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeUserDomainsRequest&, const DescribeUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeUserDomainsAsyncHandler;
|
||||
@@ -877,9 +887,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetConfigOfVersionResult> SetConfigOfVersionOutcome;
|
||||
typedef std::future<SetConfigOfVersionOutcome> SetConfigOfVersionOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetConfigOfVersionRequest&, const SetConfigOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetConfigOfVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetDomainGreenManagerConfigResult> SetDomainGreenManagerConfigOutcome;
|
||||
typedef std::future<SetDomainGreenManagerConfigOutcome> SetDomainGreenManagerConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetDomainGreenManagerConfigRequest&, const SetDomainGreenManagerConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDomainGreenManagerConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetDomainServerCertificateResult> SetDomainServerCertificateOutcome;
|
||||
typedef std::future<SetDomainServerCertificateOutcome> SetDomainServerCertificateOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetDomainServerCertificateRequest&, const SetDomainServerCertificateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetDomainServerCertificateAsyncHandler;
|
||||
@@ -934,6 +941,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SetSourceHostConfigResult> SetSourceHostConfigOutcome;
|
||||
typedef std::future<SetSourceHostConfigOutcome> SetSourceHostConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetSourceHostConfigRequest&, const SetSourceHostConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetSourceHostConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetUserGreenManagerConfigResult> SetUserGreenManagerConfigOutcome;
|
||||
typedef std::future<SetUserGreenManagerConfigOutcome> SetUserGreenManagerConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetUserGreenManagerConfigRequest&, const SetUserGreenManagerConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetUserGreenManagerConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::SetWaitingRoomConfigResult> SetWaitingRoomConfigOutcome;
|
||||
typedef std::future<SetWaitingRoomConfigOutcome> SetWaitingRoomConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::SetWaitingRoomConfigRequest&, const SetWaitingRoomConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SetWaitingRoomConfigAsyncHandler;
|
||||
@@ -975,6 +985,9 @@ namespace AlibabaCloud
|
||||
BatchAddCdnDomainOutcome batchAddCdnDomain(const Model::BatchAddCdnDomainRequest &request)const;
|
||||
void batchAddCdnDomainAsync(const Model::BatchAddCdnDomainRequest& request, const BatchAddCdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchAddCdnDomainOutcomeCallable batchAddCdnDomainCallable(const Model::BatchAddCdnDomainRequest& request) const;
|
||||
BatchDeleteCdnDomainConfigOutcome batchDeleteCdnDomainConfig(const Model::BatchDeleteCdnDomainConfigRequest &request)const;
|
||||
void batchDeleteCdnDomainConfigAsync(const Model::BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchDeleteCdnDomainConfigOutcomeCallable batchDeleteCdnDomainConfigCallable(const Model::BatchDeleteCdnDomainConfigRequest& request) const;
|
||||
BatchSetCdnDomainConfigOutcome batchSetCdnDomainConfig(const Model::BatchSetCdnDomainConfigRequest &request)const;
|
||||
void batchSetCdnDomainConfigAsync(const Model::BatchSetCdnDomainConfigRequest& request, const BatchSetCdnDomainConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
BatchSetCdnDomainConfigOutcomeCallable batchSetCdnDomainConfigCallable(const Model::BatchSetCdnDomainConfigRequest& request) const;
|
||||
@@ -1053,6 +1066,9 @@ namespace AlibabaCloud
|
||||
DescribeCdnCertificateListOutcome describeCdnCertificateList(const Model::DescribeCdnCertificateListRequest &request)const;
|
||||
void describeCdnCertificateListAsync(const Model::DescribeCdnCertificateListRequest& request, const DescribeCdnCertificateListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnCertificateListOutcomeCallable describeCdnCertificateListCallable(const Model::DescribeCdnCertificateListRequest& request) const;
|
||||
DescribeCdnDeletedDomainsOutcome describeCdnDeletedDomains(const Model::DescribeCdnDeletedDomainsRequest &request)const;
|
||||
void describeCdnDeletedDomainsAsync(const Model::DescribeCdnDeletedDomainsRequest& request, const DescribeCdnDeletedDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnDeletedDomainsOutcomeCallable describeCdnDeletedDomainsCallable(const Model::DescribeCdnDeletedDomainsRequest& request) const;
|
||||
DescribeCdnDeliverListOutcome describeCdnDeliverList(const Model::DescribeCdnDeliverListRequest &request)const;
|
||||
void describeCdnDeliverListAsync(const Model::DescribeCdnDeliverListRequest& request, const DescribeCdnDeliverListAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnDeliverListOutcomeCallable describeCdnDeliverListCallable(const Model::DescribeCdnDeliverListRequest& request) const;
|
||||
@@ -1176,6 +1192,9 @@ namespace AlibabaCloud
|
||||
DescribeDomainMax95BpsDataOutcome describeDomainMax95BpsData(const Model::DescribeDomainMax95BpsDataRequest &request)const;
|
||||
void describeDomainMax95BpsDataAsync(const Model::DescribeDomainMax95BpsDataRequest& request, const DescribeDomainMax95BpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainMax95BpsDataOutcomeCallable describeDomainMax95BpsDataCallable(const Model::DescribeDomainMax95BpsDataRequest& request) const;
|
||||
DescribeDomainMultiUsageDataOutcome describeDomainMultiUsageData(const Model::DescribeDomainMultiUsageDataRequest &request)const;
|
||||
void describeDomainMultiUsageDataAsync(const Model::DescribeDomainMultiUsageDataRequest& request, const DescribeDomainMultiUsageDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainMultiUsageDataOutcomeCallable describeDomainMultiUsageDataCallable(const Model::DescribeDomainMultiUsageDataRequest& request) const;
|
||||
DescribeDomainNamesOfVersionOutcome describeDomainNamesOfVersion(const Model::DescribeDomainNamesOfVersionRequest &request)const;
|
||||
void describeDomainNamesOfVersionAsync(const Model::DescribeDomainNamesOfVersionRequest& request, const DescribeDomainNamesOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainNamesOfVersionOutcomeCallable describeDomainNamesOfVersionCallable(const Model::DescribeDomainNamesOfVersionRequest& request) const;
|
||||
@@ -1353,9 +1372,6 @@ namespace AlibabaCloud
|
||||
DescribeUserConfigsOutcome describeUserConfigs(const Model::DescribeUserConfigsRequest &request)const;
|
||||
void describeUserConfigsAsync(const Model::DescribeUserConfigsRequest& request, const DescribeUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserConfigsOutcomeCallable describeUserConfigsCallable(const Model::DescribeUserConfigsRequest& request) const;
|
||||
DescribeUserCustomerLabelsOutcome describeUserCustomerLabels(const Model::DescribeUserCustomerLabelsRequest &request)const;
|
||||
void describeUserCustomerLabelsAsync(const Model::DescribeUserCustomerLabelsRequest& request, const DescribeUserCustomerLabelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserCustomerLabelsOutcomeCallable describeUserCustomerLabelsCallable(const Model::DescribeUserCustomerLabelsRequest& request) const;
|
||||
DescribeUserDomainsOutcome describeUserDomains(const Model::DescribeUserDomainsRequest &request)const;
|
||||
void describeUserDomainsAsync(const Model::DescribeUserDomainsRequest& request, const DescribeUserDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeUserDomainsOutcomeCallable describeUserDomainsCallable(const Model::DescribeUserDomainsRequest& request) const;
|
||||
@@ -1440,9 +1456,6 @@ namespace AlibabaCloud
|
||||
SetConfigOfVersionOutcome setConfigOfVersion(const Model::SetConfigOfVersionRequest &request)const;
|
||||
void setConfigOfVersionAsync(const Model::SetConfigOfVersionRequest& request, const SetConfigOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetConfigOfVersionOutcomeCallable setConfigOfVersionCallable(const Model::SetConfigOfVersionRequest& request) const;
|
||||
SetDomainGreenManagerConfigOutcome setDomainGreenManagerConfig(const Model::SetDomainGreenManagerConfigRequest &request)const;
|
||||
void setDomainGreenManagerConfigAsync(const Model::SetDomainGreenManagerConfigRequest& request, const SetDomainGreenManagerConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDomainGreenManagerConfigOutcomeCallable setDomainGreenManagerConfigCallable(const Model::SetDomainGreenManagerConfigRequest& request) const;
|
||||
SetDomainServerCertificateOutcome setDomainServerCertificate(const Model::SetDomainServerCertificateRequest &request)const;
|
||||
void setDomainServerCertificateAsync(const Model::SetDomainServerCertificateRequest& request, const SetDomainServerCertificateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetDomainServerCertificateOutcomeCallable setDomainServerCertificateCallable(const Model::SetDomainServerCertificateRequest& request) const;
|
||||
@@ -1497,6 +1510,9 @@ namespace AlibabaCloud
|
||||
SetSourceHostConfigOutcome setSourceHostConfig(const Model::SetSourceHostConfigRequest &request)const;
|
||||
void setSourceHostConfigAsync(const Model::SetSourceHostConfigRequest& request, const SetSourceHostConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetSourceHostConfigOutcomeCallable setSourceHostConfigCallable(const Model::SetSourceHostConfigRequest& request) const;
|
||||
SetUserGreenManagerConfigOutcome setUserGreenManagerConfig(const Model::SetUserGreenManagerConfigRequest &request)const;
|
||||
void setUserGreenManagerConfigAsync(const Model::SetUserGreenManagerConfigRequest& request, const SetUserGreenManagerConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetUserGreenManagerConfigOutcomeCallable setUserGreenManagerConfigCallable(const Model::SetUserGreenManagerConfigRequest& request) const;
|
||||
SetWaitingRoomConfigOutcome setWaitingRoomConfig(const Model::SetWaitingRoomConfigRequest &request)const;
|
||||
void setWaitingRoomConfigAsync(const Model::SetWaitingRoomConfigRequest& request, const SetWaitingRoomConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SetWaitingRoomConfigOutcomeCallable setWaitingRoomConfigCallable(const Model::SetWaitingRoomConfigRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
BatchDeleteCdnDomainConfigRequest();
|
||||
~BatchDeleteCdnDomainConfigRequest();
|
||||
|
||||
std::string getFunctionNames()const;
|
||||
void setFunctionNames(const std::string& functionNames);
|
||||
std::string getDomainNames()const;
|
||||
void setDomainNames(const std::string& domainNames);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string functionNames_;
|
||||
std::string domainNames_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMERLABELSRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMERLABELSRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,23 +29,21 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeUserCustomerLabelsResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchDeleteCdnDomainConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeUserCustomerLabelsResult();
|
||||
explicit DescribeUserCustomerLabelsResult(const std::string &payload);
|
||||
~DescribeUserCustomerLabelsResult();
|
||||
bool getIsInnerUser()const;
|
||||
BatchDeleteCdnDomainConfigResult();
|
||||
explicit BatchDeleteCdnDomainConfigResult(const std::string &payload);
|
||||
~BatchDeleteCdnDomainConfigResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
bool isInnerUser_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMERLABELSRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_BATCHDELETECDNDOMAINCONFIGRESULT_H_
|
||||
@@ -32,15 +32,23 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_CDN_EXPORT BatchSetCdnDomainConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DomainConfigModel
|
||||
{
|
||||
std::string functionName;
|
||||
std::string domainName;
|
||||
long configId;
|
||||
};
|
||||
|
||||
|
||||
BatchSetCdnDomainConfigResult();
|
||||
explicit BatchSetCdnDomainConfigResult(const std::string &payload);
|
||||
~BatchSetCdnDomainConfigResult();
|
||||
std::vector<DomainConfigModel> getDomainConfigList()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DomainConfigModel> domainConfigList_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -47,8 +47,6 @@ namespace AlibabaCloud
|
||||
void setSchedule(const std::string& schedule);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string reports_;
|
||||
@@ -57,7 +55,6 @@ namespace AlibabaCloud
|
||||
long ownerId_;
|
||||
std::string schedule_;
|
||||
std::string name_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -35,26 +35,17 @@ namespace AlibabaCloud
|
||||
CreateCdnSubTaskRequest();
|
||||
~CreateCdnSubTaskRequest();
|
||||
|
||||
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);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getReportIds()const;
|
||||
void setReportIds(const std::string& reportIds);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string reportIds_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -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_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnDeletedDomainsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeCdnDeletedDomainsRequest();
|
||||
~DescribeCdnDeletedDomainsRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSREQUEST_H_
|
||||
@@ -0,0 +1,62 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnDeletedDomainsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PageData
|
||||
{
|
||||
std::string domainName;
|
||||
std::string gmtModified;
|
||||
};
|
||||
|
||||
|
||||
DescribeCdnDeletedDomainsResult();
|
||||
explicit DescribeCdnDeletedDomainsResult(const std::string &payload);
|
||||
~DescribeCdnDeletedDomainsResult();
|
||||
std::vector<PageData> getDomains()const;
|
||||
long getTotalCount()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<PageData> domains_;
|
||||
long totalCount_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNDELETEDDOMAINSRESULT_H_
|
||||
@@ -39,13 +39,10 @@ namespace AlibabaCloud
|
||||
void setDeliverId(long deliverId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long deliverId_;
|
||||
long ownerId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,18 +37,21 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getFunctionNames()const;
|
||||
void setFunctionNames(const std::string& functionNames);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
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);
|
||||
std::string getConfigId()const;
|
||||
void setConfigId(const std::string& configId);
|
||||
|
||||
private:
|
||||
std::string functionNames_;
|
||||
std::string securityToken_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
std::string configId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct DomainLogDetail
|
||||
{
|
||||
struct PageInfoDetail
|
||||
struct PageInfos
|
||||
{
|
||||
long pageSize;
|
||||
long total;
|
||||
@@ -50,7 +50,7 @@ namespace AlibabaCloud
|
||||
};
|
||||
std::string domainName;
|
||||
std::vector<DomainLogDetail::LogInfoDetail> logInfos;
|
||||
std::vector<DomainLogDetail::PageInfoDetail> pageInfos;
|
||||
PageInfos pageInfos;
|
||||
long logCount;
|
||||
};
|
||||
|
||||
|
||||
@@ -37,18 +37,12 @@ namespace AlibabaCloud
|
||||
|
||||
long getReportId()const;
|
||||
void setReportId(long reportId);
|
||||
std::string getPermission()const;
|
||||
void setPermission(const std::string& permission);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long reportId_;
|
||||
std::string permission_;
|
||||
long ownerId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -37,12 +37,9 @@ namespace AlibabaCloud
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -52,7 +52,6 @@ namespace AlibabaCloud
|
||||
std::vector<PageData::Source> sources;
|
||||
std::string cname;
|
||||
std::string domainStatus;
|
||||
std::string sandbox;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace AlibabaCloud
|
||||
DescribeCdnWafDomainRequest();
|
||||
~DescribeCdnWafDomainRequest();
|
||||
|
||||
std::string getResourceGroupId()const;
|
||||
void setResourceGroupId(const std::string& resourceGroupId);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getDomainName()const;
|
||||
@@ -43,6 +45,7 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_SETDOMAINGREENMANAGERCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_SETDOMAINGREENMANAGERCONFIGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATAREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATAREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,27 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT SetDomainGreenManagerConfigRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainMultiUsageDataRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SetDomainGreenManagerConfigRequest();
|
||||
~SetDomainGreenManagerConfigRequest();
|
||||
DescribeDomainMultiUsageDataRequest();
|
||||
~DescribeDomainMultiUsageDataRequest();
|
||||
|
||||
std::string getEnable()const;
|
||||
void setEnable(const std::string& enable);
|
||||
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);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string enable_;
|
||||
std::string startTime_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_SETDOMAINGREENMANAGERCONFIGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATAREQUEST_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_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATARESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATARESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainMultiUsageDataResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct RequestDataModule
|
||||
{
|
||||
std::string type;
|
||||
long request;
|
||||
std::string domain;
|
||||
std::string timeStamp;
|
||||
};
|
||||
struct TrafficDataModule
|
||||
{
|
||||
std::string type;
|
||||
std::string area;
|
||||
float bps;
|
||||
std::string domain;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeDomainMultiUsageDataResult();
|
||||
explicit DescribeDomainMultiUsageDataResult(const std::string &payload);
|
||||
~DescribeDomainMultiUsageDataResult();
|
||||
std::string getEndTime()const;
|
||||
std::string getStartTime()const;
|
||||
std::vector<RequestDataModule> getRequestPerInterval()const;
|
||||
std::vector<TrafficDataModule> getTrafficPerInterval()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string endTime_;
|
||||
std::string startTime_;
|
||||
std::vector<RequestDataModule> requestPerInterval_;
|
||||
std::vector<TrafficDataModule> trafficPerInterval_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINMULTIUSAGEDATARESULT_H_
|
||||
@@ -35,8 +35,12 @@ namespace AlibabaCloud
|
||||
DescribeDomainRealTimeTrafficDataRequest();
|
||||
~DescribeDomainRealTimeTrafficDataRequest();
|
||||
|
||||
std::string getLocationNameEn()const;
|
||||
void setLocationNameEn(const std::string& locationNameEn);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getIspNameEn()const;
|
||||
void setIspNameEn(const std::string& ispNameEn);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
@@ -45,7 +49,9 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string locationNameEn_;
|
||||
std::string startTime_;
|
||||
std::string ispNameEn_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -37,6 +37,8 @@ namespace AlibabaCloud
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getDataProtocol()const;
|
||||
void setDataProtocol(const std::string& dataProtocol);
|
||||
std::string getArea()const;
|
||||
@@ -54,6 +56,7 @@ namespace AlibabaCloud
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string type_;
|
||||
std::string dataProtocol_;
|
||||
std::string area_;
|
||||
std::string domainName_;
|
||||
|
||||
@@ -41,6 +41,8 @@ namespace AlibabaCloud
|
||||
DescribeUserDomainsRequest();
|
||||
~DescribeUserDomainsRequest();
|
||||
|
||||
std::string getSource()const;
|
||||
void setSource(const std::string& source);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
bool getCheckDomainShow()const;
|
||||
@@ -75,6 +77,7 @@ namespace AlibabaCloud
|
||||
void setChangeStartTime(const std::string& changeStartTime);
|
||||
|
||||
private:
|
||||
std::string source_;
|
||||
int pageNumber_;
|
||||
bool checkDomainShow_;
|
||||
std::string resourceGroupId_;
|
||||
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMERLABELSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMERLABELSREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeUserCustomerLabelsRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT SetUserGreenManagerConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeUserCustomerLabelsRequest();
|
||||
~DescribeUserCustomerLabelsRequest();
|
||||
SetUserGreenManagerConfigRequest();
|
||||
~SetUserGreenManagerConfigRequest();
|
||||
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
long getUid()const;
|
||||
void setUid(long uid);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getQuota()const;
|
||||
void setQuota(const std::string& quota);
|
||||
std::string getRatio()const;
|
||||
void setRatio(const std::string& ratio);
|
||||
|
||||
private:
|
||||
long ownerId_;
|
||||
std::string accessKeyId_;
|
||||
long uid_;
|
||||
std::string securityToken_;
|
||||
std::string quota_;
|
||||
std::string ratio_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEUSERCUSTOMERLABELSREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_SETDOMAINGREENMANAGERCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_SETDOMAINGREENMANAGERCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,14 +29,14 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT SetDomainGreenManagerConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT SetUserGreenManagerConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SetDomainGreenManagerConfigResult();
|
||||
explicit SetDomainGreenManagerConfigResult(const std::string &payload);
|
||||
~SetDomainGreenManagerConfigResult();
|
||||
SetUserGreenManagerConfigResult();
|
||||
explicit SetUserGreenManagerConfigResult(const std::string &payload);
|
||||
~SetUserGreenManagerConfigResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
@@ -46,4 +46,4 @@ namespace AlibabaCloud
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_SETDOMAINGREENMANAGERCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_SETUSERGREENMANAGERCONFIGRESULT_H_
|
||||
@@ -49,8 +49,6 @@ namespace AlibabaCloud
|
||||
void setSchedule(const std::string& schedule);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string reports_;
|
||||
@@ -60,7 +58,6 @@ namespace AlibabaCloud
|
||||
long ownerId_;
|
||||
std::string schedule_;
|
||||
std::string name_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -45,8 +45,6 @@ namespace AlibabaCloud
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getReportIds()const;
|
||||
void setReportIds(const std::string& reportIds);
|
||||
std::string getStatus()const;
|
||||
void setStatus(const std::string& status);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
@@ -54,7 +52,6 @@ namespace AlibabaCloud
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string reportIds_;
|
||||
std::string status_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -159,6 +159,42 @@ CdnClient::BatchAddCdnDomainOutcomeCallable CdnClient::batchAddCdnDomainCallable
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::BatchDeleteCdnDomainConfigOutcome CdnClient::batchDeleteCdnDomainConfig(const BatchDeleteCdnDomainConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return BatchDeleteCdnDomainConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return BatchDeleteCdnDomainConfigOutcome(BatchDeleteCdnDomainConfigResult(outcome.result()));
|
||||
else
|
||||
return BatchDeleteCdnDomainConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::batchDeleteCdnDomainConfigAsync(const BatchDeleteCdnDomainConfigRequest& request, const BatchDeleteCdnDomainConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, batchDeleteCdnDomainConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::BatchDeleteCdnDomainConfigOutcomeCallable CdnClient::batchDeleteCdnDomainConfigCallable(const BatchDeleteCdnDomainConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<BatchDeleteCdnDomainConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->batchDeleteCdnDomainConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::BatchSetCdnDomainConfigOutcome CdnClient::batchSetCdnDomainConfig(const BatchSetCdnDomainConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1095,6 +1131,42 @@ CdnClient::DescribeCdnCertificateListOutcomeCallable CdnClient::describeCdnCerti
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnDeletedDomainsOutcome CdnClient::describeCdnDeletedDomains(const DescribeCdnDeletedDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCdnDeletedDomainsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCdnDeletedDomainsOutcome(DescribeCdnDeletedDomainsResult(outcome.result()));
|
||||
else
|
||||
return DescribeCdnDeletedDomainsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeCdnDeletedDomainsAsync(const DescribeCdnDeletedDomainsRequest& request, const DescribeCdnDeletedDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCdnDeletedDomains(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnDeletedDomainsOutcomeCallable CdnClient::describeCdnDeletedDomainsCallable(const DescribeCdnDeletedDomainsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCdnDeletedDomainsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCdnDeletedDomains(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnDeliverListOutcome CdnClient::describeCdnDeliverList(const DescribeCdnDeliverListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2571,6 +2643,42 @@ CdnClient::DescribeDomainMax95BpsDataOutcomeCallable CdnClient::describeDomainMa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainMultiUsageDataOutcome CdnClient::describeDomainMultiUsageData(const DescribeDomainMultiUsageDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDomainMultiUsageDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDomainMultiUsageDataOutcome(DescribeDomainMultiUsageDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeDomainMultiUsageDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeDomainMultiUsageDataAsync(const DescribeDomainMultiUsageDataRequest& request, const DescribeDomainMultiUsageDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDomainMultiUsageData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainMultiUsageDataOutcomeCallable CdnClient::describeDomainMultiUsageDataCallable(const DescribeDomainMultiUsageDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDomainMultiUsageDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDomainMultiUsageData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainNamesOfVersionOutcome CdnClient::describeDomainNamesOfVersion(const DescribeDomainNamesOfVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4695,42 +4803,6 @@ CdnClient::DescribeUserConfigsOutcomeCallable CdnClient::describeUserConfigsCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeUserCustomerLabelsOutcome CdnClient::describeUserCustomerLabels(const DescribeUserCustomerLabelsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeUserCustomerLabelsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeUserCustomerLabelsOutcome(DescribeUserCustomerLabelsResult(outcome.result()));
|
||||
else
|
||||
return DescribeUserCustomerLabelsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeUserCustomerLabelsAsync(const DescribeUserCustomerLabelsRequest& request, const DescribeUserCustomerLabelsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeUserCustomerLabels(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeUserCustomerLabelsOutcomeCallable CdnClient::describeUserCustomerLabelsCallable(const DescribeUserCustomerLabelsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeUserCustomerLabelsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeUserCustomerLabels(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeUserDomainsOutcome CdnClient::describeUserDomains(const DescribeUserDomainsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -5739,42 +5811,6 @@ CdnClient::SetConfigOfVersionOutcomeCallable CdnClient::setConfigOfVersionCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::SetDomainGreenManagerConfigOutcome CdnClient::setDomainGreenManagerConfig(const SetDomainGreenManagerConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetDomainGreenManagerConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetDomainGreenManagerConfigOutcome(SetDomainGreenManagerConfigResult(outcome.result()));
|
||||
else
|
||||
return SetDomainGreenManagerConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::setDomainGreenManagerConfigAsync(const SetDomainGreenManagerConfigRequest& request, const SetDomainGreenManagerConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setDomainGreenManagerConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::SetDomainGreenManagerConfigOutcomeCallable CdnClient::setDomainGreenManagerConfigCallable(const SetDomainGreenManagerConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetDomainGreenManagerConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setDomainGreenManagerConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::SetDomainServerCertificateOutcome CdnClient::setDomainServerCertificate(const SetDomainServerCertificateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6423,6 +6459,42 @@ CdnClient::SetSourceHostConfigOutcomeCallable CdnClient::setSourceHostConfigCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::SetUserGreenManagerConfigOutcome CdnClient::setUserGreenManagerConfig(const SetUserGreenManagerConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetUserGreenManagerConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetUserGreenManagerConfigOutcome(SetUserGreenManagerConfigResult(outcome.result()));
|
||||
else
|
||||
return SetUserGreenManagerConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::setUserGreenManagerConfigAsync(const SetUserGreenManagerConfigRequest& request, const SetUserGreenManagerConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setUserGreenManagerConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::SetUserGreenManagerConfigOutcomeCallable CdnClient::setUserGreenManagerConfigCallable(const SetUserGreenManagerConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetUserGreenManagerConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setUserGreenManagerConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::SetWaitingRoomConfigOutcome CdnClient::setWaitingRoomConfig(const SetWaitingRoomConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
84
cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc
Normal file
84
cdn/src/model/BatchDeleteCdnDomainConfigRequest.cc
Normal file
@@ -0,0 +1,84 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/cdn/model/BatchDeleteCdnDomainConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::BatchDeleteCdnDomainConfigRequest;
|
||||
|
||||
BatchDeleteCdnDomainConfigRequest::BatchDeleteCdnDomainConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "BatchDeleteCdnDomainConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchDeleteCdnDomainConfigRequest::~BatchDeleteCdnDomainConfigRequest()
|
||||
{}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getFunctionNames()const
|
||||
{
|
||||
return functionNames_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setFunctionNames(const std::string& functionNames)
|
||||
{
|
||||
functionNames_ = functionNames;
|
||||
setParameter("FunctionNames", functionNames);
|
||||
}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setParameter("DomainNames", domainNames);
|
||||
}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long BatchDeleteCdnDomainConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string BatchDeleteCdnDomainConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchDeleteCdnDomainConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/SetDomainGreenManagerConfigResult.h>
|
||||
#include <alibabacloud/cdn/model/BatchDeleteCdnDomainConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
SetDomainGreenManagerConfigResult::SetDomainGreenManagerConfigResult() :
|
||||
BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SetDomainGreenManagerConfigResult::SetDomainGreenManagerConfigResult(const std::string &payload) :
|
||||
BatchDeleteCdnDomainConfigResult::BatchDeleteCdnDomainConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SetDomainGreenManagerConfigResult::~SetDomainGreenManagerConfigResult()
|
||||
BatchDeleteCdnDomainConfigResult::~BatchDeleteCdnDomainConfigResult()
|
||||
{}
|
||||
|
||||
void SetDomainGreenManagerConfigResult::parse(const std::string &payload)
|
||||
void BatchDeleteCdnDomainConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -39,6 +39,23 @@ void BatchSetCdnDomainConfigResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainConfigListNode = value["DomainConfigList"]["DomainConfigModel"];
|
||||
for (auto valueDomainConfigListDomainConfigModel : allDomainConfigListNode)
|
||||
{
|
||||
DomainConfigModel domainConfigListObject;
|
||||
if(!valueDomainConfigListDomainConfigModel["DomainName"].isNull())
|
||||
domainConfigListObject.domainName = valueDomainConfigListDomainConfigModel["DomainName"].asString();
|
||||
if(!valueDomainConfigListDomainConfigModel["ConfigId"].isNull())
|
||||
domainConfigListObject.configId = std::stol(valueDomainConfigListDomainConfigModel["ConfigId"].asString());
|
||||
if(!valueDomainConfigListDomainConfigModel["FunctionName"].isNull())
|
||||
domainConfigListObject.functionName = valueDomainConfigListDomainConfigModel["FunctionName"].asString();
|
||||
domainConfigList_.push_back(domainConfigListObject);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
std::vector<BatchSetCdnDomainConfigResult::DomainConfigModel> BatchSetCdnDomainConfigResult::getDomainConfigList()const
|
||||
{
|
||||
return domainConfigList_;
|
||||
}
|
||||
|
||||
|
||||
@@ -93,14 +93,3 @@ void CreateCdnDeliverTaskRequest::setName(const std::string& name)
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string CreateCdnDeliverTaskRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void CreateCdnDeliverTaskRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setBodyParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -27,17 +27,6 @@ CreateCdnSubTaskRequest::CreateCdnSubTaskRequest() :
|
||||
CreateCdnSubTaskRequest::~CreateCdnSubTaskRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCdnSubTaskRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void CreateCdnSubTaskRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setBodyParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string CreateCdnSubTaskRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -49,17 +38,6 @@ void CreateCdnSubTaskRequest::setDomainName(const std::string& domainName)
|
||||
setBodyParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string CreateCdnSubTaskRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void CreateCdnSubTaskRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setBodyParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long CreateCdnSubTaskRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -82,14 +60,3 @@ void CreateCdnSubTaskRequest::setReportIds(const std::string& reportIds)
|
||||
setBodyParameter("ReportIds", reportIds);
|
||||
}
|
||||
|
||||
std::string CreateCdnSubTaskRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void CreateCdnSubTaskRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setBodyParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
62
cdn/src/model/DescribeCdnDeletedDomainsRequest.cc
Normal file
62
cdn/src/model/DescribeCdnDeletedDomainsRequest.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/cdn/model/DescribeCdnDeletedDomainsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeCdnDeletedDomainsRequest;
|
||||
|
||||
DescribeCdnDeletedDomainsRequest::DescribeCdnDeletedDomainsRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeCdnDeletedDomains")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeCdnDeletedDomainsRequest::~DescribeCdnDeletedDomainsRequest()
|
||||
{}
|
||||
|
||||
int DescribeCdnDeletedDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void DescribeCdnDeletedDomainsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
int DescribeCdnDeletedDomainsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void DescribeCdnDeletedDomainsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
long DescribeCdnDeletedDomainsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeCdnDeletedDomainsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
80
cdn/src/model/DescribeCdnDeletedDomainsResult.cc
Normal file
80
cdn/src/model/DescribeCdnDeletedDomainsResult.cc
Normal file
@@ -0,0 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/cdn/model/DescribeCdnDeletedDomainsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeCdnDeletedDomainsResult::DescribeCdnDeletedDomainsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeCdnDeletedDomainsResult::DescribeCdnDeletedDomainsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeCdnDeletedDomainsResult::~DescribeCdnDeletedDomainsResult()
|
||||
{}
|
||||
|
||||
void DescribeCdnDeletedDomainsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDomainsNode = value["Domains"]["PageData"];
|
||||
for (auto valueDomainsPageData : allDomainsNode)
|
||||
{
|
||||
PageData domainsObject;
|
||||
if(!valueDomainsPageData["DomainName"].isNull())
|
||||
domainsObject.domainName = valueDomainsPageData["DomainName"].asString();
|
||||
if(!valueDomainsPageData["GmtModified"].isNull())
|
||||
domainsObject.gmtModified = valueDomainsPageData["GmtModified"].asString();
|
||||
domains_.push_back(domainsObject);
|
||||
}
|
||||
if(!value["PageNumber"].isNull())
|
||||
pageNumber_ = std::stol(value["PageNumber"].asString());
|
||||
if(!value["PageSize"].isNull())
|
||||
pageSize_ = std::stol(value["PageSize"].asString());
|
||||
if(!value["TotalCount"].isNull())
|
||||
totalCount_ = std::stol(value["TotalCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::vector<DescribeCdnDeletedDomainsResult::PageData> DescribeCdnDeletedDomainsResult::getDomains()const
|
||||
{
|
||||
return domains_;
|
||||
}
|
||||
|
||||
long DescribeCdnDeletedDomainsResult::getTotalCount()const
|
||||
{
|
||||
return totalCount_;
|
||||
}
|
||||
|
||||
long DescribeCdnDeletedDomainsResult::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
long DescribeCdnDeletedDomainsResult::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
@@ -49,14 +49,3 @@ void DescribeCdnDeliverListRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnDeliverListRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeCdnDeliverListRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -38,6 +38,17 @@ void DescribeCdnDomainConfigsRequest::setFunctionNames(const std::string& functi
|
||||
setParameter("FunctionNames", functionNames);
|
||||
}
|
||||
|
||||
std::string DescribeCdnDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeCdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DescribeCdnDomainConfigsRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
@@ -60,14 +71,14 @@ void DescribeCdnDomainConfigsRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnDomainConfigsRequest::getSecurityToken()const
|
||||
std::string DescribeCdnDomainConfigsRequest::getConfigId()const
|
||||
{
|
||||
return securityToken_;
|
||||
return configId_;
|
||||
}
|
||||
|
||||
void DescribeCdnDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
void DescribeCdnDomainConfigsRequest::setConfigId(const std::string& configId)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
configId_ = configId;
|
||||
setParameter("ConfigId", configId);
|
||||
}
|
||||
|
||||
|
||||
@@ -47,18 +47,6 @@ void DescribeCdnDomainLogsResult::parse(const std::string &payload)
|
||||
domainLogDetailsObject.domainName = valueDomainLogDetailsDomainLogDetail["DomainName"].asString();
|
||||
if(!valueDomainLogDetailsDomainLogDetail["LogCount"].isNull())
|
||||
domainLogDetailsObject.logCount = std::stol(valueDomainLogDetailsDomainLogDetail["LogCount"].asString());
|
||||
auto allPageInfosNode = valueDomainLogDetailsDomainLogDetail["PageInfos"]["PageInfoDetail"];
|
||||
for (auto valueDomainLogDetailsDomainLogDetailPageInfosPageInfoDetail : allPageInfosNode)
|
||||
{
|
||||
DomainLogDetail::PageInfoDetail pageInfosObject;
|
||||
if(!valueDomainLogDetailsDomainLogDetailPageInfosPageInfoDetail["PageIndex"].isNull())
|
||||
pageInfosObject.pageIndex = std::stol(valueDomainLogDetailsDomainLogDetailPageInfosPageInfoDetail["PageIndex"].asString());
|
||||
if(!valueDomainLogDetailsDomainLogDetailPageInfosPageInfoDetail["PageSize"].isNull())
|
||||
pageInfosObject.pageSize = std::stol(valueDomainLogDetailsDomainLogDetailPageInfosPageInfoDetail["PageSize"].asString());
|
||||
if(!valueDomainLogDetailsDomainLogDetailPageInfosPageInfoDetail["Total"].isNull())
|
||||
pageInfosObject.total = std::stol(valueDomainLogDetailsDomainLogDetailPageInfosPageInfoDetail["Total"].asString());
|
||||
domainLogDetailsObject.pageInfos.push_back(pageInfosObject);
|
||||
}
|
||||
auto allLogInfosNode = valueDomainLogDetailsDomainLogDetail["LogInfos"]["LogInfoDetail"];
|
||||
for (auto valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail : allLogInfosNode)
|
||||
{
|
||||
@@ -75,6 +63,13 @@ void DescribeCdnDomainLogsResult::parse(const std::string &payload)
|
||||
logInfosObject.endTime = valueDomainLogDetailsDomainLogDetailLogInfosLogInfoDetail["EndTime"].asString();
|
||||
domainLogDetailsObject.logInfos.push_back(logInfosObject);
|
||||
}
|
||||
auto pageInfosNode = value["PageInfos"];
|
||||
if(!pageInfosNode["PageIndex"].isNull())
|
||||
domainLogDetailsObject.pageInfos.pageIndex = std::stol(pageInfosNode["PageIndex"].asString());
|
||||
if(!pageInfosNode["PageSize"].isNull())
|
||||
domainLogDetailsObject.pageInfos.pageSize = std::stol(pageInfosNode["PageSize"].asString());
|
||||
if(!pageInfosNode["Total"].isNull())
|
||||
domainLogDetailsObject.pageInfos.total = std::stol(pageInfosNode["Total"].asString());
|
||||
domainLogDetails_.push_back(domainLogDetailsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -38,17 +38,6 @@ void DescribeCdnReportListRequest::setReportId(long reportId)
|
||||
setParameter("ReportId", std::to_string(reportId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportListRequest::getPermission()const
|
||||
{
|
||||
return permission_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportListRequest::setPermission(const std::string& permission)
|
||||
{
|
||||
permission_ = permission;
|
||||
setParameter("Permission", permission);
|
||||
}
|
||||
|
||||
long DescribeCdnReportListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
@@ -60,14 +49,3 @@ void DescribeCdnReportListRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnReportListRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeCdnReportListRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -38,14 +38,3 @@ void DescribeCdnSubListRequest::setOwnerId(long ownerId)
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeCdnSubListRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void DescribeCdnSubListRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,8 +61,6 @@ void DescribeCdnUserDomainsByFuncResult::parse(const std::string &payload)
|
||||
domainsObject.sslProtocol = valueDomainsPageData["SslProtocol"].asString();
|
||||
if(!valueDomainsPageData["ResourceGroupId"].isNull())
|
||||
domainsObject.resourceGroupId = valueDomainsPageData["ResourceGroupId"].asString();
|
||||
if(!valueDomainsPageData["Sandbox"].isNull())
|
||||
domainsObject.sandbox = valueDomainsPageData["Sandbox"].asString();
|
||||
auto allSourcesNode = valueDomainsPageData["Sources"]["Source"];
|
||||
for (auto valueDomainsPageDataSourcesSource : allSourcesNode)
|
||||
{
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeCdnWafDomainRequest::DescribeCdnWafDomainRequest() :
|
||||
DescribeCdnWafDomainRequest::~DescribeCdnWafDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeCdnWafDomainRequest::getResourceGroupId()const
|
||||
{
|
||||
return resourceGroupId_;
|
||||
}
|
||||
|
||||
void DescribeCdnWafDomainRequest::setResourceGroupId(const std::string& resourceGroupId)
|
||||
{
|
||||
resourceGroupId_ = resourceGroupId;
|
||||
setParameter("ResourceGroupId", resourceGroupId);
|
||||
}
|
||||
|
||||
std::string DescribeCdnWafDomainRequest::getRegionId()const
|
||||
{
|
||||
return regionId_;
|
||||
|
||||
73
cdn/src/model/DescribeDomainMultiUsageDataRequest.cc
Normal file
73
cdn/src/model/DescribeDomainMultiUsageDataRequest.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/cdn/model/DescribeDomainMultiUsageDataRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeDomainMultiUsageDataRequest;
|
||||
|
||||
DescribeDomainMultiUsageDataRequest::DescribeDomainMultiUsageDataRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeDomainMultiUsageData")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeDomainMultiUsageDataRequest::~DescribeDomainMultiUsageDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainMultiUsageDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void DescribeDomainMultiUsageDataRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDomainMultiUsageDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DescribeDomainMultiUsageDataRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
std::string DescribeDomainMultiUsageDataRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void DescribeDomainMultiUsageDataRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
}
|
||||
|
||||
long DescribeDomainMultiUsageDataRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeDomainMultiUsageDataRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
98
cdn/src/model/DescribeDomainMultiUsageDataResult.cc
Normal file
98
cdn/src/model/DescribeDomainMultiUsageDataResult.cc
Normal file
@@ -0,0 +1,98 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeDomainMultiUsageDataResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
DescribeDomainMultiUsageDataResult::DescribeDomainMultiUsageDataResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeDomainMultiUsageDataResult::DescribeDomainMultiUsageDataResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeDomainMultiUsageDataResult::~DescribeDomainMultiUsageDataResult()
|
||||
{}
|
||||
|
||||
void DescribeDomainMultiUsageDataResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allRequestPerIntervalNode = value["RequestPerInterval"]["RequestDataModule"];
|
||||
for (auto valueRequestPerIntervalRequestDataModule : allRequestPerIntervalNode)
|
||||
{
|
||||
RequestDataModule requestPerIntervalObject;
|
||||
if(!valueRequestPerIntervalRequestDataModule["TimeStamp"].isNull())
|
||||
requestPerIntervalObject.timeStamp = valueRequestPerIntervalRequestDataModule["TimeStamp"].asString();
|
||||
if(!valueRequestPerIntervalRequestDataModule["Domain"].isNull())
|
||||
requestPerIntervalObject.domain = valueRequestPerIntervalRequestDataModule["Domain"].asString();
|
||||
if(!valueRequestPerIntervalRequestDataModule["Request"].isNull())
|
||||
requestPerIntervalObject.request = std::stol(valueRequestPerIntervalRequestDataModule["Request"].asString());
|
||||
if(!valueRequestPerIntervalRequestDataModule["Type"].isNull())
|
||||
requestPerIntervalObject.type = valueRequestPerIntervalRequestDataModule["Type"].asString();
|
||||
requestPerInterval_.push_back(requestPerIntervalObject);
|
||||
}
|
||||
auto allTrafficPerIntervalNode = value["TrafficPerInterval"]["TrafficDataModule"];
|
||||
for (auto valueTrafficPerIntervalTrafficDataModule : allTrafficPerIntervalNode)
|
||||
{
|
||||
TrafficDataModule trafficPerIntervalObject;
|
||||
if(!valueTrafficPerIntervalTrafficDataModule["TimeStamp"].isNull())
|
||||
trafficPerIntervalObject.timeStamp = valueTrafficPerIntervalTrafficDataModule["TimeStamp"].asString();
|
||||
if(!valueTrafficPerIntervalTrafficDataModule["Domain"].isNull())
|
||||
trafficPerIntervalObject.domain = valueTrafficPerIntervalTrafficDataModule["Domain"].asString();
|
||||
if(!valueTrafficPerIntervalTrafficDataModule["Bps"].isNull())
|
||||
trafficPerIntervalObject.bps = std::stof(valueTrafficPerIntervalTrafficDataModule["Bps"].asString());
|
||||
if(!valueTrafficPerIntervalTrafficDataModule["Type"].isNull())
|
||||
trafficPerIntervalObject.type = valueTrafficPerIntervalTrafficDataModule["Type"].asString();
|
||||
if(!valueTrafficPerIntervalTrafficDataModule["Area"].isNull())
|
||||
trafficPerIntervalObject.area = valueTrafficPerIntervalTrafficDataModule["Area"].asString();
|
||||
trafficPerInterval_.push_back(trafficPerIntervalObject);
|
||||
}
|
||||
if(!value["StartTime"].isNull())
|
||||
startTime_ = value["StartTime"].asString();
|
||||
if(!value["EndTime"].isNull())
|
||||
endTime_ = value["EndTime"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string DescribeDomainMultiUsageDataResult::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
std::string DescribeDomainMultiUsageDataResult::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDomainMultiUsageDataResult::RequestDataModule> DescribeDomainMultiUsageDataResult::getRequestPerInterval()const
|
||||
{
|
||||
return requestPerInterval_;
|
||||
}
|
||||
|
||||
std::vector<DescribeDomainMultiUsageDataResult::TrafficDataModule> DescribeDomainMultiUsageDataResult::getTrafficPerInterval()const
|
||||
{
|
||||
return trafficPerInterval_;
|
||||
}
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeDomainRealTimeTrafficDataRequest::DescribeDomainRealTimeTrafficDataReque
|
||||
DescribeDomainRealTimeTrafficDataRequest::~DescribeDomainRealTimeTrafficDataRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeDomainRealTimeTrafficDataRequest::getLocationNameEn()const
|
||||
{
|
||||
return locationNameEn_;
|
||||
}
|
||||
|
||||
void DescribeDomainRealTimeTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn)
|
||||
{
|
||||
locationNameEn_ = locationNameEn;
|
||||
setParameter("LocationNameEn", locationNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeDomainRealTimeTrafficDataRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
@@ -38,6 +49,17 @@ void DescribeDomainRealTimeTrafficDataRequest::setStartTime(const std::string& s
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDomainRealTimeTrafficDataRequest::getIspNameEn()const
|
||||
{
|
||||
return ispNameEn_;
|
||||
}
|
||||
|
||||
void DescribeDomainRealTimeTrafficDataRequest::setIspNameEn(const std::string& ispNameEn)
|
||||
{
|
||||
ispNameEn_ = ispNameEn;
|
||||
setParameter("IspNameEn", ispNameEn);
|
||||
}
|
||||
|
||||
std::string DescribeDomainRealTimeTrafficDataRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
|
||||
@@ -38,6 +38,17 @@ void DescribeDomainUsageDataRequest::setStartTime(const std::string& startTime)
|
||||
setParameter("StartTime", startTime);
|
||||
}
|
||||
|
||||
std::string DescribeDomainUsageDataRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void DescribeDomainUsageDataRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string DescribeDomainUsageDataRequest::getDataProtocol()const
|
||||
{
|
||||
return dataProtocol_;
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/cdn/model/DescribeUserCustomerLabelsRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeUserCustomerLabelsRequest;
|
||||
|
||||
DescribeUserCustomerLabelsRequest::DescribeUserCustomerLabelsRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DescribeUserCustomerLabels")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeUserCustomerLabelsRequest::~DescribeUserCustomerLabelsRequest()
|
||||
{}
|
||||
|
||||
long DescribeUserCustomerLabelsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeUserCustomerLabelsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeUserCustomerLabelsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void DescribeUserCustomerLabelsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
long DescribeUserCustomerLabelsRequest::getUid()const
|
||||
{
|
||||
return uid_;
|
||||
}
|
||||
|
||||
void DescribeUserCustomerLabelsRequest::setUid(long uid)
|
||||
{
|
||||
uid_ = uid;
|
||||
setParameter("Uid", std::to_string(uid));
|
||||
}
|
||||
|
||||
std::string DescribeUserCustomerLabelsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DescribeUserCustomerLabelsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -27,6 +27,17 @@ DescribeUserDomainsRequest::DescribeUserDomainsRequest() :
|
||||
DescribeUserDomainsRequest::~DescribeUserDomainsRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeUserDomainsRequest::getSource()const
|
||||
{
|
||||
return source_;
|
||||
}
|
||||
|
||||
void DescribeUserDomainsRequest::setSource(const std::string& source)
|
||||
{
|
||||
source_ = source;
|
||||
setParameter("Source", source);
|
||||
}
|
||||
|
||||
int DescribeUserDomainsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
|
||||
@@ -1,62 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/cdn/model/SetDomainGreenManagerConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::SetDomainGreenManagerConfigRequest;
|
||||
|
||||
SetDomainGreenManagerConfigRequest::SetDomainGreenManagerConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "SetDomainGreenManagerConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetDomainGreenManagerConfigRequest::~SetDomainGreenManagerConfigRequest()
|
||||
{}
|
||||
|
||||
std::string SetDomainGreenManagerConfigRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void SetDomainGreenManagerConfigRequest::setEnable(const std::string& enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setParameter("Enable", enable);
|
||||
}
|
||||
|
||||
std::string SetDomainGreenManagerConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void SetDomainGreenManagerConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long SetDomainGreenManagerConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SetDomainGreenManagerConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
73
cdn/src/model/SetUserGreenManagerConfigRequest.cc
Normal file
73
cdn/src/model/SetUserGreenManagerConfigRequest.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/cdn/model/SetUserGreenManagerConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::SetUserGreenManagerConfigRequest;
|
||||
|
||||
SetUserGreenManagerConfigRequest::SetUserGreenManagerConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "SetUserGreenManagerConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SetUserGreenManagerConfigRequest::~SetUserGreenManagerConfigRequest()
|
||||
{}
|
||||
|
||||
long SetUserGreenManagerConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SetUserGreenManagerConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SetUserGreenManagerConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void SetUserGreenManagerConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string SetUserGreenManagerConfigRequest::getQuota()const
|
||||
{
|
||||
return quota_;
|
||||
}
|
||||
|
||||
void SetUserGreenManagerConfigRequest::setQuota(const std::string& quota)
|
||||
{
|
||||
quota_ = quota;
|
||||
setParameter("Quota", quota);
|
||||
}
|
||||
|
||||
std::string SetUserGreenManagerConfigRequest::getRatio()const
|
||||
{
|
||||
return ratio_;
|
||||
}
|
||||
|
||||
void SetUserGreenManagerConfigRequest::setRatio(const std::string& ratio)
|
||||
{
|
||||
ratio_ = ratio;
|
||||
setParameter("Ratio", ratio);
|
||||
}
|
||||
|
||||
@@ -14,26 +14,26 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/emr/model/KillExecutionJobInstanceResult.h>
|
||||
#include <alibabacloud/cdn/model/SetUserGreenManagerConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Emr;
|
||||
using namespace AlibabaCloud::Emr::Model;
|
||||
using namespace AlibabaCloud::Cdn;
|
||||
using namespace AlibabaCloud::Cdn::Model;
|
||||
|
||||
KillExecutionJobInstanceResult::KillExecutionJobInstanceResult() :
|
||||
SetUserGreenManagerConfigResult::SetUserGreenManagerConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
KillExecutionJobInstanceResult::KillExecutionJobInstanceResult(const std::string &payload) :
|
||||
SetUserGreenManagerConfigResult::SetUserGreenManagerConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
KillExecutionJobInstanceResult::~KillExecutionJobInstanceResult()
|
||||
SetUserGreenManagerConfigResult::~SetUserGreenManagerConfigResult()
|
||||
{}
|
||||
|
||||
void KillExecutionJobInstanceResult::parse(const std::string &payload)
|
||||
void SetUserGreenManagerConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
@@ -104,14 +104,3 @@ void UpdateCdnDeliverTaskRequest::setName(const std::string& name)
|
||||
setBodyParameter("Name", name);
|
||||
}
|
||||
|
||||
std::string UpdateCdnDeliverTaskRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void UpdateCdnDeliverTaskRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setBodyParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
@@ -82,14 +82,3 @@ void UpdateCdnSubTaskRequest::setReportIds(const std::string& reportIds)
|
||||
setBodyParameter("ReportIds", reportIds);
|
||||
}
|
||||
|
||||
std::string UpdateCdnSubTaskRequest::getStatus()const
|
||||
{
|
||||
return status_;
|
||||
}
|
||||
|
||||
void UpdateCdnSubTaskRequest::setStatus(const std::string& status)
|
||||
{
|
||||
status_ = status;
|
||||
setBodyParameter("Status", status);
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user