Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e53482d9c6 | ||
|
|
b004f4b9fa | ||
|
|
c9cf723562 | ||
|
|
b1020d412c | ||
|
|
c4d6cb06f1 |
20
CHANGELOG
20
CHANGELOG
@@ -1,3 +1,23 @@
|
||||
2020-04-16 Version: 1.36.362
|
||||
- Modify `SubmitSmarttagJob`.
|
||||
|
||||
2020-04-16 Version: 1.36.361
|
||||
- Add ModifyWhiteIps.
|
||||
|
||||
2020-04-16 Version: 1.36.360
|
||||
- Add BatchOptimization param in Stop and Start Instances.
|
||||
- Add RemoveSymbols in GetInstanceConsoleOutput.
|
||||
- Add ImageFamily in ModifyImageAttribute.
|
||||
- Customize InstanceType on DedicatedHosts is supported.
|
||||
- Add StorageCapacityUnit interfaces.
|
||||
- Add param Tag in CreateAutoSnapshotPolicy.
|
||||
|
||||
2020-04-16 Version: 1.36.359
|
||||
- Add features for open api.
|
||||
|
||||
2020-04-15 Version: 1.36.358
|
||||
- Add pre train service api.
|
||||
|
||||
2020-04-15 Version: 1.36.357
|
||||
- CreateNode API add return NodeId.
|
||||
|
||||
|
||||
@@ -25,8 +25,6 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/AddAgentDeviceResult.h
|
||||
include/alibabacloud/ccc/model/AddBulkPhoneNumbersRequest.h
|
||||
include/alibabacloud/ccc/model/AddBulkPhoneNumbersResult.h
|
||||
include/alibabacloud/ccc/model/AddNumberToSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/AddNumberToSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/AddPhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/AddPhoneTagsRequest.h
|
||||
@@ -39,16 +37,12 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/CallOnlinePrivacyNumberResult.h
|
||||
include/alibabacloud/ccc/model/CancelJobsRequest.h
|
||||
include/alibabacloud/ccc/model/CancelJobsResult.h
|
||||
include/alibabacloud/ccc/model/CancelPredictiveJobsRequest.h
|
||||
include/alibabacloud/ccc/model/CancelPredictiveJobsResult.h
|
||||
include/alibabacloud/ccc/model/CheckNumberAvaliableRequest.h
|
||||
include/alibabacloud/ccc/model/CheckNumberAvaliableResult.h
|
||||
include/alibabacloud/ccc/model/CommitContactFlowVersionModificationRequest.h
|
||||
include/alibabacloud/ccc/model/CommitContactFlowVersionModificationResult.h
|
||||
include/alibabacloud/ccc/model/CreateBatchJobsRequest.h
|
||||
include/alibabacloud/ccc/model/CreateBatchJobsResult.h
|
||||
include/alibabacloud/ccc/model/CreateCCCPostOrderRequest.h
|
||||
include/alibabacloud/ccc/model/CreateCCCPostOrderResult.h
|
||||
include/alibabacloud/ccc/model/CreateCabInstanceRequest.h
|
||||
include/alibabacloud/ccc/model/CreateCabInstanceResult.h
|
||||
include/alibabacloud/ccc/model/CreateContactFlowRequest.h
|
||||
@@ -61,10 +55,6 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/CreateJobGroupResult.h
|
||||
include/alibabacloud/ccc/model/CreateMediaRequest.h
|
||||
include/alibabacloud/ccc/model/CreateMediaResult.h
|
||||
include/alibabacloud/ccc/model/CreatePredictiveJobGroupRequest.h
|
||||
include/alibabacloud/ccc/model/CreatePredictiveJobGroupResult.h
|
||||
include/alibabacloud/ccc/model/CreatePredictiveJobsRequest.h
|
||||
include/alibabacloud/ccc/model/CreatePredictiveJobsResult.h
|
||||
include/alibabacloud/ccc/model/CreateScenarioRequest.h
|
||||
include/alibabacloud/ccc/model/CreateScenarioResult.h
|
||||
include/alibabacloud/ccc/model/CreateScenarioFromTemplateRequest.h
|
||||
@@ -109,16 +99,10 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/GenerateAgentStatisticReportResult.h
|
||||
include/alibabacloud/ccc/model/GetAgentDataRequest.h
|
||||
include/alibabacloud/ccc/model/GetAgentDataResult.h
|
||||
include/alibabacloud/ccc/model/GetAgentStateRequest.h
|
||||
include/alibabacloud/ccc/model/GetAgentStateResult.h
|
||||
include/alibabacloud/ccc/model/GetCallMeasureSummaryReportRequest.h
|
||||
include/alibabacloud/ccc/model/GetCallMeasureSummaryReportResult.h
|
||||
include/alibabacloud/ccc/model/GetConfigRequest.h
|
||||
include/alibabacloud/ccc/model/GetConfigResult.h
|
||||
include/alibabacloud/ccc/model/GetContactIdentifyByOutBoundTaskIdRequest.h
|
||||
include/alibabacloud/ccc/model/GetContactIdentifyByOutBoundTaskIdResult.h
|
||||
include/alibabacloud/ccc/model/GetContactInfoByOutboundTaskIdRequest.h
|
||||
include/alibabacloud/ccc/model/GetContactInfoByOutboundTaskIdResult.h
|
||||
include/alibabacloud/ccc/model/GetConversationDetailByContactIdRequest.h
|
||||
include/alibabacloud/ccc/model/GetConversationDetailByContactIdResult.h
|
||||
include/alibabacloud/ccc/model/GetConversationListRequest.h
|
||||
@@ -137,8 +121,6 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/GetJobResult.h
|
||||
include/alibabacloud/ccc/model/GetJobDataUploadParamsRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobDataUploadParamsResult.h
|
||||
include/alibabacloud/ccc/model/GetJobFileUploadUrlRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobFileUploadUrlResult.h
|
||||
include/alibabacloud/ccc/model/GetJobGroupRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobGroupResult.h
|
||||
include/alibabacloud/ccc/model/GetJobListRequest.h
|
||||
@@ -147,12 +129,8 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/GetJobStatusByCallIdResult.h
|
||||
include/alibabacloud/ccc/model/GetJobTemplateDownloadParamsRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobTemplateDownloadParamsResult.h
|
||||
include/alibabacloud/ccc/model/GetJobsProgressRequest.h
|
||||
include/alibabacloud/ccc/model/GetJobsProgressResult.h
|
||||
include/alibabacloud/ccc/model/GetNumberRegionInfoRequest.h
|
||||
include/alibabacloud/ccc/model/GetNumberRegionInfoResult.h
|
||||
include/alibabacloud/ccc/model/GetPredictiveJobRequest.h
|
||||
include/alibabacloud/ccc/model/GetPredictiveJobResult.h
|
||||
include/alibabacloud/ccc/model/GetRecordOssUploadParamRequest.h
|
||||
include/alibabacloud/ccc/model/GetRecordOssUploadParamResult.h
|
||||
include/alibabacloud/ccc/model/GetRoutePointRequest.h
|
||||
@@ -221,14 +199,6 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ListPhoneNumbersResult.h
|
||||
include/alibabacloud/ccc/model/ListPhoneTagsRequest.h
|
||||
include/alibabacloud/ccc/model/ListPhoneTagsResult.h
|
||||
include/alibabacloud/ccc/model/ListPredictiveJobGroupsRequest.h
|
||||
include/alibabacloud/ccc/model/ListPredictiveJobGroupsResult.h
|
||||
include/alibabacloud/ccc/model/ListPredictiveJobStatusRequest.h
|
||||
include/alibabacloud/ccc/model/ListPredictiveJobStatusResult.h
|
||||
include/alibabacloud/ccc/model/ListPrivacyNumberCallDetailsRequest.h
|
||||
include/alibabacloud/ccc/model/ListPrivacyNumberCallDetailsResult.h
|
||||
include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h
|
||||
include/alibabacloud/ccc/model/ListPrivilegesOfUserResult.h
|
||||
include/alibabacloud/ccc/model/ListRealTimeAgentRequest.h
|
||||
include/alibabacloud/ccc/model/ListRealTimeAgentResult.h
|
||||
include/alibabacloud/ccc/model/ListRecentCallRecordsRequest.h
|
||||
@@ -271,10 +241,6 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/ModifyAgentDeviceResult.h
|
||||
include/alibabacloud/ccc/model/ModifyCabInstanceRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyCabInstanceResult.h
|
||||
include/alibabacloud/ccc/model/ModifyMediaRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyMediaResult.h
|
||||
include/alibabacloud/ccc/model/ModifyNotificationConfigRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyNotificationConfigResult.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/ModifyPhoneTagsRequest.h
|
||||
@@ -299,28 +265,12 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/PickLocalNumberResult.h
|
||||
include/alibabacloud/ccc/model/PickOutboundNumbersRequest.h
|
||||
include/alibabacloud/ccc/model/PickOutboundNumbersResult.h
|
||||
include/alibabacloud/ccc/model/PickOutboundNumbersByTagsRequest.h
|
||||
include/alibabacloud/ccc/model/PickOutboundNumbersByTagsResult.h
|
||||
include/alibabacloud/ccc/model/PreCreateMediaRequest.h
|
||||
include/alibabacloud/ccc/model/PreCreateMediaResult.h
|
||||
include/alibabacloud/ccc/model/PreModifyMediaRequest.h
|
||||
include/alibabacloud/ccc/model/PreModifyMediaResult.h
|
||||
include/alibabacloud/ccc/model/PredictiveRecordFailureRequest.h
|
||||
include/alibabacloud/ccc/model/PredictiveRecordFailureResult.h
|
||||
include/alibabacloud/ccc/model/PredictiveRecordSuccessRequest.h
|
||||
include/alibabacloud/ccc/model/PredictiveRecordSuccessResult.h
|
||||
include/alibabacloud/ccc/model/PublishContactFlowVersionRequest.h
|
||||
include/alibabacloud/ccc/model/PublishContactFlowVersionResult.h
|
||||
include/alibabacloud/ccc/model/PublishPredictiveJobGroupRequest.h
|
||||
include/alibabacloud/ccc/model/PublishPredictiveJobGroupResult.h
|
||||
include/alibabacloud/ccc/model/PublishSurveyRequest.h
|
||||
include/alibabacloud/ccc/model/PublishSurveyResult.h
|
||||
include/alibabacloud/ccc/model/QueryRedialIndicatorRequest.h
|
||||
include/alibabacloud/ccc/model/QueryRedialIndicatorResult.h
|
||||
include/alibabacloud/ccc/model/RefreshTokenRequest.h
|
||||
include/alibabacloud/ccc/model/RefreshTokenResult.h
|
||||
include/alibabacloud/ccc/model/RemoveNumberFromSkillGroupRequest.h
|
||||
include/alibabacloud/ccc/model/RemoveNumberFromSkillGroupResult.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumberRequest.h
|
||||
include/alibabacloud/ccc/model/RemovePhoneNumberResult.h
|
||||
include/alibabacloud/ccc/model/RemoveUsersRequest.h
|
||||
@@ -339,8 +289,6 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/SaveWebRTCStatsResult.h
|
||||
include/alibabacloud/ccc/model/SendPredefinedShortMessageRequest.h
|
||||
include/alibabacloud/ccc/model/SendPredefinedShortMessageResult.h
|
||||
include/alibabacloud/ccc/model/SimpleDialRequest.h
|
||||
include/alibabacloud/ccc/model/SimpleDialResult.h
|
||||
include/alibabacloud/ccc/model/StartBack2BackCallRequest.h
|
||||
include/alibabacloud/ccc/model/StartBack2BackCallResult.h
|
||||
include/alibabacloud/ccc/model/StartJobRequest.h
|
||||
@@ -352,9 +300,7 @@ set(ccc_public_header_model
|
||||
include/alibabacloud/ccc/model/SuspendJobsRequest.h
|
||||
include/alibabacloud/ccc/model/SuspendJobsResult.h
|
||||
include/alibabacloud/ccc/model/TaskPreparingRequest.h
|
||||
include/alibabacloud/ccc/model/TaskPreparingResult.h
|
||||
include/alibabacloud/ccc/model/TwoPartiesCallRequest.h
|
||||
include/alibabacloud/ccc/model/TwoPartiesCallResult.h )
|
||||
include/alibabacloud/ccc/model/TaskPreparingResult.h )
|
||||
|
||||
set(ccc_src
|
||||
src/CCCClient.cc
|
||||
@@ -362,8 +308,6 @@ set(ccc_src
|
||||
src/model/AddAgentDeviceResult.cc
|
||||
src/model/AddBulkPhoneNumbersRequest.cc
|
||||
src/model/AddBulkPhoneNumbersResult.cc
|
||||
src/model/AddNumberToSkillGroupRequest.cc
|
||||
src/model/AddNumberToSkillGroupResult.cc
|
||||
src/model/AddPhoneNumberRequest.cc
|
||||
src/model/AddPhoneNumberResult.cc
|
||||
src/model/AddPhoneTagsRequest.cc
|
||||
@@ -376,16 +320,12 @@ set(ccc_src
|
||||
src/model/CallOnlinePrivacyNumberResult.cc
|
||||
src/model/CancelJobsRequest.cc
|
||||
src/model/CancelJobsResult.cc
|
||||
src/model/CancelPredictiveJobsRequest.cc
|
||||
src/model/CancelPredictiveJobsResult.cc
|
||||
src/model/CheckNumberAvaliableRequest.cc
|
||||
src/model/CheckNumberAvaliableResult.cc
|
||||
src/model/CommitContactFlowVersionModificationRequest.cc
|
||||
src/model/CommitContactFlowVersionModificationResult.cc
|
||||
src/model/CreateBatchJobsRequest.cc
|
||||
src/model/CreateBatchJobsResult.cc
|
||||
src/model/CreateCCCPostOrderRequest.cc
|
||||
src/model/CreateCCCPostOrderResult.cc
|
||||
src/model/CreateCabInstanceRequest.cc
|
||||
src/model/CreateCabInstanceResult.cc
|
||||
src/model/CreateContactFlowRequest.cc
|
||||
@@ -398,10 +338,6 @@ set(ccc_src
|
||||
src/model/CreateJobGroupResult.cc
|
||||
src/model/CreateMediaRequest.cc
|
||||
src/model/CreateMediaResult.cc
|
||||
src/model/CreatePredictiveJobGroupRequest.cc
|
||||
src/model/CreatePredictiveJobGroupResult.cc
|
||||
src/model/CreatePredictiveJobsRequest.cc
|
||||
src/model/CreatePredictiveJobsResult.cc
|
||||
src/model/CreateScenarioRequest.cc
|
||||
src/model/CreateScenarioResult.cc
|
||||
src/model/CreateScenarioFromTemplateRequest.cc
|
||||
@@ -446,16 +382,10 @@ set(ccc_src
|
||||
src/model/GenerateAgentStatisticReportResult.cc
|
||||
src/model/GetAgentDataRequest.cc
|
||||
src/model/GetAgentDataResult.cc
|
||||
src/model/GetAgentStateRequest.cc
|
||||
src/model/GetAgentStateResult.cc
|
||||
src/model/GetCallMeasureSummaryReportRequest.cc
|
||||
src/model/GetCallMeasureSummaryReportResult.cc
|
||||
src/model/GetConfigRequest.cc
|
||||
src/model/GetConfigResult.cc
|
||||
src/model/GetContactIdentifyByOutBoundTaskIdRequest.cc
|
||||
src/model/GetContactIdentifyByOutBoundTaskIdResult.cc
|
||||
src/model/GetContactInfoByOutboundTaskIdRequest.cc
|
||||
src/model/GetContactInfoByOutboundTaskIdResult.cc
|
||||
src/model/GetConversationDetailByContactIdRequest.cc
|
||||
src/model/GetConversationDetailByContactIdResult.cc
|
||||
src/model/GetConversationListRequest.cc
|
||||
@@ -474,8 +404,6 @@ set(ccc_src
|
||||
src/model/GetJobResult.cc
|
||||
src/model/GetJobDataUploadParamsRequest.cc
|
||||
src/model/GetJobDataUploadParamsResult.cc
|
||||
src/model/GetJobFileUploadUrlRequest.cc
|
||||
src/model/GetJobFileUploadUrlResult.cc
|
||||
src/model/GetJobGroupRequest.cc
|
||||
src/model/GetJobGroupResult.cc
|
||||
src/model/GetJobListRequest.cc
|
||||
@@ -484,12 +412,8 @@ set(ccc_src
|
||||
src/model/GetJobStatusByCallIdResult.cc
|
||||
src/model/GetJobTemplateDownloadParamsRequest.cc
|
||||
src/model/GetJobTemplateDownloadParamsResult.cc
|
||||
src/model/GetJobsProgressRequest.cc
|
||||
src/model/GetJobsProgressResult.cc
|
||||
src/model/GetNumberRegionInfoRequest.cc
|
||||
src/model/GetNumberRegionInfoResult.cc
|
||||
src/model/GetPredictiveJobRequest.cc
|
||||
src/model/GetPredictiveJobResult.cc
|
||||
src/model/GetRecordOssUploadParamRequest.cc
|
||||
src/model/GetRecordOssUploadParamResult.cc
|
||||
src/model/GetRoutePointRequest.cc
|
||||
@@ -558,14 +482,6 @@ set(ccc_src
|
||||
src/model/ListPhoneNumbersResult.cc
|
||||
src/model/ListPhoneTagsRequest.cc
|
||||
src/model/ListPhoneTagsResult.cc
|
||||
src/model/ListPredictiveJobGroupsRequest.cc
|
||||
src/model/ListPredictiveJobGroupsResult.cc
|
||||
src/model/ListPredictiveJobStatusRequest.cc
|
||||
src/model/ListPredictiveJobStatusResult.cc
|
||||
src/model/ListPrivacyNumberCallDetailsRequest.cc
|
||||
src/model/ListPrivacyNumberCallDetailsResult.cc
|
||||
src/model/ListPrivilegesOfUserRequest.cc
|
||||
src/model/ListPrivilegesOfUserResult.cc
|
||||
src/model/ListRealTimeAgentRequest.cc
|
||||
src/model/ListRealTimeAgentResult.cc
|
||||
src/model/ListRecentCallRecordsRequest.cc
|
||||
@@ -608,10 +524,6 @@ set(ccc_src
|
||||
src/model/ModifyAgentDeviceResult.cc
|
||||
src/model/ModifyCabInstanceRequest.cc
|
||||
src/model/ModifyCabInstanceResult.cc
|
||||
src/model/ModifyMediaRequest.cc
|
||||
src/model/ModifyMediaResult.cc
|
||||
src/model/ModifyNotificationConfigRequest.cc
|
||||
src/model/ModifyNotificationConfigResult.cc
|
||||
src/model/ModifyPhoneNumberRequest.cc
|
||||
src/model/ModifyPhoneNumberResult.cc
|
||||
src/model/ModifyPhoneTagsRequest.cc
|
||||
@@ -636,28 +548,12 @@ set(ccc_src
|
||||
src/model/PickLocalNumberResult.cc
|
||||
src/model/PickOutboundNumbersRequest.cc
|
||||
src/model/PickOutboundNumbersResult.cc
|
||||
src/model/PickOutboundNumbersByTagsRequest.cc
|
||||
src/model/PickOutboundNumbersByTagsResult.cc
|
||||
src/model/PreCreateMediaRequest.cc
|
||||
src/model/PreCreateMediaResult.cc
|
||||
src/model/PreModifyMediaRequest.cc
|
||||
src/model/PreModifyMediaResult.cc
|
||||
src/model/PredictiveRecordFailureRequest.cc
|
||||
src/model/PredictiveRecordFailureResult.cc
|
||||
src/model/PredictiveRecordSuccessRequest.cc
|
||||
src/model/PredictiveRecordSuccessResult.cc
|
||||
src/model/PublishContactFlowVersionRequest.cc
|
||||
src/model/PublishContactFlowVersionResult.cc
|
||||
src/model/PublishPredictiveJobGroupRequest.cc
|
||||
src/model/PublishPredictiveJobGroupResult.cc
|
||||
src/model/PublishSurveyRequest.cc
|
||||
src/model/PublishSurveyResult.cc
|
||||
src/model/QueryRedialIndicatorRequest.cc
|
||||
src/model/QueryRedialIndicatorResult.cc
|
||||
src/model/RefreshTokenRequest.cc
|
||||
src/model/RefreshTokenResult.cc
|
||||
src/model/RemoveNumberFromSkillGroupRequest.cc
|
||||
src/model/RemoveNumberFromSkillGroupResult.cc
|
||||
src/model/RemovePhoneNumberRequest.cc
|
||||
src/model/RemovePhoneNumberResult.cc
|
||||
src/model/RemoveUsersRequest.cc
|
||||
@@ -676,8 +572,6 @@ set(ccc_src
|
||||
src/model/SaveWebRTCStatsResult.cc
|
||||
src/model/SendPredefinedShortMessageRequest.cc
|
||||
src/model/SendPredefinedShortMessageResult.cc
|
||||
src/model/SimpleDialRequest.cc
|
||||
src/model/SimpleDialResult.cc
|
||||
src/model/StartBack2BackCallRequest.cc
|
||||
src/model/StartBack2BackCallResult.cc
|
||||
src/model/StartJobRequest.cc
|
||||
@@ -689,9 +583,7 @@ set(ccc_src
|
||||
src/model/SuspendJobsRequest.cc
|
||||
src/model/SuspendJobsResult.cc
|
||||
src/model/TaskPreparingRequest.cc
|
||||
src/model/TaskPreparingResult.cc
|
||||
src/model/TwoPartiesCallRequest.cc
|
||||
src/model/TwoPartiesCallResult.cc )
|
||||
src/model/TaskPreparingResult.cc )
|
||||
|
||||
add_library(ccc ${LIB_TYPE}
|
||||
${ccc_public_header}
|
||||
|
||||
@@ -26,8 +26,6 @@
|
||||
#include "model/AddAgentDeviceResult.h"
|
||||
#include "model/AddBulkPhoneNumbersRequest.h"
|
||||
#include "model/AddBulkPhoneNumbersResult.h"
|
||||
#include "model/AddNumberToSkillGroupRequest.h"
|
||||
#include "model/AddNumberToSkillGroupResult.h"
|
||||
#include "model/AddPhoneNumberRequest.h"
|
||||
#include "model/AddPhoneNumberResult.h"
|
||||
#include "model/AddPhoneTagsRequest.h"
|
||||
@@ -40,16 +38,12 @@
|
||||
#include "model/CallOnlinePrivacyNumberResult.h"
|
||||
#include "model/CancelJobsRequest.h"
|
||||
#include "model/CancelJobsResult.h"
|
||||
#include "model/CancelPredictiveJobsRequest.h"
|
||||
#include "model/CancelPredictiveJobsResult.h"
|
||||
#include "model/CheckNumberAvaliableRequest.h"
|
||||
#include "model/CheckNumberAvaliableResult.h"
|
||||
#include "model/CommitContactFlowVersionModificationRequest.h"
|
||||
#include "model/CommitContactFlowVersionModificationResult.h"
|
||||
#include "model/CreateBatchJobsRequest.h"
|
||||
#include "model/CreateBatchJobsResult.h"
|
||||
#include "model/CreateCCCPostOrderRequest.h"
|
||||
#include "model/CreateCCCPostOrderResult.h"
|
||||
#include "model/CreateCabInstanceRequest.h"
|
||||
#include "model/CreateCabInstanceResult.h"
|
||||
#include "model/CreateContactFlowRequest.h"
|
||||
@@ -62,10 +56,6 @@
|
||||
#include "model/CreateJobGroupResult.h"
|
||||
#include "model/CreateMediaRequest.h"
|
||||
#include "model/CreateMediaResult.h"
|
||||
#include "model/CreatePredictiveJobGroupRequest.h"
|
||||
#include "model/CreatePredictiveJobGroupResult.h"
|
||||
#include "model/CreatePredictiveJobsRequest.h"
|
||||
#include "model/CreatePredictiveJobsResult.h"
|
||||
#include "model/CreateScenarioRequest.h"
|
||||
#include "model/CreateScenarioResult.h"
|
||||
#include "model/CreateScenarioFromTemplateRequest.h"
|
||||
@@ -110,16 +100,10 @@
|
||||
#include "model/GenerateAgentStatisticReportResult.h"
|
||||
#include "model/GetAgentDataRequest.h"
|
||||
#include "model/GetAgentDataResult.h"
|
||||
#include "model/GetAgentStateRequest.h"
|
||||
#include "model/GetAgentStateResult.h"
|
||||
#include "model/GetCallMeasureSummaryReportRequest.h"
|
||||
#include "model/GetCallMeasureSummaryReportResult.h"
|
||||
#include "model/GetConfigRequest.h"
|
||||
#include "model/GetConfigResult.h"
|
||||
#include "model/GetContactIdentifyByOutBoundTaskIdRequest.h"
|
||||
#include "model/GetContactIdentifyByOutBoundTaskIdResult.h"
|
||||
#include "model/GetContactInfoByOutboundTaskIdRequest.h"
|
||||
#include "model/GetContactInfoByOutboundTaskIdResult.h"
|
||||
#include "model/GetConversationDetailByContactIdRequest.h"
|
||||
#include "model/GetConversationDetailByContactIdResult.h"
|
||||
#include "model/GetConversationListRequest.h"
|
||||
@@ -138,8 +122,6 @@
|
||||
#include "model/GetJobResult.h"
|
||||
#include "model/GetJobDataUploadParamsRequest.h"
|
||||
#include "model/GetJobDataUploadParamsResult.h"
|
||||
#include "model/GetJobFileUploadUrlRequest.h"
|
||||
#include "model/GetJobFileUploadUrlResult.h"
|
||||
#include "model/GetJobGroupRequest.h"
|
||||
#include "model/GetJobGroupResult.h"
|
||||
#include "model/GetJobListRequest.h"
|
||||
@@ -148,12 +130,8 @@
|
||||
#include "model/GetJobStatusByCallIdResult.h"
|
||||
#include "model/GetJobTemplateDownloadParamsRequest.h"
|
||||
#include "model/GetJobTemplateDownloadParamsResult.h"
|
||||
#include "model/GetJobsProgressRequest.h"
|
||||
#include "model/GetJobsProgressResult.h"
|
||||
#include "model/GetNumberRegionInfoRequest.h"
|
||||
#include "model/GetNumberRegionInfoResult.h"
|
||||
#include "model/GetPredictiveJobRequest.h"
|
||||
#include "model/GetPredictiveJobResult.h"
|
||||
#include "model/GetRecordOssUploadParamRequest.h"
|
||||
#include "model/GetRecordOssUploadParamResult.h"
|
||||
#include "model/GetRoutePointRequest.h"
|
||||
@@ -222,14 +200,6 @@
|
||||
#include "model/ListPhoneNumbersResult.h"
|
||||
#include "model/ListPhoneTagsRequest.h"
|
||||
#include "model/ListPhoneTagsResult.h"
|
||||
#include "model/ListPredictiveJobGroupsRequest.h"
|
||||
#include "model/ListPredictiveJobGroupsResult.h"
|
||||
#include "model/ListPredictiveJobStatusRequest.h"
|
||||
#include "model/ListPredictiveJobStatusResult.h"
|
||||
#include "model/ListPrivacyNumberCallDetailsRequest.h"
|
||||
#include "model/ListPrivacyNumberCallDetailsResult.h"
|
||||
#include "model/ListPrivilegesOfUserRequest.h"
|
||||
#include "model/ListPrivilegesOfUserResult.h"
|
||||
#include "model/ListRealTimeAgentRequest.h"
|
||||
#include "model/ListRealTimeAgentResult.h"
|
||||
#include "model/ListRecentCallRecordsRequest.h"
|
||||
@@ -272,10 +242,6 @@
|
||||
#include "model/ModifyAgentDeviceResult.h"
|
||||
#include "model/ModifyCabInstanceRequest.h"
|
||||
#include "model/ModifyCabInstanceResult.h"
|
||||
#include "model/ModifyMediaRequest.h"
|
||||
#include "model/ModifyMediaResult.h"
|
||||
#include "model/ModifyNotificationConfigRequest.h"
|
||||
#include "model/ModifyNotificationConfigResult.h"
|
||||
#include "model/ModifyPhoneNumberRequest.h"
|
||||
#include "model/ModifyPhoneNumberResult.h"
|
||||
#include "model/ModifyPhoneTagsRequest.h"
|
||||
@@ -300,28 +266,12 @@
|
||||
#include "model/PickLocalNumberResult.h"
|
||||
#include "model/PickOutboundNumbersRequest.h"
|
||||
#include "model/PickOutboundNumbersResult.h"
|
||||
#include "model/PickOutboundNumbersByTagsRequest.h"
|
||||
#include "model/PickOutboundNumbersByTagsResult.h"
|
||||
#include "model/PreCreateMediaRequest.h"
|
||||
#include "model/PreCreateMediaResult.h"
|
||||
#include "model/PreModifyMediaRequest.h"
|
||||
#include "model/PreModifyMediaResult.h"
|
||||
#include "model/PredictiveRecordFailureRequest.h"
|
||||
#include "model/PredictiveRecordFailureResult.h"
|
||||
#include "model/PredictiveRecordSuccessRequest.h"
|
||||
#include "model/PredictiveRecordSuccessResult.h"
|
||||
#include "model/PublishContactFlowVersionRequest.h"
|
||||
#include "model/PublishContactFlowVersionResult.h"
|
||||
#include "model/PublishPredictiveJobGroupRequest.h"
|
||||
#include "model/PublishPredictiveJobGroupResult.h"
|
||||
#include "model/PublishSurveyRequest.h"
|
||||
#include "model/PublishSurveyResult.h"
|
||||
#include "model/QueryRedialIndicatorRequest.h"
|
||||
#include "model/QueryRedialIndicatorResult.h"
|
||||
#include "model/RefreshTokenRequest.h"
|
||||
#include "model/RefreshTokenResult.h"
|
||||
#include "model/RemoveNumberFromSkillGroupRequest.h"
|
||||
#include "model/RemoveNumberFromSkillGroupResult.h"
|
||||
#include "model/RemovePhoneNumberRequest.h"
|
||||
#include "model/RemovePhoneNumberResult.h"
|
||||
#include "model/RemoveUsersRequest.h"
|
||||
@@ -340,8 +290,6 @@
|
||||
#include "model/SaveWebRTCStatsResult.h"
|
||||
#include "model/SendPredefinedShortMessageRequest.h"
|
||||
#include "model/SendPredefinedShortMessageResult.h"
|
||||
#include "model/SimpleDialRequest.h"
|
||||
#include "model/SimpleDialResult.h"
|
||||
#include "model/StartBack2BackCallRequest.h"
|
||||
#include "model/StartBack2BackCallResult.h"
|
||||
#include "model/StartJobRequest.h"
|
||||
@@ -354,8 +302,6 @@
|
||||
#include "model/SuspendJobsResult.h"
|
||||
#include "model/TaskPreparingRequest.h"
|
||||
#include "model/TaskPreparingResult.h"
|
||||
#include "model/TwoPartiesCallRequest.h"
|
||||
#include "model/TwoPartiesCallResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
@@ -371,9 +317,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::AddBulkPhoneNumbersResult> AddBulkPhoneNumbersOutcome;
|
||||
typedef std::future<AddBulkPhoneNumbersOutcome> AddBulkPhoneNumbersOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddBulkPhoneNumbersRequest&, const AddBulkPhoneNumbersOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddBulkPhoneNumbersAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddNumberToSkillGroupResult> AddNumberToSkillGroupOutcome;
|
||||
typedef std::future<AddNumberToSkillGroupOutcome> AddNumberToSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddNumberToSkillGroupRequest&, const AddNumberToSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddNumberToSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::AddPhoneNumberResult> AddPhoneNumberOutcome;
|
||||
typedef std::future<AddPhoneNumberOutcome> AddPhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::AddPhoneNumberRequest&, const AddPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> AddPhoneNumberAsyncHandler;
|
||||
@@ -392,9 +335,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CancelJobsResult> CancelJobsOutcome;
|
||||
typedef std::future<CancelJobsOutcome> CancelJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CancelJobsRequest&, const CancelJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CancelPredictiveJobsResult> CancelPredictiveJobsOutcome;
|
||||
typedef std::future<CancelPredictiveJobsOutcome> CancelPredictiveJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CancelPredictiveJobsRequest&, const CancelPredictiveJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CancelPredictiveJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CheckNumberAvaliableResult> CheckNumberAvaliableOutcome;
|
||||
typedef std::future<CheckNumberAvaliableOutcome> CheckNumberAvaliableOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CheckNumberAvaliableRequest&, const CheckNumberAvaliableOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckNumberAvaliableAsyncHandler;
|
||||
@@ -404,9 +344,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateBatchJobsResult> CreateBatchJobsOutcome;
|
||||
typedef std::future<CreateBatchJobsOutcome> CreateBatchJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateBatchJobsRequest&, const CreateBatchJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateBatchJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCCCPostOrderResult> CreateCCCPostOrderOutcome;
|
||||
typedef std::future<CreateCCCPostOrderOutcome> CreateCCCPostOrderOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateCCCPostOrderRequest&, const CreateCCCPostOrderOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCCCPostOrderAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateCabInstanceResult> CreateCabInstanceOutcome;
|
||||
typedef std::future<CreateCabInstanceOutcome> CreateCabInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateCabInstanceRequest&, const CreateCabInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateCabInstanceAsyncHandler;
|
||||
@@ -425,12 +362,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::CreateMediaResult> CreateMediaOutcome;
|
||||
typedef std::future<CreateMediaOutcome> CreateMediaOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateMediaRequest&, const CreateMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateMediaAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePredictiveJobGroupResult> CreatePredictiveJobGroupOutcome;
|
||||
typedef std::future<CreatePredictiveJobGroupOutcome> CreatePredictiveJobGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreatePredictiveJobGroupRequest&, const CreatePredictiveJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePredictiveJobGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreatePredictiveJobsResult> CreatePredictiveJobsOutcome;
|
||||
typedef std::future<CreatePredictiveJobsOutcome> CreatePredictiveJobsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreatePredictiveJobsRequest&, const CreatePredictiveJobsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreatePredictiveJobsAsyncHandler;
|
||||
typedef Outcome<Error, Model::CreateScenarioResult> CreateScenarioOutcome;
|
||||
typedef std::future<CreateScenarioOutcome> CreateScenarioOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::CreateScenarioRequest&, const CreateScenarioOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateScenarioAsyncHandler;
|
||||
@@ -497,21 +428,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetAgentDataResult> GetAgentDataOutcome;
|
||||
typedef std::future<GetAgentDataOutcome> GetAgentDataOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetAgentDataRequest&, const GetAgentDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAgentStateResult> GetAgentStateOutcome;
|
||||
typedef std::future<GetAgentStateOutcome> GetAgentStateOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetAgentStateRequest&, const GetAgentStateOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAgentStateAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetCallMeasureSummaryReportResult> GetCallMeasureSummaryReportOutcome;
|
||||
typedef std::future<GetCallMeasureSummaryReportOutcome> GetCallMeasureSummaryReportOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetCallMeasureSummaryReportRequest&, const GetCallMeasureSummaryReportOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetCallMeasureSummaryReportAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConfigResult> GetConfigOutcome;
|
||||
typedef std::future<GetConfigOutcome> GetConfigOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetConfigRequest&, const GetConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetContactIdentifyByOutBoundTaskIdResult> GetContactIdentifyByOutBoundTaskIdOutcome;
|
||||
typedef std::future<GetContactIdentifyByOutBoundTaskIdOutcome> GetContactIdentifyByOutBoundTaskIdOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetContactIdentifyByOutBoundTaskIdRequest&, const GetContactIdentifyByOutBoundTaskIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetContactIdentifyByOutBoundTaskIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetContactInfoByOutboundTaskIdResult> GetContactInfoByOutboundTaskIdOutcome;
|
||||
typedef std::future<GetContactInfoByOutboundTaskIdOutcome> GetContactInfoByOutboundTaskIdOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetContactInfoByOutboundTaskIdRequest&, const GetContactInfoByOutboundTaskIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetContactInfoByOutboundTaskIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetConversationDetailByContactIdResult> GetConversationDetailByContactIdOutcome;
|
||||
typedef std::future<GetConversationDetailByContactIdOutcome> GetConversationDetailByContactIdOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetConversationDetailByContactIdRequest&, const GetConversationDetailByContactIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetConversationDetailByContactIdAsyncHandler;
|
||||
@@ -539,9 +461,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetJobDataUploadParamsResult> GetJobDataUploadParamsOutcome;
|
||||
typedef std::future<GetJobDataUploadParamsOutcome> GetJobDataUploadParamsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobDataUploadParamsRequest&, const GetJobDataUploadParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobDataUploadParamsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobFileUploadUrlResult> GetJobFileUploadUrlOutcome;
|
||||
typedef std::future<GetJobFileUploadUrlOutcome> GetJobFileUploadUrlOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobFileUploadUrlRequest&, const GetJobFileUploadUrlOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobFileUploadUrlAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobGroupResult> GetJobGroupOutcome;
|
||||
typedef std::future<GetJobGroupOutcome> GetJobGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobGroupRequest&, const GetJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobGroupAsyncHandler;
|
||||
@@ -554,15 +473,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::GetJobTemplateDownloadParamsResult> GetJobTemplateDownloadParamsOutcome;
|
||||
typedef std::future<GetJobTemplateDownloadParamsOutcome> GetJobTemplateDownloadParamsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobTemplateDownloadParamsRequest&, const GetJobTemplateDownloadParamsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobTemplateDownloadParamsAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetJobsProgressResult> GetJobsProgressOutcome;
|
||||
typedef std::future<GetJobsProgressOutcome> GetJobsProgressOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetJobsProgressRequest&, const GetJobsProgressOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetJobsProgressAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetNumberRegionInfoResult> GetNumberRegionInfoOutcome;
|
||||
typedef std::future<GetNumberRegionInfoOutcome> GetNumberRegionInfoOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetNumberRegionInfoRequest&, const GetNumberRegionInfoOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNumberRegionInfoAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPredictiveJobResult> GetPredictiveJobOutcome;
|
||||
typedef std::future<GetPredictiveJobOutcome> GetPredictiveJobOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetPredictiveJobRequest&, const GetPredictiveJobOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPredictiveJobAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetRecordOssUploadParamResult> GetRecordOssUploadParamOutcome;
|
||||
typedef std::future<GetRecordOssUploadParamOutcome> GetRecordOssUploadParamOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::GetRecordOssUploadParamRequest&, const GetRecordOssUploadParamOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetRecordOssUploadParamAsyncHandler;
|
||||
@@ -665,18 +578,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListPhoneTagsResult> ListPhoneTagsOutcome;
|
||||
typedef std::future<ListPhoneTagsOutcome> ListPhoneTagsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPhoneTagsRequest&, const ListPhoneTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPhoneTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPredictiveJobGroupsResult> ListPredictiveJobGroupsOutcome;
|
||||
typedef std::future<ListPredictiveJobGroupsOutcome> ListPredictiveJobGroupsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPredictiveJobGroupsRequest&, const ListPredictiveJobGroupsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPredictiveJobGroupsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPredictiveJobStatusResult> ListPredictiveJobStatusOutcome;
|
||||
typedef std::future<ListPredictiveJobStatusOutcome> ListPredictiveJobStatusOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPredictiveJobStatusRequest&, const ListPredictiveJobStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPredictiveJobStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrivacyNumberCallDetailsResult> ListPrivacyNumberCallDetailsOutcome;
|
||||
typedef std::future<ListPrivacyNumberCallDetailsOutcome> ListPrivacyNumberCallDetailsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPrivacyNumberCallDetailsRequest&, const ListPrivacyNumberCallDetailsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivacyNumberCallDetailsAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListPrivilegesOfUserResult> ListPrivilegesOfUserOutcome;
|
||||
typedef std::future<ListPrivilegesOfUserOutcome> ListPrivilegesOfUserOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListPrivilegesOfUserRequest&, const ListPrivilegesOfUserOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPrivilegesOfUserAsyncHandler;
|
||||
typedef Outcome<Error, Model::ListRealTimeAgentResult> ListRealTimeAgentOutcome;
|
||||
typedef std::future<ListRealTimeAgentOutcome> ListRealTimeAgentOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ListRealTimeAgentRequest&, const ListRealTimeAgentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListRealTimeAgentAsyncHandler;
|
||||
@@ -740,12 +641,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ModifyCabInstanceResult> ModifyCabInstanceOutcome;
|
||||
typedef std::future<ModifyCabInstanceOutcome> ModifyCabInstanceOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyCabInstanceRequest&, const ModifyCabInstanceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCabInstanceAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyMediaResult> ModifyMediaOutcome;
|
||||
typedef std::future<ModifyMediaOutcome> ModifyMediaOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyMediaRequest&, const ModifyMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyMediaAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyNotificationConfigResult> ModifyNotificationConfigOutcome;
|
||||
typedef std::future<ModifyNotificationConfigOutcome> ModifyNotificationConfigOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyNotificationConfigRequest&, const ModifyNotificationConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyNotificationConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyPhoneNumberResult> ModifyPhoneNumberOutcome;
|
||||
typedef std::future<ModifyPhoneNumberOutcome> ModifyPhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::ModifyPhoneNumberRequest&, const ModifyPhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyPhoneNumberAsyncHandler;
|
||||
@@ -782,39 +677,15 @@ namespace AlibabaCloud
|
||||
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;
|
||||
typedef Outcome<Error, Model::PickOutboundNumbersByTagsResult> PickOutboundNumbersByTagsOutcome;
|
||||
typedef std::future<PickOutboundNumbersByTagsOutcome> PickOutboundNumbersByTagsOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PickOutboundNumbersByTagsRequest&, const PickOutboundNumbersByTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PickOutboundNumbersByTagsAsyncHandler;
|
||||
typedef Outcome<Error, Model::PreCreateMediaResult> PreCreateMediaOutcome;
|
||||
typedef std::future<PreCreateMediaOutcome> PreCreateMediaOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PreCreateMediaRequest&, const PreCreateMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreCreateMediaAsyncHandler;
|
||||
typedef Outcome<Error, Model::PreModifyMediaResult> PreModifyMediaOutcome;
|
||||
typedef std::future<PreModifyMediaOutcome> PreModifyMediaOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PreModifyMediaRequest&, const PreModifyMediaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PreModifyMediaAsyncHandler;
|
||||
typedef Outcome<Error, Model::PredictiveRecordFailureResult> PredictiveRecordFailureOutcome;
|
||||
typedef std::future<PredictiveRecordFailureOutcome> PredictiveRecordFailureOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PredictiveRecordFailureRequest&, const PredictiveRecordFailureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictiveRecordFailureAsyncHandler;
|
||||
typedef Outcome<Error, Model::PredictiveRecordSuccessResult> PredictiveRecordSuccessOutcome;
|
||||
typedef std::future<PredictiveRecordSuccessOutcome> PredictiveRecordSuccessOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PredictiveRecordSuccessRequest&, const PredictiveRecordSuccessOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PredictiveRecordSuccessAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishContactFlowVersionResult> PublishContactFlowVersionOutcome;
|
||||
typedef std::future<PublishContactFlowVersionOutcome> PublishContactFlowVersionOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PublishContactFlowVersionRequest&, const PublishContactFlowVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishContactFlowVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishPredictiveJobGroupResult> PublishPredictiveJobGroupOutcome;
|
||||
typedef std::future<PublishPredictiveJobGroupOutcome> PublishPredictiveJobGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PublishPredictiveJobGroupRequest&, const PublishPredictiveJobGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishPredictiveJobGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::PublishSurveyResult> PublishSurveyOutcome;
|
||||
typedef std::future<PublishSurveyOutcome> PublishSurveyOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::PublishSurveyRequest&, const PublishSurveyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> PublishSurveyAsyncHandler;
|
||||
typedef Outcome<Error, Model::QueryRedialIndicatorResult> QueryRedialIndicatorOutcome;
|
||||
typedef std::future<QueryRedialIndicatorOutcome> QueryRedialIndicatorOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::QueryRedialIndicatorRequest&, const QueryRedialIndicatorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> QueryRedialIndicatorAsyncHandler;
|
||||
typedef Outcome<Error, Model::RefreshTokenResult> RefreshTokenOutcome;
|
||||
typedef std::future<RefreshTokenOutcome> RefreshTokenOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RefreshTokenRequest&, const RefreshTokenOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RefreshTokenAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemoveNumberFromSkillGroupResult> RemoveNumberFromSkillGroupOutcome;
|
||||
typedef std::future<RemoveNumberFromSkillGroupOutcome> RemoveNumberFromSkillGroupOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemoveNumberFromSkillGroupRequest&, const RemoveNumberFromSkillGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemoveNumberFromSkillGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::RemovePhoneNumberResult> RemovePhoneNumberOutcome;
|
||||
typedef std::future<RemovePhoneNumberOutcome> RemovePhoneNumberOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::RemovePhoneNumberRequest&, const RemovePhoneNumberOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> RemovePhoneNumberAsyncHandler;
|
||||
@@ -842,9 +713,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::SendPredefinedShortMessageResult> SendPredefinedShortMessageOutcome;
|
||||
typedef std::future<SendPredefinedShortMessageOutcome> SendPredefinedShortMessageOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::SendPredefinedShortMessageRequest&, const SendPredefinedShortMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendPredefinedShortMessageAsyncHandler;
|
||||
typedef Outcome<Error, Model::SimpleDialResult> SimpleDialOutcome;
|
||||
typedef std::future<SimpleDialOutcome> SimpleDialOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::SimpleDialRequest&, const SimpleDialOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SimpleDialAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartBack2BackCallResult> StartBack2BackCallOutcome;
|
||||
typedef std::future<StartBack2BackCallOutcome> StartBack2BackCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::StartBack2BackCallRequest&, const StartBack2BackCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartBack2BackCallAsyncHandler;
|
||||
@@ -863,9 +731,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::TaskPreparingResult> TaskPreparingOutcome;
|
||||
typedef std::future<TaskPreparingOutcome> TaskPreparingOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::TaskPreparingRequest&, const TaskPreparingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TaskPreparingAsyncHandler;
|
||||
typedef Outcome<Error, Model::TwoPartiesCallResult> TwoPartiesCallOutcome;
|
||||
typedef std::future<TwoPartiesCallOutcome> TwoPartiesCallOutcomeCallable;
|
||||
typedef std::function<void(const CCCClient*, const Model::TwoPartiesCallRequest&, const TwoPartiesCallOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TwoPartiesCallAsyncHandler;
|
||||
|
||||
CCCClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CCCClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
@@ -877,9 +742,6 @@ namespace AlibabaCloud
|
||||
AddBulkPhoneNumbersOutcome addBulkPhoneNumbers(const Model::AddBulkPhoneNumbersRequest &request)const;
|
||||
void addBulkPhoneNumbersAsync(const Model::AddBulkPhoneNumbersRequest& request, const AddBulkPhoneNumbersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddBulkPhoneNumbersOutcomeCallable addBulkPhoneNumbersCallable(const Model::AddBulkPhoneNumbersRequest& request) const;
|
||||
AddNumberToSkillGroupOutcome addNumberToSkillGroup(const Model::AddNumberToSkillGroupRequest &request)const;
|
||||
void addNumberToSkillGroupAsync(const Model::AddNumberToSkillGroupRequest& request, const AddNumberToSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddNumberToSkillGroupOutcomeCallable addNumberToSkillGroupCallable(const Model::AddNumberToSkillGroupRequest& request) const;
|
||||
AddPhoneNumberOutcome addPhoneNumber(const Model::AddPhoneNumberRequest &request)const;
|
||||
void addPhoneNumberAsync(const Model::AddPhoneNumberRequest& request, const AddPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
AddPhoneNumberOutcomeCallable addPhoneNumberCallable(const Model::AddPhoneNumberRequest& request) const;
|
||||
@@ -898,9 +760,6 @@ namespace AlibabaCloud
|
||||
CancelJobsOutcome cancelJobs(const Model::CancelJobsRequest &request)const;
|
||||
void cancelJobsAsync(const Model::CancelJobsRequest& request, const CancelJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelJobsOutcomeCallable cancelJobsCallable(const Model::CancelJobsRequest& request) const;
|
||||
CancelPredictiveJobsOutcome cancelPredictiveJobs(const Model::CancelPredictiveJobsRequest &request)const;
|
||||
void cancelPredictiveJobsAsync(const Model::CancelPredictiveJobsRequest& request, const CancelPredictiveJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CancelPredictiveJobsOutcomeCallable cancelPredictiveJobsCallable(const Model::CancelPredictiveJobsRequest& request) const;
|
||||
CheckNumberAvaliableOutcome checkNumberAvaliable(const Model::CheckNumberAvaliableRequest &request)const;
|
||||
void checkNumberAvaliableAsync(const Model::CheckNumberAvaliableRequest& request, const CheckNumberAvaliableAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CheckNumberAvaliableOutcomeCallable checkNumberAvaliableCallable(const Model::CheckNumberAvaliableRequest& request) const;
|
||||
@@ -910,9 +769,6 @@ namespace AlibabaCloud
|
||||
CreateBatchJobsOutcome createBatchJobs(const Model::CreateBatchJobsRequest &request)const;
|
||||
void createBatchJobsAsync(const Model::CreateBatchJobsRequest& request, const CreateBatchJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateBatchJobsOutcomeCallable createBatchJobsCallable(const Model::CreateBatchJobsRequest& request) const;
|
||||
CreateCCCPostOrderOutcome createCCCPostOrder(const Model::CreateCCCPostOrderRequest &request)const;
|
||||
void createCCCPostOrderAsync(const Model::CreateCCCPostOrderRequest& request, const CreateCCCPostOrderAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCCCPostOrderOutcomeCallable createCCCPostOrderCallable(const Model::CreateCCCPostOrderRequest& request) const;
|
||||
CreateCabInstanceOutcome createCabInstance(const Model::CreateCabInstanceRequest &request)const;
|
||||
void createCabInstanceAsync(const Model::CreateCabInstanceRequest& request, const CreateCabInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateCabInstanceOutcomeCallable createCabInstanceCallable(const Model::CreateCabInstanceRequest& request) const;
|
||||
@@ -931,12 +787,6 @@ namespace AlibabaCloud
|
||||
CreateMediaOutcome createMedia(const Model::CreateMediaRequest &request)const;
|
||||
void createMediaAsync(const Model::CreateMediaRequest& request, const CreateMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateMediaOutcomeCallable createMediaCallable(const Model::CreateMediaRequest& request) const;
|
||||
CreatePredictiveJobGroupOutcome createPredictiveJobGroup(const Model::CreatePredictiveJobGroupRequest &request)const;
|
||||
void createPredictiveJobGroupAsync(const Model::CreatePredictiveJobGroupRequest& request, const CreatePredictiveJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePredictiveJobGroupOutcomeCallable createPredictiveJobGroupCallable(const Model::CreatePredictiveJobGroupRequest& request) const;
|
||||
CreatePredictiveJobsOutcome createPredictiveJobs(const Model::CreatePredictiveJobsRequest &request)const;
|
||||
void createPredictiveJobsAsync(const Model::CreatePredictiveJobsRequest& request, const CreatePredictiveJobsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreatePredictiveJobsOutcomeCallable createPredictiveJobsCallable(const Model::CreatePredictiveJobsRequest& request) const;
|
||||
CreateScenarioOutcome createScenario(const Model::CreateScenarioRequest &request)const;
|
||||
void createScenarioAsync(const Model::CreateScenarioRequest& request, const CreateScenarioAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateScenarioOutcomeCallable createScenarioCallable(const Model::CreateScenarioRequest& request) const;
|
||||
@@ -1003,21 +853,12 @@ namespace AlibabaCloud
|
||||
GetAgentDataOutcome getAgentData(const Model::GetAgentDataRequest &request)const;
|
||||
void getAgentDataAsync(const Model::GetAgentDataRequest& request, const GetAgentDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAgentDataOutcomeCallable getAgentDataCallable(const Model::GetAgentDataRequest& request) const;
|
||||
GetAgentStateOutcome getAgentState(const Model::GetAgentStateRequest &request)const;
|
||||
void getAgentStateAsync(const Model::GetAgentStateRequest& request, const GetAgentStateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAgentStateOutcomeCallable getAgentStateCallable(const Model::GetAgentStateRequest& request) const;
|
||||
GetCallMeasureSummaryReportOutcome getCallMeasureSummaryReport(const Model::GetCallMeasureSummaryReportRequest &request)const;
|
||||
void getCallMeasureSummaryReportAsync(const Model::GetCallMeasureSummaryReportRequest& request, const GetCallMeasureSummaryReportAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetCallMeasureSummaryReportOutcomeCallable getCallMeasureSummaryReportCallable(const Model::GetCallMeasureSummaryReportRequest& request) const;
|
||||
GetConfigOutcome getConfig(const Model::GetConfigRequest &request)const;
|
||||
void getConfigAsync(const Model::GetConfigRequest& request, const GetConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConfigOutcomeCallable getConfigCallable(const Model::GetConfigRequest& request) const;
|
||||
GetContactIdentifyByOutBoundTaskIdOutcome getContactIdentifyByOutBoundTaskId(const Model::GetContactIdentifyByOutBoundTaskIdRequest &request)const;
|
||||
void getContactIdentifyByOutBoundTaskIdAsync(const Model::GetContactIdentifyByOutBoundTaskIdRequest& request, const GetContactIdentifyByOutBoundTaskIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetContactIdentifyByOutBoundTaskIdOutcomeCallable getContactIdentifyByOutBoundTaskIdCallable(const Model::GetContactIdentifyByOutBoundTaskIdRequest& request) const;
|
||||
GetContactInfoByOutboundTaskIdOutcome getContactInfoByOutboundTaskId(const Model::GetContactInfoByOutboundTaskIdRequest &request)const;
|
||||
void getContactInfoByOutboundTaskIdAsync(const Model::GetContactInfoByOutboundTaskIdRequest& request, const GetContactInfoByOutboundTaskIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetContactInfoByOutboundTaskIdOutcomeCallable getContactInfoByOutboundTaskIdCallable(const Model::GetContactInfoByOutboundTaskIdRequest& request) const;
|
||||
GetConversationDetailByContactIdOutcome getConversationDetailByContactId(const Model::GetConversationDetailByContactIdRequest &request)const;
|
||||
void getConversationDetailByContactIdAsync(const Model::GetConversationDetailByContactIdRequest& request, const GetConversationDetailByContactIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetConversationDetailByContactIdOutcomeCallable getConversationDetailByContactIdCallable(const Model::GetConversationDetailByContactIdRequest& request) const;
|
||||
@@ -1045,9 +886,6 @@ namespace AlibabaCloud
|
||||
GetJobDataUploadParamsOutcome getJobDataUploadParams(const Model::GetJobDataUploadParamsRequest &request)const;
|
||||
void getJobDataUploadParamsAsync(const Model::GetJobDataUploadParamsRequest& request, const GetJobDataUploadParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobDataUploadParamsOutcomeCallable getJobDataUploadParamsCallable(const Model::GetJobDataUploadParamsRequest& request) const;
|
||||
GetJobFileUploadUrlOutcome getJobFileUploadUrl(const Model::GetJobFileUploadUrlRequest &request)const;
|
||||
void getJobFileUploadUrlAsync(const Model::GetJobFileUploadUrlRequest& request, const GetJobFileUploadUrlAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobFileUploadUrlOutcomeCallable getJobFileUploadUrlCallable(const Model::GetJobFileUploadUrlRequest& request) const;
|
||||
GetJobGroupOutcome getJobGroup(const Model::GetJobGroupRequest &request)const;
|
||||
void getJobGroupAsync(const Model::GetJobGroupRequest& request, const GetJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobGroupOutcomeCallable getJobGroupCallable(const Model::GetJobGroupRequest& request) const;
|
||||
@@ -1060,15 +898,9 @@ namespace AlibabaCloud
|
||||
GetJobTemplateDownloadParamsOutcome getJobTemplateDownloadParams(const Model::GetJobTemplateDownloadParamsRequest &request)const;
|
||||
void getJobTemplateDownloadParamsAsync(const Model::GetJobTemplateDownloadParamsRequest& request, const GetJobTemplateDownloadParamsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobTemplateDownloadParamsOutcomeCallable getJobTemplateDownloadParamsCallable(const Model::GetJobTemplateDownloadParamsRequest& request) const;
|
||||
GetJobsProgressOutcome getJobsProgress(const Model::GetJobsProgressRequest &request)const;
|
||||
void getJobsProgressAsync(const Model::GetJobsProgressRequest& request, const GetJobsProgressAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetJobsProgressOutcomeCallable getJobsProgressCallable(const Model::GetJobsProgressRequest& request) const;
|
||||
GetNumberRegionInfoOutcome getNumberRegionInfo(const Model::GetNumberRegionInfoRequest &request)const;
|
||||
void getNumberRegionInfoAsync(const Model::GetNumberRegionInfoRequest& request, const GetNumberRegionInfoAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetNumberRegionInfoOutcomeCallable getNumberRegionInfoCallable(const Model::GetNumberRegionInfoRequest& request) const;
|
||||
GetPredictiveJobOutcome getPredictiveJob(const Model::GetPredictiveJobRequest &request)const;
|
||||
void getPredictiveJobAsync(const Model::GetPredictiveJobRequest& request, const GetPredictiveJobAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPredictiveJobOutcomeCallable getPredictiveJobCallable(const Model::GetPredictiveJobRequest& request) const;
|
||||
GetRecordOssUploadParamOutcome getRecordOssUploadParam(const Model::GetRecordOssUploadParamRequest &request)const;
|
||||
void getRecordOssUploadParamAsync(const Model::GetRecordOssUploadParamRequest& request, const GetRecordOssUploadParamAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetRecordOssUploadParamOutcomeCallable getRecordOssUploadParamCallable(const Model::GetRecordOssUploadParamRequest& request) const;
|
||||
@@ -1171,18 +1003,6 @@ namespace AlibabaCloud
|
||||
ListPhoneTagsOutcome listPhoneTags(const Model::ListPhoneTagsRequest &request)const;
|
||||
void listPhoneTagsAsync(const Model::ListPhoneTagsRequest& request, const ListPhoneTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPhoneTagsOutcomeCallable listPhoneTagsCallable(const Model::ListPhoneTagsRequest& request) const;
|
||||
ListPredictiveJobGroupsOutcome listPredictiveJobGroups(const Model::ListPredictiveJobGroupsRequest &request)const;
|
||||
void listPredictiveJobGroupsAsync(const Model::ListPredictiveJobGroupsRequest& request, const ListPredictiveJobGroupsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPredictiveJobGroupsOutcomeCallable listPredictiveJobGroupsCallable(const Model::ListPredictiveJobGroupsRequest& request) const;
|
||||
ListPredictiveJobStatusOutcome listPredictiveJobStatus(const Model::ListPredictiveJobStatusRequest &request)const;
|
||||
void listPredictiveJobStatusAsync(const Model::ListPredictiveJobStatusRequest& request, const ListPredictiveJobStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPredictiveJobStatusOutcomeCallable listPredictiveJobStatusCallable(const Model::ListPredictiveJobStatusRequest& request) const;
|
||||
ListPrivacyNumberCallDetailsOutcome listPrivacyNumberCallDetails(const Model::ListPrivacyNumberCallDetailsRequest &request)const;
|
||||
void listPrivacyNumberCallDetailsAsync(const Model::ListPrivacyNumberCallDetailsRequest& request, const ListPrivacyNumberCallDetailsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrivacyNumberCallDetailsOutcomeCallable listPrivacyNumberCallDetailsCallable(const Model::ListPrivacyNumberCallDetailsRequest& request) const;
|
||||
ListPrivilegesOfUserOutcome listPrivilegesOfUser(const Model::ListPrivilegesOfUserRequest &request)const;
|
||||
void listPrivilegesOfUserAsync(const Model::ListPrivilegesOfUserRequest& request, const ListPrivilegesOfUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPrivilegesOfUserOutcomeCallable listPrivilegesOfUserCallable(const Model::ListPrivilegesOfUserRequest& request) const;
|
||||
ListRealTimeAgentOutcome listRealTimeAgent(const Model::ListRealTimeAgentRequest &request)const;
|
||||
void listRealTimeAgentAsync(const Model::ListRealTimeAgentRequest& request, const ListRealTimeAgentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListRealTimeAgentOutcomeCallable listRealTimeAgentCallable(const Model::ListRealTimeAgentRequest& request) const;
|
||||
@@ -1246,12 +1066,6 @@ namespace AlibabaCloud
|
||||
ModifyCabInstanceOutcome modifyCabInstance(const Model::ModifyCabInstanceRequest &request)const;
|
||||
void modifyCabInstanceAsync(const Model::ModifyCabInstanceRequest& request, const ModifyCabInstanceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyCabInstanceOutcomeCallable modifyCabInstanceCallable(const Model::ModifyCabInstanceRequest& request) const;
|
||||
ModifyMediaOutcome modifyMedia(const Model::ModifyMediaRequest &request)const;
|
||||
void modifyMediaAsync(const Model::ModifyMediaRequest& request, const ModifyMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyMediaOutcomeCallable modifyMediaCallable(const Model::ModifyMediaRequest& request) const;
|
||||
ModifyNotificationConfigOutcome modifyNotificationConfig(const Model::ModifyNotificationConfigRequest &request)const;
|
||||
void modifyNotificationConfigAsync(const Model::ModifyNotificationConfigRequest& request, const ModifyNotificationConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyNotificationConfigOutcomeCallable modifyNotificationConfigCallable(const Model::ModifyNotificationConfigRequest& request) const;
|
||||
ModifyPhoneNumberOutcome modifyPhoneNumber(const Model::ModifyPhoneNumberRequest &request)const;
|
||||
void modifyPhoneNumberAsync(const Model::ModifyPhoneNumberRequest& request, const ModifyPhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyPhoneNumberOutcomeCallable modifyPhoneNumberCallable(const Model::ModifyPhoneNumberRequest& request) const;
|
||||
@@ -1288,39 +1102,15 @@ namespace AlibabaCloud
|
||||
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;
|
||||
PickOutboundNumbersByTagsOutcome pickOutboundNumbersByTags(const Model::PickOutboundNumbersByTagsRequest &request)const;
|
||||
void pickOutboundNumbersByTagsAsync(const Model::PickOutboundNumbersByTagsRequest& request, const PickOutboundNumbersByTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PickOutboundNumbersByTagsOutcomeCallable pickOutboundNumbersByTagsCallable(const Model::PickOutboundNumbersByTagsRequest& request) const;
|
||||
PreCreateMediaOutcome preCreateMedia(const Model::PreCreateMediaRequest &request)const;
|
||||
void preCreateMediaAsync(const Model::PreCreateMediaRequest& request, const PreCreateMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PreCreateMediaOutcomeCallable preCreateMediaCallable(const Model::PreCreateMediaRequest& request) const;
|
||||
PreModifyMediaOutcome preModifyMedia(const Model::PreModifyMediaRequest &request)const;
|
||||
void preModifyMediaAsync(const Model::PreModifyMediaRequest& request, const PreModifyMediaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PreModifyMediaOutcomeCallable preModifyMediaCallable(const Model::PreModifyMediaRequest& request) const;
|
||||
PredictiveRecordFailureOutcome predictiveRecordFailure(const Model::PredictiveRecordFailureRequest &request)const;
|
||||
void predictiveRecordFailureAsync(const Model::PredictiveRecordFailureRequest& request, const PredictiveRecordFailureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PredictiveRecordFailureOutcomeCallable predictiveRecordFailureCallable(const Model::PredictiveRecordFailureRequest& request) const;
|
||||
PredictiveRecordSuccessOutcome predictiveRecordSuccess(const Model::PredictiveRecordSuccessRequest &request)const;
|
||||
void predictiveRecordSuccessAsync(const Model::PredictiveRecordSuccessRequest& request, const PredictiveRecordSuccessAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PredictiveRecordSuccessOutcomeCallable predictiveRecordSuccessCallable(const Model::PredictiveRecordSuccessRequest& request) const;
|
||||
PublishContactFlowVersionOutcome publishContactFlowVersion(const Model::PublishContactFlowVersionRequest &request)const;
|
||||
void publishContactFlowVersionAsync(const Model::PublishContactFlowVersionRequest& request, const PublishContactFlowVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishContactFlowVersionOutcomeCallable publishContactFlowVersionCallable(const Model::PublishContactFlowVersionRequest& request) const;
|
||||
PublishPredictiveJobGroupOutcome publishPredictiveJobGroup(const Model::PublishPredictiveJobGroupRequest &request)const;
|
||||
void publishPredictiveJobGroupAsync(const Model::PublishPredictiveJobGroupRequest& request, const PublishPredictiveJobGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishPredictiveJobGroupOutcomeCallable publishPredictiveJobGroupCallable(const Model::PublishPredictiveJobGroupRequest& request) const;
|
||||
PublishSurveyOutcome publishSurvey(const Model::PublishSurveyRequest &request)const;
|
||||
void publishSurveyAsync(const Model::PublishSurveyRequest& request, const PublishSurveyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
PublishSurveyOutcomeCallable publishSurveyCallable(const Model::PublishSurveyRequest& request) const;
|
||||
QueryRedialIndicatorOutcome queryRedialIndicator(const Model::QueryRedialIndicatorRequest &request)const;
|
||||
void queryRedialIndicatorAsync(const Model::QueryRedialIndicatorRequest& request, const QueryRedialIndicatorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
QueryRedialIndicatorOutcomeCallable queryRedialIndicatorCallable(const Model::QueryRedialIndicatorRequest& request) const;
|
||||
RefreshTokenOutcome refreshToken(const Model::RefreshTokenRequest &request)const;
|
||||
void refreshTokenAsync(const Model::RefreshTokenRequest& request, const RefreshTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RefreshTokenOutcomeCallable refreshTokenCallable(const Model::RefreshTokenRequest& request) const;
|
||||
RemoveNumberFromSkillGroupOutcome removeNumberFromSkillGroup(const Model::RemoveNumberFromSkillGroupRequest &request)const;
|
||||
void removeNumberFromSkillGroupAsync(const Model::RemoveNumberFromSkillGroupRequest& request, const RemoveNumberFromSkillGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemoveNumberFromSkillGroupOutcomeCallable removeNumberFromSkillGroupCallable(const Model::RemoveNumberFromSkillGroupRequest& request) const;
|
||||
RemovePhoneNumberOutcome removePhoneNumber(const Model::RemovePhoneNumberRequest &request)const;
|
||||
void removePhoneNumberAsync(const Model::RemovePhoneNumberRequest& request, const RemovePhoneNumberAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
RemovePhoneNumberOutcomeCallable removePhoneNumberCallable(const Model::RemovePhoneNumberRequest& request) const;
|
||||
@@ -1348,9 +1138,6 @@ namespace AlibabaCloud
|
||||
SendPredefinedShortMessageOutcome sendPredefinedShortMessage(const Model::SendPredefinedShortMessageRequest &request)const;
|
||||
void sendPredefinedShortMessageAsync(const Model::SendPredefinedShortMessageRequest& request, const SendPredefinedShortMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendPredefinedShortMessageOutcomeCallable sendPredefinedShortMessageCallable(const Model::SendPredefinedShortMessageRequest& request) const;
|
||||
SimpleDialOutcome simpleDial(const Model::SimpleDialRequest &request)const;
|
||||
void simpleDialAsync(const Model::SimpleDialRequest& request, const SimpleDialAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SimpleDialOutcomeCallable simpleDialCallable(const Model::SimpleDialRequest& request) const;
|
||||
StartBack2BackCallOutcome startBack2BackCall(const Model::StartBack2BackCallRequest &request)const;
|
||||
void startBack2BackCallAsync(const Model::StartBack2BackCallRequest& request, const StartBack2BackCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartBack2BackCallOutcomeCallable startBack2BackCallCallable(const Model::StartBack2BackCallRequest& request) const;
|
||||
@@ -1369,9 +1156,6 @@ namespace AlibabaCloud
|
||||
TaskPreparingOutcome taskPreparing(const Model::TaskPreparingRequest &request)const;
|
||||
void taskPreparingAsync(const Model::TaskPreparingRequest& request, const TaskPreparingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TaskPreparingOutcomeCallable taskPreparingCallable(const Model::TaskPreparingRequest& request) const;
|
||||
TwoPartiesCallOutcome twoPartiesCall(const Model::TwoPartiesCallRequest &request)const;
|
||||
void twoPartiesCallAsync(const Model::TwoPartiesCallRequest& request, const TwoPartiesCallAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TwoPartiesCallOutcomeCallable twoPartiesCallCallable(const Model::TwoPartiesCallRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
|
||||
@@ -1,57 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_ADDNUMBERTOSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERTOSKILLGROUPREQUEST_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 AddNumberToSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
AddNumberToSkillGroupRequest();
|
||||
~AddNumberToSkillGroupRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getNumber()const;
|
||||
void setNumber(const std::string& number);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string number_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERTOSKILLGROUPREQUEST_H_
|
||||
@@ -1,57 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CANCELPREDICTIVEJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CANCELPREDICTIVEJOBSREQUEST_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 CancelPredictiveJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CancelPredictiveJobsRequest();
|
||||
~CancelPredictiveJobsRequest();
|
||||
|
||||
bool getAll()const;
|
||||
void setAll(bool all);
|
||||
std::vector<std::string> getJobId()const;
|
||||
void setJobId(const std::vector<std::string>& jobId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
|
||||
private:
|
||||
bool all_;
|
||||
std::vector<std::string> jobId_;
|
||||
std::string instanceId_;
|
||||
std::string jobGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CANCELPREDICTIVEJOBSREQUEST_H_
|
||||
@@ -1,48 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATECCCPOSTORDERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATECCCPOSTORDERREQUEST_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 CreateCCCPostOrderRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreateCCCPostOrderRequest();
|
||||
~CreateCCCPostOrderRequest();
|
||||
|
||||
std::string getOwnerId()const;
|
||||
void setOwnerId(const std::string& ownerId);
|
||||
|
||||
private:
|
||||
std::string ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATECCCPOSTORDERREQUEST_H_
|
||||
@@ -1,72 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_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 CreatePredictiveJobGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePredictiveJobGroupRequest();
|
||||
~CreatePredictiveJobGroupRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
bool getTimingSchedule()const;
|
||||
void setTimingSchedule(bool timingSchedule);
|
||||
std::vector<std::string> getJobsJson()const;
|
||||
void setJobsJson(const std::vector<std::string>& jobsJson);
|
||||
std::string getJobFilePath()const;
|
||||
void setJobFilePath(const std::string& jobFilePath);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
bool getIsDraft()const;
|
||||
void setIsDraft(bool isDraft);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
bool timingSchedule_;
|
||||
std::vector<std::string> jobsJson_;
|
||||
std::string jobFilePath_;
|
||||
std::string instanceId_;
|
||||
bool isDraft_;
|
||||
std::string skillGroupId_;
|
||||
std::string strategyJson_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPREQUEST_H_
|
||||
@@ -1,59 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPRESULT_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 CreatePredictiveJobGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePredictiveJobGroupResult();
|
||||
explicit CreatePredictiveJobGroupResult(const std::string &payload);
|
||||
~CreatePredictiveJobGroupResult();
|
||||
std::string getJobGroupId()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobGroupId_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBGROUPRESULT_H_
|
||||
@@ -1,57 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSREQUEST_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 CreatePredictiveJobsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
CreatePredictiveJobsRequest();
|
||||
~CreatePredictiveJobsRequest();
|
||||
|
||||
std::vector<std::string> getJobsJson()const;
|
||||
void setJobsJson(const std::vector<std::string>& jobsJson);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getStrategyJson()const;
|
||||
void setStrategyJson(const std::string& strategyJson);
|
||||
|
||||
private:
|
||||
std::vector<std::string> jobsJson_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
std::string strategyJson_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSREQUEST_H_
|
||||
@@ -1,59 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSRESULT_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 CreatePredictiveJobsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
CreatePredictiveJobsResult();
|
||||
explicit CreatePredictiveJobsResult(const std::string &payload);
|
||||
~CreatePredictiveJobsResult();
|
||||
std::string getJobGroupId()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string jobGroupId_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_CREATEPREDICTIVEJOBSRESULT_H_
|
||||
@@ -1,57 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETAGENTSTATEREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETAGENTSTATEREQUEST_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 GetAgentStateRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetAgentStateRequest();
|
||||
~GetAgentStateRequest();
|
||||
|
||||
std::string getAgentId()const;
|
||||
void setAgentId(const std::string& agentId);
|
||||
std::string getDn()const;
|
||||
void setDn(const std::string& dn);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string agentId_;
|
||||
std::string dn_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETAGENTSTATEREQUEST_H_
|
||||
@@ -1,51 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDREQUEST_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 GetContactIdentifyByOutBoundTaskIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetContactIdentifyByOutBoundTaskIdRequest();
|
||||
~GetContactIdentifyByOutBoundTaskIdRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getOutboundTaskId()const;
|
||||
void setOutboundTaskId(const std::string& outboundTaskId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string outboundTaskId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDREQUEST_H_
|
||||
@@ -1,65 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDRESULT_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 GetContactIdentifyByOutBoundTaskIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ContactIdentity
|
||||
{
|
||||
std::string jobGroupId;
|
||||
std::string userPhone;
|
||||
std::string contactReferrnceId;
|
||||
};
|
||||
|
||||
|
||||
GetContactIdentifyByOutBoundTaskIdResult();
|
||||
explicit GetContactIdentifyByOutBoundTaskIdResult(const std::string &payload);
|
||||
~GetContactIdentifyByOutBoundTaskIdResult();
|
||||
std::string getMessage()const;
|
||||
ContactIdentity getContactIdentity()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
ContactIdentity contactIdentity_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTIDENTIFYBYOUTBOUNDTASKIDRESULT_H_
|
||||
@@ -1,54 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_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 GetContactInfoByOutboundTaskIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetContactInfoByOutboundTaskIdRequest();
|
||||
~GetContactInfoByOutboundTaskIdRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getOutboundTaskId()const;
|
||||
void setOutboundTaskId(const std::string& outboundTaskId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string outboundTaskId_;
|
||||
std::string skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDREQUEST_H_
|
||||
@@ -1,66 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_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 GetContactInfoByOutboundTaskIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct ContactIdentity
|
||||
{
|
||||
std::string jobGroupId;
|
||||
std::string userPhone;
|
||||
std::string caller;
|
||||
std::string contactReferrnceId;
|
||||
};
|
||||
|
||||
|
||||
GetContactInfoByOutboundTaskIdResult();
|
||||
explicit GetContactInfoByOutboundTaskIdResult(const std::string &payload);
|
||||
~GetContactInfoByOutboundTaskIdResult();
|
||||
std::string getMessage()const;
|
||||
ContactIdentity getContactIdentity()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
ContactIdentity contactIdentity_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETCONTACTINFOBYOUTBOUNDTASKIDRESULT_H_
|
||||
@@ -1,61 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLRESULT_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 GetJobFileUploadUrlResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetJobFileUploadUrlResult();
|
||||
explicit GetJobFileUploadUrlResult(const std::string &payload);
|
||||
~GetJobFileUploadUrlResult();
|
||||
std::string getFilePath()const;
|
||||
std::string getUploadUrl()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string filePath_;
|
||||
std::string uploadUrl_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBFILEUPLOADURLRESULT_H_
|
||||
@@ -1,54 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSREQUEST_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 GetJobsProgressRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetJobsProgressRequest();
|
||||
~GetJobsProgressRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
std::string jobGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSREQUEST_H_
|
||||
@@ -1,74 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSRESULT_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 GetJobsProgressResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct JobsProgress
|
||||
{
|
||||
std::string status;
|
||||
int failed;
|
||||
long startTime;
|
||||
int executing;
|
||||
int duration;
|
||||
int scheduling;
|
||||
int cancelled;
|
||||
int totalCompleted;
|
||||
int totalNotAnswered;
|
||||
int repeatCall;
|
||||
int totalJobs;
|
||||
int paused;
|
||||
};
|
||||
|
||||
|
||||
GetJobsProgressResult();
|
||||
explicit GetJobsProgressResult(const std::string &payload);
|
||||
~GetJobsProgressResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
JobsProgress getJobsProgress()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
JobsProgress jobsProgress_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETJOBSPROGRESSRESULT_H_
|
||||
@@ -1,51 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBREQUEST_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 GetPredictiveJobRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPredictiveJobRequest();
|
||||
~GetPredictiveJobRequest();
|
||||
|
||||
std::string getJobId()const;
|
||||
void setJobId(const std::string& jobId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string jobId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBREQUEST_H_
|
||||
@@ -1,112 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBRESULT_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 GetPredictiveJobResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Job
|
||||
{
|
||||
struct Contact
|
||||
{
|
||||
std::string role;
|
||||
std::string honorific;
|
||||
std::string referenceId;
|
||||
std::string state;
|
||||
std::string phoneNumber;
|
||||
std::string contactId;
|
||||
std::string contactName;
|
||||
std::string jobId;
|
||||
};
|
||||
struct Task
|
||||
{
|
||||
struct Contact1
|
||||
{
|
||||
std::string role;
|
||||
std::string honorific;
|
||||
std::string referenceId;
|
||||
std::string state;
|
||||
std::string phoneNumber;
|
||||
std::string contactId;
|
||||
std::string contactName;
|
||||
std::string jobId;
|
||||
};
|
||||
std::string status;
|
||||
std::string chatbotId;
|
||||
long planedTime;
|
||||
std::string calledNumber;
|
||||
std::string taskId;
|
||||
std::string scenarioId;
|
||||
long actualTime;
|
||||
std::string callId;
|
||||
int duration;
|
||||
std::string brief;
|
||||
std::string callingNumber;
|
||||
Contact1 contact1;
|
||||
std::string jobId;
|
||||
};
|
||||
std::string status;
|
||||
std::string jobGroupId;
|
||||
std::vector<Task> tasks;
|
||||
std::string scenarioId;
|
||||
std::vector<Contact> contacts;
|
||||
std::string referenceId;
|
||||
int priority;
|
||||
int systemPriority;
|
||||
std::string failureReason;
|
||||
std::string strategyId;
|
||||
std::string jobId;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
|
||||
|
||||
GetPredictiveJobResult();
|
||||
explicit GetPredictiveJobResult(const std::string &payload);
|
||||
~GetPredictiveJobResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
Job getJob()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
Job job_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_GETPREDICTIVEJOBRESULT_H_
|
||||
@@ -35,17 +35,23 @@ namespace AlibabaCloud
|
||||
ListOutboundPhoneNumberOfUserRequest();
|
||||
~ListOutboundPhoneNumberOfUserRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userId_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -68,6 +68,7 @@ namespace AlibabaCloud
|
||||
~ListOutboundPhoneNumberOfUserResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::vector<std::string> getNumberList()const;
|
||||
std::vector<PhoneNumber> getOutboundPhoneNumbers()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
@@ -77,6 +78,7 @@ namespace AlibabaCloud
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::vector<std::string> numberList_;
|
||||
std::vector<PhoneNumber> outboundPhoneNumbers_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
@@ -36,55 +36,20 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct PhoneNumber
|
||||
{
|
||||
struct ContactFlow
|
||||
{
|
||||
std::string type;
|
||||
std::string contactFlowId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowName;
|
||||
std::string contactFlowDescription;
|
||||
};
|
||||
struct PrivacyNumber
|
||||
{
|
||||
std::string regionNameCity;
|
||||
std::string type;
|
||||
std::string subId;
|
||||
std::string poolId;
|
||||
std::string extra;
|
||||
std::string poolName;
|
||||
std::string phoneNumber;
|
||||
std::string telX;
|
||||
std::string bizId;
|
||||
};
|
||||
struct SkillGroup
|
||||
{
|
||||
std::string skillGroupName;
|
||||
std::string skillGroupId;
|
||||
};
|
||||
std::string assignee;
|
||||
std::string usage;
|
||||
bool testOnly;
|
||||
bool allowOutbound;
|
||||
std::string numberGroupId;
|
||||
std::string instanceId;
|
||||
std::string contactFlowId;
|
||||
std::string serviceTag;
|
||||
long createTime;
|
||||
int remainingTime;
|
||||
std::vector<PhoneNumber::SkillGroup> skillGroups;
|
||||
int trunks;
|
||||
std::string city;
|
||||
std::string phoneNumberId;
|
||||
std::string province;
|
||||
std::string phoneNumberDescription;
|
||||
std::string provider;
|
||||
int type;
|
||||
std::string sipTelX;
|
||||
std::string number;
|
||||
int concurrency;
|
||||
PrivacyNumber privacyNumber;
|
||||
int numberCommodityStatus;
|
||||
ContactFlow contactFlow;
|
||||
std::string numberGroupName;
|
||||
std::vector<std::string> skillGroupIdList;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
|
||||
@@ -1,69 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSREQUEST_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 ListPredictiveJobGroupsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPredictiveJobGroupsRequest();
|
||||
~ListPredictiveJobGroupsRequest();
|
||||
|
||||
std::string getCriteria()const;
|
||||
void setCriteria(const std::string& criteria);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string criteria_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
int pageNumber_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
std::string name_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSREQUEST_H_
|
||||
@@ -1,111 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSRESULT_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 ListPredictiveJobGroupsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct JobGroups
|
||||
{
|
||||
struct JobGroup
|
||||
{
|
||||
struct Strategy
|
||||
{
|
||||
struct TimeFrame
|
||||
{
|
||||
std::string endTime;
|
||||
std::string beginTime;
|
||||
};
|
||||
std::vector<TimeFrame> workingTime;
|
||||
int minAttemptInterval;
|
||||
long endTime;
|
||||
std::string strategyId;
|
||||
long startTime;
|
||||
int maxAttemptsPerDay;
|
||||
};
|
||||
struct Progress
|
||||
{
|
||||
struct KeyValuePair
|
||||
{
|
||||
std::string value;
|
||||
std::string key;
|
||||
};
|
||||
std::string status;
|
||||
std::vector<KeyValuePair> categories;
|
||||
long startTime;
|
||||
int duration;
|
||||
int totalCompleted;
|
||||
int totalNotAnswered;
|
||||
int totalJobs;
|
||||
};
|
||||
Progress progress;
|
||||
std::string description;
|
||||
std::string endTime;
|
||||
std::string instanceId;
|
||||
std::string startTime;
|
||||
std::string skillGroupId;
|
||||
std::string name;
|
||||
std::string jobGroupId;
|
||||
std::string skillGroupName;
|
||||
std::string taskType;
|
||||
long creationTime;
|
||||
Strategy strategy;
|
||||
std::string occupancyRate;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<JobGroup> list;
|
||||
};
|
||||
|
||||
|
||||
ListPredictiveJobGroupsResult();
|
||||
explicit ListPredictiveJobGroupsResult(const std::string &payload);
|
||||
~ListPredictiveJobGroupsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
JobGroups getJobGroups()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
JobGroups jobGroups_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBGROUPSRESULT_H_
|
||||
@@ -1,72 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSREQUEST_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 ListPredictiveJobStatusRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPredictiveJobStatusRequest();
|
||||
~ListPredictiveJobStatusRequest();
|
||||
|
||||
std::string getTimeAlignment()const;
|
||||
void setTimeAlignment(const std::string& timeAlignment);
|
||||
std::string getPhoneNumber()const;
|
||||
void setPhoneNumber(const std::string& phoneNumber);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getContactName()const;
|
||||
void setContactName(const std::string& contactName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getJobGroupId()const;
|
||||
void setJobGroupId(const std::string& jobGroupId);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string timeAlignment_;
|
||||
std::string phoneNumber_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
int pageNumber_;
|
||||
std::string contactName_;
|
||||
std::string instanceId_;
|
||||
std::string jobGroupId_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSREQUEST_H_
|
||||
@@ -1,91 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSRESULT_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 ListPredictiveJobStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Jobs
|
||||
{
|
||||
struct Job
|
||||
{
|
||||
struct Contact
|
||||
{
|
||||
std::string role;
|
||||
std::string honorific;
|
||||
std::string referenceId;
|
||||
std::string state;
|
||||
std::string phoneNumber;
|
||||
std::string contactId;
|
||||
std::string contactName;
|
||||
std::string jobId;
|
||||
};
|
||||
std::string status;
|
||||
std::string jobGroupId;
|
||||
std::string scenarioId;
|
||||
std::vector<Job::Contact> contacts;
|
||||
std::string referenceId;
|
||||
int priority;
|
||||
int systemPriority;
|
||||
std::string failureReason;
|
||||
std::string strategyId;
|
||||
std::string jobId;
|
||||
std::vector<std::string> callingNumbers;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<Job> list;
|
||||
};
|
||||
|
||||
|
||||
ListPredictiveJobStatusResult();
|
||||
explicit ListPredictiveJobStatusResult(const std::string &payload);
|
||||
~ListPredictiveJobStatusResult();
|
||||
std::string getMessage()const;
|
||||
Jobs getJobs()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Jobs jobs_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPREDICTIVEJOBSTATUSRESULT_H_
|
||||
@@ -1,72 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSREQUEST_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 ListPrivacyNumberCallDetailsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPrivacyNumberCallDetailsRequest();
|
||||
~ListPrivacyNumberCallDetailsRequest();
|
||||
|
||||
std::string getAgentId()const;
|
||||
void setAgentId(const std::string& agentId);
|
||||
std::string getContactId()const;
|
||||
void setContactId(const std::string& contactId);
|
||||
long getEndTime()const;
|
||||
void setEndTime(long endTime);
|
||||
long getStartTime()const;
|
||||
void setStartTime(long startTime);
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getAgentName()const;
|
||||
void setAgentName(const std::string& agentName);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
|
||||
private:
|
||||
std::string agentId_;
|
||||
std::string contactId_;
|
||||
long endTime_;
|
||||
long startTime_;
|
||||
int pageNumber_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
std::string agentName_;
|
||||
int pageSize_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSREQUEST_H_
|
||||
@@ -1,80 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSRESULT_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 ListPrivacyNumberCallDetailsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PrivacyNumberCallDetails
|
||||
{
|
||||
struct PrivacyNumberCallDetail
|
||||
{
|
||||
std::string status;
|
||||
std::string calledNumber;
|
||||
std::string contactType;
|
||||
std::string description;
|
||||
std::string privacyNumber;
|
||||
std::string agentId;
|
||||
std::string agentName;
|
||||
std::string contactId;
|
||||
long callTime;
|
||||
std::string callingNumber;
|
||||
std::string result;
|
||||
};
|
||||
int totalCount;
|
||||
int pageSize;
|
||||
int pageNumber;
|
||||
std::vector<PrivacyNumberCallDetail> list;
|
||||
};
|
||||
|
||||
|
||||
ListPrivacyNumberCallDetailsResult();
|
||||
explicit ListPrivacyNumberCallDetailsResult(const std::string &payload);
|
||||
~ListPrivacyNumberCallDetailsResult();
|
||||
PrivacyNumberCallDetails getPrivacyNumberCallDetails()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
PrivacyNumberCallDetails privacyNumberCallDetails_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVACYNUMBERCALLDETAILSRESULT_H_
|
||||
@@ -1,54 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERREQUEST_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 ListPrivilegesOfUserRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ListPrivilegesOfUserRequest();
|
||||
~ListPrivilegesOfUserRequest();
|
||||
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getUserId()const;
|
||||
void setUserId(const std::string& userId);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
|
||||
private:
|
||||
std::string instanceId_;
|
||||
std::string userId_;
|
||||
std::string accessKeyId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERREQUEST_H_
|
||||
@@ -1,65 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERRESULT_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 ListPrivilegesOfUserResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Privilege
|
||||
{
|
||||
std::string privilegeDescription;
|
||||
std::string privilegeId;
|
||||
std::string privilegeName;
|
||||
};
|
||||
|
||||
|
||||
ListPrivilegesOfUserResult();
|
||||
explicit ListPrivilegesOfUserResult(const std::string &payload);
|
||||
~ListPrivilegesOfUserResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<Privilege> getPrivileges()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<Privilege> privileges_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERRESULT_H_
|
||||
@@ -1,75 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYMEDIAREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYMEDIAREQUEST_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 ModifyMediaRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
ModifyMediaRequest();
|
||||
~ModifyMediaRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getOssFilePath()const;
|
||||
void setOssFilePath(const std::string& ossFilePath);
|
||||
std::string getUploadResult()const;
|
||||
void setUploadResult(const std::string& uploadResult);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getOssFileName()const;
|
||||
void setOssFileName(const std::string& ossFileName);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string ossFilePath_;
|
||||
std::string uploadResult_;
|
||||
std::string type_;
|
||||
std::string content_;
|
||||
std::string accessKeyId_;
|
||||
std::string ossFileName_;
|
||||
std::string instanceId_;
|
||||
std::string fileName_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYMEDIAREQUEST_H_
|
||||
@@ -1,67 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYMEDIARESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYMEDIARESULT_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 ModifyMediaResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MediaUploadParam
|
||||
{
|
||||
std::string instance;
|
||||
std::string fileName;
|
||||
std::string ossFileName;
|
||||
std::string name;
|
||||
std::string ossFilePath;
|
||||
};
|
||||
|
||||
|
||||
ModifyMediaResult();
|
||||
explicit ModifyMediaResult(const std::string &payload);
|
||||
~ModifyMediaResult();
|
||||
MediaUploadParam getMediaUploadParam()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
MediaUploadParam mediaUploadParam_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYMEDIARESULT_H_
|
||||
@@ -1,69 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGREQUEST_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 ModifyNotificationConfigRequest : public RpcServiceRequest
|
||||
{
|
||||
struct Subscriptions
|
||||
{
|
||||
std::string displayName;
|
||||
std::string name;
|
||||
bool selected;
|
||||
};
|
||||
|
||||
public:
|
||||
ModifyNotificationConfigRequest();
|
||||
~ModifyNotificationConfigRequest();
|
||||
|
||||
std::vector<Subscriptions> getSubscriptions()const;
|
||||
void setSubscriptions(const std::vector<Subscriptions>& subscriptions);
|
||||
std::string getAccessPoint()const;
|
||||
void setAccessPoint(const std::string& accessPoint);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getTopic()const;
|
||||
void setTopic(const std::string& topic);
|
||||
std::string getProducerId()const;
|
||||
void setProducerId(const std::string& producerId);
|
||||
|
||||
private:
|
||||
std::vector<Subscriptions> subscriptions_;
|
||||
std::string accessPoint_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
std::string topic_;
|
||||
std::string producerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGREQUEST_H_
|
||||
@@ -1,71 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGRESULT_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 ModifyNotificationConfigResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct SubscriptionsItem
|
||||
{
|
||||
std::string displayName;
|
||||
bool selected;
|
||||
std::string name;
|
||||
};
|
||||
|
||||
|
||||
ModifyNotificationConfigResult();
|
||||
explicit ModifyNotificationConfigResult(const std::string &payload);
|
||||
~ModifyNotificationConfigResult();
|
||||
std::string getMessage()const;
|
||||
std::vector<SubscriptionsItem> getSubscriptions()const;
|
||||
std::string getProducerId()const;
|
||||
std::string getAccessPoint()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getTopic()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
std::vector<SubscriptionsItem> subscriptions_;
|
||||
std::string producerId_;
|
||||
std::string accessPoint_;
|
||||
int httpStatusCode_;
|
||||
std::string topic_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYNOTIFICATIONCONFIGRESULT_H_
|
||||
@@ -1,66 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSREQUEST_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 PickOutboundNumbersByTagsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PickOutboundNumbersByTagsRequest();
|
||||
~PickOutboundNumbersByTagsRequest();
|
||||
|
||||
std::vector<std::string> getPrioritizedCallerArea()const;
|
||||
void setPrioritizedCallerArea(const std::vector<std::string>& prioritizedCallerArea);
|
||||
int getCount()const;
|
||||
void setCount(int count);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::vector<std::string> getServiceTag()const;
|
||||
void setServiceTag(const std::vector<std::string>& serviceTag);
|
||||
std::vector<std::string> getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::vector<std::string>& skillGroupId);
|
||||
std::string getCalleeNumber()const;
|
||||
void setCalleeNumber(const std::string& calleeNumber);
|
||||
|
||||
private:
|
||||
std::vector<std::string> prioritizedCallerArea_;
|
||||
int count_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
std::vector<std::string> serviceTag_;
|
||||
std::vector<std::string> skillGroupId_;
|
||||
std::string calleeNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSREQUEST_H_
|
||||
@@ -1,76 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSRESULT_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 PickOutboundNumbersByTagsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DialNumberPair
|
||||
{
|
||||
struct Callee
|
||||
{
|
||||
std::string number;
|
||||
std::string city;
|
||||
std::string province;
|
||||
};
|
||||
struct Caller
|
||||
{
|
||||
std::string number;
|
||||
std::string city;
|
||||
std::string province;
|
||||
};
|
||||
Callee callee;
|
||||
Caller caller;
|
||||
};
|
||||
|
||||
|
||||
PickOutboundNumbersByTagsResult();
|
||||
explicit PickOutboundNumbersByTagsResult(const std::string &payload);
|
||||
~PickOutboundNumbersByTagsResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
std::vector<DialNumberPair> getDialNumberPairs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
std::vector<DialNumberPair> dialNumberPairs_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSBYTAGSRESULT_H_
|
||||
@@ -1,66 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIAREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIAREQUEST_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 PreCreateMediaRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PreCreateMediaRequest();
|
||||
~PreCreateMediaRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string type_;
|
||||
std::string content_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
std::string fileName_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIAREQUEST_H_
|
||||
@@ -1,66 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIARESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIARESULT_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 PreCreateMediaResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PreCreateMediaParam
|
||||
{
|
||||
std::string ossFile;
|
||||
std::string ossBucket;
|
||||
std::string signatureUrl;
|
||||
std::string ossFilePath;
|
||||
};
|
||||
|
||||
|
||||
PreCreateMediaResult();
|
||||
explicit PreCreateMediaResult(const std::string &payload);
|
||||
~PreCreateMediaResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
PreCreateMediaParam getPreCreateMediaParam()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
PreCreateMediaParam preCreateMediaParam_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PRECREATEMEDIARESULT_H_
|
||||
@@ -1,66 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIAREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIAREQUEST_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 PreModifyMediaRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PreModifyMediaRequest();
|
||||
~PreModifyMediaRequest();
|
||||
|
||||
std::string getDescription()const;
|
||||
void setDescription(const std::string& description);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getContent()const;
|
||||
void setContent(const std::string& content);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getFileName()const;
|
||||
void setFileName(const std::string& fileName);
|
||||
std::string getName()const;
|
||||
void setName(const std::string& name);
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string type_;
|
||||
std::string content_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
std::string fileName_;
|
||||
std::string name_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIAREQUEST_H_
|
||||
@@ -1,66 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIARESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIARESULT_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 PreModifyMediaResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct PreModifyMediaParam
|
||||
{
|
||||
std::string ossFile;
|
||||
std::string ossBucket;
|
||||
std::string signatureUrl;
|
||||
std::string ossFilePath;
|
||||
};
|
||||
|
||||
|
||||
PreModifyMediaResult();
|
||||
explicit PreModifyMediaResult(const std::string &payload);
|
||||
~PreModifyMediaResult();
|
||||
std::string getMessage()const;
|
||||
PreModifyMediaParam getPreModifyMediaParam()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
PreModifyMediaParam preModifyMediaParam_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PREMODIFYMEDIARESULT_H_
|
||||
@@ -1,72 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILUREREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILUREREQUEST_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 PredictiveRecordFailureRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PredictiveRecordFailureRequest();
|
||||
~PredictiveRecordFailureRequest();
|
||||
|
||||
std::string getCallId()const;
|
||||
void setCallId(const std::string& callId);
|
||||
long getActualTime()const;
|
||||
void setActualTime(long actualTime);
|
||||
std::string getCallingNumber()const;
|
||||
void setCallingNumber(const std::string& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getDispositionCode()const;
|
||||
void setDispositionCode(const std::string& dispositionCode);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getCabInstanceId()const;
|
||||
void setCabInstanceId(const std::string& cabInstanceId);
|
||||
long getCabInstanceOwnerId()const;
|
||||
void setCabInstanceOwnerId(long cabInstanceOwnerId);
|
||||
|
||||
private:
|
||||
std::string callId_;
|
||||
long actualTime_;
|
||||
std::string callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string dispositionCode_;
|
||||
std::string calledNumber_;
|
||||
std::string taskId_;
|
||||
std::string cabInstanceId_;
|
||||
long cabInstanceOwnerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILUREREQUEST_H_
|
||||
@@ -1,57 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILURERESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILURERESULT_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 PredictiveRecordFailureResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
PredictiveRecordFailureResult();
|
||||
explicit PredictiveRecordFailureResult(const std::string &payload);
|
||||
~PredictiveRecordFailureResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDFAILURERESULT_H_
|
||||
@@ -1,72 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDSUCCESSREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDSUCCESSREQUEST_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 PredictiveRecordSuccessRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
PredictiveRecordSuccessRequest();
|
||||
~PredictiveRecordSuccessRequest();
|
||||
|
||||
std::string getCallId()const;
|
||||
void setCallId(const std::string& callId);
|
||||
std::string getCallingNumber()const;
|
||||
void setCallingNumber(const std::string& callingNumber);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCalledNumber()const;
|
||||
void setCalledNumber(const std::string& calledNumber);
|
||||
std::string getCallType()const;
|
||||
void setCallType(const std::string& callType);
|
||||
std::string getScenarioId()const;
|
||||
void setScenarioId(const std::string& scenarioId);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
std::string getCabInstanceId()const;
|
||||
void setCabInstanceId(const std::string& cabInstanceId);
|
||||
long getCabInstanceOwnerId()const;
|
||||
void setCabInstanceOwnerId(long cabInstanceOwnerId);
|
||||
|
||||
private:
|
||||
std::string callId_;
|
||||
std::string callingNumber_;
|
||||
std::string instanceId_;
|
||||
std::string calledNumber_;
|
||||
std::string callType_;
|
||||
std::string scenarioId_;
|
||||
std::string taskId_;
|
||||
std::string cabInstanceId_;
|
||||
long cabInstanceOwnerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_PREDICTIVERECORDSUCCESSREQUEST_H_
|
||||
@@ -1,57 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_QUERYREDIALINDICATORREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_QUERYREDIALINDICATORREQUEST_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 QueryRedialIndicatorRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
QueryRedialIndicatorRequest();
|
||||
~QueryRedialIndicatorRequest();
|
||||
|
||||
std::string getContactId()const;
|
||||
void setContactId(const std::string& contactId);
|
||||
bool getMockResponse()const;
|
||||
void setMockResponse(bool mockResponse);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
|
||||
private:
|
||||
std::string contactId_;
|
||||
bool mockResponse_;
|
||||
std::string accessKeyId_;
|
||||
std::string instanceId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_QUERYREDIALINDICATORREQUEST_H_
|
||||
@@ -1,59 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_QUERYREDIALINDICATORRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_QUERYREDIALINDICATORRESULT_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 QueryRedialIndicatorResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
QueryRedialIndicatorResult();
|
||||
explicit QueryRedialIndicatorResult(const std::string &payload);
|
||||
~QueryRedialIndicatorResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
bool getRedial()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
bool redial_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_QUERYREDIALINDICATORRESULT_H_
|
||||
@@ -1,57 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPREQUEST_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 RemoveNumberFromSkillGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
RemoveNumberFromSkillGroupRequest();
|
||||
~RemoveNumberFromSkillGroupRequest();
|
||||
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getNumber()const;
|
||||
void setNumber(const std::string& number);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getSkillGroupId()const;
|
||||
void setSkillGroupId(const std::string& skillGroupId);
|
||||
|
||||
private:
|
||||
std::string accessKeyId_;
|
||||
std::string number_;
|
||||
std::string instanceId_;
|
||||
std::string skillGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPREQUEST_H_
|
||||
@@ -1,57 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPRESULT_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 RemoveNumberFromSkillGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
RemoveNumberFromSkillGroupResult();
|
||||
explicit RemoveNumberFromSkillGroupResult(const std::string &payload);
|
||||
~RemoveNumberFromSkillGroupResult();
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_REMOVENUMBERFROMSKILLGROUPRESULT_H_
|
||||
@@ -1,60 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_SIMPLEDIALREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_SIMPLEDIALREQUEST_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 SimpleDialRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SimpleDialRequest();
|
||||
~SimpleDialRequest();
|
||||
|
||||
std::string getCallee()const;
|
||||
void setCallee(const std::string& callee);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getCaller()const;
|
||||
void setCaller(const std::string& caller);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getContractFlowId()const;
|
||||
void setContractFlowId(const std::string& contractFlowId);
|
||||
|
||||
private:
|
||||
std::string callee_;
|
||||
std::string accessKeyId_;
|
||||
std::string caller_;
|
||||
std::string instanceId_;
|
||||
std::string contractFlowId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_SIMPLEDIALREQUEST_H_
|
||||
@@ -1,65 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_SIMPLEDIALRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_SIMPLEDIALRESULT_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 SimpleDialResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
SimpleDialResult();
|
||||
explicit SimpleDialResult(const std::string &payload);
|
||||
~SimpleDialResult();
|
||||
std::string getStatusDesc()const;
|
||||
std::string getTaskId()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
std::string getStatusCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getTimeStamp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string statusDesc_;
|
||||
std::string taskId_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
std::string statusCode_;
|
||||
bool success_;
|
||||
std::string timeStamp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_SIMPLEDIALRESULT_H_
|
||||
@@ -1,60 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLREQUEST_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLREQUEST_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 TwoPartiesCallRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
TwoPartiesCallRequest();
|
||||
~TwoPartiesCallRequest();
|
||||
|
||||
std::string getCalleeCustomer()const;
|
||||
void setCalleeCustomer(const std::string& calleeCustomer);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getCaller()const;
|
||||
void setCaller(const std::string& caller);
|
||||
std::string getInstanceId()const;
|
||||
void setInstanceId(const std::string& instanceId);
|
||||
std::string getCalleeAgent()const;
|
||||
void setCalleeAgent(const std::string& calleeAgent);
|
||||
|
||||
private:
|
||||
std::string calleeCustomer_;
|
||||
std::string accessKeyId_;
|
||||
std::string caller_;
|
||||
std::string instanceId_;
|
||||
std::string calleeAgent_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLREQUEST_H_
|
||||
@@ -1,65 +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.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLRESULT_H_
|
||||
#define ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLRESULT_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 TwoPartiesCallResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
TwoPartiesCallResult();
|
||||
explicit TwoPartiesCallResult(const std::string &payload);
|
||||
~TwoPartiesCallResult();
|
||||
std::string getStatusDesc()const;
|
||||
std::string getTaskId()const;
|
||||
std::string getMessage()const;
|
||||
int getHttpStatusCode()const;
|
||||
std::string getCode()const;
|
||||
std::string getStatusCode()const;
|
||||
bool getSuccess()const;
|
||||
std::string getTimeStamp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string statusDesc_;
|
||||
std::string taskId_;
|
||||
std::string message_;
|
||||
int httpStatusCode_;
|
||||
std::string code_;
|
||||
std::string statusCode_;
|
||||
bool success_;
|
||||
std::string timeStamp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CCC_MODEL_TWOPARTIESCALLRESULT_H_
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,71 +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/ccc/model/AddNumberToSkillGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::AddNumberToSkillGroupRequest;
|
||||
|
||||
AddNumberToSkillGroupRequest::AddNumberToSkillGroupRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "AddNumberToSkillGroup")
|
||||
{}
|
||||
|
||||
AddNumberToSkillGroupRequest::~AddNumberToSkillGroupRequest()
|
||||
{}
|
||||
|
||||
std::string AddNumberToSkillGroupRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void AddNumberToSkillGroupRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string AddNumberToSkillGroupRequest::getNumber()const
|
||||
{
|
||||
return number_;
|
||||
}
|
||||
|
||||
void AddNumberToSkillGroupRequest::setNumber(const std::string& number)
|
||||
{
|
||||
number_ = number;
|
||||
setCoreParameter("Number", number);
|
||||
}
|
||||
|
||||
std::string AddNumberToSkillGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void AddNumberToSkillGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string AddNumberToSkillGroupRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void AddNumberToSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setCoreParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
@@ -1,72 +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/ccc/model/AddNumberToSkillGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
AddNumberToSkillGroupResult::AddNumberToSkillGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
AddNumberToSkillGroupResult::AddNumberToSkillGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
AddNumberToSkillGroupResult::~AddNumberToSkillGroupResult()
|
||||
{}
|
||||
|
||||
void AddNumberToSkillGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string AddNumberToSkillGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int AddNumberToSkillGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string AddNumberToSkillGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool AddNumberToSkillGroupResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,72 +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/ccc/model/CancelPredictiveJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::CancelPredictiveJobsRequest;
|
||||
|
||||
CancelPredictiveJobsRequest::CancelPredictiveJobsRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "CancelPredictiveJobs")
|
||||
{}
|
||||
|
||||
CancelPredictiveJobsRequest::~CancelPredictiveJobsRequest()
|
||||
{}
|
||||
|
||||
bool CancelPredictiveJobsRequest::getAll()const
|
||||
{
|
||||
return all_;
|
||||
}
|
||||
|
||||
void CancelPredictiveJobsRequest::setAll(bool all)
|
||||
{
|
||||
all_ = all;
|
||||
setCoreParameter("All", all ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> CancelPredictiveJobsRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void CancelPredictiveJobsRequest::setJobId(const std::vector<std::string>& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
for(int i = 0; i!= jobId.size(); i++)
|
||||
setCoreParameter("JobId."+ std::to_string(i), jobId.at(i));
|
||||
}
|
||||
|
||||
std::string CancelPredictiveJobsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CancelPredictiveJobsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CancelPredictiveJobsRequest::getJobGroupId()const
|
||||
{
|
||||
return jobGroupId_;
|
||||
}
|
||||
|
||||
void CancelPredictiveJobsRequest::setJobGroupId(const std::string& jobGroupId)
|
||||
{
|
||||
jobGroupId_ = jobGroupId;
|
||||
setCoreParameter("JobGroupId", jobGroupId);
|
||||
}
|
||||
|
||||
@@ -1,72 +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/ccc/model/CancelPredictiveJobsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
CancelPredictiveJobsResult::CancelPredictiveJobsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CancelPredictiveJobsResult::CancelPredictiveJobsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CancelPredictiveJobsResult::~CancelPredictiveJobsResult()
|
||||
{}
|
||||
|
||||
void CancelPredictiveJobsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string CancelPredictiveJobsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CancelPredictiveJobsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CancelPredictiveJobsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool CancelPredictiveJobsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,38 +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/ccc/model/CreateCCCPostOrderRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::CreateCCCPostOrderRequest;
|
||||
|
||||
CreateCCCPostOrderRequest::CreateCCCPostOrderRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "CreateCCCPostOrder")
|
||||
{}
|
||||
|
||||
CreateCCCPostOrderRequest::~CreateCCCPostOrderRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCCCPostOrderRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCCCPostOrderRequest::setOwnerId(const std::string& ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setCoreParameter("OwnerId", ownerId);
|
||||
}
|
||||
|
||||
@@ -1,79 +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/ccc/model/CreateCCCPostOrderResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
CreateCCCPostOrderResult::CreateCCCPostOrderResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateCCCPostOrderResult::CreateCCCPostOrderResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateCCCPostOrderResult::~CreateCCCPostOrderResult()
|
||||
{}
|
||||
|
||||
void CreateCCCPostOrderResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["OrderId"].isNull())
|
||||
orderId_ = value["OrderId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateCCCPostOrderResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CreateCCCPostOrderResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreateCCCPostOrderResult::getOrderId()const
|
||||
{
|
||||
return orderId_;
|
||||
}
|
||||
|
||||
std::string CreateCCCPostOrderResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool CreateCCCPostOrderResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,127 +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/ccc/model/CreatePredictiveJobGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::CreatePredictiveJobGroupRequest;
|
||||
|
||||
CreatePredictiveJobGroupRequest::CreatePredictiveJobGroupRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "CreatePredictiveJobGroup")
|
||||
{}
|
||||
|
||||
CreatePredictiveJobGroupRequest::~CreatePredictiveJobGroupRequest()
|
||||
{}
|
||||
|
||||
std::string CreatePredictiveJobGroupRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobGroupRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
bool CreatePredictiveJobGroupRequest::getTimingSchedule()const
|
||||
{
|
||||
return timingSchedule_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobGroupRequest::setTimingSchedule(bool timingSchedule)
|
||||
{
|
||||
timingSchedule_ = timingSchedule;
|
||||
setCoreParameter("TimingSchedule", timingSchedule ? "true" : "false");
|
||||
}
|
||||
|
||||
std::vector<std::string> CreatePredictiveJobGroupRequest::getJobsJson()const
|
||||
{
|
||||
return jobsJson_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobGroupRequest::setJobsJson(const std::vector<std::string>& jobsJson)
|
||||
{
|
||||
jobsJson_ = jobsJson;
|
||||
for(int i = 0; i!= jobsJson.size(); i++)
|
||||
setCoreParameter("JobsJson."+ std::to_string(i), jobsJson.at(i));
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobGroupRequest::getJobFilePath()const
|
||||
{
|
||||
return jobFilePath_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobGroupRequest::setJobFilePath(const std::string& jobFilePath)
|
||||
{
|
||||
jobFilePath_ = jobFilePath;
|
||||
setCoreParameter("JobFilePath", jobFilePath);
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobGroupRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobGroupRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
bool CreatePredictiveJobGroupRequest::getIsDraft()const
|
||||
{
|
||||
return isDraft_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobGroupRequest::setIsDraft(bool isDraft)
|
||||
{
|
||||
isDraft_ = isDraft;
|
||||
setCoreParameter("IsDraft", isDraft ? "true" : "false");
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobGroupRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobGroupRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setCoreParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobGroupRequest::getStrategyJson()const
|
||||
{
|
||||
return strategyJson_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobGroupRequest::setStrategyJson(const std::string& strategyJson)
|
||||
{
|
||||
strategyJson_ = strategyJson;
|
||||
setCoreParameter("StrategyJson", strategyJson);
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobGroupRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobGroupRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
@@ -1,79 +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/ccc/model/CreatePredictiveJobGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
CreatePredictiveJobGroupResult::CreatePredictiveJobGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreatePredictiveJobGroupResult::CreatePredictiveJobGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreatePredictiveJobGroupResult::~CreatePredictiveJobGroupResult()
|
||||
{}
|
||||
|
||||
void CreatePredictiveJobGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["JobGroupId"].isNull())
|
||||
jobGroupId_ = value["JobGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobGroupResult::getJobGroupId()const
|
||||
{
|
||||
return jobGroupId_;
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobGroupResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CreatePredictiveJobGroupResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobGroupResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool CreatePredictiveJobGroupResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,72 +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/ccc/model/CreatePredictiveJobsRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::CreatePredictiveJobsRequest;
|
||||
|
||||
CreatePredictiveJobsRequest::CreatePredictiveJobsRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "CreatePredictiveJobs")
|
||||
{}
|
||||
|
||||
CreatePredictiveJobsRequest::~CreatePredictiveJobsRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> CreatePredictiveJobsRequest::getJobsJson()const
|
||||
{
|
||||
return jobsJson_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobsRequest::setJobsJson(const std::vector<std::string>& jobsJson)
|
||||
{
|
||||
jobsJson_ = jobsJson;
|
||||
for(int i = 0; i!= jobsJson.size(); i++)
|
||||
setCoreParameter("JobsJson."+ std::to_string(i), jobsJson.at(i));
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobsRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobsRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setCoreParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobsRequest::getStrategyJson()const
|
||||
{
|
||||
return strategyJson_;
|
||||
}
|
||||
|
||||
void CreatePredictiveJobsRequest::setStrategyJson(const std::string& strategyJson)
|
||||
{
|
||||
strategyJson_ = strategyJson;
|
||||
setCoreParameter("StrategyJson", strategyJson);
|
||||
}
|
||||
|
||||
@@ -1,79 +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/ccc/model/CreatePredictiveJobsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
CreatePredictiveJobsResult::CreatePredictiveJobsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreatePredictiveJobsResult::CreatePredictiveJobsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreatePredictiveJobsResult::~CreatePredictiveJobsResult()
|
||||
{}
|
||||
|
||||
void CreatePredictiveJobsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["JobGroupId"].isNull())
|
||||
jobGroupId_ = value["JobGroupId"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobsResult::getJobGroupId()const
|
||||
{
|
||||
return jobGroupId_;
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int CreatePredictiveJobsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string CreatePredictiveJobsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool CreatePredictiveJobsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,71 +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/ccc/model/GetAgentStateRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::GetAgentStateRequest;
|
||||
|
||||
GetAgentStateRequest::GetAgentStateRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "GetAgentState")
|
||||
{}
|
||||
|
||||
GetAgentStateRequest::~GetAgentStateRequest()
|
||||
{}
|
||||
|
||||
std::string GetAgentStateRequest::getAgentId()const
|
||||
{
|
||||
return agentId_;
|
||||
}
|
||||
|
||||
void GetAgentStateRequest::setAgentId(const std::string& agentId)
|
||||
{
|
||||
agentId_ = agentId;
|
||||
setCoreParameter("AgentId", agentId);
|
||||
}
|
||||
|
||||
std::string GetAgentStateRequest::getDn()const
|
||||
{
|
||||
return dn_;
|
||||
}
|
||||
|
||||
void GetAgentStateRequest::setDn(const std::string& dn)
|
||||
{
|
||||
dn_ = dn;
|
||||
setCoreParameter("Dn", dn);
|
||||
}
|
||||
|
||||
std::string GetAgentStateRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void GetAgentStateRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string GetAgentStateRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetAgentStateRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
@@ -1,92 +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/ccc/model/GetAgentStateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
GetAgentStateResult::GetAgentStateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetAgentStateResult::GetAgentStateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetAgentStateResult::~GetAgentStateResult()
|
||||
{}
|
||||
|
||||
void GetAgentStateResult::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["InstanceId"].isNull())
|
||||
data_.instanceId = dataNode["InstanceId"].asString();
|
||||
if(!dataNode["AgentId"].isNull())
|
||||
data_.agentId = dataNode["AgentId"].asString();
|
||||
if(!dataNode["LoginName"].isNull())
|
||||
data_.loginName = dataNode["LoginName"].asString();
|
||||
if(!dataNode["AgentName"].isNull())
|
||||
data_.agentName = dataNode["AgentName"].asString();
|
||||
if(!dataNode["State"].isNull())
|
||||
data_.state = dataNode["State"].asString();
|
||||
if(!dataNode["Dn"].isNull())
|
||||
data_.dn = dataNode["Dn"].asString();
|
||||
if(!dataNode["StateDuration"].isNull())
|
||||
data_.stateDuration = dataNode["StateDuration"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string GetAgentStateResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int GetAgentStateResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
GetAgentStateResult::Data GetAgentStateResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string GetAgentStateResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetAgentStateResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,49 +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/ccc/model/GetContactIdentifyByOutBoundTaskIdRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::GetContactIdentifyByOutBoundTaskIdRequest;
|
||||
|
||||
GetContactIdentifyByOutBoundTaskIdRequest::GetContactIdentifyByOutBoundTaskIdRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "GetContactIdentifyByOutBoundTaskId")
|
||||
{}
|
||||
|
||||
GetContactIdentifyByOutBoundTaskIdRequest::~GetContactIdentifyByOutBoundTaskIdRequest()
|
||||
{}
|
||||
|
||||
std::string GetContactIdentifyByOutBoundTaskIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetContactIdentifyByOutBoundTaskIdRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string GetContactIdentifyByOutBoundTaskIdRequest::getOutboundTaskId()const
|
||||
{
|
||||
return outboundTaskId_;
|
||||
}
|
||||
|
||||
void GetContactIdentifyByOutBoundTaskIdRequest::setOutboundTaskId(const std::string& outboundTaskId)
|
||||
{
|
||||
outboundTaskId_ = outboundTaskId;
|
||||
setCoreParameter("OutboundTaskId", outboundTaskId);
|
||||
}
|
||||
|
||||
@@ -1,84 +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/ccc/model/GetContactIdentifyByOutBoundTaskIdResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
GetContactIdentifyByOutBoundTaskIdResult::GetContactIdentifyByOutBoundTaskIdResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetContactIdentifyByOutBoundTaskIdResult::GetContactIdentifyByOutBoundTaskIdResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetContactIdentifyByOutBoundTaskIdResult::~GetContactIdentifyByOutBoundTaskIdResult()
|
||||
{}
|
||||
|
||||
void GetContactIdentifyByOutBoundTaskIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto contactIdentityNode = value["ContactIdentity"];
|
||||
if(!contactIdentityNode["ContactReferrnceId"].isNull())
|
||||
contactIdentity_.contactReferrnceId = contactIdentityNode["ContactReferrnceId"].asString();
|
||||
if(!contactIdentityNode["JobGroupId"].isNull())
|
||||
contactIdentity_.jobGroupId = contactIdentityNode["JobGroupId"].asString();
|
||||
if(!contactIdentityNode["UserPhone"].isNull())
|
||||
contactIdentity_.userPhone = contactIdentityNode["UserPhone"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string GetContactIdentifyByOutBoundTaskIdResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetContactIdentifyByOutBoundTaskIdResult::ContactIdentity GetContactIdentifyByOutBoundTaskIdResult::getContactIdentity()const
|
||||
{
|
||||
return contactIdentity_;
|
||||
}
|
||||
|
||||
int GetContactIdentifyByOutBoundTaskIdResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string GetContactIdentifyByOutBoundTaskIdResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetContactIdentifyByOutBoundTaskIdResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,60 +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/ccc/model/GetContactInfoByOutboundTaskIdRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::GetContactInfoByOutboundTaskIdRequest;
|
||||
|
||||
GetContactInfoByOutboundTaskIdRequest::GetContactInfoByOutboundTaskIdRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "GetContactInfoByOutboundTaskId")
|
||||
{}
|
||||
|
||||
GetContactInfoByOutboundTaskIdRequest::~GetContactInfoByOutboundTaskIdRequest()
|
||||
{}
|
||||
|
||||
std::string GetContactInfoByOutboundTaskIdRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetContactInfoByOutboundTaskIdRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string GetContactInfoByOutboundTaskIdRequest::getOutboundTaskId()const
|
||||
{
|
||||
return outboundTaskId_;
|
||||
}
|
||||
|
||||
void GetContactInfoByOutboundTaskIdRequest::setOutboundTaskId(const std::string& outboundTaskId)
|
||||
{
|
||||
outboundTaskId_ = outboundTaskId;
|
||||
setCoreParameter("OutboundTaskId", outboundTaskId);
|
||||
}
|
||||
|
||||
std::string GetContactInfoByOutboundTaskIdRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void GetContactInfoByOutboundTaskIdRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setCoreParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
@@ -1,86 +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/ccc/model/GetContactInfoByOutboundTaskIdResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
GetContactInfoByOutboundTaskIdResult::GetContactInfoByOutboundTaskIdResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetContactInfoByOutboundTaskIdResult::GetContactInfoByOutboundTaskIdResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetContactInfoByOutboundTaskIdResult::~GetContactInfoByOutboundTaskIdResult()
|
||||
{}
|
||||
|
||||
void GetContactInfoByOutboundTaskIdResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto contactIdentityNode = value["ContactIdentity"];
|
||||
if(!contactIdentityNode["ContactReferrnceId"].isNull())
|
||||
contactIdentity_.contactReferrnceId = contactIdentityNode["ContactReferrnceId"].asString();
|
||||
if(!contactIdentityNode["JobGroupId"].isNull())
|
||||
contactIdentity_.jobGroupId = contactIdentityNode["JobGroupId"].asString();
|
||||
if(!contactIdentityNode["UserPhone"].isNull())
|
||||
contactIdentity_.userPhone = contactIdentityNode["UserPhone"].asString();
|
||||
if(!contactIdentityNode["Caller"].isNull())
|
||||
contactIdentity_.caller = contactIdentityNode["Caller"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string GetContactInfoByOutboundTaskIdResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
GetContactInfoByOutboundTaskIdResult::ContactIdentity GetContactInfoByOutboundTaskIdResult::getContactIdentity()const
|
||||
{
|
||||
return contactIdentity_;
|
||||
}
|
||||
|
||||
int GetContactInfoByOutboundTaskIdResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string GetContactInfoByOutboundTaskIdResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetContactInfoByOutboundTaskIdResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,49 +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/ccc/model/GetJobFileUploadUrlRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::GetJobFileUploadUrlRequest;
|
||||
|
||||
GetJobFileUploadUrlRequest::GetJobFileUploadUrlRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "GetJobFileUploadUrl")
|
||||
{}
|
||||
|
||||
GetJobFileUploadUrlRequest::~GetJobFileUploadUrlRequest()
|
||||
{}
|
||||
|
||||
std::string GetJobFileUploadUrlRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetJobFileUploadUrlRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string GetJobFileUploadUrlRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
void GetJobFileUploadUrlRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setCoreParameter("FileName", fileName);
|
||||
}
|
||||
|
||||
@@ -1,86 +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/ccc/model/GetJobFileUploadUrlResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
GetJobFileUploadUrlResult::GetJobFileUploadUrlResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetJobFileUploadUrlResult::GetJobFileUploadUrlResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetJobFileUploadUrlResult::~GetJobFileUploadUrlResult()
|
||||
{}
|
||||
|
||||
void GetJobFileUploadUrlResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["FilePath"].isNull())
|
||||
filePath_ = value["FilePath"].asString();
|
||||
if(!value["UploadUrl"].isNull())
|
||||
uploadUrl_ = value["UploadUrl"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string GetJobFileUploadUrlResult::getFilePath()const
|
||||
{
|
||||
return filePath_;
|
||||
}
|
||||
|
||||
std::string GetJobFileUploadUrlResult::getUploadUrl()const
|
||||
{
|
||||
return uploadUrl_;
|
||||
}
|
||||
|
||||
std::string GetJobFileUploadUrlResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int GetJobFileUploadUrlResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string GetJobFileUploadUrlResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetJobFileUploadUrlResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,60 +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/ccc/model/GetJobsProgressRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::GetJobsProgressRequest;
|
||||
|
||||
GetJobsProgressRequest::GetJobsProgressRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "GetJobsProgress")
|
||||
{}
|
||||
|
||||
GetJobsProgressRequest::~GetJobsProgressRequest()
|
||||
{}
|
||||
|
||||
std::string GetJobsProgressRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetJobsProgressRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string GetJobsProgressRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void GetJobsProgressRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setCoreParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
std::string GetJobsProgressRequest::getJobGroupId()const
|
||||
{
|
||||
return jobGroupId_;
|
||||
}
|
||||
|
||||
void GetJobsProgressRequest::setJobGroupId(const std::string& jobGroupId)
|
||||
{
|
||||
jobGroupId_ = jobGroupId;
|
||||
setCoreParameter("JobGroupId", jobGroupId);
|
||||
}
|
||||
|
||||
@@ -1,102 +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/ccc/model/GetJobsProgressResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
GetJobsProgressResult::GetJobsProgressResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetJobsProgressResult::GetJobsProgressResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetJobsProgressResult::~GetJobsProgressResult()
|
||||
{}
|
||||
|
||||
void GetJobsProgressResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto jobsProgressNode = value["JobsProgress"];
|
||||
if(!jobsProgressNode["Status"].isNull())
|
||||
jobsProgress_.status = jobsProgressNode["Status"].asString();
|
||||
if(!jobsProgressNode["StartTime"].isNull())
|
||||
jobsProgress_.startTime = std::stol(jobsProgressNode["StartTime"].asString());
|
||||
if(!jobsProgressNode["Duration"].isNull())
|
||||
jobsProgress_.duration = std::stoi(jobsProgressNode["Duration"].asString());
|
||||
if(!jobsProgressNode["TotalJobs"].isNull())
|
||||
jobsProgress_.totalJobs = std::stoi(jobsProgressNode["TotalJobs"].asString());
|
||||
if(!jobsProgressNode["TotalNotAnswered"].isNull())
|
||||
jobsProgress_.totalNotAnswered = std::stoi(jobsProgressNode["TotalNotAnswered"].asString());
|
||||
if(!jobsProgressNode["TotalCompleted"].isNull())
|
||||
jobsProgress_.totalCompleted = std::stoi(jobsProgressNode["TotalCompleted"].asString());
|
||||
if(!jobsProgressNode["Scheduling"].isNull())
|
||||
jobsProgress_.scheduling = std::stoi(jobsProgressNode["Scheduling"].asString());
|
||||
if(!jobsProgressNode["Executing"].isNull())
|
||||
jobsProgress_.executing = std::stoi(jobsProgressNode["Executing"].asString());
|
||||
if(!jobsProgressNode["Paused"].isNull())
|
||||
jobsProgress_.paused = std::stoi(jobsProgressNode["Paused"].asString());
|
||||
if(!jobsProgressNode["Failed"].isNull())
|
||||
jobsProgress_.failed = std::stoi(jobsProgressNode["Failed"].asString());
|
||||
if(!jobsProgressNode["Cancelled"].isNull())
|
||||
jobsProgress_.cancelled = std::stoi(jobsProgressNode["Cancelled"].asString());
|
||||
if(!jobsProgressNode["RepeatCall"].isNull())
|
||||
jobsProgress_.repeatCall = std::stoi(jobsProgressNode["RepeatCall"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string GetJobsProgressResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int GetJobsProgressResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string GetJobsProgressResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
GetJobsProgressResult::JobsProgress GetJobsProgressResult::getJobsProgress()const
|
||||
{
|
||||
return jobsProgress_;
|
||||
}
|
||||
|
||||
bool GetJobsProgressResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,49 +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/ccc/model/GetPredictiveJobRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::GetPredictiveJobRequest;
|
||||
|
||||
GetPredictiveJobRequest::GetPredictiveJobRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "GetPredictiveJob")
|
||||
{}
|
||||
|
||||
GetPredictiveJobRequest::~GetPredictiveJobRequest()
|
||||
{}
|
||||
|
||||
std::string GetPredictiveJobRequest::getJobId()const
|
||||
{
|
||||
return jobId_;
|
||||
}
|
||||
|
||||
void GetPredictiveJobRequest::setJobId(const std::string& jobId)
|
||||
{
|
||||
jobId_ = jobId;
|
||||
setCoreParameter("JobId", jobId);
|
||||
}
|
||||
|
||||
std::string GetPredictiveJobRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void GetPredictiveJobRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
@@ -1,168 +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/ccc/model/GetPredictiveJobResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
GetPredictiveJobResult::GetPredictiveJobResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetPredictiveJobResult::GetPredictiveJobResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetPredictiveJobResult::~GetPredictiveJobResult()
|
||||
{}
|
||||
|
||||
void GetPredictiveJobResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto jobNode = value["Job"];
|
||||
if(!jobNode["JobId"].isNull())
|
||||
job_.jobId = jobNode["JobId"].asString();
|
||||
if(!jobNode["JobGroupId"].isNull())
|
||||
job_.jobGroupId = jobNode["JobGroupId"].asString();
|
||||
if(!jobNode["ScenarioId"].isNull())
|
||||
job_.scenarioId = jobNode["ScenarioId"].asString();
|
||||
if(!jobNode["StrategyId"].isNull())
|
||||
job_.strategyId = jobNode["StrategyId"].asString();
|
||||
if(!jobNode["Priority"].isNull())
|
||||
job_.priority = std::stoi(jobNode["Priority"].asString());
|
||||
if(!jobNode["SystemPriority"].isNull())
|
||||
job_.systemPriority = std::stoi(jobNode["SystemPriority"].asString());
|
||||
if(!jobNode["Status"].isNull())
|
||||
job_.status = jobNode["Status"].asString();
|
||||
if(!jobNode["ReferenceId"].isNull())
|
||||
job_.referenceId = jobNode["ReferenceId"].asString();
|
||||
if(!jobNode["FailureReason"].isNull())
|
||||
job_.failureReason = jobNode["FailureReason"].asString();
|
||||
auto allContactsNode = jobNode["Contacts"]["Contact"];
|
||||
for (auto jobNodeContactsContact : allContactsNode)
|
||||
{
|
||||
Job::Contact contactObject;
|
||||
if(!jobNodeContactsContact["ContactId"].isNull())
|
||||
contactObject.contactId = jobNodeContactsContact["ContactId"].asString();
|
||||
if(!jobNodeContactsContact["ContactName"].isNull())
|
||||
contactObject.contactName = jobNodeContactsContact["ContactName"].asString();
|
||||
if(!jobNodeContactsContact["Honorific"].isNull())
|
||||
contactObject.honorific = jobNodeContactsContact["Honorific"].asString();
|
||||
if(!jobNodeContactsContact["Role"].isNull())
|
||||
contactObject.role = jobNodeContactsContact["Role"].asString();
|
||||
if(!jobNodeContactsContact["PhoneNumber"].isNull())
|
||||
contactObject.phoneNumber = jobNodeContactsContact["PhoneNumber"].asString();
|
||||
if(!jobNodeContactsContact["State"].isNull())
|
||||
contactObject.state = jobNodeContactsContact["State"].asString();
|
||||
if(!jobNodeContactsContact["ReferenceId"].isNull())
|
||||
contactObject.referenceId = jobNodeContactsContact["ReferenceId"].asString();
|
||||
if(!jobNodeContactsContact["JobId"].isNull())
|
||||
contactObject.jobId = jobNodeContactsContact["JobId"].asString();
|
||||
job_.contacts.push_back(contactObject);
|
||||
}
|
||||
auto allTasksNode = jobNode["Tasks"]["Task"];
|
||||
for (auto jobNodeTasksTask : allTasksNode)
|
||||
{
|
||||
Job::Task taskObject;
|
||||
if(!jobNodeTasksTask["TaskId"].isNull())
|
||||
taskObject.taskId = jobNodeTasksTask["TaskId"].asString();
|
||||
if(!jobNodeTasksTask["JobId"].isNull())
|
||||
taskObject.jobId = jobNodeTasksTask["JobId"].asString();
|
||||
if(!jobNodeTasksTask["ScenarioId"].isNull())
|
||||
taskObject.scenarioId = jobNodeTasksTask["ScenarioId"].asString();
|
||||
if(!jobNodeTasksTask["ChatbotId"].isNull())
|
||||
taskObject.chatbotId = jobNodeTasksTask["ChatbotId"].asString();
|
||||
if(!jobNodeTasksTask["PlanedTime"].isNull())
|
||||
taskObject.planedTime = std::stol(jobNodeTasksTask["PlanedTime"].asString());
|
||||
if(!jobNodeTasksTask["ActualTime"].isNull())
|
||||
taskObject.actualTime = std::stol(jobNodeTasksTask["ActualTime"].asString());
|
||||
if(!jobNodeTasksTask["CallingNumber"].isNull())
|
||||
taskObject.callingNumber = jobNodeTasksTask["CallingNumber"].asString();
|
||||
if(!jobNodeTasksTask["CalledNumber"].isNull())
|
||||
taskObject.calledNumber = jobNodeTasksTask["CalledNumber"].asString();
|
||||
if(!jobNodeTasksTask["CallId"].isNull())
|
||||
taskObject.callId = jobNodeTasksTask["CallId"].asString();
|
||||
if(!jobNodeTasksTask["Status"].isNull())
|
||||
taskObject.status = jobNodeTasksTask["Status"].asString();
|
||||
if(!jobNodeTasksTask["Brief"].isNull())
|
||||
taskObject.brief = jobNodeTasksTask["Brief"].asString();
|
||||
if(!jobNodeTasksTask["Duration"].isNull())
|
||||
taskObject.duration = std::stoi(jobNodeTasksTask["Duration"].asString());
|
||||
auto contact1Node = value["Contact"];
|
||||
if(!contact1Node["ContactId"].isNull())
|
||||
taskObject.contact1.contactId = contact1Node["ContactId"].asString();
|
||||
if(!contact1Node["ContactName"].isNull())
|
||||
taskObject.contact1.contactName = contact1Node["ContactName"].asString();
|
||||
if(!contact1Node["Honorific"].isNull())
|
||||
taskObject.contact1.honorific = contact1Node["Honorific"].asString();
|
||||
if(!contact1Node["Role"].isNull())
|
||||
taskObject.contact1.role = contact1Node["Role"].asString();
|
||||
if(!contact1Node["PhoneNumber"].isNull())
|
||||
taskObject.contact1.phoneNumber = contact1Node["PhoneNumber"].asString();
|
||||
if(!contact1Node["State"].isNull())
|
||||
taskObject.contact1.state = contact1Node["State"].asString();
|
||||
if(!contact1Node["ReferenceId"].isNull())
|
||||
taskObject.contact1.referenceId = contact1Node["ReferenceId"].asString();
|
||||
if(!contact1Node["JobId"].isNull())
|
||||
taskObject.contact1.jobId = contact1Node["JobId"].asString();
|
||||
job_.tasks.push_back(taskObject);
|
||||
}
|
||||
auto allCallingNumbers = jobNode["CallingNumbers"]["String"];
|
||||
for (auto value : allCallingNumbers)
|
||||
job_.callingNumbers.push_back(value.asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string GetPredictiveJobResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int GetPredictiveJobResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
GetPredictiveJobResult::Job GetPredictiveJobResult::getJob()const
|
||||
{
|
||||
return job_;
|
||||
}
|
||||
|
||||
std::string GetPredictiveJobResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool GetPredictiveJobResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -27,17 +27,6 @@ ListOutboundPhoneNumberOfUserRequest::ListOutboundPhoneNumberOfUserRequest() :
|
||||
ListOutboundPhoneNumberOfUserRequest::~ListOutboundPhoneNumberOfUserRequest()
|
||||
{}
|
||||
|
||||
std::string ListOutboundPhoneNumberOfUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListOutboundPhoneNumberOfUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListOutboundPhoneNumberOfUserRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
@@ -49,6 +38,17 @@ void ListOutboundPhoneNumberOfUserRequest::setUserId(const std::string& userId)
|
||||
setParameter("UserId", userId);
|
||||
}
|
||||
|
||||
int ListOutboundPhoneNumberOfUserRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListOutboundPhoneNumberOfUserRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListOutboundPhoneNumberOfUserRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
@@ -60,3 +60,25 @@ void ListOutboundPhoneNumberOfUserRequest::setAccessKeyId(const std::string& acc
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListOutboundPhoneNumberOfUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListOutboundPhoneNumberOfUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
int ListOutboundPhoneNumberOfUserRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListOutboundPhoneNumberOfUserRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
|
||||
@@ -90,6 +90,9 @@ void ListOutboundPhoneNumberOfUserResult::parse(const std::string &payload)
|
||||
outboundPhoneNumbersObject.privacyNumber.regionNameCity = privacyNumberNode["RegionNameCity"].asString();
|
||||
outboundPhoneNumbers_.push_back(outboundPhoneNumbersObject);
|
||||
}
|
||||
auto allNumberList = value["NumberList"]["Number"];
|
||||
for (const auto &item : allNumberList)
|
||||
numberList_.push_back(item.asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
@@ -111,6 +114,11 @@ int ListOutboundPhoneNumberOfUserResult::getHttpStatusCode()const
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::vector<std::string> ListOutboundPhoneNumberOfUserResult::getNumberList()const
|
||||
{
|
||||
return numberList_;
|
||||
}
|
||||
|
||||
std::vector<ListOutboundPhoneNumberOfUserResult::PhoneNumber> ListOutboundPhoneNumberOfUserResult::getOutboundPhoneNumbers()const
|
||||
{
|
||||
return outboundPhoneNumbers_;
|
||||
|
||||
@@ -58,80 +58,27 @@ void ListPhoneTagsResult::parse(const std::string &payload)
|
||||
phoneNumberObject.number = phoneNumbersNodeListPhoneNumber["Number"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["PhoneNumberDescription"].isNull())
|
||||
phoneNumberObject.phoneNumberDescription = phoneNumbersNodeListPhoneNumber["PhoneNumberDescription"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["TestOnly"].isNull())
|
||||
phoneNumberObject.testOnly = phoneNumbersNodeListPhoneNumber["TestOnly"].asString() == "true";
|
||||
if(!phoneNumbersNodeListPhoneNumber["RemainingTime"].isNull())
|
||||
phoneNumberObject.remainingTime = std::stoi(phoneNumbersNodeListPhoneNumber["RemainingTime"].asString());
|
||||
if(!phoneNumbersNodeListPhoneNumber["AllowOutbound"].isNull())
|
||||
phoneNumberObject.allowOutbound = phoneNumbersNodeListPhoneNumber["AllowOutbound"].asString() == "true";
|
||||
if(!phoneNumbersNodeListPhoneNumber["Usage"].isNull())
|
||||
phoneNumberObject.usage = phoneNumbersNodeListPhoneNumber["Usage"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["Trunks"].isNull())
|
||||
phoneNumberObject.trunks = std::stoi(phoneNumbersNodeListPhoneNumber["Trunks"].asString());
|
||||
if(!phoneNumbersNodeListPhoneNumber["Province"].isNull())
|
||||
phoneNumberObject.province = phoneNumbersNodeListPhoneNumber["Province"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["City"].isNull())
|
||||
phoneNumberObject.city = phoneNumbersNodeListPhoneNumber["City"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["Assignee"].isNull())
|
||||
phoneNumberObject.assignee = phoneNumbersNodeListPhoneNumber["Assignee"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["NumberCommodityStatus"].isNull())
|
||||
phoneNumberObject.numberCommodityStatus = std::stoi(phoneNumbersNodeListPhoneNumber["NumberCommodityStatus"].asString());
|
||||
if(!phoneNumbersNodeListPhoneNumber["Type"].isNull())
|
||||
phoneNumberObject.type = std::stoi(phoneNumbersNodeListPhoneNumber["Type"].asString());
|
||||
if(!phoneNumbersNodeListPhoneNumber["Concurrency"].isNull())
|
||||
phoneNumberObject.concurrency = std::stoi(phoneNumbersNodeListPhoneNumber["Concurrency"].asString());
|
||||
if(!phoneNumbersNodeListPhoneNumber["ServiceTag"].isNull())
|
||||
phoneNumberObject.serviceTag = phoneNumbersNodeListPhoneNumber["ServiceTag"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["SipTelX"].isNull())
|
||||
phoneNumberObject.sipTelX = phoneNumbersNodeListPhoneNumber["SipTelX"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["NumberGroupId"].isNull())
|
||||
phoneNumberObject.numberGroupId = phoneNumbersNodeListPhoneNumber["NumberGroupId"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["NumberGroupName"].isNull())
|
||||
phoneNumberObject.numberGroupName = phoneNumbersNodeListPhoneNumber["NumberGroupName"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["Provider"].isNull())
|
||||
phoneNumberObject.provider = phoneNumbersNodeListPhoneNumber["Provider"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["CreateTime"].isNull())
|
||||
phoneNumberObject.createTime = std::stol(phoneNumbersNodeListPhoneNumber["CreateTime"].asString());
|
||||
auto allSkillGroupsNode = allListNode["SkillGroups"]["SkillGroup"];
|
||||
for (auto allListNodeSkillGroupsSkillGroup : allSkillGroupsNode)
|
||||
{
|
||||
PhoneNumbers::PhoneNumber::SkillGroup skillGroupsObject;
|
||||
if(!allListNodeSkillGroupsSkillGroup["SkillGroupId"].isNull())
|
||||
skillGroupsObject.skillGroupId = allListNodeSkillGroupsSkillGroup["SkillGroupId"].asString();
|
||||
if(!allListNodeSkillGroupsSkillGroup["SkillGroupName"].isNull())
|
||||
skillGroupsObject.skillGroupName = allListNodeSkillGroupsSkillGroup["SkillGroupName"].asString();
|
||||
phoneNumberObject.skillGroups.push_back(skillGroupsObject);
|
||||
}
|
||||
auto contactFlowNode = value["ContactFlow"];
|
||||
if(!contactFlowNode["ContactFlowId"].isNull())
|
||||
phoneNumberObject.contactFlow.contactFlowId = contactFlowNode["ContactFlowId"].asString();
|
||||
if(!contactFlowNode["InstanceId"].isNull())
|
||||
phoneNumberObject.contactFlow.instanceId = contactFlowNode["InstanceId"].asString();
|
||||
if(!contactFlowNode["ContactFlowName"].isNull())
|
||||
phoneNumberObject.contactFlow.contactFlowName = contactFlowNode["ContactFlowName"].asString();
|
||||
if(!contactFlowNode["ContactFlowDescription"].isNull())
|
||||
phoneNumberObject.contactFlow.contactFlowDescription = contactFlowNode["ContactFlowDescription"].asString();
|
||||
if(!contactFlowNode["Type"].isNull())
|
||||
phoneNumberObject.contactFlow.type = contactFlowNode["Type"].asString();
|
||||
auto privacyNumberNode = value["PrivacyNumber"];
|
||||
if(!privacyNumberNode["PoolId"].isNull())
|
||||
phoneNumberObject.privacyNumber.poolId = privacyNumberNode["PoolId"].asString();
|
||||
if(!privacyNumberNode["Type"].isNull())
|
||||
phoneNumberObject.privacyNumber.type = privacyNumberNode["Type"].asString();
|
||||
if(!privacyNumberNode["TelX"].isNull())
|
||||
phoneNumberObject.privacyNumber.telX = privacyNumberNode["TelX"].asString();
|
||||
if(!privacyNumberNode["PoolName"].isNull())
|
||||
phoneNumberObject.privacyNumber.poolName = privacyNumberNode["PoolName"].asString();
|
||||
if(!privacyNumberNode["PhoneNumber"].isNull())
|
||||
phoneNumberObject.privacyNumber.phoneNumber = privacyNumberNode["PhoneNumber"].asString();
|
||||
if(!privacyNumberNode["Extra"].isNull())
|
||||
phoneNumberObject.privacyNumber.extra = privacyNumberNode["Extra"].asString();
|
||||
if(!privacyNumberNode["BizId"].isNull())
|
||||
phoneNumberObject.privacyNumber.bizId = privacyNumberNode["BizId"].asString();
|
||||
if(!privacyNumberNode["SubId"].isNull())
|
||||
phoneNumberObject.privacyNumber.subId = privacyNumberNode["SubId"].asString();
|
||||
if(!privacyNumberNode["RegionNameCity"].isNull())
|
||||
phoneNumberObject.privacyNumber.regionNameCity = privacyNumberNode["RegionNameCity"].asString();
|
||||
if(!phoneNumbersNodeListPhoneNumber["ContactFlowId"].isNull())
|
||||
phoneNumberObject.contactFlowId = phoneNumbersNodeListPhoneNumber["ContactFlowId"].asString();
|
||||
auto allSkillGroupIdList = value["SkillGroupIdList"]["SkillGroupId"];
|
||||
for (auto value : allSkillGroupIdList)
|
||||
phoneNumberObject.skillGroupIdList.push_back(value.asString());
|
||||
phoneNumbers_.list.push_back(phoneNumberObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
@@ -1,115 +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/ccc/model/ListPredictiveJobGroupsRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListPredictiveJobGroupsRequest;
|
||||
|
||||
ListPredictiveJobGroupsRequest::ListPredictiveJobGroupsRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "ListPredictiveJobGroups")
|
||||
{}
|
||||
|
||||
ListPredictiveJobGroupsRequest::~ListPredictiveJobGroupsRequest()
|
||||
{}
|
||||
|
||||
std::string ListPredictiveJobGroupsRequest::getCriteria()const
|
||||
{
|
||||
return criteria_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobGroupsRequest::setCriteria(const std::string& criteria)
|
||||
{
|
||||
criteria_ = criteria;
|
||||
setCoreParameter("Criteria", criteria);
|
||||
}
|
||||
|
||||
long ListPredictiveJobGroupsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobGroupsRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long ListPredictiveJobGroupsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobGroupsRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
int ListPredictiveJobGroupsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobGroupsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobGroupsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobGroupsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobGroupsRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobGroupsRequest::setSkillGroupId(const std::string& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
setCoreParameter("SkillGroupId", skillGroupId);
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobGroupsRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobGroupsRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
int ListPredictiveJobGroupsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobGroupsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
@@ -1,156 +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/ccc/model/ListPredictiveJobGroupsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListPredictiveJobGroupsResult::ListPredictiveJobGroupsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListPredictiveJobGroupsResult::ListPredictiveJobGroupsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListPredictiveJobGroupsResult::~ListPredictiveJobGroupsResult()
|
||||
{}
|
||||
|
||||
void ListPredictiveJobGroupsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto jobGroupsNode = value["JobGroups"];
|
||||
if(!jobGroupsNode["TotalCount"].isNull())
|
||||
jobGroups_.totalCount = std::stoi(jobGroupsNode["TotalCount"].asString());
|
||||
if(!jobGroupsNode["PageNumber"].isNull())
|
||||
jobGroups_.pageNumber = std::stoi(jobGroupsNode["PageNumber"].asString());
|
||||
if(!jobGroupsNode["PageSize"].isNull())
|
||||
jobGroups_.pageSize = std::stoi(jobGroupsNode["PageSize"].asString());
|
||||
auto allListNode = jobGroupsNode["List"]["JobGroup"];
|
||||
for (auto jobGroupsNodeListJobGroup : allListNode)
|
||||
{
|
||||
JobGroups::JobGroup jobGroupObject;
|
||||
if(!jobGroupsNodeListJobGroup["JobGroupId"].isNull())
|
||||
jobGroupObject.jobGroupId = jobGroupsNodeListJobGroup["JobGroupId"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["InstanceId"].isNull())
|
||||
jobGroupObject.instanceId = jobGroupsNodeListJobGroup["InstanceId"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["SkillGroupId"].isNull())
|
||||
jobGroupObject.skillGroupId = jobGroupsNodeListJobGroup["SkillGroupId"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["SkillGroupName"].isNull())
|
||||
jobGroupObject.skillGroupName = jobGroupsNodeListJobGroup["SkillGroupName"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["TaskType"].isNull())
|
||||
jobGroupObject.taskType = jobGroupsNodeListJobGroup["TaskType"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["OccupancyRate"].isNull())
|
||||
jobGroupObject.occupancyRate = jobGroupsNodeListJobGroup["OccupancyRate"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["StartTime"].isNull())
|
||||
jobGroupObject.startTime = jobGroupsNodeListJobGroup["StartTime"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["EndTime"].isNull())
|
||||
jobGroupObject.endTime = jobGroupsNodeListJobGroup["EndTime"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["Name"].isNull())
|
||||
jobGroupObject.name = jobGroupsNodeListJobGroup["Name"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["Description"].isNull())
|
||||
jobGroupObject.description = jobGroupsNodeListJobGroup["Description"].asString();
|
||||
if(!jobGroupsNodeListJobGroup["CreationTime"].isNull())
|
||||
jobGroupObject.creationTime = std::stol(jobGroupsNodeListJobGroup["CreationTime"].asString());
|
||||
auto strategyNode = value["Strategy"];
|
||||
if(!strategyNode["StrategyId"].isNull())
|
||||
jobGroupObject.strategy.strategyId = strategyNode["StrategyId"].asString();
|
||||
if(!strategyNode["StartTime"].isNull())
|
||||
jobGroupObject.strategy.startTime = std::stol(strategyNode["StartTime"].asString());
|
||||
if(!strategyNode["EndTime"].isNull())
|
||||
jobGroupObject.strategy.endTime = std::stol(strategyNode["EndTime"].asString());
|
||||
if(!strategyNode["MaxAttemptsPerDay"].isNull())
|
||||
jobGroupObject.strategy.maxAttemptsPerDay = std::stoi(strategyNode["MaxAttemptsPerDay"].asString());
|
||||
if(!strategyNode["MinAttemptInterval"].isNull())
|
||||
jobGroupObject.strategy.minAttemptInterval = std::stoi(strategyNode["MinAttemptInterval"].asString());
|
||||
auto allWorkingTimeNode = strategyNode["WorkingTime"]["TimeFrame"];
|
||||
for (auto strategyNodeWorkingTimeTimeFrame : allWorkingTimeNode)
|
||||
{
|
||||
JobGroups::JobGroup::Strategy::TimeFrame timeFrameObject;
|
||||
if(!strategyNodeWorkingTimeTimeFrame["BeginTime"].isNull())
|
||||
timeFrameObject.beginTime = strategyNodeWorkingTimeTimeFrame["BeginTime"].asString();
|
||||
if(!strategyNodeWorkingTimeTimeFrame["EndTime"].isNull())
|
||||
timeFrameObject.endTime = strategyNodeWorkingTimeTimeFrame["EndTime"].asString();
|
||||
jobGroupObject.strategy.workingTime.push_back(timeFrameObject);
|
||||
}
|
||||
auto progressNode = value["Progress"];
|
||||
if(!progressNode["TotalJobs"].isNull())
|
||||
jobGroupObject.progress.totalJobs = std::stoi(progressNode["TotalJobs"].asString());
|
||||
if(!progressNode["Status"].isNull())
|
||||
jobGroupObject.progress.status = progressNode["Status"].asString();
|
||||
if(!progressNode["TotalNotAnswered"].isNull())
|
||||
jobGroupObject.progress.totalNotAnswered = std::stoi(progressNode["TotalNotAnswered"].asString());
|
||||
if(!progressNode["TotalCompleted"].isNull())
|
||||
jobGroupObject.progress.totalCompleted = std::stoi(progressNode["TotalCompleted"].asString());
|
||||
if(!progressNode["StartTime"].isNull())
|
||||
jobGroupObject.progress.startTime = std::stol(progressNode["StartTime"].asString());
|
||||
if(!progressNode["Duration"].isNull())
|
||||
jobGroupObject.progress.duration = std::stoi(progressNode["Duration"].asString());
|
||||
auto allCategoriesNode = progressNode["Categories"]["KeyValuePair"];
|
||||
for (auto progressNodeCategoriesKeyValuePair : allCategoriesNode)
|
||||
{
|
||||
JobGroups::JobGroup::Progress::KeyValuePair keyValuePairObject;
|
||||
if(!progressNodeCategoriesKeyValuePair["Key"].isNull())
|
||||
keyValuePairObject.key = progressNodeCategoriesKeyValuePair["Key"].asString();
|
||||
if(!progressNodeCategoriesKeyValuePair["Value"].isNull())
|
||||
keyValuePairObject.value = progressNodeCategoriesKeyValuePair["Value"].asString();
|
||||
jobGroupObject.progress.categories.push_back(keyValuePairObject);
|
||||
}
|
||||
jobGroups_.list.push_back(jobGroupObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobGroupsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ListPredictiveJobGroupsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobGroupsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
ListPredictiveJobGroupsResult::JobGroups ListPredictiveJobGroupsResult::getJobGroups()const
|
||||
{
|
||||
return jobGroups_;
|
||||
}
|
||||
|
||||
bool ListPredictiveJobGroupsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,126 +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/ccc/model/ListPredictiveJobStatusRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListPredictiveJobStatusRequest;
|
||||
|
||||
ListPredictiveJobStatusRequest::ListPredictiveJobStatusRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "ListPredictiveJobStatus")
|
||||
{}
|
||||
|
||||
ListPredictiveJobStatusRequest::~ListPredictiveJobStatusRequest()
|
||||
{}
|
||||
|
||||
std::string ListPredictiveJobStatusRequest::getTimeAlignment()const
|
||||
{
|
||||
return timeAlignment_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobStatusRequest::setTimeAlignment(const std::string& timeAlignment)
|
||||
{
|
||||
timeAlignment_ = timeAlignment;
|
||||
setCoreParameter("TimeAlignment", timeAlignment);
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobStatusRequest::getPhoneNumber()const
|
||||
{
|
||||
return phoneNumber_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobStatusRequest::setPhoneNumber(const std::string& phoneNumber)
|
||||
{
|
||||
phoneNumber_ = phoneNumber;
|
||||
setCoreParameter("PhoneNumber", phoneNumber);
|
||||
}
|
||||
|
||||
long ListPredictiveJobStatusRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobStatusRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long ListPredictiveJobStatusRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobStatusRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
int ListPredictiveJobStatusRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobStatusRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobStatusRequest::getContactName()const
|
||||
{
|
||||
return contactName_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobStatusRequest::setContactName(const std::string& contactName)
|
||||
{
|
||||
contactName_ = contactName;
|
||||
setCoreParameter("ContactName", contactName);
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobStatusRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobStatusRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobStatusRequest::getJobGroupId()const
|
||||
{
|
||||
return jobGroupId_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobStatusRequest::setJobGroupId(const std::string& jobGroupId)
|
||||
{
|
||||
jobGroupId_ = jobGroupId;
|
||||
setCoreParameter("JobGroupId", jobGroupId);
|
||||
}
|
||||
|
||||
int ListPredictiveJobStatusRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListPredictiveJobStatusRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
@@ -1,133 +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/ccc/model/ListPredictiveJobStatusResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListPredictiveJobStatusResult::ListPredictiveJobStatusResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListPredictiveJobStatusResult::ListPredictiveJobStatusResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListPredictiveJobStatusResult::~ListPredictiveJobStatusResult()
|
||||
{}
|
||||
|
||||
void ListPredictiveJobStatusResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto jobsNode = value["Jobs"];
|
||||
if(!jobsNode["TotalCount"].isNull())
|
||||
jobs_.totalCount = std::stoi(jobsNode["TotalCount"].asString());
|
||||
if(!jobsNode["PageNumber"].isNull())
|
||||
jobs_.pageNumber = std::stoi(jobsNode["PageNumber"].asString());
|
||||
if(!jobsNode["PageSize"].isNull())
|
||||
jobs_.pageSize = std::stoi(jobsNode["PageSize"].asString());
|
||||
auto allListNode = jobsNode["List"]["Job"];
|
||||
for (auto jobsNodeListJob : allListNode)
|
||||
{
|
||||
Jobs::Job jobObject;
|
||||
if(!jobsNodeListJob["JobId"].isNull())
|
||||
jobObject.jobId = jobsNodeListJob["JobId"].asString();
|
||||
if(!jobsNodeListJob["JobGroupId"].isNull())
|
||||
jobObject.jobGroupId = jobsNodeListJob["JobGroupId"].asString();
|
||||
if(!jobsNodeListJob["ScenarioId"].isNull())
|
||||
jobObject.scenarioId = jobsNodeListJob["ScenarioId"].asString();
|
||||
if(!jobsNodeListJob["StrategyId"].isNull())
|
||||
jobObject.strategyId = jobsNodeListJob["StrategyId"].asString();
|
||||
if(!jobsNodeListJob["Priority"].isNull())
|
||||
jobObject.priority = std::stoi(jobsNodeListJob["Priority"].asString());
|
||||
if(!jobsNodeListJob["SystemPriority"].isNull())
|
||||
jobObject.systemPriority = std::stoi(jobsNodeListJob["SystemPriority"].asString());
|
||||
if(!jobsNodeListJob["Status"].isNull())
|
||||
jobObject.status = jobsNodeListJob["Status"].asString();
|
||||
if(!jobsNodeListJob["ReferenceId"].isNull())
|
||||
jobObject.referenceId = jobsNodeListJob["ReferenceId"].asString();
|
||||
if(!jobsNodeListJob["FailureReason"].isNull())
|
||||
jobObject.failureReason = jobsNodeListJob["FailureReason"].asString();
|
||||
auto allContactsNode = allListNode["Contacts"]["Contact"];
|
||||
for (auto allListNodeContactsContact : allContactsNode)
|
||||
{
|
||||
Jobs::Job::Contact contactsObject;
|
||||
if(!allListNodeContactsContact["ContactId"].isNull())
|
||||
contactsObject.contactId = allListNodeContactsContact["ContactId"].asString();
|
||||
if(!allListNodeContactsContact["ContactName"].isNull())
|
||||
contactsObject.contactName = allListNodeContactsContact["ContactName"].asString();
|
||||
if(!allListNodeContactsContact["Honorific"].isNull())
|
||||
contactsObject.honorific = allListNodeContactsContact["Honorific"].asString();
|
||||
if(!allListNodeContactsContact["Role"].isNull())
|
||||
contactsObject.role = allListNodeContactsContact["Role"].asString();
|
||||
if(!allListNodeContactsContact["PhoneNumber"].isNull())
|
||||
contactsObject.phoneNumber = allListNodeContactsContact["PhoneNumber"].asString();
|
||||
if(!allListNodeContactsContact["State"].isNull())
|
||||
contactsObject.state = allListNodeContactsContact["State"].asString();
|
||||
if(!allListNodeContactsContact["ReferenceId"].isNull())
|
||||
contactsObject.referenceId = allListNodeContactsContact["ReferenceId"].asString();
|
||||
if(!allListNodeContactsContact["JobId"].isNull())
|
||||
contactsObject.jobId = allListNodeContactsContact["JobId"].asString();
|
||||
jobObject.contacts.push_back(contactsObject);
|
||||
}
|
||||
auto allCallingNumbers = value["CallingNumbers"]["String"];
|
||||
for (auto value : allCallingNumbers)
|
||||
jobObject.callingNumbers.push_back(value.asString());
|
||||
jobs_.list.push_back(jobObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobStatusResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
ListPredictiveJobStatusResult::Jobs ListPredictiveJobStatusResult::getJobs()const
|
||||
{
|
||||
return jobs_;
|
||||
}
|
||||
|
||||
int ListPredictiveJobStatusResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ListPredictiveJobStatusResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ListPredictiveJobStatusResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,126 +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/ccc/model/ListPrivacyNumberCallDetailsRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListPrivacyNumberCallDetailsRequest;
|
||||
|
||||
ListPrivacyNumberCallDetailsRequest::ListPrivacyNumberCallDetailsRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "ListPrivacyNumberCallDetails")
|
||||
{}
|
||||
|
||||
ListPrivacyNumberCallDetailsRequest::~ListPrivacyNumberCallDetailsRequest()
|
||||
{}
|
||||
|
||||
std::string ListPrivacyNumberCallDetailsRequest::getAgentId()const
|
||||
{
|
||||
return agentId_;
|
||||
}
|
||||
|
||||
void ListPrivacyNumberCallDetailsRequest::setAgentId(const std::string& agentId)
|
||||
{
|
||||
agentId_ = agentId;
|
||||
setCoreParameter("AgentId", agentId);
|
||||
}
|
||||
|
||||
std::string ListPrivacyNumberCallDetailsRequest::getContactId()const
|
||||
{
|
||||
return contactId_;
|
||||
}
|
||||
|
||||
void ListPrivacyNumberCallDetailsRequest::setContactId(const std::string& contactId)
|
||||
{
|
||||
contactId_ = contactId;
|
||||
setCoreParameter("ContactId", contactId);
|
||||
}
|
||||
|
||||
long ListPrivacyNumberCallDetailsRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
void ListPrivacyNumberCallDetailsRequest::setEndTime(long endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setCoreParameter("EndTime", std::to_string(endTime));
|
||||
}
|
||||
|
||||
long ListPrivacyNumberCallDetailsRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
void ListPrivacyNumberCallDetailsRequest::setStartTime(long startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setCoreParameter("StartTime", std::to_string(startTime));
|
||||
}
|
||||
|
||||
int ListPrivacyNumberCallDetailsRequest::getPageNumber()const
|
||||
{
|
||||
return pageNumber_;
|
||||
}
|
||||
|
||||
void ListPrivacyNumberCallDetailsRequest::setPageNumber(int pageNumber)
|
||||
{
|
||||
pageNumber_ = pageNumber;
|
||||
setCoreParameter("PageNumber", std::to_string(pageNumber));
|
||||
}
|
||||
|
||||
std::string ListPrivacyNumberCallDetailsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListPrivacyNumberCallDetailsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ListPrivacyNumberCallDetailsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListPrivacyNumberCallDetailsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListPrivacyNumberCallDetailsRequest::getAgentName()const
|
||||
{
|
||||
return agentName_;
|
||||
}
|
||||
|
||||
void ListPrivacyNumberCallDetailsRequest::setAgentName(const std::string& agentName)
|
||||
{
|
||||
agentName_ = agentName;
|
||||
setCoreParameter("AgentName", agentName);
|
||||
}
|
||||
|
||||
int ListPrivacyNumberCallDetailsRequest::getPageSize()const
|
||||
{
|
||||
return pageSize_;
|
||||
}
|
||||
|
||||
void ListPrivacyNumberCallDetailsRequest::setPageSize(int pageSize)
|
||||
{
|
||||
pageSize_ = pageSize;
|
||||
setCoreParameter("PageSize", std::to_string(pageSize));
|
||||
}
|
||||
|
||||
@@ -1,112 +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/ccc/model/ListPrivacyNumberCallDetailsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListPrivacyNumberCallDetailsResult::ListPrivacyNumberCallDetailsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListPrivacyNumberCallDetailsResult::ListPrivacyNumberCallDetailsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListPrivacyNumberCallDetailsResult::~ListPrivacyNumberCallDetailsResult()
|
||||
{}
|
||||
|
||||
void ListPrivacyNumberCallDetailsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto privacyNumberCallDetailsNode = value["PrivacyNumberCallDetails"];
|
||||
if(!privacyNumberCallDetailsNode["TotalCount"].isNull())
|
||||
privacyNumberCallDetails_.totalCount = std::stoi(privacyNumberCallDetailsNode["TotalCount"].asString());
|
||||
if(!privacyNumberCallDetailsNode["PageNumber"].isNull())
|
||||
privacyNumberCallDetails_.pageNumber = std::stoi(privacyNumberCallDetailsNode["PageNumber"].asString());
|
||||
if(!privacyNumberCallDetailsNode["PageSize"].isNull())
|
||||
privacyNumberCallDetails_.pageSize = std::stoi(privacyNumberCallDetailsNode["PageSize"].asString());
|
||||
auto allListNode = privacyNumberCallDetailsNode["List"]["PrivacyNumberCallDetail"];
|
||||
for (auto privacyNumberCallDetailsNodeListPrivacyNumberCallDetail : allListNode)
|
||||
{
|
||||
PrivacyNumberCallDetails::PrivacyNumberCallDetail privacyNumberCallDetailObject;
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["AgentId"].isNull())
|
||||
privacyNumberCallDetailObject.agentId = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["AgentId"].asString();
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["AgentName"].isNull())
|
||||
privacyNumberCallDetailObject.agentName = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["AgentName"].asString();
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["ContactId"].isNull())
|
||||
privacyNumberCallDetailObject.contactId = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["ContactId"].asString();
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CallingNumber"].isNull())
|
||||
privacyNumberCallDetailObject.callingNumber = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CallingNumber"].asString();
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CalledNumber"].isNull())
|
||||
privacyNumberCallDetailObject.calledNumber = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CalledNumber"].asString();
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["PrivacyNumber"].isNull())
|
||||
privacyNumberCallDetailObject.privacyNumber = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["PrivacyNumber"].asString();
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["ContactType"].isNull())
|
||||
privacyNumberCallDetailObject.contactType = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["ContactType"].asString();
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Result"].isNull())
|
||||
privacyNumberCallDetailObject.result = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Result"].asString();
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Description"].isNull())
|
||||
privacyNumberCallDetailObject.description = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Description"].asString();
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CallTime"].isNull())
|
||||
privacyNumberCallDetailObject.callTime = std::stol(privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["CallTime"].asString());
|
||||
if(!privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Status"].isNull())
|
||||
privacyNumberCallDetailObject.status = privacyNumberCallDetailsNodeListPrivacyNumberCallDetail["Status"].asString();
|
||||
privacyNumberCallDetails_.list.push_back(privacyNumberCallDetailObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
ListPrivacyNumberCallDetailsResult::PrivacyNumberCallDetails ListPrivacyNumberCallDetailsResult::getPrivacyNumberCallDetails()const
|
||||
{
|
||||
return privacyNumberCallDetails_;
|
||||
}
|
||||
|
||||
std::string ListPrivacyNumberCallDetailsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ListPrivacyNumberCallDetailsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ListPrivacyNumberCallDetailsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ListPrivacyNumberCallDetailsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,60 +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/ccc/model/ListPrivilegesOfUserRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ListPrivilegesOfUserRequest;
|
||||
|
||||
ListPrivilegesOfUserRequest::ListPrivilegesOfUserRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "ListPrivilegesOfUser")
|
||||
{}
|
||||
|
||||
ListPrivilegesOfUserRequest::~ListPrivilegesOfUserRequest()
|
||||
{}
|
||||
|
||||
std::string ListPrivilegesOfUserRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ListPrivilegesOfUserRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ListPrivilegesOfUserRequest::getUserId()const
|
||||
{
|
||||
return userId_;
|
||||
}
|
||||
|
||||
void ListPrivilegesOfUserRequest::setUserId(const std::string& userId)
|
||||
{
|
||||
userId_ = userId;
|
||||
setCoreParameter("UserId", userId);
|
||||
}
|
||||
|
||||
std::string ListPrivilegesOfUserRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ListPrivilegesOfUserRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
@@ -1,89 +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/ccc/model/ListPrivilegesOfUserResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ListPrivilegesOfUserResult::ListPrivilegesOfUserResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ListPrivilegesOfUserResult::ListPrivilegesOfUserResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ListPrivilegesOfUserResult::~ListPrivilegesOfUserResult()
|
||||
{}
|
||||
|
||||
void ListPrivilegesOfUserResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allPrivilegesNode = value["Privileges"]["Privilege"];
|
||||
for (auto valuePrivilegesPrivilege : allPrivilegesNode)
|
||||
{
|
||||
Privilege privilegesObject;
|
||||
if(!valuePrivilegesPrivilege["PrivilegeId"].isNull())
|
||||
privilegesObject.privilegeId = valuePrivilegesPrivilege["PrivilegeId"].asString();
|
||||
if(!valuePrivilegesPrivilege["PrivilegeName"].isNull())
|
||||
privilegesObject.privilegeName = valuePrivilegesPrivilege["PrivilegeName"].asString();
|
||||
if(!valuePrivilegesPrivilege["PrivilegeDescription"].isNull())
|
||||
privilegesObject.privilegeDescription = valuePrivilegesPrivilege["PrivilegeDescription"].asString();
|
||||
privileges_.push_back(privilegesObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string ListPrivilegesOfUserResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ListPrivilegesOfUserResult::Privilege> ListPrivilegesOfUserResult::getPrivileges()const
|
||||
{
|
||||
return privileges_;
|
||||
}
|
||||
|
||||
int ListPrivilegesOfUserResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ListPrivilegesOfUserResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ListPrivilegesOfUserResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,137 +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/ccc/model/ModifyMediaRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ModifyMediaRequest;
|
||||
|
||||
ModifyMediaRequest::ModifyMediaRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "ModifyMedia")
|
||||
{}
|
||||
|
||||
ModifyMediaRequest::~ModifyMediaRequest()
|
||||
{}
|
||||
|
||||
std::string ModifyMediaRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string ModifyMediaRequest::getOssFilePath()const
|
||||
{
|
||||
return ossFilePath_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setOssFilePath(const std::string& ossFilePath)
|
||||
{
|
||||
ossFilePath_ = ossFilePath;
|
||||
setCoreParameter("OssFilePath", ossFilePath);
|
||||
}
|
||||
|
||||
std::string ModifyMediaRequest::getUploadResult()const
|
||||
{
|
||||
return uploadResult_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setUploadResult(const std::string& uploadResult)
|
||||
{
|
||||
uploadResult_ = uploadResult;
|
||||
setCoreParameter("UploadResult", uploadResult);
|
||||
}
|
||||
|
||||
std::string ModifyMediaRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string ModifyMediaRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setCoreParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string ModifyMediaRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyMediaRequest::getOssFileName()const
|
||||
{
|
||||
return ossFileName_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setOssFileName(const std::string& ossFileName)
|
||||
{
|
||||
ossFileName_ = ossFileName;
|
||||
setCoreParameter("OssFileName", ossFileName);
|
||||
}
|
||||
|
||||
std::string ModifyMediaRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ModifyMediaRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setCoreParameter("FileName", fileName);
|
||||
}
|
||||
|
||||
std::string ModifyMediaRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void ModifyMediaRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
@@ -1,88 +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/ccc/model/ModifyMediaResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ModifyMediaResult::ModifyMediaResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyMediaResult::ModifyMediaResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyMediaResult::~ModifyMediaResult()
|
||||
{}
|
||||
|
||||
void ModifyMediaResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto mediaUploadParamNode = value["MediaUploadParam"];
|
||||
if(!mediaUploadParamNode["Instance"].isNull())
|
||||
mediaUploadParam_.instance = mediaUploadParamNode["Instance"].asString();
|
||||
if(!mediaUploadParamNode["Name"].isNull())
|
||||
mediaUploadParam_.name = mediaUploadParamNode["Name"].asString();
|
||||
if(!mediaUploadParamNode["FileName"].isNull())
|
||||
mediaUploadParam_.fileName = mediaUploadParamNode["FileName"].asString();
|
||||
if(!mediaUploadParamNode["OssFileName"].isNull())
|
||||
mediaUploadParam_.ossFileName = mediaUploadParamNode["OssFileName"].asString();
|
||||
if(!mediaUploadParamNode["OssFilePath"].isNull())
|
||||
mediaUploadParam_.ossFilePath = mediaUploadParamNode["OssFilePath"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
ModifyMediaResult::MediaUploadParam ModifyMediaResult::getMediaUploadParam()const
|
||||
{
|
||||
return mediaUploadParam_;
|
||||
}
|
||||
|
||||
std::string ModifyMediaResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int ModifyMediaResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ModifyMediaResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ModifyMediaResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,100 +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/ccc/model/ModifyNotificationConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::ModifyNotificationConfigRequest;
|
||||
|
||||
ModifyNotificationConfigRequest::ModifyNotificationConfigRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "ModifyNotificationConfig")
|
||||
{}
|
||||
|
||||
ModifyNotificationConfigRequest::~ModifyNotificationConfigRequest()
|
||||
{}
|
||||
|
||||
std::vector<ModifyNotificationConfigRequest::Subscriptions> ModifyNotificationConfigRequest::getSubscriptions()const
|
||||
{
|
||||
return subscriptions_;
|
||||
}
|
||||
|
||||
void ModifyNotificationConfigRequest::setSubscriptions(const std::vector<Subscriptions>& subscriptions)
|
||||
{
|
||||
subscriptions_ = subscriptions;
|
||||
int i = 0;
|
||||
for(int i = 0; i!= subscriptions.size(); i++) {
|
||||
auto obj = subscriptions.at(i);
|
||||
std::string str ="Subscriptions."+ std::to_string(i);
|
||||
setCoreParameter(str + ".DisplayName", obj.displayName);
|
||||
setCoreParameter(str + ".Name", obj.name);
|
||||
setCoreParameter(str + ".Selected", obj.selected ? "true" : "false");
|
||||
}
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigRequest::getAccessPoint()const
|
||||
{
|
||||
return accessPoint_;
|
||||
}
|
||||
|
||||
void ModifyNotificationConfigRequest::setAccessPoint(const std::string& accessPoint)
|
||||
{
|
||||
accessPoint_ = accessPoint;
|
||||
setCoreParameter("AccessPoint", accessPoint);
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void ModifyNotificationConfigRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void ModifyNotificationConfigRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigRequest::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
}
|
||||
|
||||
void ModifyNotificationConfigRequest::setTopic(const std::string& topic)
|
||||
{
|
||||
topic_ = topic;
|
||||
setCoreParameter("Topic", topic);
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigRequest::getProducerId()const
|
||||
{
|
||||
return producerId_;
|
||||
}
|
||||
|
||||
void ModifyNotificationConfigRequest::setProducerId(const std::string& producerId)
|
||||
{
|
||||
producerId_ = producerId;
|
||||
setCoreParameter("ProducerId", producerId);
|
||||
}
|
||||
|
||||
@@ -1,110 +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/ccc/model/ModifyNotificationConfigResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
ModifyNotificationConfigResult::ModifyNotificationConfigResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
ModifyNotificationConfigResult::ModifyNotificationConfigResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
ModifyNotificationConfigResult::~ModifyNotificationConfigResult()
|
||||
{}
|
||||
|
||||
void ModifyNotificationConfigResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allSubscriptionsNode = value["Subscriptions"]["SubscriptionsItem"];
|
||||
for (auto valueSubscriptionsSubscriptionsItem : allSubscriptionsNode)
|
||||
{
|
||||
SubscriptionsItem subscriptionsObject;
|
||||
if(!valueSubscriptionsSubscriptionsItem["Name"].isNull())
|
||||
subscriptionsObject.name = valueSubscriptionsSubscriptionsItem["Name"].asString();
|
||||
if(!valueSubscriptionsSubscriptionsItem["Selected"].isNull())
|
||||
subscriptionsObject.selected = valueSubscriptionsSubscriptionsItem["Selected"].asString() == "true";
|
||||
if(!valueSubscriptionsSubscriptionsItem["DisplayName"].isNull())
|
||||
subscriptionsObject.displayName = valueSubscriptionsSubscriptionsItem["DisplayName"].asString();
|
||||
subscriptions_.push_back(subscriptionsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
if(!value["ProducerId"].isNull())
|
||||
producerId_ = value["ProducerId"].asString();
|
||||
if(!value["AccessPoint"].isNull())
|
||||
accessPoint_ = value["AccessPoint"].asString();
|
||||
if(!value["Topic"].isNull())
|
||||
topic_ = value["Topic"].asString();
|
||||
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
std::vector<ModifyNotificationConfigResult::SubscriptionsItem> ModifyNotificationConfigResult::getSubscriptions()const
|
||||
{
|
||||
return subscriptions_;
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigResult::getProducerId()const
|
||||
{
|
||||
return producerId_;
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigResult::getAccessPoint()const
|
||||
{
|
||||
return accessPoint_;
|
||||
}
|
||||
|
||||
int ModifyNotificationConfigResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigResult::getTopic()const
|
||||
{
|
||||
return topic_;
|
||||
}
|
||||
|
||||
std::string ModifyNotificationConfigResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool ModifyNotificationConfigResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,107 +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/ccc/model/PickOutboundNumbersByTagsRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::PickOutboundNumbersByTagsRequest;
|
||||
|
||||
PickOutboundNumbersByTagsRequest::PickOutboundNumbersByTagsRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "PickOutboundNumbersByTags")
|
||||
{}
|
||||
|
||||
PickOutboundNumbersByTagsRequest::~PickOutboundNumbersByTagsRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> PickOutboundNumbersByTagsRequest::getPrioritizedCallerArea()const
|
||||
{
|
||||
return prioritizedCallerArea_;
|
||||
}
|
||||
|
||||
void PickOutboundNumbersByTagsRequest::setPrioritizedCallerArea(const std::vector<std::string>& prioritizedCallerArea)
|
||||
{
|
||||
prioritizedCallerArea_ = prioritizedCallerArea;
|
||||
for(int i = 0; i!= prioritizedCallerArea.size(); i++)
|
||||
setCoreParameter("PrioritizedCallerArea."+ std::to_string(i), prioritizedCallerArea.at(i));
|
||||
}
|
||||
|
||||
int PickOutboundNumbersByTagsRequest::getCount()const
|
||||
{
|
||||
return count_;
|
||||
}
|
||||
|
||||
void PickOutboundNumbersByTagsRequest::setCount(int count)
|
||||
{
|
||||
count_ = count;
|
||||
setCoreParameter("Count", std::to_string(count));
|
||||
}
|
||||
|
||||
std::string PickOutboundNumbersByTagsRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void PickOutboundNumbersByTagsRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string PickOutboundNumbersByTagsRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void PickOutboundNumbersByTagsRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::vector<std::string> PickOutboundNumbersByTagsRequest::getServiceTag()const
|
||||
{
|
||||
return serviceTag_;
|
||||
}
|
||||
|
||||
void PickOutboundNumbersByTagsRequest::setServiceTag(const std::vector<std::string>& serviceTag)
|
||||
{
|
||||
serviceTag_ = serviceTag;
|
||||
for(int i = 0; i!= serviceTag.size(); i++)
|
||||
setCoreParameter("ServiceTag."+ std::to_string(i), serviceTag.at(i));
|
||||
}
|
||||
|
||||
std::vector<std::string> PickOutboundNumbersByTagsRequest::getSkillGroupId()const
|
||||
{
|
||||
return skillGroupId_;
|
||||
}
|
||||
|
||||
void PickOutboundNumbersByTagsRequest::setSkillGroupId(const std::vector<std::string>& skillGroupId)
|
||||
{
|
||||
skillGroupId_ = skillGroupId;
|
||||
for(int i = 0; i!= skillGroupId.size(); i++)
|
||||
setCoreParameter("SkillGroupId."+ std::to_string(i), skillGroupId.at(i));
|
||||
}
|
||||
|
||||
std::string PickOutboundNumbersByTagsRequest::getCalleeNumber()const
|
||||
{
|
||||
return calleeNumber_;
|
||||
}
|
||||
|
||||
void PickOutboundNumbersByTagsRequest::setCalleeNumber(const std::string& calleeNumber)
|
||||
{
|
||||
calleeNumber_ = calleeNumber;
|
||||
setCoreParameter("CalleeNumber", calleeNumber);
|
||||
}
|
||||
|
||||
@@ -1,97 +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/ccc/model/PickOutboundNumbersByTagsResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
PickOutboundNumbersByTagsResult::PickOutboundNumbersByTagsResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
PickOutboundNumbersByTagsResult::PickOutboundNumbersByTagsResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
PickOutboundNumbersByTagsResult::~PickOutboundNumbersByTagsResult()
|
||||
{}
|
||||
|
||||
void PickOutboundNumbersByTagsResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto allDialNumberPairsNode = value["DialNumberPairs"]["DialNumberPair"];
|
||||
for (auto valueDialNumberPairsDialNumberPair : allDialNumberPairsNode)
|
||||
{
|
||||
DialNumberPair dialNumberPairsObject;
|
||||
auto calleeNode = value["Callee"];
|
||||
if(!calleeNode["Number"].isNull())
|
||||
dialNumberPairsObject.callee.number = calleeNode["Number"].asString();
|
||||
if(!calleeNode["Province"].isNull())
|
||||
dialNumberPairsObject.callee.province = calleeNode["Province"].asString();
|
||||
if(!calleeNode["City"].isNull())
|
||||
dialNumberPairsObject.callee.city = calleeNode["City"].asString();
|
||||
auto callerNode = value["Caller"];
|
||||
if(!callerNode["Number"].isNull())
|
||||
dialNumberPairsObject.caller.number = callerNode["Number"].asString();
|
||||
if(!callerNode["Province"].isNull())
|
||||
dialNumberPairsObject.caller.province = callerNode["Province"].asString();
|
||||
if(!callerNode["City"].isNull())
|
||||
dialNumberPairsObject.caller.city = callerNode["City"].asString();
|
||||
dialNumberPairs_.push_back(dialNumberPairsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string PickOutboundNumbersByTagsResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int PickOutboundNumbersByTagsResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string PickOutboundNumbersByTagsResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool PickOutboundNumbersByTagsResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
std::vector<PickOutboundNumbersByTagsResult::DialNumberPair> PickOutboundNumbersByTagsResult::getDialNumberPairs()const
|
||||
{
|
||||
return dialNumberPairs_;
|
||||
}
|
||||
|
||||
@@ -1,104 +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/ccc/model/PreCreateMediaRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::PreCreateMediaRequest;
|
||||
|
||||
PreCreateMediaRequest::PreCreateMediaRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "PreCreateMedia")
|
||||
{}
|
||||
|
||||
PreCreateMediaRequest::~PreCreateMediaRequest()
|
||||
{}
|
||||
|
||||
std::string PreCreateMediaRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void PreCreateMediaRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string PreCreateMediaRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void PreCreateMediaRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string PreCreateMediaRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void PreCreateMediaRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setCoreParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string PreCreateMediaRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void PreCreateMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string PreCreateMediaRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void PreCreateMediaRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string PreCreateMediaRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
void PreCreateMediaRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setCoreParameter("FileName", fileName);
|
||||
}
|
||||
|
||||
std::string PreCreateMediaRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void PreCreateMediaRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
@@ -1,86 +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/ccc/model/PreCreateMediaResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
PreCreateMediaResult::PreCreateMediaResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
PreCreateMediaResult::PreCreateMediaResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
PreCreateMediaResult::~PreCreateMediaResult()
|
||||
{}
|
||||
|
||||
void PreCreateMediaResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto preCreateMediaParamNode = value["PreCreateMediaParam"];
|
||||
if(!preCreateMediaParamNode["OssFile"].isNull())
|
||||
preCreateMediaParam_.ossFile = preCreateMediaParamNode["OssFile"].asString();
|
||||
if(!preCreateMediaParamNode["OssFilePath"].isNull())
|
||||
preCreateMediaParam_.ossFilePath = preCreateMediaParamNode["OssFilePath"].asString();
|
||||
if(!preCreateMediaParamNode["OssBucket"].isNull())
|
||||
preCreateMediaParam_.ossBucket = preCreateMediaParamNode["OssBucket"].asString();
|
||||
if(!preCreateMediaParamNode["SignatureUrl"].isNull())
|
||||
preCreateMediaParam_.signatureUrl = preCreateMediaParamNode["SignatureUrl"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string PreCreateMediaResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int PreCreateMediaResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
PreCreateMediaResult::PreCreateMediaParam PreCreateMediaResult::getPreCreateMediaParam()const
|
||||
{
|
||||
return preCreateMediaParam_;
|
||||
}
|
||||
|
||||
std::string PreCreateMediaResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool PreCreateMediaResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,104 +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/ccc/model/PreModifyMediaRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::PreModifyMediaRequest;
|
||||
|
||||
PreModifyMediaRequest::PreModifyMediaRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "PreModifyMedia")
|
||||
{}
|
||||
|
||||
PreModifyMediaRequest::~PreModifyMediaRequest()
|
||||
{}
|
||||
|
||||
std::string PreModifyMediaRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
}
|
||||
|
||||
void PreModifyMediaRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setCoreParameter("Description", description);
|
||||
}
|
||||
|
||||
std::string PreModifyMediaRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void PreModifyMediaRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setCoreParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string PreModifyMediaRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
}
|
||||
|
||||
void PreModifyMediaRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setCoreParameter("Content", content);
|
||||
}
|
||||
|
||||
std::string PreModifyMediaRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void PreModifyMediaRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setCoreParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string PreModifyMediaRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void PreModifyMediaRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string PreModifyMediaRequest::getFileName()const
|
||||
{
|
||||
return fileName_;
|
||||
}
|
||||
|
||||
void PreModifyMediaRequest::setFileName(const std::string& fileName)
|
||||
{
|
||||
fileName_ = fileName;
|
||||
setCoreParameter("FileName", fileName);
|
||||
}
|
||||
|
||||
std::string PreModifyMediaRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
}
|
||||
|
||||
void PreModifyMediaRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setCoreParameter("Name", name);
|
||||
}
|
||||
|
||||
@@ -1,86 +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/ccc/model/PreModifyMediaResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
PreModifyMediaResult::PreModifyMediaResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
PreModifyMediaResult::PreModifyMediaResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
PreModifyMediaResult::~PreModifyMediaResult()
|
||||
{}
|
||||
|
||||
void PreModifyMediaResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto preModifyMediaParamNode = value["PreModifyMediaParam"];
|
||||
if(!preModifyMediaParamNode["OssFile"].isNull())
|
||||
preModifyMediaParam_.ossFile = preModifyMediaParamNode["OssFile"].asString();
|
||||
if(!preModifyMediaParamNode["OssFilePath"].isNull())
|
||||
preModifyMediaParam_.ossFilePath = preModifyMediaParamNode["OssFilePath"].asString();
|
||||
if(!preModifyMediaParamNode["OssBucket"].isNull())
|
||||
preModifyMediaParam_.ossBucket = preModifyMediaParamNode["OssBucket"].asString();
|
||||
if(!preModifyMediaParamNode["SignatureUrl"].isNull())
|
||||
preModifyMediaParam_.signatureUrl = preModifyMediaParamNode["SignatureUrl"].asString();
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string PreModifyMediaResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
PreModifyMediaResult::PreModifyMediaParam PreModifyMediaResult::getPreModifyMediaParam()const
|
||||
{
|
||||
return preModifyMediaParam_;
|
||||
}
|
||||
|
||||
int PreModifyMediaResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string PreModifyMediaResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool PreModifyMediaResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,126 +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/ccc/model/PredictiveRecordFailureRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::PredictiveRecordFailureRequest;
|
||||
|
||||
PredictiveRecordFailureRequest::PredictiveRecordFailureRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "PredictiveRecordFailure")
|
||||
{}
|
||||
|
||||
PredictiveRecordFailureRequest::~PredictiveRecordFailureRequest()
|
||||
{}
|
||||
|
||||
std::string PredictiveRecordFailureRequest::getCallId()const
|
||||
{
|
||||
return callId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordFailureRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setCoreParameter("CallId", callId);
|
||||
}
|
||||
|
||||
long PredictiveRecordFailureRequest::getActualTime()const
|
||||
{
|
||||
return actualTime_;
|
||||
}
|
||||
|
||||
void PredictiveRecordFailureRequest::setActualTime(long actualTime)
|
||||
{
|
||||
actualTime_ = actualTime;
|
||||
setCoreParameter("ActualTime", std::to_string(actualTime));
|
||||
}
|
||||
|
||||
std::string PredictiveRecordFailureRequest::getCallingNumber()const
|
||||
{
|
||||
return callingNumber_;
|
||||
}
|
||||
|
||||
void PredictiveRecordFailureRequest::setCallingNumber(const std::string& callingNumber)
|
||||
{
|
||||
callingNumber_ = callingNumber;
|
||||
setCoreParameter("CallingNumber", callingNumber);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordFailureRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordFailureRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordFailureRequest::getDispositionCode()const
|
||||
{
|
||||
return dispositionCode_;
|
||||
}
|
||||
|
||||
void PredictiveRecordFailureRequest::setDispositionCode(const std::string& dispositionCode)
|
||||
{
|
||||
dispositionCode_ = dispositionCode;
|
||||
setCoreParameter("DispositionCode", dispositionCode);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordFailureRequest::getCalledNumber()const
|
||||
{
|
||||
return calledNumber_;
|
||||
}
|
||||
|
||||
void PredictiveRecordFailureRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordFailureRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordFailureRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordFailureRequest::getCabInstanceId()const
|
||||
{
|
||||
return cabInstanceId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordFailureRequest::setCabInstanceId(const std::string& cabInstanceId)
|
||||
{
|
||||
cabInstanceId_ = cabInstanceId;
|
||||
setCoreParameter("CabInstanceId", cabInstanceId);
|
||||
}
|
||||
|
||||
long PredictiveRecordFailureRequest::getCabInstanceOwnerId()const
|
||||
{
|
||||
return cabInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordFailureRequest::setCabInstanceOwnerId(long cabInstanceOwnerId)
|
||||
{
|
||||
cabInstanceOwnerId_ = cabInstanceOwnerId;
|
||||
setCoreParameter("CabInstanceOwnerId", std::to_string(cabInstanceOwnerId));
|
||||
}
|
||||
|
||||
@@ -1,72 +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/ccc/model/PredictiveRecordFailureResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::CCC;
|
||||
using namespace AlibabaCloud::CCC::Model;
|
||||
|
||||
PredictiveRecordFailureResult::PredictiveRecordFailureResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
PredictiveRecordFailureResult::PredictiveRecordFailureResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
PredictiveRecordFailureResult::~PredictiveRecordFailureResult()
|
||||
{}
|
||||
|
||||
void PredictiveRecordFailureResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Success"].isNull())
|
||||
success_ = value["Success"].asString() == "true";
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["HttpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString());
|
||||
|
||||
}
|
||||
|
||||
std::string PredictiveRecordFailureResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
int PredictiveRecordFailureResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
std::string PredictiveRecordFailureResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool PredictiveRecordFailureResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -1,126 +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/ccc/model/PredictiveRecordSuccessRequest.h>
|
||||
|
||||
using AlibabaCloud::CCC::Model::PredictiveRecordSuccessRequest;
|
||||
|
||||
PredictiveRecordSuccessRequest::PredictiveRecordSuccessRequest() :
|
||||
RpcServiceRequest("ccc", "2017-07-05", "PredictiveRecordSuccess")
|
||||
{}
|
||||
|
||||
PredictiveRecordSuccessRequest::~PredictiveRecordSuccessRequest()
|
||||
{}
|
||||
|
||||
std::string PredictiveRecordSuccessRequest::getCallId()const
|
||||
{
|
||||
return callId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordSuccessRequest::setCallId(const std::string& callId)
|
||||
{
|
||||
callId_ = callId;
|
||||
setCoreParameter("CallId", callId);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordSuccessRequest::getCallingNumber()const
|
||||
{
|
||||
return callingNumber_;
|
||||
}
|
||||
|
||||
void PredictiveRecordSuccessRequest::setCallingNumber(const std::string& callingNumber)
|
||||
{
|
||||
callingNumber_ = callingNumber;
|
||||
setCoreParameter("CallingNumber", callingNumber);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordSuccessRequest::getInstanceId()const
|
||||
{
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordSuccessRequest::setInstanceId(const std::string& instanceId)
|
||||
{
|
||||
instanceId_ = instanceId;
|
||||
setCoreParameter("InstanceId", instanceId);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordSuccessRequest::getCalledNumber()const
|
||||
{
|
||||
return calledNumber_;
|
||||
}
|
||||
|
||||
void PredictiveRecordSuccessRequest::setCalledNumber(const std::string& calledNumber)
|
||||
{
|
||||
calledNumber_ = calledNumber;
|
||||
setCoreParameter("CalledNumber", calledNumber);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordSuccessRequest::getCallType()const
|
||||
{
|
||||
return callType_;
|
||||
}
|
||||
|
||||
void PredictiveRecordSuccessRequest::setCallType(const std::string& callType)
|
||||
{
|
||||
callType_ = callType;
|
||||
setCoreParameter("CallType", callType);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordSuccessRequest::getScenarioId()const
|
||||
{
|
||||
return scenarioId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordSuccessRequest::setScenarioId(const std::string& scenarioId)
|
||||
{
|
||||
scenarioId_ = scenarioId;
|
||||
setCoreParameter("ScenarioId", scenarioId);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordSuccessRequest::getTaskId()const
|
||||
{
|
||||
return taskId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordSuccessRequest::setTaskId(const std::string& taskId)
|
||||
{
|
||||
taskId_ = taskId;
|
||||
setCoreParameter("TaskId", taskId);
|
||||
}
|
||||
|
||||
std::string PredictiveRecordSuccessRequest::getCabInstanceId()const
|
||||
{
|
||||
return cabInstanceId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordSuccessRequest::setCabInstanceId(const std::string& cabInstanceId)
|
||||
{
|
||||
cabInstanceId_ = cabInstanceId;
|
||||
setCoreParameter("CabInstanceId", cabInstanceId);
|
||||
}
|
||||
|
||||
long PredictiveRecordSuccessRequest::getCabInstanceOwnerId()const
|
||||
{
|
||||
return cabInstanceOwnerId_;
|
||||
}
|
||||
|
||||
void PredictiveRecordSuccessRequest::setCabInstanceOwnerId(long cabInstanceOwnerId)
|
||||
{
|
||||
cabInstanceOwnerId_ = cabInstanceOwnerId;
|
||||
setCoreParameter("CabInstanceOwnerId", std::to_string(cabInstanceOwnerId));
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user