From 0c86b080878410eba8413548c473f7210191020f Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 26 Apr 2022 03:28:12 +0000 Subject: [PATCH] Support to pass variables to authentication IVR. --- CHANGELOG | 3 + VERSION | 2 +- ccc/CMakeLists.txt | 100 ++ ccc/include/alibabacloud/ccc/CCCClient.h | 200 ++++ .../ccc/model/AbortCampaignRequest.h | 74 +- .../ccc/model/AddNumbersToSkillGroupRequest.h | 80 +- .../model/AddPersonalNumbersToUserRequest.h | 80 +- .../AddPhoneNumberToSkillGroupsRequest.h | 80 +- .../ccc/model/AddPhoneNumbersRequest.h | 92 +- .../ccc/model/AddSkillGroupsToUserRequest.h | 80 +- .../ccc/model/AddUsersToSkillGroupRequest.h | 80 +- .../ccc/model/AnswerCallRequest.h | 86 +- .../alibabacloud/ccc/model/AnswerCallResult.h | 1 + .../ccc/model/AssignUsersRequest.h | 92 +- .../ccc/model/BargeInCallRequest.h | 98 +- .../ccc/model/BlindTransferRequest.h | 104 +- .../ccc/model/BlindTransferResult.h | 1 + .../ccc/model/CancelAttendedTransferRequest.h | 86 +- .../ccc/model/ChangeWorkModeRequest.h | 86 +- .../alibabacloud/ccc/model/CoachCallRequest.h | 98 +- .../model/CompleteAttendedTransferRequest.h | 86 +- .../ccc/model/CreateCallTagsRequest.h | 45 + .../ccc/model/CreateCallTagsResult.h | 62 ++ .../ccc/model/CreateCampaignRequest.h | 152 ++- .../model/CreateCustomCallTaggingRequest.h | 45 + .../ccc/model/CreateCustomCallTaggingResult.h | 62 ++ .../ccc/model/CreateInstanceRequest.h | 92 +- .../ccc/model/CreateSkillGroupRequest.h | 86 +- .../ccc/model/CreateUserRequest.h | 119 ++- .../ccc/model/DeleteCallTagRequest.h | 45 + .../ccc/model/DeleteCallTagResult.h | 55 ++ .../model/DeleteCustomCallTaggingRequest.h | 45 + .../ccc/model/DeleteCustomCallTaggingResult.h | 55 ++ .../ccc/model/DeleteSkillGroupRequest.h | 80 +- .../model/ExportCustomCallTaggingRequest.h | 42 + .../ccc/model/ExportCustomCallTaggingResult.h | 59 ++ .../ccc/model/ExportDoNotCallNumbersRequest.h | 48 + .../ccc/model/ExportDoNotCallNumbersResult.h | 59 ++ .../ccc/model/GetCallDetailRecordRequest.h | 74 +- .../ccc/model/GetCallDetailRecordResult.h | 2 + .../ccc/model/GetCampaignRequest.h | 74 +- .../ccc/model/GetCampaignResult.h | 1 + .../ccc/model/GetCaseFileUploadUrlRequest.h | 74 +- .../GetDoNotCallFileUploadParametersRequest.h | 45 + .../GetDoNotCallFileUploadParametersResult.h | 68 ++ .../model/GetHistoricalCallerReportRequest.h | 86 +- .../GetHistoricalCampaignReportRequest.h | 45 + .../model/GetHistoricalCampaignReportResult.h | 66 ++ .../GetHistoricalInstanceReportRequest.h | 80 +- .../ccc/model/GetInstanceRequest.h | 68 +- .../model/GetInstanceTrendingReportRequest.h | 80 +- .../ccc/model/GetLoginDetailsRequest.h | 74 +- .../ccc/model/GetMonoRecordingRequest.h | 74 +- .../model/GetMultiChannelRecordingRequest.h | 74 +- .../ccc/model/GetNumberLocationRequest.h | 74 +- .../model/GetRealtimeCampaignStatsRequest.h | 45 + .../model/GetRealtimeCampaignStatsResult.h | 67 ++ .../model/GetRealtimeInstanceStatesRequest.h | 68 +- .../ccc/model/GetSkillGroupRequest.h | 45 + .../ccc/model/GetSkillGroupResult.h | 65 ++ .../ccc/model/GetTurnCredentialsRequest.h | 74 +- .../ccc/model/GetTurnServerListRequest.h | 68 +- .../alibabacloud/ccc/model/GetUserRequest.h | 80 +- .../alibabacloud/ccc/model/GetUserResult.h | 1 + .../alibabacloud/ccc/model/HoldCallRequest.h | 98 +- .../ccc/model/ImportAdminsRequest.h | 45 + .../ccc/model/ImportAdminsResult.h | 65 ++ .../model/ImportCustomCallTaggingRequest.h | 45 + .../ccc/model/ImportCustomCallTaggingResult.h | 62 ++ .../ccc/model/ImportDoNotCallNumbersRequest.h | 51 + .../ccc/model/ImportDoNotCallNumbersResult.h | 57 ++ .../model/InitiateAttendedTransferRequest.h | 104 +- .../ccc/model/InterceptCallRequest.h | 98 +- .../ccc/model/LaunchAuthenticationRequest.h | 95 +- .../ccc/model/LaunchSurveyRequest.h | 101 +- .../ccc/model/LaunchSurveyResult.h | 1 + .../ccc/model/ListAgentStateLogsRequest.h | 86 +- .../ccc/model/ListAgentStateLogsResult.h | 1 + .../ccc/model/ListAgentStatesRequest.h | 60 ++ .../ccc/model/ListAgentStatesResult.h | 76 ++ ...tAgentSummaryReportsSinceMidnightRequest.h | 57 ++ ...stAgentSummaryReportsSinceMidnightResult.h | 136 +++ .../ccc/model/ListAttemptsRequest.h | 140 ++- .../ccc/model/ListBriefSkillGroupsRequest.h | 86 +- .../ccc/model/ListCallDetailRecordsRequest.h | 182 ++-- .../ccc/model/ListCallTagsRequest.h | 48 + .../ccc/model/ListCallTagsResult.h | 69 ++ .../model/ListCampaignTrendingReportRequest.h | 86 +- .../ccc/model/ListCampaignsRequest.h | 122 ++- .../alibabacloud/ccc/model/ListCasesRequest.h | 92 +- .../ccc/model/ListConfigItemsRequest.h | 80 +- .../ccc/model/ListContactFlowsRequest.h | 86 +- .../ccc/model/ListCustomCallTaggingRequest.h | 54 ++ .../ccc/model/ListCustomCallTaggingResult.h | 78 ++ .../ccc/model/ListDevicesRequest.h | 74 +- .../ccc/model/ListDoNotCallNumbersRequest.h | 54 ++ .../ccc/model/ListDoNotCallNumbersResult.h | 74 ++ .../model/ListHistoricalAgentReportRequest.h | 98 +- .../ListHistoricalSkillGroupReportRequest.h | 98 +- .../ccc/model/ListInstancesOfUserRequest.h | 74 +- .../ccc/model/ListInstancesRequest.h | 74 +- .../model/ListIntervalAgentReportRequest.h | 92 +- .../model/ListIntervalInstanceReportRequest.h | 86 +- .../ListIntervalSkillGroupReportRequest.h | 92 +- .../ccc/model/ListIvrTrackingDetailsRequest.h | 86 +- .../ccc/model/ListMonoRecordingsRequest.h | 45 + .../ccc/model/ListMonoRecordingsResult.h | 69 ++ .../model/ListMultiChannelRecordingsRequest.h | 45 + .../model/ListMultiChannelRecordingsResult.h | 70 ++ .../model/ListOutboundNumbersOfUserRequest.h | 92 +- .../model/ListPersonalNumbersOfUserRequest.h | 98 +- .../ListPhoneNumbersOfSkillGroupRequest.h | 104 +- .../ccc/model/ListPhoneNumbersRequest.h | 98 +- .../ccc/model/ListPrivilegesOfUserRequest.h | 68 +- .../ccc/model/ListRamUsersRequest.h | 86 +- .../model/ListRealtimeAgentStatesRequest.h | 104 +- .../ccc/model/ListRealtimeAgentStatesResult.h | 1 + .../ListRealtimeSkillGroupStatesRequest.h | 86 +- .../ListRecentCallDetailRecordsRequest.h | 98 +- .../alibabacloud/ccc/model/ListRolesRequest.h | 68 +- .../ccc/model/ListSipCallRecordsRequest.h | 74 +- .../ccc/model/ListSipTracesRequest.h | 74 +- .../ccc/model/ListSkillGroupStatesRequest.h | 54 ++ .../ccc/model/ListSkillGroupStatesResult.h | 79 ++ ...lGroupSummaryReportsSinceMidnightRequest.h | 54 ++ ...llGroupSummaryReportsSinceMidnightResult.h | 143 +++ .../ccc/model/ListSkillGroupsRequest.h | 86 +- .../ccc/model/ListSkillLevelsOfUserRequest.h | 98 +- .../ccc/model/ListUnassignedNumbersRequest.h | 86 +- .../model/ListUserLevelsOfSkillGroupRequest.h | 98 +- .../alibabacloud/ccc/model/ListUsersRequest.h | 86 +- .../alibabacloud/ccc/model/MakeCallRequest.h | 110 +-- .../model/ModifyCustomCallTaggingRequest.h | 51 + .../ccc/model/ModifyCustomCallTaggingResult.h | 55 ++ .../ccc/model/ModifyInstanceRequest.h | 74 +- .../ccc/model/ModifyPhoneNumberRequest.h | 86 +- .../ccc/model/ModifySkillGroupRequest.h | 86 +- .../model/ModifySkillLevelsOfUserRequest.h | 80 +- .../ModifyUserLevelsOfSkillGroupRequest.h | 80 +- .../ccc/model/ModifyUserRequest.h | 95 +- .../ccc/model/MonitorCallRequest.h | 92 +- .../alibabacloud/ccc/model/MuteCallRequest.h | 92 +- .../ccc/model/PauseCampaignRequest.h | 74 +- .../ccc/model/PickOutboundNumbersRequest.h | 86 +- .../ccc/model/PollUserStatusRequest.h | 80 +- .../ccc/model/ReadyForServiceRequest.h | 86 +- .../ccc/model/RegisterDeviceRequest.h | 86 +- .../ccc/model/RegisterDevicesRequest.h | 86 +- .../ccc/model/ReleaseCallRequest.h | 92 +- .../ccc/model/RemoveDoNotCallNumbersRequest.h | 45 + .../ccc/model/RemoveDoNotCallNumbersResult.h | 59 ++ .../RemovePersonalNumbersFromUserRequest.h | 80 +- .../RemovePhoneNumberFromSkillGroupsRequest.h | 80 +- .../RemovePhoneNumbersFromSkillGroupRequest.h | 80 +- .../ccc/model/RemovePhoneNumbersRequest.h | 77 +- .../ccc/model/RemovePhoneNumbersResult.h | 6 +- .../model/RemoveSkillGroupsFromUserRequest.h | 80 +- .../model/RemoveUsersFromSkillGroupRequest.h | 80 +- .../ccc/model/RemoveUsersRequest.h | 74 +- .../ccc/model/ResetAgentStateRequest.h | 80 +- .../ccc/model/ResetUserPasswordRequest.h | 80 +- .../ccc/model/ResumeCampaignRequest.h | 74 +- .../ccc/model/RetrieveCallRequest.h | 92 +- .../ccc/model/SaveRTCStatsV2Request.h | 98 +- .../ccc/model/SaveTerminalLogRequest.h | 116 ++- .../ccc/model/SaveWebRTCStatsRequest.h | 98 +- .../ccc/model/SaveWebRtcInfoRequest.h | 92 +- .../ccc/model/SendDtmfSignalingRequest.h | 98 +- .../ccc/model/SignInGroupRequest.h | 86 +- .../ccc/model/SignOutGroupRequest.h | 80 +- .../ccc/model/StartBack2BackCallRequest.h | 104 +- .../ccc/model/StartPredictiveCallRequest.h | 116 ++- .../ccc/model/SubmitCampaignRequest.h | 74 +- .../alibabacloud/ccc/model/TakeBreakRequest.h | 86 +- .../ccc/model/UnmuteCallRequest.h | 92 +- .../ccc/model/UnregisterDeviceRequest.h | 45 + .../ccc/model/UnregisterDeviceResult.h | 55 ++ .../ccc/model/UpdateConfigItemsRequest.h | 86 +- ccc/src/CCCClient.cc | 900 ++++++++++++++++++ ccc/src/model/AbortCampaignRequest.cc | 58 +- .../model/AddNumbersToSkillGroupRequest.cc | 70 +- .../model/AddPersonalNumbersToUserRequest.cc | 70 +- .../AddPhoneNumberToSkillGroupsRequest.cc | 70 +- ccc/src/model/AddPhoneNumbersRequest.cc | 94 +- ccc/src/model/AddSkillGroupsToUserRequest.cc | 70 +- ccc/src/model/AddUsersToSkillGroupRequest.cc | 70 +- ccc/src/model/AnswerCallRequest.cc | 82 +- ccc/src/model/AnswerCallResult.cc | 2 + ccc/src/model/AssignUsersRequest.cc | 94 +- ccc/src/model/BargeInCallRequest.cc | 106 +-- ccc/src/model/BlindTransferRequest.cc | 118 +-- ccc/src/model/BlindTransferResult.cc | 2 + .../model/CancelAttendedTransferRequest.cc | 82 +- ccc/src/model/ChangeWorkModeRequest.cc | 82 +- ccc/src/model/CoachCallRequest.cc | 106 +-- .../model/CompleteAttendedTransferRequest.cc | 82 +- ccc/src/model/CreateCallTagsRequest.cc | 45 + ccc/src/model/CreateCallTagsResult.cc | 80 ++ ccc/src/model/CreateCampaignRequest.cc | 214 ++--- .../model/CreateCustomCallTaggingRequest.cc | 45 + .../model/CreateCustomCallTaggingResult.cc | 80 ++ ccc/src/model/CreateInstanceRequest.cc | 94 +- ccc/src/model/CreateSkillGroupRequest.cc | 82 +- ccc/src/model/CreateUserRequest.cc | 151 ++- ccc/src/model/DeleteCallTagRequest.cc | 45 + ccc/src/model/DeleteCallTagResult.cc | 65 ++ .../model/DeleteCustomCallTaggingRequest.cc | 45 + .../model/DeleteCustomCallTaggingResult.cc | 65 ++ ccc/src/model/DeleteSkillGroupRequest.cc | 70 +- .../model/ExportCustomCallTaggingRequest.cc | 36 + .../model/ExportCustomCallTaggingResult.cc | 80 ++ .../model/ExportDoNotCallNumbersRequest.cc | 54 ++ ccc/src/model/ExportDoNotCallNumbersResult.cc | 80 ++ ccc/src/model/GetCallDetailRecordRequest.cc | 58 +- ccc/src/model/GetCallDetailRecordResult.cc | 4 + ccc/src/model/GetCampaignRequest.cc | 58 +- ccc/src/model/GetCampaignResult.cc | 2 + ccc/src/model/GetCaseFileUploadUrlRequest.cc | 58 +- ...GetDoNotCallFileUploadParametersRequest.cc | 45 + .../GetDoNotCallFileUploadParametersResult.cc | 90 ++ .../model/GetHistoricalCallerReportRequest.cc | 82 +- .../GetHistoricalCampaignReportRequest.cc | 45 + .../GetHistoricalCampaignReportResult.cc | 83 ++ .../GetHistoricalInstanceReportRequest.cc | 70 +- ccc/src/model/GetInstanceRequest.cc | 46 +- .../model/GetInstanceTrendingReportRequest.cc | 70 +- ccc/src/model/GetLoginDetailsRequest.cc | 58 +- ccc/src/model/GetMonoRecordingRequest.cc | 58 +- .../model/GetMultiChannelRecordingRequest.cc | 58 +- ccc/src/model/GetNumberLocationRequest.cc | 58 +- .../model/GetRealtimeCampaignStatsRequest.cc | 45 + .../model/GetRealtimeCampaignStatsResult.cc | 85 ++ .../model/GetRealtimeInstanceStatesRequest.cc | 46 +- ccc/src/model/GetSkillGroupRequest.cc | 45 + ccc/src/model/GetSkillGroupResult.cc | 81 ++ ccc/src/model/GetTurnCredentialsRequest.cc | 58 +- ccc/src/model/GetTurnServerListRequest.cc | 46 +- ccc/src/model/GetUserRequest.cc | 70 +- ccc/src/model/GetUserResult.cc | 2 + ccc/src/model/HoldCallRequest.cc | 106 +-- ccc/src/model/ImportAdminsRequest.cc | 45 + ccc/src/model/ImportAdminsResult.cc | 86 ++ .../model/ImportCustomCallTaggingRequest.cc | 45 + .../model/ImportCustomCallTaggingResult.cc | 80 ++ .../model/ImportDoNotCallNumbersRequest.cc | 63 ++ ccc/src/model/ImportDoNotCallNumbersResult.cc | 73 ++ .../model/InitiateAttendedTransferRequest.cc | 118 +-- ccc/src/model/InterceptCallRequest.cc | 106 +-- ccc/src/model/LaunchAuthenticationRequest.cc | 103 +- ccc/src/model/LaunchSurveyRequest.cc | 121 +-- ccc/src/model/LaunchSurveyResult.cc | 2 + ccc/src/model/ListAgentStateLogsRequest.cc | 82 +- ccc/src/model/ListAgentStateLogsResult.cc | 2 + ccc/src/model/ListAgentStatesRequest.cc | 90 ++ ccc/src/model/ListAgentStatesResult.cc | 104 ++ ...AgentSummaryReportsSinceMidnightRequest.cc | 81 ++ ...tAgentSummaryReportsSinceMidnightResult.cc | 203 ++++ ccc/src/model/ListAttemptsRequest.cc | 190 ++-- ccc/src/model/ListBriefSkillGroupsRequest.cc | 82 +- ccc/src/model/ListCallDetailRecordsRequest.cc | 280 +++--- ccc/src/model/ListCallTagsRequest.cc | 54 ++ ccc/src/model/ListCallTagsResult.cc | 87 ++ .../ListCampaignTrendingReportRequest.cc | 82 +- ccc/src/model/ListCampaignsRequest.cc | 154 ++- ccc/src/model/ListCasesRequest.cc | 94 +- ccc/src/model/ListConfigItemsRequest.cc | 70 +- ccc/src/model/ListContactFlowsRequest.cc | 82 +- ccc/src/model/ListCustomCallTaggingRequest.cc | 72 ++ ccc/src/model/ListCustomCallTaggingResult.cc | 103 ++ ccc/src/model/ListDevicesRequest.cc | 58 +- ccc/src/model/ListDoNotCallNumbersRequest.cc | 72 ++ ccc/src/model/ListDoNotCallNumbersResult.cc | 101 ++ .../model/ListHistoricalAgentReportRequest.cc | 106 +-- .../ListHistoricalSkillGroupReportRequest.cc | 106 +-- ccc/src/model/ListInstancesOfUserRequest.cc | 58 +- ccc/src/model/ListInstancesRequest.cc | 58 +- .../model/ListIntervalAgentReportRequest.cc | 94 +- .../ListIntervalInstanceReportRequest.cc | 82 +- .../ListIntervalSkillGroupReportRequest.cc | 94 +- .../model/ListIvrTrackingDetailsRequest.cc | 82 +- ccc/src/model/ListMonoRecordingsRequest.cc | 45 + ccc/src/model/ListMonoRecordingsResult.cc | 94 ++ .../ListMultiChannelRecordingsRequest.cc | 45 + .../model/ListMultiChannelRecordingsResult.cc | 96 ++ .../model/ListOutboundNumbersOfUserRequest.cc | 94 +- .../model/ListPersonalNumbersOfUserRequest.cc | 106 +-- .../ListPhoneNumbersOfSkillGroupRequest.cc | 118 +-- ccc/src/model/ListPhoneNumbersRequest.cc | 106 +-- ccc/src/model/ListPrivilegesOfUserRequest.cc | 46 +- ccc/src/model/ListRamUsersRequest.cc | 82 +- .../model/ListRealtimeAgentStatesRequest.cc | 118 +-- .../model/ListRealtimeAgentStatesResult.cc | 3 + .../ListRealtimeSkillGroupStatesRequest.cc | 82 +- .../ListRecentCallDetailRecordsRequest.cc | 106 +-- ccc/src/model/ListRolesRequest.cc | 46 +- ccc/src/model/ListSipCallRecordsRequest.cc | 58 +- ccc/src/model/ListSipTracesRequest.cc | 58 +- ccc/src/model/ListSkillGroupStatesRequest.cc | 72 ++ ccc/src/model/ListSkillGroupStatesResult.cc | 110 +++ ...GroupSummaryReportsSinceMidnightRequest.cc | 72 ++ ...lGroupSummaryReportsSinceMidnightResult.cc | 217 +++++ ccc/src/model/ListSkillGroupsRequest.cc | 82 +- ccc/src/model/ListSkillLevelsOfUserRequest.cc | 106 +-- ccc/src/model/ListUnassignedNumbersRequest.cc | 82 +- .../ListUserLevelsOfSkillGroupRequest.cc | 106 +-- ccc/src/model/ListUsersRequest.cc | 82 +- ccc/src/model/MakeCallRequest.cc | 130 ++- .../model/ModifyCustomCallTaggingRequest.cc | 63 ++ .../model/ModifyCustomCallTaggingResult.cc | 65 ++ ccc/src/model/ModifyInstanceRequest.cc | 58 +- ccc/src/model/ModifyPhoneNumberRequest.cc | 82 +- ccc/src/model/ModifySkillGroupRequest.cc | 82 +- .../model/ModifySkillLevelsOfUserRequest.cc | 70 +- .../ModifyUserLevelsOfSkillGroupRequest.cc | 70 +- ccc/src/model/ModifyUserRequest.cc | 103 +- ccc/src/model/MonitorCallRequest.cc | 94 +- ccc/src/model/MuteCallRequest.cc | 94 +- ccc/src/model/PauseCampaignRequest.cc | 58 +- ccc/src/model/PickOutboundNumbersRequest.cc | 82 +- ccc/src/model/PollUserStatusRequest.cc | 70 +- ccc/src/model/ReadyForServiceRequest.cc | 82 +- ccc/src/model/RegisterDeviceRequest.cc | 82 +- ccc/src/model/RegisterDevicesRequest.cc | 82 +- ccc/src/model/ReleaseCallRequest.cc | 94 +- .../model/RemoveDoNotCallNumbersRequest.cc | 45 + ccc/src/model/RemoveDoNotCallNumbersResult.cc | 80 ++ .../RemovePersonalNumbersFromUserRequest.cc | 70 +- ...RemovePhoneNumberFromSkillGroupsRequest.cc | 70 +- ...RemovePhoneNumbersFromSkillGroupRequest.cc | 70 +- ccc/src/model/RemovePhoneNumbersRequest.cc | 67 +- ccc/src/model/RemovePhoneNumbersResult.cc | 15 +- .../model/RemoveSkillGroupsFromUserRequest.cc | 70 +- .../model/RemoveUsersFromSkillGroupRequest.cc | 70 +- ccc/src/model/RemoveUsersRequest.cc | 58 +- ccc/src/model/ResetAgentStateRequest.cc | 70 +- ccc/src/model/ResetUserPasswordRequest.cc | 70 +- ccc/src/model/ResumeCampaignRequest.cc | 58 +- ccc/src/model/RetrieveCallRequest.cc | 94 +- ccc/src/model/SaveRTCStatsV2Request.cc | 106 +-- ccc/src/model/SaveRTCStatsV2Result.cc | 12 +- ccc/src/model/SaveTerminalLogRequest.cc | 142 ++- ccc/src/model/SaveTerminalLogResult.cc | 8 +- ccc/src/model/SaveWebRTCStatsRequest.cc | 106 +-- ccc/src/model/SaveWebRTCStatsResult.cc | 12 +- ccc/src/model/SaveWebRtcInfoRequest.cc | 94 +- ccc/src/model/SaveWebRtcInfoResult.cc | 12 +- ccc/src/model/SendDtmfSignalingRequest.cc | 106 +-- ccc/src/model/SignInGroupRequest.cc | 82 +- ccc/src/model/SignOutGroupRequest.cc | 70 +- ccc/src/model/StartBack2BackCallRequest.cc | 118 +-- ccc/src/model/StartPredictiveCallRequest.cc | 142 ++- ccc/src/model/SubmitCampaignRequest.cc | 58 +- ccc/src/model/TakeBreakRequest.cc | 82 +- ccc/src/model/UnmuteCallRequest.cc | 94 +- ccc/src/model/UnregisterDeviceRequest.cc | 45 + ccc/src/model/UnregisterDeviceResult.cc | 65 ++ ccc/src/model/UpdateConfigItemsRequest.cc | 82 +- 357 files changed, 17132 insertions(+), 11048 deletions(-) create mode 100644 ccc/include/alibabacloud/ccc/model/CreateCallTagsRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/CreateCallTagsResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/CreateCustomCallTaggingRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/CreateCustomCallTaggingResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/DeleteCallTagRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/DeleteCallTagResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/DeleteCustomCallTaggingRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/DeleteCustomCallTaggingResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ExportCustomCallTaggingRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ExportCustomCallTaggingResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ExportDoNotCallNumbersRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ExportDoNotCallNumbersResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/GetHistoricalCampaignReportRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/GetHistoricalCampaignReportResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/GetRealtimeCampaignStatsRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/GetRealtimeCampaignStatsResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/GetSkillGroupRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/GetSkillGroupResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ImportAdminsRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ImportAdminsResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ImportCustomCallTaggingRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ImportCustomCallTaggingResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ImportDoNotCallNumbersRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ImportDoNotCallNumbersResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListAgentStatesRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListAgentStatesResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListCallTagsRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListCallTagsResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListCustomCallTaggingRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListCustomCallTaggingResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListDoNotCallNumbersRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListDoNotCallNumbersResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListMonoRecordingsRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListMonoRecordingsResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListMultiChannelRecordingsRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListMultiChannelRecordingsResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListSkillGroupStatesRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListSkillGroupStatesResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/ModifyCustomCallTaggingRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/ModifyCustomCallTaggingResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/RemoveDoNotCallNumbersRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/RemoveDoNotCallNumbersResult.h create mode 100644 ccc/include/alibabacloud/ccc/model/UnregisterDeviceRequest.h create mode 100644 ccc/include/alibabacloud/ccc/model/UnregisterDeviceResult.h create mode 100644 ccc/src/model/CreateCallTagsRequest.cc create mode 100644 ccc/src/model/CreateCallTagsResult.cc create mode 100644 ccc/src/model/CreateCustomCallTaggingRequest.cc create mode 100644 ccc/src/model/CreateCustomCallTaggingResult.cc create mode 100644 ccc/src/model/DeleteCallTagRequest.cc create mode 100644 ccc/src/model/DeleteCallTagResult.cc create mode 100644 ccc/src/model/DeleteCustomCallTaggingRequest.cc create mode 100644 ccc/src/model/DeleteCustomCallTaggingResult.cc create mode 100644 ccc/src/model/ExportCustomCallTaggingRequest.cc create mode 100644 ccc/src/model/ExportCustomCallTaggingResult.cc create mode 100644 ccc/src/model/ExportDoNotCallNumbersRequest.cc create mode 100644 ccc/src/model/ExportDoNotCallNumbersResult.cc create mode 100644 ccc/src/model/GetDoNotCallFileUploadParametersRequest.cc create mode 100644 ccc/src/model/GetDoNotCallFileUploadParametersResult.cc create mode 100644 ccc/src/model/GetHistoricalCampaignReportRequest.cc create mode 100644 ccc/src/model/GetHistoricalCampaignReportResult.cc create mode 100644 ccc/src/model/GetRealtimeCampaignStatsRequest.cc create mode 100644 ccc/src/model/GetRealtimeCampaignStatsResult.cc create mode 100644 ccc/src/model/GetSkillGroupRequest.cc create mode 100644 ccc/src/model/GetSkillGroupResult.cc create mode 100644 ccc/src/model/ImportAdminsRequest.cc create mode 100644 ccc/src/model/ImportAdminsResult.cc create mode 100644 ccc/src/model/ImportCustomCallTaggingRequest.cc create mode 100644 ccc/src/model/ImportCustomCallTaggingResult.cc create mode 100644 ccc/src/model/ImportDoNotCallNumbersRequest.cc create mode 100644 ccc/src/model/ImportDoNotCallNumbersResult.cc create mode 100644 ccc/src/model/ListAgentStatesRequest.cc create mode 100644 ccc/src/model/ListAgentStatesResult.cc create mode 100644 ccc/src/model/ListAgentSummaryReportsSinceMidnightRequest.cc create mode 100644 ccc/src/model/ListAgentSummaryReportsSinceMidnightResult.cc create mode 100644 ccc/src/model/ListCallTagsRequest.cc create mode 100644 ccc/src/model/ListCallTagsResult.cc create mode 100644 ccc/src/model/ListCustomCallTaggingRequest.cc create mode 100644 ccc/src/model/ListCustomCallTaggingResult.cc create mode 100644 ccc/src/model/ListDoNotCallNumbersRequest.cc create mode 100644 ccc/src/model/ListDoNotCallNumbersResult.cc create mode 100644 ccc/src/model/ListMonoRecordingsRequest.cc create mode 100644 ccc/src/model/ListMonoRecordingsResult.cc create mode 100644 ccc/src/model/ListMultiChannelRecordingsRequest.cc create mode 100644 ccc/src/model/ListMultiChannelRecordingsResult.cc create mode 100644 ccc/src/model/ListSkillGroupStatesRequest.cc create mode 100644 ccc/src/model/ListSkillGroupStatesResult.cc create mode 100644 ccc/src/model/ListSkillGroupSummaryReportsSinceMidnightRequest.cc create mode 100644 ccc/src/model/ListSkillGroupSummaryReportsSinceMidnightResult.cc create mode 100644 ccc/src/model/ModifyCustomCallTaggingRequest.cc create mode 100644 ccc/src/model/ModifyCustomCallTaggingResult.cc create mode 100644 ccc/src/model/RemoveDoNotCallNumbersRequest.cc create mode 100644 ccc/src/model/RemoveDoNotCallNumbersResult.cc create mode 100644 ccc/src/model/UnregisterDeviceRequest.cc create mode 100644 ccc/src/model/UnregisterDeviceResult.cc diff --git a/CHANGELOG b/CHANGELOG index baedb7fb1..8eef600ab 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-04-26 Version: 1.36.1117 +- Support to pass variables to authentication IVR. + 2022-04-25 Version: 1.36.1116 - Generated 2020-05-18 for `dataworks-public`. diff --git a/VERSION b/VERSION index 45fab4399..739d948c2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1116 \ No newline at end of file +1.36.1117 \ No newline at end of file diff --git a/ccc/CMakeLists.txt b/ccc/CMakeLists.txt index c48762a84..1df998a67 100644 --- a/ccc/CMakeLists.txt +++ b/ccc/CMakeLists.txt @@ -51,24 +51,40 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/CoachCallResult.h include/alibabacloud/ccc/model/CompleteAttendedTransferRequest.h include/alibabacloud/ccc/model/CompleteAttendedTransferResult.h + include/alibabacloud/ccc/model/CreateCallTagsRequest.h + include/alibabacloud/ccc/model/CreateCallTagsResult.h include/alibabacloud/ccc/model/CreateCampaignRequest.h include/alibabacloud/ccc/model/CreateCampaignResult.h + include/alibabacloud/ccc/model/CreateCustomCallTaggingRequest.h + include/alibabacloud/ccc/model/CreateCustomCallTaggingResult.h include/alibabacloud/ccc/model/CreateInstanceRequest.h include/alibabacloud/ccc/model/CreateInstanceResult.h include/alibabacloud/ccc/model/CreateSkillGroupRequest.h include/alibabacloud/ccc/model/CreateSkillGroupResult.h include/alibabacloud/ccc/model/CreateUserRequest.h include/alibabacloud/ccc/model/CreateUserResult.h + include/alibabacloud/ccc/model/DeleteCallTagRequest.h + include/alibabacloud/ccc/model/DeleteCallTagResult.h + include/alibabacloud/ccc/model/DeleteCustomCallTaggingRequest.h + include/alibabacloud/ccc/model/DeleteCustomCallTaggingResult.h include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h include/alibabacloud/ccc/model/DeleteSkillGroupResult.h + include/alibabacloud/ccc/model/ExportCustomCallTaggingRequest.h + include/alibabacloud/ccc/model/ExportCustomCallTaggingResult.h + include/alibabacloud/ccc/model/ExportDoNotCallNumbersRequest.h + include/alibabacloud/ccc/model/ExportDoNotCallNumbersResult.h include/alibabacloud/ccc/model/GetCallDetailRecordRequest.h include/alibabacloud/ccc/model/GetCallDetailRecordResult.h include/alibabacloud/ccc/model/GetCampaignRequest.h include/alibabacloud/ccc/model/GetCampaignResult.h include/alibabacloud/ccc/model/GetCaseFileUploadUrlRequest.h include/alibabacloud/ccc/model/GetCaseFileUploadUrlResult.h + include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersRequest.h + include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersResult.h include/alibabacloud/ccc/model/GetHistoricalCallerReportRequest.h include/alibabacloud/ccc/model/GetHistoricalCallerReportResult.h + include/alibabacloud/ccc/model/GetHistoricalCampaignReportRequest.h + include/alibabacloud/ccc/model/GetHistoricalCampaignReportResult.h include/alibabacloud/ccc/model/GetHistoricalInstanceReportRequest.h include/alibabacloud/ccc/model/GetHistoricalInstanceReportResult.h include/alibabacloud/ccc/model/GetInstanceRequest.h @@ -83,8 +99,12 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/GetMultiChannelRecordingResult.h include/alibabacloud/ccc/model/GetNumberLocationRequest.h include/alibabacloud/ccc/model/GetNumberLocationResult.h + include/alibabacloud/ccc/model/GetRealtimeCampaignStatsRequest.h + include/alibabacloud/ccc/model/GetRealtimeCampaignStatsResult.h include/alibabacloud/ccc/model/GetRealtimeInstanceStatesRequest.h include/alibabacloud/ccc/model/GetRealtimeInstanceStatesResult.h + include/alibabacloud/ccc/model/GetSkillGroupRequest.h + include/alibabacloud/ccc/model/GetSkillGroupResult.h include/alibabacloud/ccc/model/GetTurnCredentialsRequest.h include/alibabacloud/ccc/model/GetTurnCredentialsResult.h include/alibabacloud/ccc/model/GetTurnServerListRequest.h @@ -93,6 +113,12 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/GetUserResult.h include/alibabacloud/ccc/model/HoldCallRequest.h include/alibabacloud/ccc/model/HoldCallResult.h + include/alibabacloud/ccc/model/ImportAdminsRequest.h + include/alibabacloud/ccc/model/ImportAdminsResult.h + include/alibabacloud/ccc/model/ImportCustomCallTaggingRequest.h + include/alibabacloud/ccc/model/ImportCustomCallTaggingResult.h + include/alibabacloud/ccc/model/ImportDoNotCallNumbersRequest.h + include/alibabacloud/ccc/model/ImportDoNotCallNumbersResult.h include/alibabacloud/ccc/model/InitiateAttendedTransferRequest.h include/alibabacloud/ccc/model/InitiateAttendedTransferResult.h include/alibabacloud/ccc/model/InterceptCallRequest.h @@ -103,12 +129,18 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/LaunchSurveyResult.h include/alibabacloud/ccc/model/ListAgentStateLogsRequest.h include/alibabacloud/ccc/model/ListAgentStateLogsResult.h + include/alibabacloud/ccc/model/ListAgentStatesRequest.h + include/alibabacloud/ccc/model/ListAgentStatesResult.h + include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightRequest.h + include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightResult.h include/alibabacloud/ccc/model/ListAttemptsRequest.h include/alibabacloud/ccc/model/ListAttemptsResult.h include/alibabacloud/ccc/model/ListBriefSkillGroupsRequest.h include/alibabacloud/ccc/model/ListBriefSkillGroupsResult.h include/alibabacloud/ccc/model/ListCallDetailRecordsRequest.h include/alibabacloud/ccc/model/ListCallDetailRecordsResult.h + include/alibabacloud/ccc/model/ListCallTagsRequest.h + include/alibabacloud/ccc/model/ListCallTagsResult.h include/alibabacloud/ccc/model/ListCampaignTrendingReportRequest.h include/alibabacloud/ccc/model/ListCampaignTrendingReportResult.h include/alibabacloud/ccc/model/ListCampaignsRequest.h @@ -119,8 +151,12 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/ListConfigItemsResult.h include/alibabacloud/ccc/model/ListContactFlowsRequest.h include/alibabacloud/ccc/model/ListContactFlowsResult.h + include/alibabacloud/ccc/model/ListCustomCallTaggingRequest.h + include/alibabacloud/ccc/model/ListCustomCallTaggingResult.h include/alibabacloud/ccc/model/ListDevicesRequest.h include/alibabacloud/ccc/model/ListDevicesResult.h + include/alibabacloud/ccc/model/ListDoNotCallNumbersRequest.h + include/alibabacloud/ccc/model/ListDoNotCallNumbersResult.h include/alibabacloud/ccc/model/ListHistoricalAgentReportRequest.h include/alibabacloud/ccc/model/ListHistoricalAgentReportResult.h include/alibabacloud/ccc/model/ListHistoricalSkillGroupReportRequest.h @@ -137,6 +173,10 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/ListIntervalSkillGroupReportResult.h include/alibabacloud/ccc/model/ListIvrTrackingDetailsRequest.h include/alibabacloud/ccc/model/ListIvrTrackingDetailsResult.h + include/alibabacloud/ccc/model/ListMonoRecordingsRequest.h + include/alibabacloud/ccc/model/ListMonoRecordingsResult.h + include/alibabacloud/ccc/model/ListMultiChannelRecordingsRequest.h + include/alibabacloud/ccc/model/ListMultiChannelRecordingsResult.h include/alibabacloud/ccc/model/ListOutboundNumbersOfUserRequest.h include/alibabacloud/ccc/model/ListOutboundNumbersOfUserResult.h include/alibabacloud/ccc/model/ListPersonalNumbersOfUserRequest.h @@ -161,6 +201,10 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/ListSipCallRecordsResult.h include/alibabacloud/ccc/model/ListSipTracesRequest.h include/alibabacloud/ccc/model/ListSipTracesResult.h + include/alibabacloud/ccc/model/ListSkillGroupStatesRequest.h + include/alibabacloud/ccc/model/ListSkillGroupStatesResult.h + include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightRequest.h + include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightResult.h include/alibabacloud/ccc/model/ListSkillGroupsRequest.h include/alibabacloud/ccc/model/ListSkillGroupsResult.h include/alibabacloud/ccc/model/ListSkillLevelsOfUserRequest.h @@ -173,6 +217,8 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/ListUsersResult.h include/alibabacloud/ccc/model/MakeCallRequest.h include/alibabacloud/ccc/model/MakeCallResult.h + include/alibabacloud/ccc/model/ModifyCustomCallTaggingRequest.h + include/alibabacloud/ccc/model/ModifyCustomCallTaggingResult.h include/alibabacloud/ccc/model/ModifyInstanceRequest.h include/alibabacloud/ccc/model/ModifyInstanceResult.h include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h @@ -203,6 +249,8 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/RegisterDevicesResult.h include/alibabacloud/ccc/model/ReleaseCallRequest.h include/alibabacloud/ccc/model/ReleaseCallResult.h + include/alibabacloud/ccc/model/RemoveDoNotCallNumbersRequest.h + include/alibabacloud/ccc/model/RemoveDoNotCallNumbersResult.h include/alibabacloud/ccc/model/RemovePersonalNumbersFromUserRequest.h include/alibabacloud/ccc/model/RemovePersonalNumbersFromUserResult.h include/alibabacloud/ccc/model/RemovePhoneNumberFromSkillGroupsRequest.h @@ -249,6 +297,8 @@ set(ccc_public_header_model include/alibabacloud/ccc/model/TakeBreakResult.h include/alibabacloud/ccc/model/UnmuteCallRequest.h include/alibabacloud/ccc/model/UnmuteCallResult.h + include/alibabacloud/ccc/model/UnregisterDeviceRequest.h + include/alibabacloud/ccc/model/UnregisterDeviceResult.h include/alibabacloud/ccc/model/UpdateConfigItemsRequest.h include/alibabacloud/ccc/model/UpdateConfigItemsResult.h ) @@ -284,24 +334,40 @@ set(ccc_src src/model/CoachCallResult.cc src/model/CompleteAttendedTransferRequest.cc src/model/CompleteAttendedTransferResult.cc + src/model/CreateCallTagsRequest.cc + src/model/CreateCallTagsResult.cc src/model/CreateCampaignRequest.cc src/model/CreateCampaignResult.cc + src/model/CreateCustomCallTaggingRequest.cc + src/model/CreateCustomCallTaggingResult.cc src/model/CreateInstanceRequest.cc src/model/CreateInstanceResult.cc src/model/CreateSkillGroupRequest.cc src/model/CreateSkillGroupResult.cc src/model/CreateUserRequest.cc src/model/CreateUserResult.cc + src/model/DeleteCallTagRequest.cc + src/model/DeleteCallTagResult.cc + src/model/DeleteCustomCallTaggingRequest.cc + src/model/DeleteCustomCallTaggingResult.cc src/model/DeleteSkillGroupRequest.cc src/model/DeleteSkillGroupResult.cc + src/model/ExportCustomCallTaggingRequest.cc + src/model/ExportCustomCallTaggingResult.cc + src/model/ExportDoNotCallNumbersRequest.cc + src/model/ExportDoNotCallNumbersResult.cc src/model/GetCallDetailRecordRequest.cc src/model/GetCallDetailRecordResult.cc src/model/GetCampaignRequest.cc src/model/GetCampaignResult.cc src/model/GetCaseFileUploadUrlRequest.cc src/model/GetCaseFileUploadUrlResult.cc + src/model/GetDoNotCallFileUploadParametersRequest.cc + src/model/GetDoNotCallFileUploadParametersResult.cc src/model/GetHistoricalCallerReportRequest.cc src/model/GetHistoricalCallerReportResult.cc + src/model/GetHistoricalCampaignReportRequest.cc + src/model/GetHistoricalCampaignReportResult.cc src/model/GetHistoricalInstanceReportRequest.cc src/model/GetHistoricalInstanceReportResult.cc src/model/GetInstanceRequest.cc @@ -316,8 +382,12 @@ set(ccc_src src/model/GetMultiChannelRecordingResult.cc src/model/GetNumberLocationRequest.cc src/model/GetNumberLocationResult.cc + src/model/GetRealtimeCampaignStatsRequest.cc + src/model/GetRealtimeCampaignStatsResult.cc src/model/GetRealtimeInstanceStatesRequest.cc src/model/GetRealtimeInstanceStatesResult.cc + src/model/GetSkillGroupRequest.cc + src/model/GetSkillGroupResult.cc src/model/GetTurnCredentialsRequest.cc src/model/GetTurnCredentialsResult.cc src/model/GetTurnServerListRequest.cc @@ -326,6 +396,12 @@ set(ccc_src src/model/GetUserResult.cc src/model/HoldCallRequest.cc src/model/HoldCallResult.cc + src/model/ImportAdminsRequest.cc + src/model/ImportAdminsResult.cc + src/model/ImportCustomCallTaggingRequest.cc + src/model/ImportCustomCallTaggingResult.cc + src/model/ImportDoNotCallNumbersRequest.cc + src/model/ImportDoNotCallNumbersResult.cc src/model/InitiateAttendedTransferRequest.cc src/model/InitiateAttendedTransferResult.cc src/model/InterceptCallRequest.cc @@ -336,12 +412,18 @@ set(ccc_src src/model/LaunchSurveyResult.cc src/model/ListAgentStateLogsRequest.cc src/model/ListAgentStateLogsResult.cc + src/model/ListAgentStatesRequest.cc + src/model/ListAgentStatesResult.cc + src/model/ListAgentSummaryReportsSinceMidnightRequest.cc + src/model/ListAgentSummaryReportsSinceMidnightResult.cc src/model/ListAttemptsRequest.cc src/model/ListAttemptsResult.cc src/model/ListBriefSkillGroupsRequest.cc src/model/ListBriefSkillGroupsResult.cc src/model/ListCallDetailRecordsRequest.cc src/model/ListCallDetailRecordsResult.cc + src/model/ListCallTagsRequest.cc + src/model/ListCallTagsResult.cc src/model/ListCampaignTrendingReportRequest.cc src/model/ListCampaignTrendingReportResult.cc src/model/ListCampaignsRequest.cc @@ -352,8 +434,12 @@ set(ccc_src src/model/ListConfigItemsResult.cc src/model/ListContactFlowsRequest.cc src/model/ListContactFlowsResult.cc + src/model/ListCustomCallTaggingRequest.cc + src/model/ListCustomCallTaggingResult.cc src/model/ListDevicesRequest.cc src/model/ListDevicesResult.cc + src/model/ListDoNotCallNumbersRequest.cc + src/model/ListDoNotCallNumbersResult.cc src/model/ListHistoricalAgentReportRequest.cc src/model/ListHistoricalAgentReportResult.cc src/model/ListHistoricalSkillGroupReportRequest.cc @@ -370,6 +456,10 @@ set(ccc_src src/model/ListIntervalSkillGroupReportResult.cc src/model/ListIvrTrackingDetailsRequest.cc src/model/ListIvrTrackingDetailsResult.cc + src/model/ListMonoRecordingsRequest.cc + src/model/ListMonoRecordingsResult.cc + src/model/ListMultiChannelRecordingsRequest.cc + src/model/ListMultiChannelRecordingsResult.cc src/model/ListOutboundNumbersOfUserRequest.cc src/model/ListOutboundNumbersOfUserResult.cc src/model/ListPersonalNumbersOfUserRequest.cc @@ -394,6 +484,10 @@ set(ccc_src src/model/ListSipCallRecordsResult.cc src/model/ListSipTracesRequest.cc src/model/ListSipTracesResult.cc + src/model/ListSkillGroupStatesRequest.cc + src/model/ListSkillGroupStatesResult.cc + src/model/ListSkillGroupSummaryReportsSinceMidnightRequest.cc + src/model/ListSkillGroupSummaryReportsSinceMidnightResult.cc src/model/ListSkillGroupsRequest.cc src/model/ListSkillGroupsResult.cc src/model/ListSkillLevelsOfUserRequest.cc @@ -406,6 +500,8 @@ set(ccc_src src/model/ListUsersResult.cc src/model/MakeCallRequest.cc src/model/MakeCallResult.cc + src/model/ModifyCustomCallTaggingRequest.cc + src/model/ModifyCustomCallTaggingResult.cc src/model/ModifyInstanceRequest.cc src/model/ModifyInstanceResult.cc src/model/ModifyPhoneNumberRequest.cc @@ -436,6 +532,8 @@ set(ccc_src src/model/RegisterDevicesResult.cc src/model/ReleaseCallRequest.cc src/model/ReleaseCallResult.cc + src/model/RemoveDoNotCallNumbersRequest.cc + src/model/RemoveDoNotCallNumbersResult.cc src/model/RemovePersonalNumbersFromUserRequest.cc src/model/RemovePersonalNumbersFromUserResult.cc src/model/RemovePhoneNumberFromSkillGroupsRequest.cc @@ -482,6 +580,8 @@ set(ccc_src src/model/TakeBreakResult.cc src/model/UnmuteCallRequest.cc src/model/UnmuteCallResult.cc + src/model/UnregisterDeviceRequest.cc + src/model/UnregisterDeviceResult.cc src/model/UpdateConfigItemsRequest.cc src/model/UpdateConfigItemsResult.cc ) diff --git a/ccc/include/alibabacloud/ccc/CCCClient.h b/ccc/include/alibabacloud/ccc/CCCClient.h index 112ae2eb0..03939cba6 100644 --- a/ccc/include/alibabacloud/ccc/CCCClient.h +++ b/ccc/include/alibabacloud/ccc/CCCClient.h @@ -52,24 +52,40 @@ #include "model/CoachCallResult.h" #include "model/CompleteAttendedTransferRequest.h" #include "model/CompleteAttendedTransferResult.h" +#include "model/CreateCallTagsRequest.h" +#include "model/CreateCallTagsResult.h" #include "model/CreateCampaignRequest.h" #include "model/CreateCampaignResult.h" +#include "model/CreateCustomCallTaggingRequest.h" +#include "model/CreateCustomCallTaggingResult.h" #include "model/CreateInstanceRequest.h" #include "model/CreateInstanceResult.h" #include "model/CreateSkillGroupRequest.h" #include "model/CreateSkillGroupResult.h" #include "model/CreateUserRequest.h" #include "model/CreateUserResult.h" +#include "model/DeleteCallTagRequest.h" +#include "model/DeleteCallTagResult.h" +#include "model/DeleteCustomCallTaggingRequest.h" +#include "model/DeleteCustomCallTaggingResult.h" #include "model/DeleteSkillGroupRequest.h" #include "model/DeleteSkillGroupResult.h" +#include "model/ExportCustomCallTaggingRequest.h" +#include "model/ExportCustomCallTaggingResult.h" +#include "model/ExportDoNotCallNumbersRequest.h" +#include "model/ExportDoNotCallNumbersResult.h" #include "model/GetCallDetailRecordRequest.h" #include "model/GetCallDetailRecordResult.h" #include "model/GetCampaignRequest.h" #include "model/GetCampaignResult.h" #include "model/GetCaseFileUploadUrlRequest.h" #include "model/GetCaseFileUploadUrlResult.h" +#include "model/GetDoNotCallFileUploadParametersRequest.h" +#include "model/GetDoNotCallFileUploadParametersResult.h" #include "model/GetHistoricalCallerReportRequest.h" #include "model/GetHistoricalCallerReportResult.h" +#include "model/GetHistoricalCampaignReportRequest.h" +#include "model/GetHistoricalCampaignReportResult.h" #include "model/GetHistoricalInstanceReportRequest.h" #include "model/GetHistoricalInstanceReportResult.h" #include "model/GetInstanceRequest.h" @@ -84,8 +100,12 @@ #include "model/GetMultiChannelRecordingResult.h" #include "model/GetNumberLocationRequest.h" #include "model/GetNumberLocationResult.h" +#include "model/GetRealtimeCampaignStatsRequest.h" +#include "model/GetRealtimeCampaignStatsResult.h" #include "model/GetRealtimeInstanceStatesRequest.h" #include "model/GetRealtimeInstanceStatesResult.h" +#include "model/GetSkillGroupRequest.h" +#include "model/GetSkillGroupResult.h" #include "model/GetTurnCredentialsRequest.h" #include "model/GetTurnCredentialsResult.h" #include "model/GetTurnServerListRequest.h" @@ -94,6 +114,12 @@ #include "model/GetUserResult.h" #include "model/HoldCallRequest.h" #include "model/HoldCallResult.h" +#include "model/ImportAdminsRequest.h" +#include "model/ImportAdminsResult.h" +#include "model/ImportCustomCallTaggingRequest.h" +#include "model/ImportCustomCallTaggingResult.h" +#include "model/ImportDoNotCallNumbersRequest.h" +#include "model/ImportDoNotCallNumbersResult.h" #include "model/InitiateAttendedTransferRequest.h" #include "model/InitiateAttendedTransferResult.h" #include "model/InterceptCallRequest.h" @@ -104,12 +130,18 @@ #include "model/LaunchSurveyResult.h" #include "model/ListAgentStateLogsRequest.h" #include "model/ListAgentStateLogsResult.h" +#include "model/ListAgentStatesRequest.h" +#include "model/ListAgentStatesResult.h" +#include "model/ListAgentSummaryReportsSinceMidnightRequest.h" +#include "model/ListAgentSummaryReportsSinceMidnightResult.h" #include "model/ListAttemptsRequest.h" #include "model/ListAttemptsResult.h" #include "model/ListBriefSkillGroupsRequest.h" #include "model/ListBriefSkillGroupsResult.h" #include "model/ListCallDetailRecordsRequest.h" #include "model/ListCallDetailRecordsResult.h" +#include "model/ListCallTagsRequest.h" +#include "model/ListCallTagsResult.h" #include "model/ListCampaignTrendingReportRequest.h" #include "model/ListCampaignTrendingReportResult.h" #include "model/ListCampaignsRequest.h" @@ -120,8 +152,12 @@ #include "model/ListConfigItemsResult.h" #include "model/ListContactFlowsRequest.h" #include "model/ListContactFlowsResult.h" +#include "model/ListCustomCallTaggingRequest.h" +#include "model/ListCustomCallTaggingResult.h" #include "model/ListDevicesRequest.h" #include "model/ListDevicesResult.h" +#include "model/ListDoNotCallNumbersRequest.h" +#include "model/ListDoNotCallNumbersResult.h" #include "model/ListHistoricalAgentReportRequest.h" #include "model/ListHistoricalAgentReportResult.h" #include "model/ListHistoricalSkillGroupReportRequest.h" @@ -138,6 +174,10 @@ #include "model/ListIntervalSkillGroupReportResult.h" #include "model/ListIvrTrackingDetailsRequest.h" #include "model/ListIvrTrackingDetailsResult.h" +#include "model/ListMonoRecordingsRequest.h" +#include "model/ListMonoRecordingsResult.h" +#include "model/ListMultiChannelRecordingsRequest.h" +#include "model/ListMultiChannelRecordingsResult.h" #include "model/ListOutboundNumbersOfUserRequest.h" #include "model/ListOutboundNumbersOfUserResult.h" #include "model/ListPersonalNumbersOfUserRequest.h" @@ -162,6 +202,10 @@ #include "model/ListSipCallRecordsResult.h" #include "model/ListSipTracesRequest.h" #include "model/ListSipTracesResult.h" +#include "model/ListSkillGroupStatesRequest.h" +#include "model/ListSkillGroupStatesResult.h" +#include "model/ListSkillGroupSummaryReportsSinceMidnightRequest.h" +#include "model/ListSkillGroupSummaryReportsSinceMidnightResult.h" #include "model/ListSkillGroupsRequest.h" #include "model/ListSkillGroupsResult.h" #include "model/ListSkillLevelsOfUserRequest.h" @@ -174,6 +218,8 @@ #include "model/ListUsersResult.h" #include "model/MakeCallRequest.h" #include "model/MakeCallResult.h" +#include "model/ModifyCustomCallTaggingRequest.h" +#include "model/ModifyCustomCallTaggingResult.h" #include "model/ModifyInstanceRequest.h" #include "model/ModifyInstanceResult.h" #include "model/ModifyPhoneNumberRequest.h" @@ -204,6 +250,8 @@ #include "model/RegisterDevicesResult.h" #include "model/ReleaseCallRequest.h" #include "model/ReleaseCallResult.h" +#include "model/RemoveDoNotCallNumbersRequest.h" +#include "model/RemoveDoNotCallNumbersResult.h" #include "model/RemovePersonalNumbersFromUserRequest.h" #include "model/RemovePersonalNumbersFromUserResult.h" #include "model/RemovePhoneNumberFromSkillGroupsRequest.h" @@ -250,6 +298,8 @@ #include "model/TakeBreakResult.h" #include "model/UnmuteCallRequest.h" #include "model/UnmuteCallResult.h" +#include "model/UnregisterDeviceRequest.h" +#include "model/UnregisterDeviceResult.h" #include "model/UpdateConfigItemsRequest.h" #include "model/UpdateConfigItemsResult.h" @@ -306,9 +356,15 @@ namespace AlibabaCloud typedef Outcome CompleteAttendedTransferOutcome; typedef std::future CompleteAttendedTransferOutcomeCallable; typedef std::function&)> CompleteAttendedTransferAsyncHandler; + typedef Outcome CreateCallTagsOutcome; + typedef std::future CreateCallTagsOutcomeCallable; + typedef std::function&)> CreateCallTagsAsyncHandler; typedef Outcome CreateCampaignOutcome; typedef std::future CreateCampaignOutcomeCallable; typedef std::function&)> CreateCampaignAsyncHandler; + typedef Outcome CreateCustomCallTaggingOutcome; + typedef std::future CreateCustomCallTaggingOutcomeCallable; + typedef std::function&)> CreateCustomCallTaggingAsyncHandler; typedef Outcome CreateInstanceOutcome; typedef std::future CreateInstanceOutcomeCallable; typedef std::function&)> CreateInstanceAsyncHandler; @@ -318,9 +374,21 @@ namespace AlibabaCloud typedef Outcome CreateUserOutcome; typedef std::future CreateUserOutcomeCallable; typedef std::function&)> CreateUserAsyncHandler; + typedef Outcome DeleteCallTagOutcome; + typedef std::future DeleteCallTagOutcomeCallable; + typedef std::function&)> DeleteCallTagAsyncHandler; + typedef Outcome DeleteCustomCallTaggingOutcome; + typedef std::future DeleteCustomCallTaggingOutcomeCallable; + typedef std::function&)> DeleteCustomCallTaggingAsyncHandler; typedef Outcome DeleteSkillGroupOutcome; typedef std::future DeleteSkillGroupOutcomeCallable; typedef std::function&)> DeleteSkillGroupAsyncHandler; + typedef Outcome ExportCustomCallTaggingOutcome; + typedef std::future ExportCustomCallTaggingOutcomeCallable; + typedef std::function&)> ExportCustomCallTaggingAsyncHandler; + typedef Outcome ExportDoNotCallNumbersOutcome; + typedef std::future ExportDoNotCallNumbersOutcomeCallable; + typedef std::function&)> ExportDoNotCallNumbersAsyncHandler; typedef Outcome GetCallDetailRecordOutcome; typedef std::future GetCallDetailRecordOutcomeCallable; typedef std::function&)> GetCallDetailRecordAsyncHandler; @@ -330,9 +398,15 @@ namespace AlibabaCloud typedef Outcome GetCaseFileUploadUrlOutcome; typedef std::future GetCaseFileUploadUrlOutcomeCallable; typedef std::function&)> GetCaseFileUploadUrlAsyncHandler; + typedef Outcome GetDoNotCallFileUploadParametersOutcome; + typedef std::future GetDoNotCallFileUploadParametersOutcomeCallable; + typedef std::function&)> GetDoNotCallFileUploadParametersAsyncHandler; typedef Outcome GetHistoricalCallerReportOutcome; typedef std::future GetHistoricalCallerReportOutcomeCallable; typedef std::function&)> GetHistoricalCallerReportAsyncHandler; + typedef Outcome GetHistoricalCampaignReportOutcome; + typedef std::future GetHistoricalCampaignReportOutcomeCallable; + typedef std::function&)> GetHistoricalCampaignReportAsyncHandler; typedef Outcome GetHistoricalInstanceReportOutcome; typedef std::future GetHistoricalInstanceReportOutcomeCallable; typedef std::function&)> GetHistoricalInstanceReportAsyncHandler; @@ -354,9 +428,15 @@ namespace AlibabaCloud typedef Outcome GetNumberLocationOutcome; typedef std::future GetNumberLocationOutcomeCallable; typedef std::function&)> GetNumberLocationAsyncHandler; + typedef Outcome GetRealtimeCampaignStatsOutcome; + typedef std::future GetRealtimeCampaignStatsOutcomeCallable; + typedef std::function&)> GetRealtimeCampaignStatsAsyncHandler; typedef Outcome GetRealtimeInstanceStatesOutcome; typedef std::future GetRealtimeInstanceStatesOutcomeCallable; typedef std::function&)> GetRealtimeInstanceStatesAsyncHandler; + typedef Outcome GetSkillGroupOutcome; + typedef std::future GetSkillGroupOutcomeCallable; + typedef std::function&)> GetSkillGroupAsyncHandler; typedef Outcome GetTurnCredentialsOutcome; typedef std::future GetTurnCredentialsOutcomeCallable; typedef std::function&)> GetTurnCredentialsAsyncHandler; @@ -369,6 +449,15 @@ namespace AlibabaCloud typedef Outcome HoldCallOutcome; typedef std::future HoldCallOutcomeCallable; typedef std::function&)> HoldCallAsyncHandler; + typedef Outcome ImportAdminsOutcome; + typedef std::future ImportAdminsOutcomeCallable; + typedef std::function&)> ImportAdminsAsyncHandler; + typedef Outcome ImportCustomCallTaggingOutcome; + typedef std::future ImportCustomCallTaggingOutcomeCallable; + typedef std::function&)> ImportCustomCallTaggingAsyncHandler; + typedef Outcome ImportDoNotCallNumbersOutcome; + typedef std::future ImportDoNotCallNumbersOutcomeCallable; + typedef std::function&)> ImportDoNotCallNumbersAsyncHandler; typedef Outcome InitiateAttendedTransferOutcome; typedef std::future InitiateAttendedTransferOutcomeCallable; typedef std::function&)> InitiateAttendedTransferAsyncHandler; @@ -384,6 +473,12 @@ namespace AlibabaCloud typedef Outcome ListAgentStateLogsOutcome; typedef std::future ListAgentStateLogsOutcomeCallable; typedef std::function&)> ListAgentStateLogsAsyncHandler; + typedef Outcome ListAgentStatesOutcome; + typedef std::future ListAgentStatesOutcomeCallable; + typedef std::function&)> ListAgentStatesAsyncHandler; + typedef Outcome ListAgentSummaryReportsSinceMidnightOutcome; + typedef std::future ListAgentSummaryReportsSinceMidnightOutcomeCallable; + typedef std::function&)> ListAgentSummaryReportsSinceMidnightAsyncHandler; typedef Outcome ListAttemptsOutcome; typedef std::future ListAttemptsOutcomeCallable; typedef std::function&)> ListAttemptsAsyncHandler; @@ -393,6 +488,9 @@ namespace AlibabaCloud typedef Outcome ListCallDetailRecordsOutcome; typedef std::future ListCallDetailRecordsOutcomeCallable; typedef std::function&)> ListCallDetailRecordsAsyncHandler; + typedef Outcome ListCallTagsOutcome; + typedef std::future ListCallTagsOutcomeCallable; + typedef std::function&)> ListCallTagsAsyncHandler; typedef Outcome ListCampaignTrendingReportOutcome; typedef std::future ListCampaignTrendingReportOutcomeCallable; typedef std::function&)> ListCampaignTrendingReportAsyncHandler; @@ -408,9 +506,15 @@ namespace AlibabaCloud typedef Outcome ListContactFlowsOutcome; typedef std::future ListContactFlowsOutcomeCallable; typedef std::function&)> ListContactFlowsAsyncHandler; + typedef Outcome ListCustomCallTaggingOutcome; + typedef std::future ListCustomCallTaggingOutcomeCallable; + typedef std::function&)> ListCustomCallTaggingAsyncHandler; typedef Outcome ListDevicesOutcome; typedef std::future ListDevicesOutcomeCallable; typedef std::function&)> ListDevicesAsyncHandler; + typedef Outcome ListDoNotCallNumbersOutcome; + typedef std::future ListDoNotCallNumbersOutcomeCallable; + typedef std::function&)> ListDoNotCallNumbersAsyncHandler; typedef Outcome ListHistoricalAgentReportOutcome; typedef std::future ListHistoricalAgentReportOutcomeCallable; typedef std::function&)> ListHistoricalAgentReportAsyncHandler; @@ -435,6 +539,12 @@ namespace AlibabaCloud typedef Outcome ListIvrTrackingDetailsOutcome; typedef std::future ListIvrTrackingDetailsOutcomeCallable; typedef std::function&)> ListIvrTrackingDetailsAsyncHandler; + typedef Outcome ListMonoRecordingsOutcome; + typedef std::future ListMonoRecordingsOutcomeCallable; + typedef std::function&)> ListMonoRecordingsAsyncHandler; + typedef Outcome ListMultiChannelRecordingsOutcome; + typedef std::future ListMultiChannelRecordingsOutcomeCallable; + typedef std::function&)> ListMultiChannelRecordingsAsyncHandler; typedef Outcome ListOutboundNumbersOfUserOutcome; typedef std::future ListOutboundNumbersOfUserOutcomeCallable; typedef std::function&)> ListOutboundNumbersOfUserAsyncHandler; @@ -471,6 +581,12 @@ namespace AlibabaCloud typedef Outcome ListSipTracesOutcome; typedef std::future ListSipTracesOutcomeCallable; typedef std::function&)> ListSipTracesAsyncHandler; + typedef Outcome ListSkillGroupStatesOutcome; + typedef std::future ListSkillGroupStatesOutcomeCallable; + typedef std::function&)> ListSkillGroupStatesAsyncHandler; + typedef Outcome ListSkillGroupSummaryReportsSinceMidnightOutcome; + typedef std::future ListSkillGroupSummaryReportsSinceMidnightOutcomeCallable; + typedef std::function&)> ListSkillGroupSummaryReportsSinceMidnightAsyncHandler; typedef Outcome ListSkillGroupsOutcome; typedef std::future ListSkillGroupsOutcomeCallable; typedef std::function&)> ListSkillGroupsAsyncHandler; @@ -489,6 +605,9 @@ namespace AlibabaCloud typedef Outcome MakeCallOutcome; typedef std::future MakeCallOutcomeCallable; typedef std::function&)> MakeCallAsyncHandler; + typedef Outcome ModifyCustomCallTaggingOutcome; + typedef std::future ModifyCustomCallTaggingOutcomeCallable; + typedef std::function&)> ModifyCustomCallTaggingAsyncHandler; typedef Outcome ModifyInstanceOutcome; typedef std::future ModifyInstanceOutcomeCallable; typedef std::function&)> ModifyInstanceAsyncHandler; @@ -534,6 +653,9 @@ namespace AlibabaCloud typedef Outcome ReleaseCallOutcome; typedef std::future ReleaseCallOutcomeCallable; typedef std::function&)> ReleaseCallAsyncHandler; + typedef Outcome RemoveDoNotCallNumbersOutcome; + typedef std::future RemoveDoNotCallNumbersOutcomeCallable; + typedef std::function&)> RemoveDoNotCallNumbersAsyncHandler; typedef Outcome RemovePersonalNumbersFromUserOutcome; typedef std::future RemovePersonalNumbersFromUserOutcomeCallable; typedef std::function&)> RemovePersonalNumbersFromUserAsyncHandler; @@ -603,6 +725,9 @@ namespace AlibabaCloud typedef Outcome UnmuteCallOutcome; typedef std::future UnmuteCallOutcomeCallable; typedef std::function&)> UnmuteCallAsyncHandler; + typedef Outcome UnregisterDeviceOutcome; + typedef std::future UnregisterDeviceOutcomeCallable; + typedef std::function&)> UnregisterDeviceAsyncHandler; typedef Outcome UpdateConfigItemsOutcome; typedef std::future UpdateConfigItemsOutcomeCallable; typedef std::function&)> UpdateConfigItemsAsyncHandler; @@ -656,9 +781,15 @@ namespace AlibabaCloud CompleteAttendedTransferOutcome completeAttendedTransfer(const Model::CompleteAttendedTransferRequest &request)const; void completeAttendedTransferAsync(const Model::CompleteAttendedTransferRequest& request, const CompleteAttendedTransferAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CompleteAttendedTransferOutcomeCallable completeAttendedTransferCallable(const Model::CompleteAttendedTransferRequest& request) const; + CreateCallTagsOutcome createCallTags(const Model::CreateCallTagsRequest &request)const; + void createCallTagsAsync(const Model::CreateCallTagsRequest& request, const CreateCallTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCallTagsOutcomeCallable createCallTagsCallable(const Model::CreateCallTagsRequest& request) const; CreateCampaignOutcome createCampaign(const Model::CreateCampaignRequest &request)const; void createCampaignAsync(const Model::CreateCampaignRequest& request, const CreateCampaignAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateCampaignOutcomeCallable createCampaignCallable(const Model::CreateCampaignRequest& request) const; + CreateCustomCallTaggingOutcome createCustomCallTagging(const Model::CreateCustomCallTaggingRequest &request)const; + void createCustomCallTaggingAsync(const Model::CreateCustomCallTaggingRequest& request, const CreateCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateCustomCallTaggingOutcomeCallable createCustomCallTaggingCallable(const Model::CreateCustomCallTaggingRequest& request) const; CreateInstanceOutcome createInstance(const Model::CreateInstanceRequest &request)const; void createInstanceAsync(const Model::CreateInstanceRequest& request, const CreateInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateInstanceOutcomeCallable createInstanceCallable(const Model::CreateInstanceRequest& request) const; @@ -668,9 +799,21 @@ namespace AlibabaCloud CreateUserOutcome createUser(const Model::CreateUserRequest &request)const; void createUserAsync(const Model::CreateUserRequest& request, const CreateUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; CreateUserOutcomeCallable createUserCallable(const Model::CreateUserRequest& request) const; + DeleteCallTagOutcome deleteCallTag(const Model::DeleteCallTagRequest &request)const; + void deleteCallTagAsync(const Model::DeleteCallTagRequest& request, const DeleteCallTagAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCallTagOutcomeCallable deleteCallTagCallable(const Model::DeleteCallTagRequest& request) const; + DeleteCustomCallTaggingOutcome deleteCustomCallTagging(const Model::DeleteCustomCallTaggingRequest &request)const; + void deleteCustomCallTaggingAsync(const Model::DeleteCustomCallTaggingRequest& request, const DeleteCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteCustomCallTaggingOutcomeCallable deleteCustomCallTaggingCallable(const Model::DeleteCustomCallTaggingRequest& request) const; DeleteSkillGroupOutcome deleteSkillGroup(const Model::DeleteSkillGroupRequest &request)const; void deleteSkillGroupAsync(const Model::DeleteSkillGroupRequest& request, const DeleteSkillGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; DeleteSkillGroupOutcomeCallable deleteSkillGroupCallable(const Model::DeleteSkillGroupRequest& request) const; + ExportCustomCallTaggingOutcome exportCustomCallTagging(const Model::ExportCustomCallTaggingRequest &request)const; + void exportCustomCallTaggingAsync(const Model::ExportCustomCallTaggingRequest& request, const ExportCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExportCustomCallTaggingOutcomeCallable exportCustomCallTaggingCallable(const Model::ExportCustomCallTaggingRequest& request) const; + ExportDoNotCallNumbersOutcome exportDoNotCallNumbers(const Model::ExportDoNotCallNumbersRequest &request)const; + void exportDoNotCallNumbersAsync(const Model::ExportDoNotCallNumbersRequest& request, const ExportDoNotCallNumbersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ExportDoNotCallNumbersOutcomeCallable exportDoNotCallNumbersCallable(const Model::ExportDoNotCallNumbersRequest& request) const; GetCallDetailRecordOutcome getCallDetailRecord(const Model::GetCallDetailRecordRequest &request)const; void getCallDetailRecordAsync(const Model::GetCallDetailRecordRequest& request, const GetCallDetailRecordAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetCallDetailRecordOutcomeCallable getCallDetailRecordCallable(const Model::GetCallDetailRecordRequest& request) const; @@ -680,9 +823,15 @@ namespace AlibabaCloud GetCaseFileUploadUrlOutcome getCaseFileUploadUrl(const Model::GetCaseFileUploadUrlRequest &request)const; void getCaseFileUploadUrlAsync(const Model::GetCaseFileUploadUrlRequest& request, const GetCaseFileUploadUrlAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetCaseFileUploadUrlOutcomeCallable getCaseFileUploadUrlCallable(const Model::GetCaseFileUploadUrlRequest& request) const; + GetDoNotCallFileUploadParametersOutcome getDoNotCallFileUploadParameters(const Model::GetDoNotCallFileUploadParametersRequest &request)const; + void getDoNotCallFileUploadParametersAsync(const Model::GetDoNotCallFileUploadParametersRequest& request, const GetDoNotCallFileUploadParametersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetDoNotCallFileUploadParametersOutcomeCallable getDoNotCallFileUploadParametersCallable(const Model::GetDoNotCallFileUploadParametersRequest& request) const; GetHistoricalCallerReportOutcome getHistoricalCallerReport(const Model::GetHistoricalCallerReportRequest &request)const; void getHistoricalCallerReportAsync(const Model::GetHistoricalCallerReportRequest& request, const GetHistoricalCallerReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetHistoricalCallerReportOutcomeCallable getHistoricalCallerReportCallable(const Model::GetHistoricalCallerReportRequest& request) const; + GetHistoricalCampaignReportOutcome getHistoricalCampaignReport(const Model::GetHistoricalCampaignReportRequest &request)const; + void getHistoricalCampaignReportAsync(const Model::GetHistoricalCampaignReportRequest& request, const GetHistoricalCampaignReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetHistoricalCampaignReportOutcomeCallable getHistoricalCampaignReportCallable(const Model::GetHistoricalCampaignReportRequest& request) const; GetHistoricalInstanceReportOutcome getHistoricalInstanceReport(const Model::GetHistoricalInstanceReportRequest &request)const; void getHistoricalInstanceReportAsync(const Model::GetHistoricalInstanceReportRequest& request, const GetHistoricalInstanceReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetHistoricalInstanceReportOutcomeCallable getHistoricalInstanceReportCallable(const Model::GetHistoricalInstanceReportRequest& request) const; @@ -704,9 +853,15 @@ namespace AlibabaCloud GetNumberLocationOutcome getNumberLocation(const Model::GetNumberLocationRequest &request)const; void getNumberLocationAsync(const Model::GetNumberLocationRequest& request, const GetNumberLocationAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetNumberLocationOutcomeCallable getNumberLocationCallable(const Model::GetNumberLocationRequest& request) const; + GetRealtimeCampaignStatsOutcome getRealtimeCampaignStats(const Model::GetRealtimeCampaignStatsRequest &request)const; + void getRealtimeCampaignStatsAsync(const Model::GetRealtimeCampaignStatsRequest& request, const GetRealtimeCampaignStatsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetRealtimeCampaignStatsOutcomeCallable getRealtimeCampaignStatsCallable(const Model::GetRealtimeCampaignStatsRequest& request) const; GetRealtimeInstanceStatesOutcome getRealtimeInstanceStates(const Model::GetRealtimeInstanceStatesRequest &request)const; void getRealtimeInstanceStatesAsync(const Model::GetRealtimeInstanceStatesRequest& request, const GetRealtimeInstanceStatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetRealtimeInstanceStatesOutcomeCallable getRealtimeInstanceStatesCallable(const Model::GetRealtimeInstanceStatesRequest& request) const; + GetSkillGroupOutcome getSkillGroup(const Model::GetSkillGroupRequest &request)const; + void getSkillGroupAsync(const Model::GetSkillGroupRequest& request, const GetSkillGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GetSkillGroupOutcomeCallable getSkillGroupCallable(const Model::GetSkillGroupRequest& request) const; GetTurnCredentialsOutcome getTurnCredentials(const Model::GetTurnCredentialsRequest &request)const; void getTurnCredentialsAsync(const Model::GetTurnCredentialsRequest& request, const GetTurnCredentialsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; GetTurnCredentialsOutcomeCallable getTurnCredentialsCallable(const Model::GetTurnCredentialsRequest& request) const; @@ -719,6 +874,15 @@ namespace AlibabaCloud HoldCallOutcome holdCall(const Model::HoldCallRequest &request)const; void holdCallAsync(const Model::HoldCallRequest& request, const HoldCallAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; HoldCallOutcomeCallable holdCallCallable(const Model::HoldCallRequest& request) const; + ImportAdminsOutcome importAdmins(const Model::ImportAdminsRequest &request)const; + void importAdminsAsync(const Model::ImportAdminsRequest& request, const ImportAdminsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImportAdminsOutcomeCallable importAdminsCallable(const Model::ImportAdminsRequest& request) const; + ImportCustomCallTaggingOutcome importCustomCallTagging(const Model::ImportCustomCallTaggingRequest &request)const; + void importCustomCallTaggingAsync(const Model::ImportCustomCallTaggingRequest& request, const ImportCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImportCustomCallTaggingOutcomeCallable importCustomCallTaggingCallable(const Model::ImportCustomCallTaggingRequest& request) const; + ImportDoNotCallNumbersOutcome importDoNotCallNumbers(const Model::ImportDoNotCallNumbersRequest &request)const; + void importDoNotCallNumbersAsync(const Model::ImportDoNotCallNumbersRequest& request, const ImportDoNotCallNumbersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ImportDoNotCallNumbersOutcomeCallable importDoNotCallNumbersCallable(const Model::ImportDoNotCallNumbersRequest& request) const; InitiateAttendedTransferOutcome initiateAttendedTransfer(const Model::InitiateAttendedTransferRequest &request)const; void initiateAttendedTransferAsync(const Model::InitiateAttendedTransferRequest& request, const InitiateAttendedTransferAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; InitiateAttendedTransferOutcomeCallable initiateAttendedTransferCallable(const Model::InitiateAttendedTransferRequest& request) const; @@ -734,6 +898,12 @@ namespace AlibabaCloud ListAgentStateLogsOutcome listAgentStateLogs(const Model::ListAgentStateLogsRequest &request)const; void listAgentStateLogsAsync(const Model::ListAgentStateLogsRequest& request, const ListAgentStateLogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListAgentStateLogsOutcomeCallable listAgentStateLogsCallable(const Model::ListAgentStateLogsRequest& request) const; + ListAgentStatesOutcome listAgentStates(const Model::ListAgentStatesRequest &request)const; + void listAgentStatesAsync(const Model::ListAgentStatesRequest& request, const ListAgentStatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAgentStatesOutcomeCallable listAgentStatesCallable(const Model::ListAgentStatesRequest& request) const; + ListAgentSummaryReportsSinceMidnightOutcome listAgentSummaryReportsSinceMidnight(const Model::ListAgentSummaryReportsSinceMidnightRequest &request)const; + void listAgentSummaryReportsSinceMidnightAsync(const Model::ListAgentSummaryReportsSinceMidnightRequest& request, const ListAgentSummaryReportsSinceMidnightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListAgentSummaryReportsSinceMidnightOutcomeCallable listAgentSummaryReportsSinceMidnightCallable(const Model::ListAgentSummaryReportsSinceMidnightRequest& request) const; ListAttemptsOutcome listAttempts(const Model::ListAttemptsRequest &request)const; void listAttemptsAsync(const Model::ListAttemptsRequest& request, const ListAttemptsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListAttemptsOutcomeCallable listAttemptsCallable(const Model::ListAttemptsRequest& request) const; @@ -743,6 +913,9 @@ namespace AlibabaCloud ListCallDetailRecordsOutcome listCallDetailRecords(const Model::ListCallDetailRecordsRequest &request)const; void listCallDetailRecordsAsync(const Model::ListCallDetailRecordsRequest& request, const ListCallDetailRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListCallDetailRecordsOutcomeCallable listCallDetailRecordsCallable(const Model::ListCallDetailRecordsRequest& request) const; + ListCallTagsOutcome listCallTags(const Model::ListCallTagsRequest &request)const; + void listCallTagsAsync(const Model::ListCallTagsRequest& request, const ListCallTagsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCallTagsOutcomeCallable listCallTagsCallable(const Model::ListCallTagsRequest& request) const; ListCampaignTrendingReportOutcome listCampaignTrendingReport(const Model::ListCampaignTrendingReportRequest &request)const; void listCampaignTrendingReportAsync(const Model::ListCampaignTrendingReportRequest& request, const ListCampaignTrendingReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListCampaignTrendingReportOutcomeCallable listCampaignTrendingReportCallable(const Model::ListCampaignTrendingReportRequest& request) const; @@ -758,9 +931,15 @@ namespace AlibabaCloud ListContactFlowsOutcome listContactFlows(const Model::ListContactFlowsRequest &request)const; void listContactFlowsAsync(const Model::ListContactFlowsRequest& request, const ListContactFlowsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListContactFlowsOutcomeCallable listContactFlowsCallable(const Model::ListContactFlowsRequest& request) const; + ListCustomCallTaggingOutcome listCustomCallTagging(const Model::ListCustomCallTaggingRequest &request)const; + void listCustomCallTaggingAsync(const Model::ListCustomCallTaggingRequest& request, const ListCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListCustomCallTaggingOutcomeCallable listCustomCallTaggingCallable(const Model::ListCustomCallTaggingRequest& request) const; ListDevicesOutcome listDevices(const Model::ListDevicesRequest &request)const; void listDevicesAsync(const Model::ListDevicesRequest& request, const ListDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListDevicesOutcomeCallable listDevicesCallable(const Model::ListDevicesRequest& request) const; + ListDoNotCallNumbersOutcome listDoNotCallNumbers(const Model::ListDoNotCallNumbersRequest &request)const; + void listDoNotCallNumbersAsync(const Model::ListDoNotCallNumbersRequest& request, const ListDoNotCallNumbersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListDoNotCallNumbersOutcomeCallable listDoNotCallNumbersCallable(const Model::ListDoNotCallNumbersRequest& request) const; ListHistoricalAgentReportOutcome listHistoricalAgentReport(const Model::ListHistoricalAgentReportRequest &request)const; void listHistoricalAgentReportAsync(const Model::ListHistoricalAgentReportRequest& request, const ListHistoricalAgentReportAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListHistoricalAgentReportOutcomeCallable listHistoricalAgentReportCallable(const Model::ListHistoricalAgentReportRequest& request) const; @@ -785,6 +964,12 @@ namespace AlibabaCloud ListIvrTrackingDetailsOutcome listIvrTrackingDetails(const Model::ListIvrTrackingDetailsRequest &request)const; void listIvrTrackingDetailsAsync(const Model::ListIvrTrackingDetailsRequest& request, const ListIvrTrackingDetailsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListIvrTrackingDetailsOutcomeCallable listIvrTrackingDetailsCallable(const Model::ListIvrTrackingDetailsRequest& request) const; + ListMonoRecordingsOutcome listMonoRecordings(const Model::ListMonoRecordingsRequest &request)const; + void listMonoRecordingsAsync(const Model::ListMonoRecordingsRequest& request, const ListMonoRecordingsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMonoRecordingsOutcomeCallable listMonoRecordingsCallable(const Model::ListMonoRecordingsRequest& request) const; + ListMultiChannelRecordingsOutcome listMultiChannelRecordings(const Model::ListMultiChannelRecordingsRequest &request)const; + void listMultiChannelRecordingsAsync(const Model::ListMultiChannelRecordingsRequest& request, const ListMultiChannelRecordingsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListMultiChannelRecordingsOutcomeCallable listMultiChannelRecordingsCallable(const Model::ListMultiChannelRecordingsRequest& request) const; ListOutboundNumbersOfUserOutcome listOutboundNumbersOfUser(const Model::ListOutboundNumbersOfUserRequest &request)const; void listOutboundNumbersOfUserAsync(const Model::ListOutboundNumbersOfUserRequest& request, const ListOutboundNumbersOfUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListOutboundNumbersOfUserOutcomeCallable listOutboundNumbersOfUserCallable(const Model::ListOutboundNumbersOfUserRequest& request) const; @@ -821,6 +1006,12 @@ namespace AlibabaCloud ListSipTracesOutcome listSipTraces(const Model::ListSipTracesRequest &request)const; void listSipTracesAsync(const Model::ListSipTracesRequest& request, const ListSipTracesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListSipTracesOutcomeCallable listSipTracesCallable(const Model::ListSipTracesRequest& request) const; + ListSkillGroupStatesOutcome listSkillGroupStates(const Model::ListSkillGroupStatesRequest &request)const; + void listSkillGroupStatesAsync(const Model::ListSkillGroupStatesRequest& request, const ListSkillGroupStatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSkillGroupStatesOutcomeCallable listSkillGroupStatesCallable(const Model::ListSkillGroupStatesRequest& request) const; + ListSkillGroupSummaryReportsSinceMidnightOutcome listSkillGroupSummaryReportsSinceMidnight(const Model::ListSkillGroupSummaryReportsSinceMidnightRequest &request)const; + void listSkillGroupSummaryReportsSinceMidnightAsync(const Model::ListSkillGroupSummaryReportsSinceMidnightRequest& request, const ListSkillGroupSummaryReportsSinceMidnightAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ListSkillGroupSummaryReportsSinceMidnightOutcomeCallable listSkillGroupSummaryReportsSinceMidnightCallable(const Model::ListSkillGroupSummaryReportsSinceMidnightRequest& request) const; ListSkillGroupsOutcome listSkillGroups(const Model::ListSkillGroupsRequest &request)const; void listSkillGroupsAsync(const Model::ListSkillGroupsRequest& request, const ListSkillGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ListSkillGroupsOutcomeCallable listSkillGroupsCallable(const Model::ListSkillGroupsRequest& request) const; @@ -839,6 +1030,9 @@ namespace AlibabaCloud MakeCallOutcome makeCall(const Model::MakeCallRequest &request)const; void makeCallAsync(const Model::MakeCallRequest& request, const MakeCallAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; MakeCallOutcomeCallable makeCallCallable(const Model::MakeCallRequest& request) const; + ModifyCustomCallTaggingOutcome modifyCustomCallTagging(const Model::ModifyCustomCallTaggingRequest &request)const; + void modifyCustomCallTaggingAsync(const Model::ModifyCustomCallTaggingRequest& request, const ModifyCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyCustomCallTaggingOutcomeCallable modifyCustomCallTaggingCallable(const Model::ModifyCustomCallTaggingRequest& request) const; ModifyInstanceOutcome modifyInstance(const Model::ModifyInstanceRequest &request)const; void modifyInstanceAsync(const Model::ModifyInstanceRequest& request, const ModifyInstanceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ModifyInstanceOutcomeCallable modifyInstanceCallable(const Model::ModifyInstanceRequest& request) const; @@ -884,6 +1078,9 @@ namespace AlibabaCloud ReleaseCallOutcome releaseCall(const Model::ReleaseCallRequest &request)const; void releaseCallAsync(const Model::ReleaseCallRequest& request, const ReleaseCallAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; ReleaseCallOutcomeCallable releaseCallCallable(const Model::ReleaseCallRequest& request) const; + RemoveDoNotCallNumbersOutcome removeDoNotCallNumbers(const Model::RemoveDoNotCallNumbersRequest &request)const; + void removeDoNotCallNumbersAsync(const Model::RemoveDoNotCallNumbersRequest& request, const RemoveDoNotCallNumbersAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + RemoveDoNotCallNumbersOutcomeCallable removeDoNotCallNumbersCallable(const Model::RemoveDoNotCallNumbersRequest& request) const; RemovePersonalNumbersFromUserOutcome removePersonalNumbersFromUser(const Model::RemovePersonalNumbersFromUserRequest &request)const; void removePersonalNumbersFromUserAsync(const Model::RemovePersonalNumbersFromUserRequest& request, const RemovePersonalNumbersFromUserAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; RemovePersonalNumbersFromUserOutcomeCallable removePersonalNumbersFromUserCallable(const Model::RemovePersonalNumbersFromUserRequest& request) const; @@ -953,6 +1150,9 @@ namespace AlibabaCloud UnmuteCallOutcome unmuteCall(const Model::UnmuteCallRequest &request)const; void unmuteCallAsync(const Model::UnmuteCallRequest& request, const UnmuteCallAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UnmuteCallOutcomeCallable unmuteCallCallable(const Model::UnmuteCallRequest& request) const; + UnregisterDeviceOutcome unregisterDevice(const Model::UnregisterDeviceRequest &request)const; + void unregisterDeviceAsync(const Model::UnregisterDeviceRequest& request, const UnregisterDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnregisterDeviceOutcomeCallable unregisterDeviceCallable(const Model::UnregisterDeviceRequest& request) const; UpdateConfigItemsOutcome updateConfigItems(const Model::UpdateConfigItemsRequest &request)const; void updateConfigItemsAsync(const Model::UpdateConfigItemsRequest& request, const UpdateConfigItemsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; UpdateConfigItemsOutcomeCallable updateConfigItemsCallable(const Model::UpdateConfigItemsRequest& request) const; diff --git a/ccc/include/alibabacloud/ccc/model/AbortCampaignRequest.h b/ccc/include/alibabacloud/ccc/model/AbortCampaignRequest.h index 9407044db..0c0fda013 100644 --- a/ccc/include/alibabacloud/ccc/model/AbortCampaignRequest.h +++ b/ccc/include/alibabacloud/ccc/model/AbortCampaignRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT AbortCampaignRequest : public RpcServiceRequest - { - - public: - AbortCampaignRequest(); - ~AbortCampaignRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getCampaignId()const; - void setCampaignId(const std::string& campaignId); - - private: - std::string instanceId_; - std::string campaignId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT AbortCampaignRequest : public RpcServiceRequest { +public: + AbortCampaignRequest(); + ~AbortCampaignRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCampaignId() const; + void setCampaignId(const std::string &campaignId); + +private: + std::string instanceId_; + std::string campaignId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_ABORTCAMPAIGNREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/AddNumbersToSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/AddNumbersToSkillGroupRequest.h index 3f1ee45d5..cc90c2d8b 100644 --- a/ccc/include/alibabacloud/ccc/model/AddNumbersToSkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/AddNumbersToSkillGroupRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT AddNumbersToSkillGroupRequest : public RpcServiceRequest - { - - public: - AddNumbersToSkillGroupRequest(); - ~AddNumbersToSkillGroupRequest(); - - std::string getNumberList()const; - void setNumberList(const std::string& numberList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - - private: - std::string numberList_; - std::string instanceId_; - std::string skillGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT AddNumbersToSkillGroupRequest : public RpcServiceRequest { +public: + AddNumbersToSkillGroupRequest(); + ~AddNumbersToSkillGroupRequest(); + std::string getNumberList() const; + void setNumberList(const std::string &numberList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + +private: + std::string numberList_; + std::string instanceId_; + std::string skillGroupId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_ADDNUMBERSTOSKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/AddPersonalNumbersToUserRequest.h b/ccc/include/alibabacloud/ccc/model/AddPersonalNumbersToUserRequest.h index c7087f90d..f79297349 100644 --- a/ccc/include/alibabacloud/ccc/model/AddPersonalNumbersToUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/AddPersonalNumbersToUserRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT AddPersonalNumbersToUserRequest : public RpcServiceRequest - { - - public: - AddPersonalNumbersToUserRequest(); - ~AddPersonalNumbersToUserRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getNumberList()const; - void setNumberList(const std::string& numberList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string numberList_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT AddPersonalNumbersToUserRequest : public RpcServiceRequest { +public: + AddPersonalNumbersToUserRequest(); + ~AddPersonalNumbersToUserRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getNumberList() const; + void setNumberList(const std::string &numberList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string numberList_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_ADDPERSONALNUMBERSTOUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/AddPhoneNumberToSkillGroupsRequest.h b/ccc/include/alibabacloud/ccc/model/AddPhoneNumberToSkillGroupsRequest.h index 7c26846c6..115f1fedb 100644 --- a/ccc/include/alibabacloud/ccc/model/AddPhoneNumberToSkillGroupsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/AddPhoneNumberToSkillGroupsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberToSkillGroupsRequest : public RpcServiceRequest - { - - public: - AddPhoneNumberToSkillGroupsRequest(); - ~AddPhoneNumberToSkillGroupsRequest(); - - std::string getNumber()const; - void setNumber(const std::string& number); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupIdList()const; - void setSkillGroupIdList(const std::string& skillGroupIdList); - - private: - std::string number_; - std::string instanceId_; - std::string skillGroupIdList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT AddPhoneNumberToSkillGroupsRequest : public RpcServiceRequest { +public: + AddPhoneNumberToSkillGroupsRequest(); + ~AddPhoneNumberToSkillGroupsRequest(); + std::string getNumber() const; + void setNumber(const std::string &number); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupIdList() const; + void setSkillGroupIdList(const std::string &skillGroupIdList); + +private: + std::string number_; + std::string instanceId_; + std::string skillGroupIdList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERTOSKILLGROUPSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/AddPhoneNumbersRequest.h b/ccc/include/alibabacloud/ccc/model/AddPhoneNumbersRequest.h index 30103bbdd..df9594969 100644 --- a/ccc/include/alibabacloud/ccc/model/AddPhoneNumbersRequest.h +++ b/ccc/include/alibabacloud/ccc/model/AddPhoneNumbersRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT AddPhoneNumbersRequest : public RpcServiceRequest - { - - public: - AddPhoneNumbersRequest(); - ~AddPhoneNumbersRequest(); - - std::string getContactFlowId()const; - void setContactFlowId(const std::string& contactFlowId); - std::string getUsage()const; - void setUsage(const std::string& usage); - std::string getNumberGroupId()const; - void setNumberGroupId(const std::string& numberGroupId); - std::string getNumberList()const; - void setNumberList(const std::string& numberList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string contactFlowId_; - std::string usage_; - std::string numberGroupId_; - std::string numberList_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT AddPhoneNumbersRequest : public RpcServiceRequest { +public: + AddPhoneNumbersRequest(); + ~AddPhoneNumbersRequest(); + std::string getContactFlowId() const; + void setContactFlowId(const std::string &contactFlowId); + std::string getUsage() const; + void setUsage(const std::string &usage); + std::string getNumberGroupId() const; + void setNumberGroupId(const std::string &numberGroupId); + std::string getNumberList() const; + void setNumberList(const std::string &numberList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string contactFlowId_; + std::string usage_; + std::string numberGroupId_; + std::string numberList_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_ADDPHONENUMBERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/AddSkillGroupsToUserRequest.h b/ccc/include/alibabacloud/ccc/model/AddSkillGroupsToUserRequest.h index 2701bf41b..c0212c648 100644 --- a/ccc/include/alibabacloud/ccc/model/AddSkillGroupsToUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/AddSkillGroupsToUserRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT AddSkillGroupsToUserRequest : public RpcServiceRequest - { - - public: - AddSkillGroupsToUserRequest(); - ~AddSkillGroupsToUserRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillLevelList()const; - void setSkillLevelList(const std::string& skillLevelList); - - private: - std::string userId_; - std::string instanceId_; - std::string skillLevelList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT AddSkillGroupsToUserRequest : public RpcServiceRequest { +public: + AddSkillGroupsToUserRequest(); + ~AddSkillGroupsToUserRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillLevelList() const; + void setSkillLevelList(const std::string &skillLevelList); + +private: + std::string userId_; + std::string instanceId_; + std::string skillLevelList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_ADDSKILLGROUPSTOUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/AddUsersToSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/AddUsersToSkillGroupRequest.h index 8403649f7..08f53be52 100644 --- a/ccc/include/alibabacloud/ccc/model/AddUsersToSkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/AddUsersToSkillGroupRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT AddUsersToSkillGroupRequest : public RpcServiceRequest - { - - public: - AddUsersToSkillGroupRequest(); - ~AddUsersToSkillGroupRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getUserSkillLevelList()const; - void setUserSkillLevelList(const std::string& userSkillLevelList); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - - private: - std::string instanceId_; - std::string userSkillLevelList_; - std::string skillGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT AddUsersToSkillGroupRequest : public RpcServiceRequest { +public: + AddUsersToSkillGroupRequest(); + ~AddUsersToSkillGroupRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getUserSkillLevelList() const; + void setUserSkillLevelList(const std::string &userSkillLevelList); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + +private: + std::string instanceId_; + std::string userSkillLevelList_; + std::string skillGroupId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_ADDUSERSTOSKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/AnswerCallRequest.h b/ccc/include/alibabacloud/ccc/model/AnswerCallRequest.h index 487b49876..be5a80531 100644 --- a/ccc/include/alibabacloud/ccc/model/AnswerCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/AnswerCallRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT AnswerCallRequest : public RpcServiceRequest - { - - public: - AnswerCallRequest(); - ~AnswerCallRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT AnswerCallRequest : public RpcServiceRequest { +public: + AnswerCallRequest(); + ~AnswerCallRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_ANSWERCALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/AnswerCallResult.h b/ccc/include/alibabacloud/ccc/model/AnswerCallResult.h index 17074c150..dfe33970a 100644 --- a/ccc/include/alibabacloud/ccc/model/AnswerCallResult.h +++ b/ccc/include/alibabacloud/ccc/model/AnswerCallResult.h @@ -53,6 +53,7 @@ namespace AlibabaCloud std::string jobId; }; std::string instanceId; + std::string callType; std::string jobId; std::vector channelContexts; }; diff --git a/ccc/include/alibabacloud/ccc/model/AssignUsersRequest.h b/ccc/include/alibabacloud/ccc/model/AssignUsersRequest.h index 0c4122b69..0aaf6a843 100644 --- a/ccc/include/alibabacloud/ccc/model/AssignUsersRequest.h +++ b/ccc/include/alibabacloud/ccc/model/AssignUsersRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT AssignUsersRequest : public RpcServiceRequest - { - - public: - AssignUsersRequest(); - ~AssignUsersRequest(); - - std::string getRamIdList()const; - void setRamIdList(const std::string& ramIdList); - std::string getRoleId()const; - void setRoleId(const std::string& roleId); - std::string getWorkMode()const; - void setWorkMode(const std::string& workMode); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillLevelList()const; - void setSkillLevelList(const std::string& skillLevelList); - - private: - std::string ramIdList_; - std::string roleId_; - std::string workMode_; - std::string instanceId_; - std::string skillLevelList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT AssignUsersRequest : public RpcServiceRequest { +public: + AssignUsersRequest(); + ~AssignUsersRequest(); + std::string getRamIdList() const; + void setRamIdList(const std::string &ramIdList); + std::string getRoleId() const; + void setRoleId(const std::string &roleId); + std::string getWorkMode() const; + void setWorkMode(const std::string &workMode); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillLevelList() const; + void setSkillLevelList(const std::string &skillLevelList); + +private: + std::string ramIdList_; + std::string roleId_; + std::string workMode_; + std::string instanceId_; + std::string skillLevelList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_ASSIGNUSERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/BargeInCallRequest.h b/ccc/include/alibabacloud/ccc/model/BargeInCallRequest.h index 67335d24a..8e0b0f19c 100644 --- a/ccc/include/alibabacloud/ccc/model/BargeInCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/BargeInCallRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT BargeInCallRequest : public RpcServiceRequest - { - - public: - BargeInCallRequest(); - ~BargeInCallRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getBargedUserId()const; - void setBargedUserId(const std::string& bargedUserId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - int getTimeoutSeconds()const; - void setTimeoutSeconds(int timeoutSeconds); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string deviceId_; - std::string bargedUserId_; - std::string jobId_; - int timeoutSeconds_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT BargeInCallRequest : public RpcServiceRequest { +public: + BargeInCallRequest(); + ~BargeInCallRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getBargedUserId() const; + void setBargedUserId(const std::string &bargedUserId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + int getTimeoutSeconds() const; + void setTimeoutSeconds(int timeoutSeconds); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string deviceId_; + std::string bargedUserId_; + std::string jobId_; + int timeoutSeconds_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_BARGEINCALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/BlindTransferRequest.h b/ccc/include/alibabacloud/ccc/model/BlindTransferRequest.h index 521289c07..53fb73622 100644 --- a/ccc/include/alibabacloud/ccc/model/BlindTransferRequest.h +++ b/ccc/include/alibabacloud/ccc/model/BlindTransferRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT BlindTransferRequest : public RpcServiceRequest - { - - public: - BlindTransferRequest(); - ~BlindTransferRequest(); - - std::string getTransferee()const; - void setTransferee(const std::string& transferee); - std::string getTransferor()const; - void setTransferor(const std::string& transferor); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - int getTimeoutSeconds()const; - void setTimeoutSeconds(int timeoutSeconds); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string transferee_; - std::string transferor_; - std::string userId_; - std::string deviceId_; - int timeoutSeconds_; - std::string jobId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT BlindTransferRequest : public RpcServiceRequest { +public: + BlindTransferRequest(); + ~BlindTransferRequest(); + std::string getTransferee() const; + void setTransferee(const std::string &transferee); + std::string getTransferor() const; + void setTransferor(const std::string &transferor); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + int getTimeoutSeconds() const; + void setTimeoutSeconds(int timeoutSeconds); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string transferee_; + std::string transferor_; + std::string userId_; + std::string deviceId_; + int timeoutSeconds_; + std::string jobId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_BLINDTRANSFERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/BlindTransferResult.h b/ccc/include/alibabacloud/ccc/model/BlindTransferResult.h index a03f5c5fb..b1ee81517 100644 --- a/ccc/include/alibabacloud/ccc/model/BlindTransferResult.h +++ b/ccc/include/alibabacloud/ccc/model/BlindTransferResult.h @@ -74,6 +74,7 @@ namespace AlibabaCloud long reserved; }; UserContext userContext; + long contextId; CallContext callContext; }; diff --git a/ccc/include/alibabacloud/ccc/model/CancelAttendedTransferRequest.h b/ccc/include/alibabacloud/ccc/model/CancelAttendedTransferRequest.h index edb66c180..7680d8879 100644 --- a/ccc/include/alibabacloud/ccc/model/CancelAttendedTransferRequest.h +++ b/ccc/include/alibabacloud/ccc/model/CancelAttendedTransferRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT CancelAttendedTransferRequest : public RpcServiceRequest - { - - public: - CancelAttendedTransferRequest(); - ~CancelAttendedTransferRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT CancelAttendedTransferRequest : public RpcServiceRequest { +public: + CancelAttendedTransferRequest(); + ~CancelAttendedTransferRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_CANCELATTENDEDTRANSFERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ChangeWorkModeRequest.h b/ccc/include/alibabacloud/ccc/model/ChangeWorkModeRequest.h index 5b1466656..9750fb673 100644 --- a/ccc/include/alibabacloud/ccc/model/ChangeWorkModeRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ChangeWorkModeRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ChangeWorkModeRequest : public RpcServiceRequest - { - - public: - ChangeWorkModeRequest(); - ~ChangeWorkModeRequest(); - - std::string getWorkMode()const; - void setWorkMode(const std::string& workMode); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string workMode_; - std::string userId_; - std::string deviceId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ChangeWorkModeRequest : public RpcServiceRequest { +public: + ChangeWorkModeRequest(); + ~ChangeWorkModeRequest(); + std::string getWorkMode() const; + void setWorkMode(const std::string &workMode); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string workMode_; + std::string userId_; + std::string deviceId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_CHANGEWORKMODEREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/CoachCallRequest.h b/ccc/include/alibabacloud/ccc/model/CoachCallRequest.h index c66a3b3af..dc22b67f9 100644 --- a/ccc/include/alibabacloud/ccc/model/CoachCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/CoachCallRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT CoachCallRequest : public RpcServiceRequest - { - - public: - CoachCallRequest(); - ~CoachCallRequest(); - - std::string getCoachedUserId()const; - void setCoachedUserId(const std::string& coachedUserId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - int getTimeoutSeconds()const; - void setTimeoutSeconds(int timeoutSeconds); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string coachedUserId_; - std::string userId_; - std::string deviceId_; - std::string jobId_; - int timeoutSeconds_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT CoachCallRequest : public RpcServiceRequest { +public: + CoachCallRequest(); + ~CoachCallRequest(); + std::string getCoachedUserId() const; + void setCoachedUserId(const std::string &coachedUserId); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + int getTimeoutSeconds() const; + void setTimeoutSeconds(int timeoutSeconds); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string coachedUserId_; + std::string userId_; + std::string deviceId_; + std::string jobId_; + int timeoutSeconds_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_COACHCALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/CompleteAttendedTransferRequest.h b/ccc/include/alibabacloud/ccc/model/CompleteAttendedTransferRequest.h index c819f8c1e..bf6a34c2d 100644 --- a/ccc/include/alibabacloud/ccc/model/CompleteAttendedTransferRequest.h +++ b/ccc/include/alibabacloud/ccc/model/CompleteAttendedTransferRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT CompleteAttendedTransferRequest : public RpcServiceRequest - { - - public: - CompleteAttendedTransferRequest(); - ~CompleteAttendedTransferRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT CompleteAttendedTransferRequest : public RpcServiceRequest { +public: + CompleteAttendedTransferRequest(); + ~CompleteAttendedTransferRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_COMPLETEATTENDEDTRANSFERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/CreateCallTagsRequest.h b/ccc/include/alibabacloud/ccc/model/CreateCallTagsRequest.h new file mode 100644 index 000000000..49b5fe3f5 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/CreateCallTagsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATECALLTAGSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_CREATECALLTAGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT CreateCallTagsRequest : public RpcServiceRequest { +public: + CreateCallTagsRequest(); + ~CreateCallTagsRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCallTagNameList() const; + void setCallTagNameList(const std::string &callTagNameList); + +private: + std::string instanceId_; + std::string callTagNameList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_CREATECALLTAGSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/CreateCallTagsResult.h b/ccc/include/alibabacloud/ccc/model/CreateCallTagsResult.h new file mode 100644 index 000000000..cf60942cb --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/CreateCallTagsResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_CREATECALLTAGSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_CREATECALLTAGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT CreateCallTagsResult : public ServiceResult + { + public: + struct FailureItem + { + std::string item; + std::string reason; + }; + + + CreateCallTagsResult(); + explicit CreateCallTagsResult(const std::string &payload); + ~CreateCallTagsResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_CREATECALLTAGSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/CreateCampaignRequest.h b/ccc/include/alibabacloud/ccc/model/CreateCampaignRequest.h index 2c75042bc..7f3913092 100644 --- a/ccc/include/alibabacloud/ccc/model/CreateCampaignRequest.h +++ b/ccc/include/alibabacloud/ccc/model/CreateCampaignRequest.h @@ -1,90 +1,84 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT CreateCampaignRequest : public RpcServiceRequest - { - - public: - CreateCampaignRequest(); - ~CreateCampaignRequest(); - - std::string getQueueId()const; - void setQueueId(const std::string& queueId); - std::string getContactFlowId()const; - void setContactFlowId(const std::string& contactFlowId); - bool getSimulation()const; - void setSimulation(bool simulation); - std::string getEndTime()const; - void setEndTime(const std::string& endTime); - std::string getStartTime()const; - void setStartTime(const std::string& startTime); - long getMaxAttemptCount()const; - void setMaxAttemptCount(long maxAttemptCount); - std::string getStrategyParameters()const; - void setStrategyParameters(const std::string& strategyParameters); - std::string getCaseFileKey()const; - void setCaseFileKey(const std::string& caseFileKey); - long getMinAttemptInterval()const; - void setMinAttemptInterval(long minAttemptInterval); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSimulationParameters()const; - void setSimulationParameters(const std::string& simulationParameters); - std::string getName()const; - void setName(const std::string& name); - std::string getStrategyType()const; - void setStrategyType(const std::string& strategyType); - std::string getCaseList()const; - void setCaseList(const std::string& caseList); - std::string getCallableTime()const; - void setCallableTime(const std::string& callableTime); - - private: - std::string queueId_; - std::string contactFlowId_; - bool simulation_; - std::string endTime_; - std::string startTime_; - long maxAttemptCount_; - std::string strategyParameters_; - std::string caseFileKey_; - long minAttemptInterval_; - std::string instanceId_; - std::string simulationParameters_; - std::string name_; - std::string strategyType_; - std::string caseList_; - std::string callableTime_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT CreateCampaignRequest : public RpcServiceRequest { +public: + CreateCampaignRequest(); + ~CreateCampaignRequest(); + std::string getQueueId() const; + void setQueueId(const std::string &queueId); + std::string getContactFlowId() const; + void setContactFlowId(const std::string &contactFlowId); + bool getSimulation() const; + void setSimulation(bool simulation); + std::string getEndTime() const; + void setEndTime(const std::string &endTime); + std::string getStartTime() const; + void setStartTime(const std::string &startTime); + long getMaxAttemptCount() const; + void setMaxAttemptCount(long maxAttemptCount); + std::string getStrategyParameters() const; + void setStrategyParameters(const std::string &strategyParameters); + std::string getCaseFileKey() const; + void setCaseFileKey(const std::string &caseFileKey); + long getMinAttemptInterval() const; + void setMinAttemptInterval(long minAttemptInterval); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSimulationParameters() const; + void setSimulationParameters(const std::string &simulationParameters); + std::string getName() const; + void setName(const std::string &name); + std::string getStrategyType() const; + void setStrategyType(const std::string &strategyType); + std::string getCaseList() const; + void setCaseList(const std::string &caseList); + std::string getCallableTime() const; + void setCallableTime(const std::string &callableTime); + +private: + std::string queueId_; + std::string contactFlowId_; + bool simulation_; + std::string endTime_; + std::string startTime_; + long maxAttemptCount_; + std::string strategyParameters_; + std::string caseFileKey_; + long minAttemptInterval_; + std::string instanceId_; + std::string simulationParameters_; + std::string name_; + std::string strategyType_; + std::string caseList_; + std::string callableTime_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_CREATECAMPAIGNREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/CreateCustomCallTaggingRequest.h b/ccc/include/alibabacloud/ccc/model/CreateCustomCallTaggingRequest.h new file mode 100644 index 000000000..244e97aca --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/CreateCustomCallTaggingRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_CREATECUSTOMCALLTAGGINGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_CREATECUSTOMCALLTAGGINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT CreateCustomCallTaggingRequest : public RpcServiceRequest { +public: + CreateCustomCallTaggingRequest(); + ~CreateCustomCallTaggingRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCustomNumberList() const; + void setCustomNumberList(const std::string &customNumberList); + +private: + std::string instanceId_; + std::string customNumberList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_CREATECUSTOMCALLTAGGINGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/CreateCustomCallTaggingResult.h b/ccc/include/alibabacloud/ccc/model/CreateCustomCallTaggingResult.h new file mode 100644 index 000000000..783b613f1 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/CreateCustomCallTaggingResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_CREATECUSTOMCALLTAGGINGRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_CREATECUSTOMCALLTAGGINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT CreateCustomCallTaggingResult : public ServiceResult + { + public: + struct FailureItem + { + std::string item; + std::string reason; + }; + + + CreateCustomCallTaggingResult(); + explicit CreateCustomCallTaggingResult(const std::string &payload); + ~CreateCustomCallTaggingResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_CREATECUSTOMCALLTAGGINGRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/CreateInstanceRequest.h b/ccc/include/alibabacloud/ccc/model/CreateInstanceRequest.h index f6ec4a20e..8bc621f4c 100644 --- a/ccc/include/alibabacloud/ccc/model/CreateInstanceRequest.h +++ b/ccc/include/alibabacloud/ccc/model/CreateInstanceRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_CREATEINSTANCEREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_CREATEINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT CreateInstanceRequest : public RpcServiceRequest - { - - public: - CreateInstanceRequest(); - ~CreateInstanceRequest(); - - std::string getAdminRamIdList()const; - void setAdminRamIdList(const std::string& adminRamIdList); - std::string getDomainName()const; - void setDomainName(const std::string& domainName); - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getNumberList()const; - void setNumberList(const std::string& numberList); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string adminRamIdList_; - std::string domainName_; - std::string description_; - std::string numberList_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_CREATEINSTANCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_CREATEINSTANCEREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_CREATEINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT CreateInstanceRequest : public RpcServiceRequest { +public: + CreateInstanceRequest(); + ~CreateInstanceRequest(); + std::string getAdminRamIdList() const; + void setAdminRamIdList(const std::string &adminRamIdList); + std::string getDomainName() const; + void setDomainName(const std::string &domainName); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getNumberList() const; + void setNumberList(const std::string &numberList); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string adminRamIdList_; + std::string domainName_; + std::string description_; + std::string numberList_; + std::string name_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_CREATEINSTANCEREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/CreateSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/CreateSkillGroupRequest.h index 15b73d15e..50746f9d1 100644 --- a/ccc/include/alibabacloud/ccc/model/CreateSkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/CreateSkillGroupRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT CreateSkillGroupRequest : public RpcServiceRequest - { - - public: - CreateSkillGroupRequest(); - ~CreateSkillGroupRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getDisplayName()const; - void setDisplayName(const std::string& displayName); - std::string getName()const; - void setName(const std::string& name); - - private: - std::string description_; - std::string instanceId_; - std::string displayName_; - std::string name_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT CreateSkillGroupRequest : public RpcServiceRequest { +public: + CreateSkillGroupRequest(); + ~CreateSkillGroupRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getDisplayName() const; + void setDisplayName(const std::string &displayName); + std::string getName() const; + void setName(const std::string &name); + +private: + std::string description_; + std::string instanceId_; + std::string displayName_; + std::string name_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_CREATESKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/CreateUserRequest.h b/ccc/include/alibabacloud/ccc/model/CreateUserRequest.h index 6f3eac9c3..bea143153 100644 --- a/ccc/include/alibabacloud/ccc/model/CreateUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/CreateUserRequest.h @@ -1,72 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT CreateUserRequest : public RpcServiceRequest - { - - public: - CreateUserRequest(); - ~CreateUserRequest(); - - std::string getLoginName()const; - void setLoginName(const std::string& loginName); - std::string getRoleId()const; - void setRoleId(const std::string& roleId); - std::string getMobile()const; - void setMobile(const std::string& mobile); - std::string getWorkMode()const; - void setWorkMode(const std::string& workMode); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getDisplayName()const; - void setDisplayName(const std::string& displayName); - bool getResetPassword()const; - void setResetPassword(bool resetPassword); - std::string getSkillLevelList()const; - void setSkillLevelList(const std::string& skillLevelList); - std::string getEmail()const; - void setEmail(const std::string& email); - - private: - std::string loginName_; - std::string roleId_; - std::string mobile_; - std::string workMode_; - std::string instanceId_; - std::string displayName_; - bool resetPassword_; - std::string skillLevelList_; - std::string email_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT CreateUserRequest : public RpcServiceRequest { +public: + CreateUserRequest(); + ~CreateUserRequest(); + std::string getLoginName() const; + void setLoginName(const std::string &loginName); + std::string getRoleId() const; + void setRoleId(const std::string &roleId); + std::string getMobile() const; + void setMobile(const std::string &mobile); + std::string getWorkMode() const; + void setWorkMode(const std::string &workMode); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getDisplayName() const; + void setDisplayName(const std::string &displayName); + bool getResetPassword() const; + void setResetPassword(bool resetPassword); + std::string getDisplayId() const; + void setDisplayId(const std::string &displayId); + std::string getSkillLevelList() const; + void setSkillLevelList(const std::string &skillLevelList); + std::string getEmail() const; + void setEmail(const std::string &email); + +private: + std::string loginName_; + std::string roleId_; + std::string mobile_; + std::string workMode_; + std::string instanceId_; + std::string displayName_; + bool resetPassword_; + std::string displayId_; + std::string skillLevelList_; + std::string email_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_CREATEUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/DeleteCallTagRequest.h b/ccc/include/alibabacloud/ccc/model/DeleteCallTagRequest.h new file mode 100644 index 000000000..cef7e7807 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/DeleteCallTagRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETECALLTAGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_DELETECALLTAGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT DeleteCallTagRequest : public RpcServiceRequest { +public: + DeleteCallTagRequest(); + ~DeleteCallTagRequest(); + std::string getTagName() const; + void setTagName(const std::string &tagName); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string tagName_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_DELETECALLTAGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/DeleteCallTagResult.h b/ccc/include/alibabacloud/ccc/model/DeleteCallTagResult.h new file mode 100644 index 000000000..6755e36b5 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/DeleteCallTagResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_DELETECALLTAGRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_DELETECALLTAGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT DeleteCallTagResult : public ServiceResult + { + public: + + + DeleteCallTagResult(); + explicit DeleteCallTagResult(const std::string &payload); + ~DeleteCallTagResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_DELETECALLTAGRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/DeleteCustomCallTaggingRequest.h b/ccc/include/alibabacloud/ccc/model/DeleteCustomCallTaggingRequest.h new file mode 100644 index 000000000..dd20d5406 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/DeleteCustomCallTaggingRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_DELETECUSTOMCALLTAGGINGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_DELETECUSTOMCALLTAGGINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT DeleteCustomCallTaggingRequest : public RpcServiceRequest { +public: + DeleteCustomCallTaggingRequest(); + ~DeleteCustomCallTaggingRequest(); + std::string getNumber() const; + void setNumber(const std::string &number); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string number_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_DELETECUSTOMCALLTAGGINGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/DeleteCustomCallTaggingResult.h b/ccc/include/alibabacloud/ccc/model/DeleteCustomCallTaggingResult.h new file mode 100644 index 000000000..8566035bf --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/DeleteCustomCallTaggingResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_DELETECUSTOMCALLTAGGINGRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_DELETECUSTOMCALLTAGGINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT DeleteCustomCallTaggingResult : public ServiceResult + { + public: + + + DeleteCustomCallTaggingResult(); + explicit DeleteCustomCallTaggingResult(const std::string &payload); + ~DeleteCustomCallTaggingResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_DELETECUSTOMCALLTAGGINGRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h index ad245f1e0..4ae6a5edb 100644 --- a/ccc/include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/DeleteSkillGroupRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT DeleteSkillGroupRequest : public RpcServiceRequest - { - - public: - DeleteSkillGroupRequest(); - ~DeleteSkillGroupRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - bool getForce()const; - void setForce(bool force); - - private: - std::string instanceId_; - std::string skillGroupId_; - bool force_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT DeleteSkillGroupRequest : public RpcServiceRequest { +public: + DeleteSkillGroupRequest(); + ~DeleteSkillGroupRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + bool getForce() const; + void setForce(bool force); + +private: + std::string instanceId_; + std::string skillGroupId_; + bool force_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_DELETESKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ExportCustomCallTaggingRequest.h b/ccc/include/alibabacloud/ccc/model/ExportCustomCallTaggingRequest.h new file mode 100644 index 000000000..122029fa1 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ExportCustomCallTaggingRequest.h @@ -0,0 +1,42 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_EXPORTCUSTOMCALLTAGGINGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_EXPORTCUSTOMCALLTAGGINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ExportCustomCallTaggingRequest : public RpcServiceRequest { +public: + ExportCustomCallTaggingRequest(); + ~ExportCustomCallTaggingRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_EXPORTCUSTOMCALLTAGGINGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ExportCustomCallTaggingResult.h b/ccc/include/alibabacloud/ccc/model/ExportCustomCallTaggingResult.h new file mode 100644 index 000000000..6b13d5e96 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ExportCustomCallTaggingResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_EXPORTCUSTOMCALLTAGGINGRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_EXPORTCUSTOMCALLTAGGINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ExportCustomCallTaggingResult : public ServiceResult + { + public: + + + ExportCustomCallTaggingResult(); + explicit ExportCustomCallTaggingResult(const std::string &payload); + ~ExportCustomCallTaggingResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getParams()const; + std::string getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector params_; + std::string data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_EXPORTCUSTOMCALLTAGGINGRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ExportDoNotCallNumbersRequest.h b/ccc/include/alibabacloud/ccc/model/ExportDoNotCallNumbersRequest.h new file mode 100644 index 000000000..61a0ca991 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ExportDoNotCallNumbersRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_EXPORTDONOTCALLNUMBERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_EXPORTDONOTCALLNUMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ExportDoNotCallNumbersRequest : public RpcServiceRequest { +public: + ExportDoNotCallNumbersRequest(); + ~ExportDoNotCallNumbersRequest(); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getScope() const; + void setScope(const std::string &scope); + +private: + std::string searchPattern_; + std::string instanceId_; + std::string scope_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_EXPORTDONOTCALLNUMBERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ExportDoNotCallNumbersResult.h b/ccc/include/alibabacloud/ccc/model/ExportDoNotCallNumbersResult.h new file mode 100644 index 000000000..46247b0e2 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ExportDoNotCallNumbersResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_EXPORTDONOTCALLNUMBERSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_EXPORTDONOTCALLNUMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ExportDoNotCallNumbersResult : public ServiceResult + { + public: + + + ExportDoNotCallNumbersResult(); + explicit ExportDoNotCallNumbersResult(const std::string &payload); + ~ExportDoNotCallNumbersResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getParams()const; + std::string getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector params_; + std::string data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_EXPORTDONOTCALLNUMBERSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/GetCallDetailRecordRequest.h b/ccc/include/alibabacloud/ccc/model/GetCallDetailRecordRequest.h index 03ca7e694..64723b8e1 100644 --- a/ccc/include/alibabacloud/ccc/model/GetCallDetailRecordRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetCallDetailRecordRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETCALLDETAILRECORDREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetCallDetailRecordRequest : public RpcServiceRequest - { - - public: - GetCallDetailRecordRequest(); - ~GetCallDetailRecordRequest(); - - std::string getContactId()const; - void setContactId(const std::string& contactId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string contactId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetCallDetailRecordRequest : public RpcServiceRequest { +public: + GetCallDetailRecordRequest(); + ~GetCallDetailRecordRequest(); + std::string getContactId() const; + void setContactId(const std::string &contactId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string contactId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETCALLDETAILRECORDREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetCallDetailRecordResult.h b/ccc/include/alibabacloud/ccc/model/GetCallDetailRecordResult.h index 96334548a..8205c31a8 100644 --- a/ccc/include/alibabacloud/ccc/model/GetCallDetailRecordResult.h +++ b/ccc/include/alibabacloud/ccc/model/GetCallDetailRecordResult.h @@ -40,6 +40,7 @@ namespace AlibabaCloud { long eventTime; std::string event; + long duration; }; std::vector eventSequence; std::string agentName; @@ -55,6 +56,7 @@ namespace AlibabaCloud }; std::string flowId; std::vector eventSequence1; + std::string flowType; }; struct QueueEventsItem { diff --git a/ccc/include/alibabacloud/ccc/model/GetCampaignRequest.h b/ccc/include/alibabacloud/ccc/model/GetCampaignRequest.h index 815a37b21..ad4bea85f 100644 --- a/ccc/include/alibabacloud/ccc/model/GetCampaignRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetCampaignRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetCampaignRequest : public RpcServiceRequest - { - - public: - GetCampaignRequest(); - ~GetCampaignRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getCampaignId()const; - void setCampaignId(const std::string& campaignId); - - private: - std::string instanceId_; - std::string campaignId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetCampaignRequest : public RpcServiceRequest { +public: + GetCampaignRequest(); + ~GetCampaignRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCampaignId() const; + void setCampaignId(const std::string &campaignId); + +private: + std::string instanceId_; + std::string campaignId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETCAMPAIGNREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetCampaignResult.h b/ccc/include/alibabacloud/ccc/model/GetCampaignResult.h index b32f2bfec..c9bf15fb6 100644 --- a/ccc/include/alibabacloud/ccc/model/GetCampaignResult.h +++ b/ccc/include/alibabacloud/ccc/model/GetCampaignResult.h @@ -45,6 +45,7 @@ namespace AlibabaCloud std::string queueId; long totalCases; std::string name; + long casesUncompletedAfterAttempted; long actualStartTime; std::string strategyParameters; bool simulation; diff --git a/ccc/include/alibabacloud/ccc/model/GetCaseFileUploadUrlRequest.h b/ccc/include/alibabacloud/ccc/model/GetCaseFileUploadUrlRequest.h index 4ea1310da..06af7a8dc 100644 --- a/ccc/include/alibabacloud/ccc/model/GetCaseFileUploadUrlRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetCaseFileUploadUrlRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETCASEFILEUPLOADURLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETCASEFILEUPLOADURLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetCaseFileUploadUrlRequest : public RpcServiceRequest - { - - public: - GetCaseFileUploadUrlRequest(); - ~GetCaseFileUploadUrlRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getFileName()const; - void setFileName(const std::string& fileName); - - private: - std::string instanceId_; - std::string fileName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETCASEFILEUPLOADURLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETCASEFILEUPLOADURLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETCASEFILEUPLOADURLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetCaseFileUploadUrlRequest : public RpcServiceRequest { +public: + GetCaseFileUploadUrlRequest(); + ~GetCaseFileUploadUrlRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFileName() const; + void setFileName(const std::string &fileName); + +private: + std::string instanceId_; + std::string fileName_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETCASEFILEUPLOADURLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersRequest.h b/ccc/include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersRequest.h new file mode 100644 index 000000000..7cd14e4a6 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_GETDONOTCALLFILEUPLOADPARAMETERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETDONOTCALLFILEUPLOADPARAMETERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetDoNotCallFileUploadParametersRequest : public RpcServiceRequest { +public: + GetDoNotCallFileUploadParametersRequest(); + ~GetDoNotCallFileUploadParametersRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFileName() const; + void setFileName(const std::string &fileName); + +private: + std::string instanceId_; + std::string fileName_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETDONOTCALLFILEUPLOADPARAMETERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersResult.h b/ccc/include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersResult.h new file mode 100644 index 000000000..50831e0af --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/GetDoNotCallFileUploadParametersResult.h @@ -0,0 +1,68 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETDONOTCALLFILEUPLOADPARAMETERSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_GETDONOTCALLFILEUPLOADPARAMETERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT GetDoNotCallFileUploadParametersResult : public ServiceResult + { + public: + struct Data + { + std::string filePath; + std::string policy; + std::string accessKeyId; + std::string signature; + std::string host; + int expireTime; + }; + + + GetDoNotCallFileUploadParametersResult(); + explicit GetDoNotCallFileUploadParametersResult(const std::string &payload); + ~GetDoNotCallFileUploadParametersResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_GETDONOTCALLFILEUPLOADPARAMETERSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/GetHistoricalCallerReportRequest.h b/ccc/include/alibabacloud/ccc/model/GetHistoricalCallerReportRequest.h index b36cec1e0..5dd9b29f6 100644 --- a/ccc/include/alibabacloud/ccc/model/GetHistoricalCallerReportRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetHistoricalCallerReportRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetHistoricalCallerReportRequest : public RpcServiceRequest - { - - public: - GetHistoricalCallerReportRequest(); - ~GetHistoricalCallerReportRequest(); - - long getStopTime()const; - void setStopTime(long stopTime); - long getStartTime()const; - void setStartTime(long startTime); - std::string getCallingNumber()const; - void setCallingNumber(const std::string& callingNumber); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - long stopTime_; - long startTime_; - std::string callingNumber_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetHistoricalCallerReportRequest : public RpcServiceRequest { +public: + GetHistoricalCallerReportRequest(); + ~GetHistoricalCallerReportRequest(); + long getStopTime() const; + void setStopTime(long stopTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getCallingNumber() const; + void setCallingNumber(const std::string &callingNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + long stopTime_; + long startTime_; + std::string callingNumber_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALCALLERREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetHistoricalCampaignReportRequest.h b/ccc/include/alibabacloud/ccc/model/GetHistoricalCampaignReportRequest.h new file mode 100644 index 000000000..169c13e7f --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/GetHistoricalCampaignReportRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_GETHISTORICALCAMPAIGNREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALCAMPAIGNREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetHistoricalCampaignReportRequest : public RpcServiceRequest { +public: + GetHistoricalCampaignReportRequest(); + ~GetHistoricalCampaignReportRequest(); + std::string getCampaignId() const; + void setCampaignId(const std::string &campaignId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string campaignId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALCAMPAIGNREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetHistoricalCampaignReportResult.h b/ccc/include/alibabacloud/ccc/model/GetHistoricalCampaignReportResult.h new file mode 100644 index 000000000..e86ff1eed --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/GetHistoricalCampaignReportResult.h @@ -0,0 +1,66 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETHISTORICALCAMPAIGNREPORTRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALCAMPAIGNREPORTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT GetHistoricalCampaignReportResult : public ServiceResult + { + public: + struct Data + { + long callsDialed; + float connectedRate; + long callsAbandoned; + long callsConnected; + float abandonedRate; + float occupancyRate; + }; + + + GetHistoricalCampaignReportResult(); + explicit GetHistoricalCampaignReportResult(const std::string &payload); + ~GetHistoricalCampaignReportResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALCAMPAIGNREPORTRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/GetHistoricalInstanceReportRequest.h b/ccc/include/alibabacloud/ccc/model/GetHistoricalInstanceReportRequest.h index be749614c..c60c6219e 100644 --- a/ccc/include/alibabacloud/ccc/model/GetHistoricalInstanceReportRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetHistoricalInstanceReportRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetHistoricalInstanceReportRequest : public RpcServiceRequest - { - - public: - GetHistoricalInstanceReportRequest(); - ~GetHistoricalInstanceReportRequest(); - - long getEndTime()const; - void setEndTime(long endTime); - long getStartTime()const; - void setStartTime(long startTime); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - long endTime_; - long startTime_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetHistoricalInstanceReportRequest : public RpcServiceRequest { +public: + GetHistoricalInstanceReportRequest(); + ~GetHistoricalInstanceReportRequest(); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + long endTime_; + long startTime_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETHISTORICALINSTANCEREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetInstanceRequest.h b/ccc/include/alibabacloud/ccc/model/GetInstanceRequest.h index b64d7c689..2c0dd031a 100644 --- a/ccc/include/alibabacloud/ccc/model/GetInstanceRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetInstanceRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETINSTANCEREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetInstanceRequest : public RpcServiceRequest - { - - public: - GetInstanceRequest(); - ~GetInstanceRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETINSTANCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETINSTANCEREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetInstanceRequest : public RpcServiceRequest { +public: + GetInstanceRequest(); + ~GetInstanceRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETINSTANCEREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetInstanceTrendingReportRequest.h b/ccc/include/alibabacloud/ccc/model/GetInstanceTrendingReportRequest.h index e89113256..04e8dd46c 100644 --- a/ccc/include/alibabacloud/ccc/model/GetInstanceTrendingReportRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetInstanceTrendingReportRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_GETINSTANCETRENDINGREPORTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETINSTANCETRENDINGREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetInstanceTrendingReportRequest : public RpcServiceRequest - { - - public: - GetInstanceTrendingReportRequest(); - ~GetInstanceTrendingReportRequest(); - - long getEndTime()const; - void setEndTime(long endTime); - long getStartTime()const; - void setStartTime(long startTime); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - long endTime_; - long startTime_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETINSTANCETRENDINGREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETINSTANCETRENDINGREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETINSTANCETRENDINGREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetInstanceTrendingReportRequest : public RpcServiceRequest { +public: + GetInstanceTrendingReportRequest(); + ~GetInstanceTrendingReportRequest(); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + long endTime_; + long startTime_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETINSTANCETRENDINGREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetLoginDetailsRequest.h b/ccc/include/alibabacloud/ccc/model/GetLoginDetailsRequest.h index e5d42cbf9..c1b447ee1 100644 --- a/ccc/include/alibabacloud/ccc/model/GetLoginDetailsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetLoginDetailsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETLOGINDETAILSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETLOGINDETAILSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetLoginDetailsRequest : public RpcServiceRequest - { - - public: - GetLoginDetailsRequest(); - ~GetLoginDetailsRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETLOGINDETAILSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETLOGINDETAILSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETLOGINDETAILSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetLoginDetailsRequest : public RpcServiceRequest { +public: + GetLoginDetailsRequest(); + ~GetLoginDetailsRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETLOGINDETAILSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetMonoRecordingRequest.h b/ccc/include/alibabacloud/ccc/model/GetMonoRecordingRequest.h index 7a9ed8647..aea49fa00 100644 --- a/ccc/include/alibabacloud/ccc/model/GetMonoRecordingRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetMonoRecordingRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETMONORECORDINGREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETMONORECORDINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetMonoRecordingRequest : public RpcServiceRequest - { - - public: - GetMonoRecordingRequest(); - ~GetMonoRecordingRequest(); - - std::string getContactId()const; - void setContactId(const std::string& contactId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string contactId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETMONORECORDINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETMONORECORDINGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETMONORECORDINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetMonoRecordingRequest : public RpcServiceRequest { +public: + GetMonoRecordingRequest(); + ~GetMonoRecordingRequest(); + std::string getContactId() const; + void setContactId(const std::string &contactId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string contactId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETMONORECORDINGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetMultiChannelRecordingRequest.h b/ccc/include/alibabacloud/ccc/model/GetMultiChannelRecordingRequest.h index 11dd4fde5..9d2c9856c 100644 --- a/ccc/include/alibabacloud/ccc/model/GetMultiChannelRecordingRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetMultiChannelRecordingRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETMULTICHANNELRECORDINGREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETMULTICHANNELRECORDINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetMultiChannelRecordingRequest : public RpcServiceRequest - { - - public: - GetMultiChannelRecordingRequest(); - ~GetMultiChannelRecordingRequest(); - - std::string getContactId()const; - void setContactId(const std::string& contactId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string contactId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETMULTICHANNELRECORDINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETMULTICHANNELRECORDINGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETMULTICHANNELRECORDINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetMultiChannelRecordingRequest : public RpcServiceRequest { +public: + GetMultiChannelRecordingRequest(); + ~GetMultiChannelRecordingRequest(); + std::string getContactId() const; + void setContactId(const std::string &contactId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string contactId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETMULTICHANNELRECORDINGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetNumberLocationRequest.h b/ccc/include/alibabacloud/ccc/model/GetNumberLocationRequest.h index 7ba6a979a..6330f7ddf 100644 --- a/ccc/include/alibabacloud/ccc/model/GetNumberLocationRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetNumberLocationRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETNUMBERLOCATIONREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETNUMBERLOCATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetNumberLocationRequest : public RpcServiceRequest - { - - public: - GetNumberLocationRequest(); - ~GetNumberLocationRequest(); - - std::string getNumber()const; - void setNumber(const std::string& number); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string number_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETNUMBERLOCATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETNUMBERLOCATIONREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETNUMBERLOCATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetNumberLocationRequest : public RpcServiceRequest { +public: + GetNumberLocationRequest(); + ~GetNumberLocationRequest(); + std::string getNumber() const; + void setNumber(const std::string &number); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string number_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETNUMBERLOCATIONREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetRealtimeCampaignStatsRequest.h b/ccc/include/alibabacloud/ccc/model/GetRealtimeCampaignStatsRequest.h new file mode 100644 index 000000000..885be9d17 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/GetRealtimeCampaignStatsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_GETREALTIMECAMPAIGNSTATSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETREALTIMECAMPAIGNSTATSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetRealtimeCampaignStatsRequest : public RpcServiceRequest { +public: + GetRealtimeCampaignStatsRequest(); + ~GetRealtimeCampaignStatsRequest(); + std::string getQueueId() const; + void setQueueId(const std::string &queueId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string queueId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETREALTIMECAMPAIGNSTATSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetRealtimeCampaignStatsResult.h b/ccc/include/alibabacloud/ccc/model/GetRealtimeCampaignStatsResult.h new file mode 100644 index 000000000..db979d388 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/GetRealtimeCampaignStatsResult.h @@ -0,0 +1,67 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETREALTIMECAMPAIGNSTATSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_GETREALTIMECAMPAIGNSTATSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT GetRealtimeCampaignStatsResult : public ServiceResult + { + public: + struct Data + { + long breakingAgents; + long talkingAgents; + long loggedInAgents; + long readyAgents; + long totalAgents; + long workingAgents; + long caps; + }; + + + GetRealtimeCampaignStatsResult(); + explicit GetRealtimeCampaignStatsResult(const std::string &payload); + ~GetRealtimeCampaignStatsResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_GETREALTIMECAMPAIGNSTATSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/GetRealtimeInstanceStatesRequest.h b/ccc/include/alibabacloud/ccc/model/GetRealtimeInstanceStatesRequest.h index 41979ec1d..5717cb0c5 100644 --- a/ccc/include/alibabacloud/ccc/model/GetRealtimeInstanceStatesRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetRealtimeInstanceStatesRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETREALTIMEINSTANCESTATESREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETREALTIMEINSTANCESTATESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetRealtimeInstanceStatesRequest : public RpcServiceRequest - { - - public: - GetRealtimeInstanceStatesRequest(); - ~GetRealtimeInstanceStatesRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETREALTIMEINSTANCESTATESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETREALTIMEINSTANCESTATESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETREALTIMEINSTANCESTATESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetRealtimeInstanceStatesRequest : public RpcServiceRequest { +public: + GetRealtimeInstanceStatesRequest(); + ~GetRealtimeInstanceStatesRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETREALTIMEINSTANCESTATESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/GetSkillGroupRequest.h new file mode 100644 index 000000000..e67b85e19 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/GetSkillGroupRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_GETSKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETSKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetSkillGroupRequest : public RpcServiceRequest { +public: + GetSkillGroupRequest(); + ~GetSkillGroupRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + +private: + std::string instanceId_; + std::string skillGroupId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETSKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetSkillGroupResult.h b/ccc/include/alibabacloud/ccc/model/GetSkillGroupResult.h new file mode 100644 index 000000000..671858195 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/GetSkillGroupResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETSKILLGROUPRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_GETSKILLGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT GetSkillGroupResult : public ServiceResult + { + public: + struct Data + { + std::string description; + std::string instanceId; + std::string displayName; + std::string skillGroupId; + std::string name; + }; + + + GetSkillGroupResult(); + explicit GetSkillGroupResult(const std::string &payload); + ~GetSkillGroupResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_GETSKILLGROUPRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/GetTurnCredentialsRequest.h b/ccc/include/alibabacloud/ccc/model/GetTurnCredentialsRequest.h index 34f2bda74..1e2152fe5 100644 --- a/ccc/include/alibabacloud/ccc/model/GetTurnCredentialsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetTurnCredentialsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETTURNCREDENTIALSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETTURNCREDENTIALSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetTurnCredentialsRequest : public RpcServiceRequest - { - - public: - GetTurnCredentialsRequest(); - ~GetTurnCredentialsRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETTURNCREDENTIALSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETTURNCREDENTIALSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETTURNCREDENTIALSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetTurnCredentialsRequest : public RpcServiceRequest { +public: + GetTurnCredentialsRequest(); + ~GetTurnCredentialsRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETTURNCREDENTIALSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetTurnServerListRequest.h b/ccc/include/alibabacloud/ccc/model/GetTurnServerListRequest.h index 910b32b28..41c8c3d61 100644 --- a/ccc/include/alibabacloud/ccc/model/GetTurnServerListRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetTurnServerListRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_GETTURNSERVERLISTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETTURNSERVERLISTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetTurnServerListRequest : public RpcServiceRequest - { - - public: - GetTurnServerListRequest(); - ~GetTurnServerListRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETTURNSERVERLISTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETTURNSERVERLISTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETTURNSERVERLISTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetTurnServerListRequest : public RpcServiceRequest { +public: + GetTurnServerListRequest(); + ~GetTurnServerListRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETTURNSERVERLISTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetUserRequest.h b/ccc/include/alibabacloud/ccc/model/GetUserRequest.h index a6df00598..844f3b23b 100644 --- a/ccc/include/alibabacloud/ccc/model/GetUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/GetUserRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT GetUserRequest : public RpcServiceRequest - { - - public: - GetUserRequest(); - ~GetUserRequest(); - - std::string getExtension()const; - void setExtension(const std::string& extension); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string extension_; - std::string userId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT GetUserRequest : public RpcServiceRequest { +public: + GetUserRequest(); + ~GetUserRequest(); + std::string getExtension() const; + void setExtension(const std::string &extension); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string extension_; + std::string userId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_GETUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/GetUserResult.h b/ccc/include/alibabacloud/ccc/model/GetUserResult.h index fd48c6a78..8373333f5 100644 --- a/ccc/include/alibabacloud/ccc/model/GetUserResult.h +++ b/ccc/include/alibabacloud/ccc/model/GetUserResult.h @@ -38,6 +38,7 @@ namespace AlibabaCloud std::string email; std::string instanceId; std::string deviceId; + std::string displayId; std::string mobile; std::string roleId; std::string extension; diff --git a/ccc/include/alibabacloud/ccc/model/HoldCallRequest.h b/ccc/include/alibabacloud/ccc/model/HoldCallRequest.h index 6107e7922..71ca905d3 100644 --- a/ccc/include/alibabacloud/ccc/model/HoldCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/HoldCallRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_HOLDCALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_HOLDCALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT HoldCallRequest : public RpcServiceRequest - { - - public: - HoldCallRequest(); - ~HoldCallRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getMusic()const; - void setMusic(const std::string& music); - std::string getChannelId()const; - void setChannelId(const std::string& channelId); - - private: - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - std::string music_; - std::string channelId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_HOLDCALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_HOLDCALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_HOLDCALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT HoldCallRequest : public RpcServiceRequest { +public: + HoldCallRequest(); + ~HoldCallRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getMusic() const; + void setMusic(const std::string &music); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + +private: + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; + std::string music_; + std::string channelId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_HOLDCALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ImportAdminsRequest.h b/ccc/include/alibabacloud/ccc/model/ImportAdminsRequest.h new file mode 100644 index 000000000..af05e9e18 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ImportAdminsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_IMPORTADMINSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_IMPORTADMINSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ImportAdminsRequest : public RpcServiceRequest { +public: + ImportAdminsRequest(); + ~ImportAdminsRequest(); + std::string getRamIdList() const; + void setRamIdList(const std::string &ramIdList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string ramIdList_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_IMPORTADMINSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ImportAdminsResult.h b/ccc/include/alibabacloud/ccc/model/ImportAdminsResult.h new file mode 100644 index 000000000..7dadf432d --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ImportAdminsResult.h @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_IMPORTADMINSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_IMPORTADMINSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ImportAdminsResult : public ServiceResult + { + public: + struct User + { + std::string extension; + std::string instanceId; + std::string userId; + std::string ramId; + std::string roleId; + }; + + + ImportAdminsResult(); + explicit ImportAdminsResult(const std::string &payload); + ~ImportAdminsResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_IMPORTADMINSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ImportCustomCallTaggingRequest.h b/ccc/include/alibabacloud/ccc/model/ImportCustomCallTaggingRequest.h new file mode 100644 index 000000000..d173ef0c8 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ImportCustomCallTaggingRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_IMPORTCUSTOMCALLTAGGINGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_IMPORTCUSTOMCALLTAGGINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ImportCustomCallTaggingRequest : public RpcServiceRequest { +public: + ImportCustomCallTaggingRequest(); + ~ImportCustomCallTaggingRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFilePath() const; + void setFilePath(const std::string &filePath); + +private: + std::string instanceId_; + std::string filePath_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_IMPORTCUSTOMCALLTAGGINGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ImportCustomCallTaggingResult.h b/ccc/include/alibabacloud/ccc/model/ImportCustomCallTaggingResult.h new file mode 100644 index 000000000..5802168c8 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ImportCustomCallTaggingResult.h @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_IMPORTCUSTOMCALLTAGGINGRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_IMPORTCUSTOMCALLTAGGINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ImportCustomCallTaggingResult : public ServiceResult + { + public: + struct FailureItem + { + std::string item; + std::string reason; + }; + + + ImportCustomCallTaggingResult(); + explicit ImportCustomCallTaggingResult(const std::string &payload); + ~ImportCustomCallTaggingResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_IMPORTCUSTOMCALLTAGGINGRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ImportDoNotCallNumbersRequest.h b/ccc/include/alibabacloud/ccc/model/ImportDoNotCallNumbersRequest.h new file mode 100644 index 000000000..9d2465667 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ImportDoNotCallNumbersRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_IMPORTDONOTCALLNUMBERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_IMPORTDONOTCALLNUMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ImportDoNotCallNumbersRequest : public RpcServiceRequest { +public: + ImportDoNotCallNumbersRequest(); + ~ImportDoNotCallNumbersRequest(); + std::string getRemark() const; + void setRemark(const std::string &remark); + std::string getNumberList() const; + void setNumberList(const std::string &numberList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getFilePath() const; + void setFilePath(const std::string &filePath); + +private: + std::string remark_; + std::string numberList_; + std::string instanceId_; + std::string filePath_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_IMPORTDONOTCALLNUMBERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ImportDoNotCallNumbersResult.h b/ccc/include/alibabacloud/ccc/model/ImportDoNotCallNumbersResult.h new file mode 100644 index 000000000..fca99a266 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ImportDoNotCallNumbersResult.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_IMPORTDONOTCALLNUMBERSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_IMPORTDONOTCALLNUMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ImportDoNotCallNumbersResult : public ServiceResult + { + public: + + + ImportDoNotCallNumbersResult(); + explicit ImportDoNotCallNumbersResult(const std::string &payload); + ~ImportDoNotCallNumbersResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getParams()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector params_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_IMPORTDONOTCALLNUMBERSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/InitiateAttendedTransferRequest.h b/ccc/include/alibabacloud/ccc/model/InitiateAttendedTransferRequest.h index 160aec044..c2a2e0294 100644 --- a/ccc/include/alibabacloud/ccc/model/InitiateAttendedTransferRequest.h +++ b/ccc/include/alibabacloud/ccc/model/InitiateAttendedTransferRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_INITIATEATTENDEDTRANSFERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_INITIATEATTENDEDTRANSFERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT InitiateAttendedTransferRequest : public RpcServiceRequest - { - - public: - InitiateAttendedTransferRequest(); - ~InitiateAttendedTransferRequest(); - - std::string getTransferee()const; - void setTransferee(const std::string& transferee); - std::string getTransferor()const; - void setTransferor(const std::string& transferor); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - int getTimeoutSeconds()const; - void setTimeoutSeconds(int timeoutSeconds); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string transferee_; - std::string transferor_; - std::string userId_; - std::string deviceId_; - int timeoutSeconds_; - std::string jobId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_INITIATEATTENDEDTRANSFERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_INITIATEATTENDEDTRANSFERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_INITIATEATTENDEDTRANSFERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT InitiateAttendedTransferRequest : public RpcServiceRequest { +public: + InitiateAttendedTransferRequest(); + ~InitiateAttendedTransferRequest(); + std::string getTransferee() const; + void setTransferee(const std::string &transferee); + std::string getTransferor() const; + void setTransferor(const std::string &transferor); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + int getTimeoutSeconds() const; + void setTimeoutSeconds(int timeoutSeconds); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string transferee_; + std::string transferor_; + std::string userId_; + std::string deviceId_; + int timeoutSeconds_; + std::string jobId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_INITIATEATTENDEDTRANSFERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/InterceptCallRequest.h b/ccc/include/alibabacloud/ccc/model/InterceptCallRequest.h index 2591fc278..44d269179 100644 --- a/ccc/include/alibabacloud/ccc/model/InterceptCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/InterceptCallRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_INTERCEPTCALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_INTERCEPTCALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT InterceptCallRequest : public RpcServiceRequest - { - - public: - InterceptCallRequest(); - ~InterceptCallRequest(); - - std::string getInterceptedUserId()const; - void setInterceptedUserId(const std::string& interceptedUserId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - int getTimeoutSeconds()const; - void setTimeoutSeconds(int timeoutSeconds); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string interceptedUserId_; - std::string userId_; - std::string deviceId_; - std::string jobId_; - int timeoutSeconds_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_INTERCEPTCALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_INTERCEPTCALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_INTERCEPTCALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT InterceptCallRequest : public RpcServiceRequest { +public: + InterceptCallRequest(); + ~InterceptCallRequest(); + std::string getInterceptedUserId() const; + void setInterceptedUserId(const std::string &interceptedUserId); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + int getTimeoutSeconds() const; + void setTimeoutSeconds(int timeoutSeconds); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string interceptedUserId_; + std::string userId_; + std::string deviceId_; + std::string jobId_; + int timeoutSeconds_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_INTERCEPTCALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/LaunchAuthenticationRequest.h b/ccc/include/alibabacloud/ccc/model/LaunchAuthenticationRequest.h index 565cd4961..5ac4d1b33 100644 --- a/ccc/include/alibabacloud/ccc/model/LaunchAuthenticationRequest.h +++ b/ccc/include/alibabacloud/ccc/model/LaunchAuthenticationRequest.h @@ -1,60 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHAUTHENTICATIONREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LAUNCHAUTHENTICATIONREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT LaunchAuthenticationRequest : public RpcServiceRequest - { - - public: - LaunchAuthenticationRequest(); - ~LaunchAuthenticationRequest(); - - std::string getContactFlowId()const; - void setContactFlowId(const std::string& contactFlowId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string contactFlowId_; - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHAUTHENTICATIONREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHAUTHENTICATIONREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LAUNCHAUTHENTICATIONREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT LaunchAuthenticationRequest : public RpcServiceRequest { +public: + LaunchAuthenticationRequest(); + ~LaunchAuthenticationRequest(); + std::string getContactFlowId() const; + void setContactFlowId(const std::string &contactFlowId); + std::string getContactFlowVariables() const; + void setContactFlowVariables(const std::string &contactFlowVariables); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string contactFlowId_; + std::string contactFlowVariables_; + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHAUTHENTICATIONREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/LaunchSurveyRequest.h b/ccc/include/alibabacloud/ccc/model/LaunchSurveyRequest.h index 14f64eaf3..b809a1b29 100644 --- a/ccc/include/alibabacloud/ccc/model/LaunchSurveyRequest.h +++ b/ccc/include/alibabacloud/ccc/model/LaunchSurveyRequest.h @@ -1,60 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHSURVEYREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LAUNCHSURVEYREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT LaunchSurveyRequest : public RpcServiceRequest - { - - public: - LaunchSurveyRequest(); - ~LaunchSurveyRequest(); - - std::string getContactFlowId()const; - void setContactFlowId(const std::string& contactFlowId); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string contactFlowId_; - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHSURVEYREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LAUNCHSURVEYREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LAUNCHSURVEYREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT LaunchSurveyRequest : public RpcServiceRequest { +public: + LaunchSurveyRequest(); + ~LaunchSurveyRequest(); + std::string getContactFlowId() const; + void setContactFlowId(const std::string &contactFlowId); + std::string getContactFlowVariables() const; + void setContactFlowVariables(const std::string &contactFlowVariables); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSmsMetadataId() const; + void setSmsMetadataId(const std::string &smsMetadataId); + std::string getSurveyChannel() const; + void setSurveyChannel(const std::string &surveyChannel); + +private: + std::string contactFlowId_; + std::string contactFlowVariables_; + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; + std::string smsMetadataId_; + std::string surveyChannel_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LAUNCHSURVEYREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/LaunchSurveyResult.h b/ccc/include/alibabacloud/ccc/model/LaunchSurveyResult.h index 9213f44cc..19370b2e2 100644 --- a/ccc/include/alibabacloud/ccc/model/LaunchSurveyResult.h +++ b/ccc/include/alibabacloud/ccc/model/LaunchSurveyResult.h @@ -76,6 +76,7 @@ namespace AlibabaCloud long reserved; }; UserContext userContext; + long contextId; CallContext callContext; }; diff --git a/ccc/include/alibabacloud/ccc/model/ListAgentStateLogsRequest.h b/ccc/include/alibabacloud/ccc/model/ListAgentStateLogsRequest.h index 64f48bc23..2d61f3c49 100644 --- a/ccc/include/alibabacloud/ccc/model/ListAgentStateLogsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListAgentStateLogsRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListAgentStateLogsRequest : public RpcServiceRequest - { - - public: - ListAgentStateLogsRequest(); - ~ListAgentStateLogsRequest(); - - std::string getAgentId()const; - void setAgentId(const std::string& agentId); - long getEndTime()const; - void setEndTime(long endTime); - long getStartTime()const; - void setStartTime(long startTime); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string agentId_; - long endTime_; - long startTime_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListAgentStateLogsRequest : public RpcServiceRequest { +public: + ListAgentStateLogsRequest(); + ~ListAgentStateLogsRequest(); + std::string getAgentId() const; + void setAgentId(const std::string &agentId); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string agentId_; + long endTime_; + long startTime_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATELOGSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListAgentStateLogsResult.h b/ccc/include/alibabacloud/ccc/model/ListAgentStateLogsResult.h index b6cfb0ad8..0248d7456 100644 --- a/ccc/include/alibabacloud/ccc/model/ListAgentStateLogsResult.h +++ b/ccc/include/alibabacloud/ccc/model/ListAgentStateLogsResult.h @@ -37,6 +37,7 @@ namespace AlibabaCloud std::string state; long startTime; std::string stateCode; + bool outboundScenario; long duration; }; diff --git a/ccc/include/alibabacloud/ccc/model/ListAgentStatesRequest.h b/ccc/include/alibabacloud/ccc/model/ListAgentStatesRequest.h new file mode 100644 index 000000000..ca3043034 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListAgentStatesRequest.h @@ -0,0 +1,60 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListAgentStatesRequest : public RpcServiceRequest { +public: + ListAgentStatesRequest(); + ~ListAgentStatesRequest(); + std::string getAgentIds() const; + void setAgentIds(const std::string &agentIds); + 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 getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getState() const; + void setState(const std::string &state); + +private: + std::string agentIds_; + int pageNumber_; + std::string accessKeyId_; + std::string instanceId_; + std::string skillGroupId_; + int pageSize_; + std::string state_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListAgentStatesResult.h b/ccc/include/alibabacloud/ccc/model/ListAgentStatesResult.h new file mode 100644 index 000000000..9cb11843a --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListAgentStatesResult.h @@ -0,0 +1,76 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_LISTAGENTSTATESRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ListAgentStatesResult : public ServiceResult + { + public: + struct Data + { + struct RealTimeAgentState + { + std::string loginName; + std::string stateDuration; + std::string instanceId; + std::string state; + std::string dn; + std::string agentId; + std::string agentName; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector list; + }; + + + ListAgentStatesResult(); + explicit ListAgentStatesResult(const std::string &payload); + ~ListAgentStatesResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_LISTAGENTSTATESRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightRequest.h b/ccc/include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightRequest.h new file mode 100644 index 000000000..a73af0ad0 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightRequest.h @@ -0,0 +1,57 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTAGENTSUMMARYREPORTSSINCEMIDNIGHTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTAGENTSUMMARYREPORTSSINCEMIDNIGHTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListAgentSummaryReportsSinceMidnightRequest : public RpcServiceRequest { +public: + ListAgentSummaryReportsSinceMidnightRequest(); + ~ListAgentSummaryReportsSinceMidnightRequest(); + std::string getAgentIds() const; + void setAgentIds(const std::string &agentIds); + 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 getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string agentIds_; + int pageNumber_; + std::string accessKeyId_; + std::string instanceId_; + std::string skillGroupId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTAGENTSUMMARYREPORTSSINCEMIDNIGHTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightResult.h b/ccc/include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightResult.h new file mode 100644 index 000000000..169407bf9 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListAgentSummaryReportsSinceMidnightResult.h @@ -0,0 +1,136 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_LISTAGENTSUMMARYREPORTSSINCEMIDNIGHTRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTAGENTSUMMARYREPORTSSINCEMIDNIGHTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ListAgentSummaryReportsSinceMidnightResult : public ServiceResult + { + public: + struct PagedAgentSummaryReport + { + struct AgentSummaryReport + { + struct Overall + { + long totalReadyTime; + long totalBreakTime; + long totalCalls; + long totalWorkTime; + long satisfactionSurveysOffered; + long oneTransferCalls; + float satisfactionIndex; + long satisfactionSurveysResponded; + long totalTalkTime; + long averageReadyTime; + long totalLoggedInTime; + long maxTalkTime; + long averageWorkTime; + long maxReadyTime; + long maxWorkTime; + float occupancyRate; + long averageTalkTime; + }; + struct Inbound + { + float serviceLevel20; + long totalWorkTime; + long satisfactionSurveysOffered; + long callsOffered; + long maxRingTime; + float satisfactionIndex; + long callsHandled; + long satisfactionSurveysResponded; + long totalRingTime; + float handleRate; + long totalTalkTime; + long averageRingTime; + long maxTalkTime; + long averageWorkTime; + long maxWorkTime; + long averageTalkTime; + }; + struct Outbound + { + long totalDialingTime; + long totalWorkTime; + long satisfactionSurveysOffered; + float satisfactionIndex; + long satisfactionSurveysResponded; + long averageDialingTime; + long callsAnswered; + long totalTalkTime; + long callsDialed; + long maxDialingTime; + long maxTalkTime; + long averageWorkTime; + std::string maxWorkTime; + float answerRate; + long averageTalkTime; + }; + Overall overall; + Outbound outbound; + std::string loginName; + std::string skillGroupIds; + std::string instanceId; + std::string skillGroupNames; + std::string agentId; + std::string agentName; + Inbound inbound; + std::string timestamp; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector list; + }; + + + ListAgentSummaryReportsSinceMidnightResult(); + explicit ListAgentSummaryReportsSinceMidnightResult(const std::string &payload); + ~ListAgentSummaryReportsSinceMidnightResult(); + std::string getMessage()const; + PagedAgentSummaryReport getPagedAgentSummaryReport()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + PagedAgentSummaryReport pagedAgentSummaryReport_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_LISTAGENTSUMMARYREPORTSSINCEMIDNIGHTRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListAttemptsRequest.h b/ccc/include/alibabacloud/ccc/model/ListAttemptsRequest.h index cff106a7c..d49281255 100644 --- a/ccc/include/alibabacloud/ccc/model/ListAttemptsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListAttemptsRequest.h @@ -1,84 +1,78 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListAttemptsRequest : public RpcServiceRequest - { - - public: - ListAttemptsRequest(); - ~ListAttemptsRequest(); - - std::string getContactId()const; - void setContactId(const std::string& contactId); - std::string getCampaignId()const; - void setCampaignId(const std::string& campaignId); - std::string getCallee()const; - void setCallee(const std::string& callee); - long getStartTime()const; - void setStartTime(long startTime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getQueueId()const; - void setQueueId(const std::string& queueId); - std::string getAgentId()const; - void setAgentId(const std::string& agentId); - long getEndTime()const; - void setEndTime(long endTime); - std::string getCaller()const; - void setCaller(const std::string& caller); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getCaseId()const; - void setCaseId(const std::string& caseId); - std::string getAttemptId()const; - void setAttemptId(const std::string& attemptId); - - private: - std::string contactId_; - std::string campaignId_; - std::string callee_; - long startTime_; - int pageNumber_; - int pageSize_; - std::string queueId_; - std::string agentId_; - long endTime_; - std::string caller_; - std::string instanceId_; - std::string caseId_; - std::string attemptId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListAttemptsRequest : public RpcServiceRequest { +public: + ListAttemptsRequest(); + ~ListAttemptsRequest(); + std::string getContactId() const; + void setContactId(const std::string &contactId); + std::string getCampaignId() const; + void setCampaignId(const std::string &campaignId); + std::string getCallee() const; + void setCallee(const std::string &callee); + long getStartTime() const; + void setStartTime(long startTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getQueueId() const; + void setQueueId(const std::string &queueId); + std::string getAgentId() const; + void setAgentId(const std::string &agentId); + long getEndTime() const; + void setEndTime(long endTime); + std::string getCaller() const; + void setCaller(const std::string &caller); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCaseId() const; + void setCaseId(const std::string &caseId); + std::string getAttemptId() const; + void setAttemptId(const std::string &attemptId); + +private: + std::string contactId_; + std::string campaignId_; + std::string callee_; + long startTime_; + int pageNumber_; + int pageSize_; + std::string queueId_; + std::string agentId_; + long endTime_; + std::string caller_; + std::string instanceId_; + std::string caseId_; + std::string attemptId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTATTEMPTSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListBriefSkillGroupsRequest.h b/ccc/include/alibabacloud/ccc/model/ListBriefSkillGroupsRequest.h index 12c84271b..03a9d5796 100644 --- a/ccc/include/alibabacloud/ccc/model/ListBriefSkillGroupsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListBriefSkillGroupsRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTBRIEFSKILLGROUPSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTBRIEFSKILLGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListBriefSkillGroupsRequest : public RpcServiceRequest - { - - public: - ListBriefSkillGroupsRequest(); - ~ListBriefSkillGroupsRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - std::string searchPattern_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTBRIEFSKILLGROUPSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTBRIEFSKILLGROUPSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTBRIEFSKILLGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListBriefSkillGroupsRequest : public RpcServiceRequest { +public: + ListBriefSkillGroupsRequest(); + ~ListBriefSkillGroupsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTBRIEFSKILLGROUPSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListCallDetailRecordsRequest.h b/ccc/include/alibabacloud/ccc/model/ListCallDetailRecordsRequest.h index 1b147a129..50af95dcf 100644 --- a/ccc/include/alibabacloud/ccc/model/ListCallDetailRecordsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListCallDetailRecordsRequest.h @@ -1,102 +1,102 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_LISTCALLDETAILRECORDSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTCALLDETAILRECORDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListCallDetailRecordsRequest : public RpcServiceRequest - { - - public: - ListCallDetailRecordsRequest(); - ~ListCallDetailRecordsRequest(); - - std::string getContactId()const; - void setContactId(const std::string& contactId); - std::string getCriteria()const; - void setCriteria(const std::string& criteria); - std::string getOrderByField()const; - void setOrderByField(const std::string& orderByField); - long getStartTime()const; - void setStartTime(long startTime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getEarlyMediaStateList()const; - void setEarlyMediaStateList(const std::string& earlyMediaStateList); - std::string getCalledNumber()const; - void setCalledNumber(const std::string& calledNumber); - std::string getSatisfactionList()const; - void setSatisfactionList(const std::string& satisfactionList); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getSortOrder()const; - void setSortOrder(const std::string& sortOrder); - std::string getSatisfactionDescriptionList()const; - void setSatisfactionDescriptionList(const std::string& satisfactionDescriptionList); - std::string getAgentId()const; - void setAgentId(const std::string& agentId); - std::string getContactType()const; - void setContactType(const std::string& contactType); - std::string getSatisfactionSurveyChannel()const; - void setSatisfactionSurveyChannel(const std::string& satisfactionSurveyChannel); - long getEndTime()const; - void setEndTime(long endTime); - std::string getCallingNumber()const; - void setCallingNumber(const std::string& callingNumber); - std::string getContactDisposition()const; - void setContactDisposition(const std::string& contactDisposition); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - - private: - std::string contactId_; - std::string criteria_; - std::string orderByField_; - long startTime_; - int pageNumber_; - std::string earlyMediaStateList_; - std::string calledNumber_; - std::string satisfactionList_; - int pageSize_; - std::string sortOrder_; - std::string satisfactionDescriptionList_; - std::string agentId_; - std::string contactType_; - std::string satisfactionSurveyChannel_; - long endTime_; - std::string callingNumber_; - std::string contactDisposition_; - std::string instanceId_; - std::string skillGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTCALLDETAILRECORDSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCALLDETAILRECORDSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCALLDETAILRECORDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListCallDetailRecordsRequest : public RpcServiceRequest { +public: + ListCallDetailRecordsRequest(); + ~ListCallDetailRecordsRequest(); + std::string getContactId() const; + void setContactId(const std::string &contactId); + std::string getCriteria() const; + void setCriteria(const std::string &criteria); + std::string getContactDispositionList() const; + void setContactDispositionList(const std::string &contactDispositionList); + std::string getOrderByField() const; + void setOrderByField(const std::string &orderByField); + long getStartTime() const; + void setStartTime(long startTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getEarlyMediaStateList() const; + void setEarlyMediaStateList(const std::string &earlyMediaStateList); + std::string getCalledNumber() const; + void setCalledNumber(const std::string &calledNumber); + std::string getSatisfactionList() const; + void setSatisfactionList(const std::string &satisfactionList); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getSortOrder() const; + void setSortOrder(const std::string &sortOrder); + std::string getSatisfactionDescriptionList() const; + void setSatisfactionDescriptionList(const std::string &satisfactionDescriptionList); + std::string getAgentId() const; + void setAgentId(const std::string &agentId); + std::string getContactType() const; + void setContactType(const std::string &contactType); + std::string getContactTypeList() const; + void setContactTypeList(const std::string &contactTypeList); + std::string getSatisfactionSurveyChannel() const; + void setSatisfactionSurveyChannel(const std::string &satisfactionSurveyChannel); + long getEndTime() const; + void setEndTime(long endTime); + std::string getCallingNumber() const; + void setCallingNumber(const std::string &callingNumber); + std::string getContactDisposition() const; + void setContactDisposition(const std::string &contactDisposition); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + +private: + std::string contactId_; + std::string criteria_; + std::string contactDispositionList_; + std::string orderByField_; + long startTime_; + int pageNumber_; + std::string earlyMediaStateList_; + std::string calledNumber_; + std::string satisfactionList_; + int pageSize_; + std::string sortOrder_; + std::string satisfactionDescriptionList_; + std::string agentId_; + std::string contactType_; + std::string contactTypeList_; + std::string satisfactionSurveyChannel_; + long endTime_; + std::string callingNumber_; + std::string contactDisposition_; + std::string instanceId_; + std::string skillGroupId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCALLDETAILRECORDSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListCallTagsRequest.h b/ccc/include/alibabacloud/ccc/model/ListCallTagsRequest.h new file mode 100644 index 000000000..bcb81759b --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListCallTagsRequest.h @@ -0,0 +1,48 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCALLTAGSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCALLTAGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListCallTagsRequest : public RpcServiceRequest { +public: + ListCallTagsRequest(); + ~ListCallTagsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCALLTAGSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListCallTagsResult.h b/ccc/include/alibabacloud/ccc/model/ListCallTagsResult.h new file mode 100644 index 000000000..2173b08dd --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListCallTagsResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCALLTAGSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCALLTAGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ListCallTagsResult : public ServiceResult + { + public: + struct Data + { + struct CallTag + { + std::string tagName; + std::string instanceId; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector list; + }; + + + ListCallTagsResult(); + explicit ListCallTagsResult(const std::string &payload); + ~ListCallTagsResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCALLTAGSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListCampaignTrendingReportRequest.h b/ccc/include/alibabacloud/ccc/model/ListCampaignTrendingReportRequest.h index 055f9888d..c206cec45 100644 --- a/ccc/include/alibabacloud/ccc/model/ListCampaignTrendingReportRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListCampaignTrendingReportRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListCampaignTrendingReportRequest : public RpcServiceRequest - { - - public: - ListCampaignTrendingReportRequest(); - ~ListCampaignTrendingReportRequest(); - - std::string getCampaignId()const; - void setCampaignId(const std::string& campaignId); - long getEndTime()const; - void setEndTime(long endTime); - long getStartTime()const; - void setStartTime(long startTime); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string campaignId_; - long endTime_; - long startTime_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListCampaignTrendingReportRequest : public RpcServiceRequest { +public: + ListCampaignTrendingReportRequest(); + ~ListCampaignTrendingReportRequest(); + std::string getCampaignId() const; + void setCampaignId(const std::string &campaignId); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string campaignId_; + long endTime_; + long startTime_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNTRENDINGREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListCampaignsRequest.h b/ccc/include/alibabacloud/ccc/model/ListCampaignsRequest.h index 31023f60c..c876aff57 100644 --- a/ccc/include/alibabacloud/ccc/model/ListCampaignsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListCampaignsRequest.h @@ -1,75 +1,69 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListCampaignsRequest : public RpcServiceRequest - { - - public: - ListCampaignsRequest(); - ~ListCampaignsRequest(); - - std::string getActualStartTimeTo()const; - void setActualStartTimeTo(const std::string& actualStartTimeTo); - std::string getQueueId()const; - void setQueueId(const std::string& queueId); - std::string getActualStartTimeFrom()const; - void setActualStartTimeFrom(const std::string& actualStartTimeFrom); - long getPageNumber()const; - void setPageNumber(long pageNumber); - std::string getPlanedStartTimeFrom()const; - void setPlanedStartTimeFrom(const std::string& planedStartTimeFrom); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getName()const; - void setName(const std::string& name); - long getPageSize()const; - void setPageSize(long pageSize); - std::string getPlanedStartTimeTo()const; - void setPlanedStartTimeTo(const std::string& planedStartTimeTo); - std::string getState()const; - void setState(const std::string& state); - - private: - std::string actualStartTimeTo_; - std::string queueId_; - std::string actualStartTimeFrom_; - long pageNumber_; - std::string planedStartTimeFrom_; - std::string instanceId_; - std::string name_; - long pageSize_; - std::string planedStartTimeTo_; - std::string state_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListCampaignsRequest : public RpcServiceRequest { +public: + ListCampaignsRequest(); + ~ListCampaignsRequest(); + std::string getActualStartTimeTo() const; + void setActualStartTimeTo(const std::string &actualStartTimeTo); + std::string getQueueId() const; + void setQueueId(const std::string &queueId); + std::string getActualStartTimeFrom() const; + void setActualStartTimeFrom(const std::string &actualStartTimeFrom); + long getPageNumber() const; + void setPageNumber(long pageNumber); + std::string getPlanedStartTimeFrom() const; + void setPlanedStartTimeFrom(const std::string &planedStartTimeFrom); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getName() const; + void setName(const std::string &name); + long getPageSize() const; + void setPageSize(long pageSize); + std::string getPlanedStartTimeTo() const; + void setPlanedStartTimeTo(const std::string &planedStartTimeTo); + std::string getState() const; + void setState(const std::string &state); + +private: + std::string actualStartTimeTo_; + std::string queueId_; + std::string actualStartTimeFrom_; + long pageNumber_; + std::string planedStartTimeFrom_; + std::string instanceId_; + std::string name_; + long pageSize_; + std::string planedStartTimeTo_; + std::string state_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCAMPAIGNSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListCasesRequest.h b/ccc/include/alibabacloud/ccc/model/ListCasesRequest.h index 33ee59a11..9796906a4 100644 --- a/ccc/include/alibabacloud/ccc/model/ListCasesRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListCasesRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTCASESREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTCASESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListCasesRequest : public RpcServiceRequest - { - - public: - ListCasesRequest(); - ~ListCasesRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getCampaignId()const; - void setCampaignId(const std::string& campaignId); - std::string getPhoneNumber()const; - void setPhoneNumber(const std::string& phoneNumber); - long getPageSize()const; - void setPageSize(long pageSize); - long getPageNumber()const; - void setPageNumber(long pageNumber); - - private: - std::string instanceId_; - std::string campaignId_; - std::string phoneNumber_; - long pageSize_; - long pageNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTCASESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCASESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCASESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListCasesRequest : public RpcServiceRequest { +public: + ListCasesRequest(); + ~ListCasesRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCampaignId() const; + void setCampaignId(const std::string &campaignId); + std::string getPhoneNumber() const; + void setPhoneNumber(const std::string &phoneNumber); + long getPageSize() const; + void setPageSize(long pageSize); + long getPageNumber() const; + void setPageNumber(long pageNumber); + +private: + std::string instanceId_; + std::string campaignId_; + std::string phoneNumber_; + long pageSize_; + long pageNumber_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCASESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListConfigItemsRequest.h b/ccc/include/alibabacloud/ccc/model/ListConfigItemsRequest.h index 55bd5c2e2..46317ab8f 100644 --- a/ccc/include/alibabacloud/ccc/model/ListConfigItemsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListConfigItemsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListConfigItemsRequest : public RpcServiceRequest - { - - public: - ListConfigItemsRequest(); - ~ListConfigItemsRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getObjectType()const; - void setObjectType(const std::string& objectType); - std::string getObjectId()const; - void setObjectId(const std::string& objectId); - - private: - std::string instanceId_; - std::string objectType_; - std::string objectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListConfigItemsRequest : public RpcServiceRequest { +public: + ListConfigItemsRequest(); + ~ListConfigItemsRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getObjectType() const; + void setObjectType(const std::string &objectType); + std::string getObjectId() const; + void setObjectId(const std::string &objectId); + +private: + std::string instanceId_; + std::string objectType_; + std::string objectId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONFIGITEMSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListContactFlowsRequest.h b/ccc/include/alibabacloud/ccc/model/ListContactFlowsRequest.h index 170e58e65..ce1bb358e 100644 --- a/ccc/include/alibabacloud/ccc/model/ListContactFlowsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListContactFlowsRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListContactFlowsRequest : public RpcServiceRequest - { - - public: - ListContactFlowsRequest(); - ~ListContactFlowsRequest(); - - std::string getType()const; - void setType(const std::string& type); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string type_; - int pageNumber_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListContactFlowsRequest : public RpcServiceRequest { +public: + ListContactFlowsRequest(); + ~ListContactFlowsRequest(); + std::string getType() const; + void setType(const std::string &type); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string type_; + int pageNumber_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCONTACTFLOWSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListCustomCallTaggingRequest.h b/ccc/include/alibabacloud/ccc/model/ListCustomCallTaggingRequest.h new file mode 100644 index 000000000..fe2b0f6b6 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListCustomCallTaggingRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCUSTOMCALLTAGGINGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCUSTOMCALLTAGGINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListCustomCallTaggingRequest : public RpcServiceRequest { +public: + ListCustomCallTaggingRequest(); + ~ListCustomCallTaggingRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getCallTagNameList() const; + void setCallTagNameList(const std::string &callTagNameList); + +private: + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + int pageSize_; + std::string callTagNameList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCUSTOMCALLTAGGINGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListCustomCallTaggingResult.h b/ccc/include/alibabacloud/ccc/model/ListCustomCallTaggingResult.h new file mode 100644 index 000000000..9acbfb2c9 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListCustomCallTaggingResult.h @@ -0,0 +1,78 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTCUSTOMCALLTAGGINGRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTCUSTOMCALLTAGGINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ListCustomCallTaggingResult : public ServiceResult + { + public: + struct Data + { + struct CustomCallTagging + { + struct CallTag + { + std::string tagName; + std::string instanceId; + }; + std::string description; + std::string number; + std::string instanceId; + std::vector callTagList; + std::string updateTime; + std::string creator; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector list; + }; + + + ListCustomCallTaggingResult(); + explicit ListCustomCallTaggingResult(const std::string &payload); + ~ListCustomCallTaggingResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_LISTCUSTOMCALLTAGGINGRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListDevicesRequest.h b/ccc/include/alibabacloud/ccc/model/ListDevicesRequest.h index 8d98abea9..34d539546 100644 --- a/ccc/include/alibabacloud/ccc/model/ListDevicesRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListDevicesRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_LISTDEVICESREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTDEVICESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListDevicesRequest : public RpcServiceRequest - { - - public: - ListDevicesRequest(); - ~ListDevicesRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTDEVICESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTDEVICESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTDEVICESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListDevicesRequest : public RpcServiceRequest { +public: + ListDevicesRequest(); + ~ListDevicesRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTDEVICESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListDoNotCallNumbersRequest.h b/ccc/include/alibabacloud/ccc/model/ListDoNotCallNumbersRequest.h new file mode 100644 index 000000000..c60a2b755 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListDoNotCallNumbersRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTDONOTCALLNUMBERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTDONOTCALLNUMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListDoNotCallNumbersRequest : public RpcServiceRequest { +public: + ListDoNotCallNumbersRequest(); + ~ListDoNotCallNumbersRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getScope() const; + void setScope(const std::string &scope); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + std::string scope_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTDONOTCALLNUMBERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListDoNotCallNumbersResult.h b/ccc/include/alibabacloud/ccc/model/ListDoNotCallNumbersResult.h new file mode 100644 index 000000000..166d2e2b7 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListDoNotCallNumbersResult.h @@ -0,0 +1,74 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTDONOTCALLNUMBERSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTDONOTCALLNUMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ListDoNotCallNumbersResult : public ServiceResult + { + public: + struct Data + { + struct BlockedNumber + { + std::string number; + std::string scope; + long createTime; + std::string creator; + std::string remark; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector list; + }; + + + ListDoNotCallNumbersResult(); + explicit ListDoNotCallNumbersResult(const std::string &payload); + ~ListDoNotCallNumbersResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getParams()const; + Data getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector params_; + Data data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_LISTDONOTCALLNUMBERSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListHistoricalAgentReportRequest.h b/ccc/include/alibabacloud/ccc/model/ListHistoricalAgentReportRequest.h index 22b9b3d6d..1c13c8db8 100644 --- a/ccc/include/alibabacloud/ccc/model/ListHistoricalAgentReportRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListHistoricalAgentReportRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTHISTORICALAGENTREPORTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTHISTORICALAGENTREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListHistoricalAgentReportRequest : public RpcServiceRequest - { - - public: - ListHistoricalAgentReportRequest(); - ~ListHistoricalAgentReportRequest(); - - long getStartTime()const; - void setStartTime(long startTime); - long getStopTime()const; - void setStopTime(long stopTime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getAgentIdList()const; - void setAgentIdList(const std::string& agentIdList); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - long startTime_; - long stopTime_; - int pageNumber_; - std::string instanceId_; - std::string agentIdList_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTHISTORICALAGENTREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTHISTORICALAGENTREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTHISTORICALAGENTREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListHistoricalAgentReportRequest : public RpcServiceRequest { +public: + ListHistoricalAgentReportRequest(); + ~ListHistoricalAgentReportRequest(); + long getStartTime() const; + void setStartTime(long startTime); + long getStopTime() const; + void setStopTime(long stopTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getAgentIdList() const; + void setAgentIdList(const std::string &agentIdList); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + long startTime_; + long stopTime_; + int pageNumber_; + std::string instanceId_; + std::string agentIdList_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTHISTORICALAGENTREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListHistoricalSkillGroupReportRequest.h b/ccc/include/alibabacloud/ccc/model/ListHistoricalSkillGroupReportRequest.h index d0cfd72ad..ac0642ce4 100644 --- a/ccc/include/alibabacloud/ccc/model/ListHistoricalSkillGroupReportRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListHistoricalSkillGroupReportRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTHISTORICALSKILLGROUPREPORTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTHISTORICALSKILLGROUPREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListHistoricalSkillGroupReportRequest : public RpcServiceRequest - { - - public: - ListHistoricalSkillGroupReportRequest(); - ~ListHistoricalSkillGroupReportRequest(); - - long getEndTime()const; - void setEndTime(long endTime); - long getStartTime()const; - void setStartTime(long startTime); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSkillGroupIdList()const; - void setSkillGroupIdList(const std::string& skillGroupIdList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - long endTime_; - long startTime_; - int pageNumber_; - std::string skillGroupIdList_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTHISTORICALSKILLGROUPREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTHISTORICALSKILLGROUPREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTHISTORICALSKILLGROUPREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListHistoricalSkillGroupReportRequest : public RpcServiceRequest { +public: + ListHistoricalSkillGroupReportRequest(); + ~ListHistoricalSkillGroupReportRequest(); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSkillGroupIdList() const; + void setSkillGroupIdList(const std::string &skillGroupIdList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + long endTime_; + long startTime_; + int pageNumber_; + std::string skillGroupIdList_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTHISTORICALSKILLGROUPREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListInstancesOfUserRequest.h b/ccc/include/alibabacloud/ccc/model/ListInstancesOfUserRequest.h index 82ea563f5..bc5a725fa 100644 --- a/ccc/include/alibabacloud/ccc/model/ListInstancesOfUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListInstancesOfUserRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_LISTINSTANCESOFUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTINSTANCESOFUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListInstancesOfUserRequest : public RpcServiceRequest - { - - public: - ListInstancesOfUserRequest(); - ~ListInstancesOfUserRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTINSTANCESOFUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTINSTANCESOFUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTINSTANCESOFUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListInstancesOfUserRequest : public RpcServiceRequest { +public: + ListInstancesOfUserRequest(); + ~ListInstancesOfUserRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTINSTANCESOFUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListInstancesRequest.h b/ccc/include/alibabacloud/ccc/model/ListInstancesRequest.h index c31c87684..5930507ad 100644 --- a/ccc/include/alibabacloud/ccc/model/ListInstancesRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListInstancesRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_LISTINSTANCESREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTINSTANCESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListInstancesRequest : public RpcServiceRequest - { - - public: - ListInstancesRequest(); - ~ListInstancesRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTINSTANCESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTINSTANCESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTINSTANCESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListInstancesRequest : public RpcServiceRequest { +public: + ListInstancesRequest(); + ~ListInstancesRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTINSTANCESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListIntervalAgentReportRequest.h b/ccc/include/alibabacloud/ccc/model/ListIntervalAgentReportRequest.h index fba66fafe..406678c39 100644 --- a/ccc/include/alibabacloud/ccc/model/ListIntervalAgentReportRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListIntervalAgentReportRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTINTERVALAGENTREPORTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTINTERVALAGENTREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListIntervalAgentReportRequest : public RpcServiceRequest - { - - public: - ListIntervalAgentReportRequest(); - ~ListIntervalAgentReportRequest(); - - std::string getAgentId()const; - void setAgentId(const std::string& agentId); - long getEndTime()const; - void setEndTime(long endTime); - long getStartTime()const; - void setStartTime(long startTime); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - std::string agentId_; - long endTime_; - long startTime_; - std::string instanceId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTINTERVALAGENTREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTINTERVALAGENTREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTINTERVALAGENTREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListIntervalAgentReportRequest : public RpcServiceRequest { +public: + ListIntervalAgentReportRequest(); + ~ListIntervalAgentReportRequest(); + std::string getAgentId() const; + void setAgentId(const std::string &agentId); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + std::string agentId_; + long endTime_; + long startTime_; + std::string instanceId_; + std::string interval_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTINTERVALAGENTREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListIntervalInstanceReportRequest.h b/ccc/include/alibabacloud/ccc/model/ListIntervalInstanceReportRequest.h index 6cb029219..9effc7cfc 100644 --- a/ccc/include/alibabacloud/ccc/model/ListIntervalInstanceReportRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListIntervalInstanceReportRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTINTERVALINSTANCEREPORTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTINTERVALINSTANCEREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListIntervalInstanceReportRequest : public RpcServiceRequest - { - - public: - ListIntervalInstanceReportRequest(); - ~ListIntervalInstanceReportRequest(); - - long getEndTime()const; - void setEndTime(long endTime); - long getStartTime()const; - void setStartTime(long startTime); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - long endTime_; - long startTime_; - std::string instanceId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTINTERVALINSTANCEREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTINTERVALINSTANCEREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTINTERVALINSTANCEREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListIntervalInstanceReportRequest : public RpcServiceRequest { +public: + ListIntervalInstanceReportRequest(); + ~ListIntervalInstanceReportRequest(); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + long endTime_; + long startTime_; + std::string instanceId_; + std::string interval_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTINTERVALINSTANCEREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListIntervalSkillGroupReportRequest.h b/ccc/include/alibabacloud/ccc/model/ListIntervalSkillGroupReportRequest.h index 3cf51c330..b9bed21fd 100644 --- a/ccc/include/alibabacloud/ccc/model/ListIntervalSkillGroupReportRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListIntervalSkillGroupReportRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTINTERVALSKILLGROUPREPORTREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTINTERVALSKILLGROUPREPORTREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListIntervalSkillGroupReportRequest : public RpcServiceRequest - { - - public: - ListIntervalSkillGroupReportRequest(); - ~ListIntervalSkillGroupReportRequest(); - - long getEndTime()const; - void setEndTime(long endTime); - long getStartTime()const; - void setStartTime(long startTime); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - std::string getInterval()const; - void setInterval(const std::string& interval); - - private: - long endTime_; - long startTime_; - std::string instanceId_; - std::string skillGroupId_; - std::string interval_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTINTERVALSKILLGROUPREPORTREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTINTERVALSKILLGROUPREPORTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTINTERVALSKILLGROUPREPORTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListIntervalSkillGroupReportRequest : public RpcServiceRequest { +public: + ListIntervalSkillGroupReportRequest(); + ~ListIntervalSkillGroupReportRequest(); + long getEndTime() const; + void setEndTime(long endTime); + long getStartTime() const; + void setStartTime(long startTime); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + std::string getInterval() const; + void setInterval(const std::string &interval); + +private: + long endTime_; + long startTime_; + std::string instanceId_; + std::string skillGroupId_; + std::string interval_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTINTERVALSKILLGROUPREPORTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListIvrTrackingDetailsRequest.h b/ccc/include/alibabacloud/ccc/model/ListIvrTrackingDetailsRequest.h index d4ab3601b..f5d5ed227 100644 --- a/ccc/include/alibabacloud/ccc/model/ListIvrTrackingDetailsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListIvrTrackingDetailsRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListIvrTrackingDetailsRequest : public RpcServiceRequest - { - - public: - ListIvrTrackingDetailsRequest(); - ~ListIvrTrackingDetailsRequest(); - - std::string getContactId()const; - void setContactId(const std::string& contactId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string contactId_; - int pageNumber_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListIvrTrackingDetailsRequest : public RpcServiceRequest { +public: + ListIvrTrackingDetailsRequest(); + ~ListIvrTrackingDetailsRequest(); + std::string getContactId() const; + void setContactId(const std::string &contactId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string contactId_; + int pageNumber_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTIVRTRACKINGDETAILSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListMonoRecordingsRequest.h b/ccc/include/alibabacloud/ccc/model/ListMonoRecordingsRequest.h new file mode 100644 index 000000000..2b4ed1411 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListMonoRecordingsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_LISTMONORECORDINGSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTMONORECORDINGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListMonoRecordingsRequest : public RpcServiceRequest { +public: + ListMonoRecordingsRequest(); + ~ListMonoRecordingsRequest(); + std::string getContactId() const; + void setContactId(const std::string &contactId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string contactId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTMONORECORDINGSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListMonoRecordingsResult.h b/ccc/include/alibabacloud/ccc/model/ListMonoRecordingsResult.h new file mode 100644 index 000000000..a62070237 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListMonoRecordingsResult.h @@ -0,0 +1,69 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTMONORECORDINGSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTMONORECORDINGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ListMonoRecordingsResult : public ServiceResult + { + public: + struct RecordingDTO + { + std::string fileUrl; + std::string fileName; + std::string startTime; + std::string ramId; + std::string duration; + std::string agentId; + std::string agentName; + std::string contactId; + std::string skillGroupId; + }; + + + ListMonoRecordingsResult(); + explicit ListMonoRecordingsResult(const std::string &payload); + ~ListMonoRecordingsResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_LISTMONORECORDINGSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListMultiChannelRecordingsRequest.h b/ccc/include/alibabacloud/ccc/model/ListMultiChannelRecordingsRequest.h new file mode 100644 index 000000000..8adcac58e --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListMultiChannelRecordingsRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_LISTMULTICHANNELRECORDINGSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTMULTICHANNELRECORDINGSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListMultiChannelRecordingsRequest : public RpcServiceRequest { +public: + ListMultiChannelRecordingsRequest(); + ~ListMultiChannelRecordingsRequest(); + std::string getContactId() const; + void setContactId(const std::string &contactId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string contactId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTMULTICHANNELRECORDINGSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListMultiChannelRecordingsResult.h b/ccc/include/alibabacloud/ccc/model/ListMultiChannelRecordingsResult.h new file mode 100644 index 000000000..995e8e96a --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListMultiChannelRecordingsResult.h @@ -0,0 +1,70 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTMULTICHANNELRECORDINGSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTMULTICHANNELRECORDINGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ListMultiChannelRecordingsResult : public ServiceResult + { + public: + struct RecordingDTO + { + std::string fileUrl; + std::string agentChannelId; + std::string fileName; + long startTime; + std::string ramId; + std::string duration; + std::string agentId; + std::string agentName; + std::string contactId; + std::string skillGroupId; + }; + + + ListMultiChannelRecordingsResult(); + explicit ListMultiChannelRecordingsResult(const std::string &payload); + ~ListMultiChannelRecordingsResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_LISTMULTICHANNELRECORDINGSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListOutboundNumbersOfUserRequest.h b/ccc/include/alibabacloud/ccc/model/ListOutboundNumbersOfUserRequest.h index af6a65f59..654347d74 100644 --- a/ccc/include/alibabacloud/ccc/model/ListOutboundNumbersOfUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListOutboundNumbersOfUserRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTOUTBOUNDNUMBERSOFUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTOUTBOUNDNUMBERSOFUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListOutboundNumbersOfUserRequest : public RpcServiceRequest - { - - public: - ListOutboundNumbersOfUserRequest(); - ~ListOutboundNumbersOfUserRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupIdList()const; - void setSkillGroupIdList(const std::string& skillGroupIdList); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string userId_; - int pageNumber_; - std::string instanceId_; - std::string skillGroupIdList_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTOUTBOUNDNUMBERSOFUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTOUTBOUNDNUMBERSOFUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTOUTBOUNDNUMBERSOFUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListOutboundNumbersOfUserRequest : public RpcServiceRequest { +public: + ListOutboundNumbersOfUserRequest(); + ~ListOutboundNumbersOfUserRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupIdList() const; + void setSkillGroupIdList(const std::string &skillGroupIdList); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string userId_; + int pageNumber_; + std::string instanceId_; + std::string skillGroupIdList_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTOUTBOUNDNUMBERSOFUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListPersonalNumbersOfUserRequest.h b/ccc/include/alibabacloud/ccc/model/ListPersonalNumbersOfUserRequest.h index 263935105..ca4c34a22 100644 --- a/ccc/include/alibabacloud/ccc/model/ListPersonalNumbersOfUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListPersonalNumbersOfUserRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListPersonalNumbersOfUserRequest : public RpcServiceRequest - { - - public: - ListPersonalNumbersOfUserRequest(); - ~ListPersonalNumbersOfUserRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - int getPageNumber()const; - void setPageNumber(int pageNumber); - bool getIsMember()const; - void setIsMember(bool isMember); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string userId_; - int pageNumber_; - bool isMember_; - std::string searchPattern_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListPersonalNumbersOfUserRequest : public RpcServiceRequest { +public: + ListPersonalNumbersOfUserRequest(); + ~ListPersonalNumbersOfUserRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + int getPageNumber() const; + void setPageNumber(int pageNumber); + bool getIsMember() const; + void setIsMember(bool isMember); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string userId_; + int pageNumber_; + bool isMember_; + std::string searchPattern_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTPERSONALNUMBERSOFUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListPhoneNumbersOfSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/ListPhoneNumbersOfSkillGroupRequest.h index 16763eeb7..1f9c913fc 100644 --- a/ccc/include/alibabacloud/ccc/model/ListPhoneNumbersOfSkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListPhoneNumbersOfSkillGroupRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListPhoneNumbersOfSkillGroupRequest : public RpcServiceRequest - { - - public: - ListPhoneNumbersOfSkillGroupRequest(); - ~ListPhoneNumbersOfSkillGroupRequest(); - - bool getActive()const; - void setActive(bool active); - int getPageNumber()const; - void setPageNumber(int pageNumber); - bool getIsMember()const; - void setIsMember(bool isMember); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - bool active_; - int pageNumber_; - bool isMember_; - std::string searchPattern_; - std::string instanceId_; - std::string skillGroupId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListPhoneNumbersOfSkillGroupRequest : public RpcServiceRequest { +public: + ListPhoneNumbersOfSkillGroupRequest(); + ~ListPhoneNumbersOfSkillGroupRequest(); + bool getActive() const; + void setActive(bool active); + int getPageNumber() const; + void setPageNumber(int pageNumber); + bool getIsMember() const; + void setIsMember(bool isMember); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + bool active_; + int pageNumber_; + bool isMember_; + std::string searchPattern_; + std::string instanceId_; + std::string skillGroupId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSOFSKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h b/ccc/include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h index f134442e2..bde8aeeec 100644 --- a/ccc/include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListPhoneNumbersRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListPhoneNumbersRequest : public RpcServiceRequest - { - - public: - ListPhoneNumbersRequest(); - ~ListPhoneNumbersRequest(); - - std::string getUsage()const; - void setUsage(const std::string& usage); - bool getActive()const; - void setActive(bool active); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string usage_; - bool active_; - int pageNumber_; - std::string searchPattern_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListPhoneNumbersRequest : public RpcServiceRequest { +public: + ListPhoneNumbersRequest(); + ~ListPhoneNumbersRequest(); + std::string getUsage() const; + void setUsage(const std::string &usage); + bool getActive() const; + void setActive(bool active); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string usage_; + bool active_; + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTPHONENUMBERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h b/ccc/include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h index da7a852c6..f5caad2b7 100644 --- a/ccc/include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListPrivilegesOfUserRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 -#include -#include -#include - -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); - - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +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); + +private: + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTPRIVILEGESOFUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListRamUsersRequest.h b/ccc/include/alibabacloud/ccc/model/ListRamUsersRequest.h index 180d68f61..67aac6ffc 100644 --- a/ccc/include/alibabacloud/ccc/model/ListRamUsersRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListRamUsersRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTRAMUSERSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTRAMUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListRamUsersRequest : public RpcServiceRequest - { - - public: - ListRamUsersRequest(); - ~ListRamUsersRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - std::string searchPattern_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTRAMUSERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTRAMUSERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTRAMUSERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListRamUsersRequest : public RpcServiceRequest { +public: + ListRamUsersRequest(); + ~ListRamUsersRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTRAMUSERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListRealtimeAgentStatesRequest.h b/ccc/include/alibabacloud/ccc/model/ListRealtimeAgentStatesRequest.h index fb7fa1efd..ddb8bd20f 100644 --- a/ccc/include/alibabacloud/ccc/model/ListRealtimeAgentStatesRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListRealtimeAgentStatesRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTREALTIMEAGENTSTATESREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTREALTIMEAGENTSTATESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListRealtimeAgentStatesRequest : public RpcServiceRequest - { - - public: - ListRealtimeAgentStatesRequest(); - ~ListRealtimeAgentStatesRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getAgentIdList()const; - void setAgentIdList(const std::string& agentIdList); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - std::string getAgentName()const; - void setAgentName(const std::string& agentName); - int getPageSize()const; - void setPageSize(int pageSize); - std::string getStateList()const; - void setStateList(const std::string& stateList); - - private: - int pageNumber_; - std::string instanceId_; - std::string agentIdList_; - std::string skillGroupId_; - std::string agentName_; - int pageSize_; - std::string stateList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTREALTIMEAGENTSTATESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTREALTIMEAGENTSTATESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTREALTIMEAGENTSTATESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListRealtimeAgentStatesRequest : public RpcServiceRequest { +public: + ListRealtimeAgentStatesRequest(); + ~ListRealtimeAgentStatesRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getAgentIdList() const; + void setAgentIdList(const std::string &agentIdList); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + std::string getAgentName() const; + void setAgentName(const std::string &agentName); + int getPageSize() const; + void setPageSize(int pageSize); + std::string getStateList() const; + void setStateList(const std::string &stateList); + +private: + int pageNumber_; + std::string instanceId_; + std::string agentIdList_; + std::string skillGroupId_; + std::string agentName_; + int pageSize_; + std::string stateList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTREALTIMEAGENTSTATESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListRealtimeAgentStatesResult.h b/ccc/include/alibabacloud/ccc/model/ListRealtimeAgentStatesResult.h index 99997ff2c..68b941239 100644 --- a/ccc/include/alibabacloud/ccc/model/ListRealtimeAgentStatesResult.h +++ b/ccc/include/alibabacloud/ccc/model/ListRealtimeAgentStatesResult.h @@ -44,6 +44,7 @@ namespace AlibabaCloud std::string stateCode; std::string agentId; std::string agentName; + std::vector skillGroupNameList; std::vector skillGroupIdList; }; int totalCount; diff --git a/ccc/include/alibabacloud/ccc/model/ListRealtimeSkillGroupStatesRequest.h b/ccc/include/alibabacloud/ccc/model/ListRealtimeSkillGroupStatesRequest.h index b2d5e7d36..90c9dd734 100644 --- a/ccc/include/alibabacloud/ccc/model/ListRealtimeSkillGroupStatesRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListRealtimeSkillGroupStatesRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTREALTIMESKILLGROUPSTATESREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTREALTIMESKILLGROUPSTATESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListRealtimeSkillGroupStatesRequest : public RpcServiceRequest - { - - public: - ListRealtimeSkillGroupStatesRequest(); - ~ListRealtimeSkillGroupStatesRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSkillGroupIdList()const; - void setSkillGroupIdList(const std::string& skillGroupIdList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - std::string skillGroupIdList_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTREALTIMESKILLGROUPSTATESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTREALTIMESKILLGROUPSTATESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTREALTIMESKILLGROUPSTATESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListRealtimeSkillGroupStatesRequest : public RpcServiceRequest { +public: + ListRealtimeSkillGroupStatesRequest(); + ~ListRealtimeSkillGroupStatesRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSkillGroupIdList() const; + void setSkillGroupIdList(const std::string &skillGroupIdList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string skillGroupIdList_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTREALTIMESKILLGROUPSTATESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListRecentCallDetailRecordsRequest.h b/ccc/include/alibabacloud/ccc/model/ListRecentCallDetailRecordsRequest.h index 2c120d817..45b0d3f94 100644 --- a/ccc/include/alibabacloud/ccc/model/ListRecentCallDetailRecordsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListRecentCallDetailRecordsRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTRECENTCALLDETAILRECORDSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTRECENTCALLDETAILRECORDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListRecentCallDetailRecordsRequest : public RpcServiceRequest - { - - public: - ListRecentCallDetailRecordsRequest(); - ~ListRecentCallDetailRecordsRequest(); - - 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); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string criteria_; - long endTime_; - long startTime_; - int pageNumber_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTRECENTCALLDETAILRECORDSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTRECENTCALLDETAILRECORDSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTRECENTCALLDETAILRECORDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListRecentCallDetailRecordsRequest : public RpcServiceRequest { +public: + ListRecentCallDetailRecordsRequest(); + ~ListRecentCallDetailRecordsRequest(); + 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); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string criteria_; + long endTime_; + long startTime_; + int pageNumber_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTRECENTCALLDETAILRECORDSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListRolesRequest.h b/ccc/include/alibabacloud/ccc/model/ListRolesRequest.h index be5979417..083d2e8fa 100644 --- a/ccc/include/alibabacloud/ccc/model/ListRolesRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListRolesRequest.h @@ -1,48 +1,42 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_LISTROLESREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTROLESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListRolesRequest : public RpcServiceRequest - { - - public: - ListRolesRequest(); - ~ListRolesRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTROLESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTROLESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTROLESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListRolesRequest : public RpcServiceRequest { +public: + ListRolesRequest(); + ~ListRolesRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTROLESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListSipCallRecordsRequest.h b/ccc/include/alibabacloud/ccc/model/ListSipCallRecordsRequest.h index 0f690c47d..436ffe0ce 100644 --- a/ccc/include/alibabacloud/ccc/model/ListSipCallRecordsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListSipCallRecordsRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_LISTSIPCALLRECORDSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTSIPCALLRECORDSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListSipCallRecordsRequest : public RpcServiceRequest - { - - public: - ListSipCallRecordsRequest(); - ~ListSipCallRecordsRequest(); - - std::string getContactIdList()const; - void setContactIdList(const std::string& contactIdList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string contactIdList_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTSIPCALLRECORDSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTSIPCALLRECORDSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTSIPCALLRECORDSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListSipCallRecordsRequest : public RpcServiceRequest { +public: + ListSipCallRecordsRequest(); + ~ListSipCallRecordsRequest(); + std::string getContactIdList() const; + void setContactIdList(const std::string &contactIdList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string contactIdList_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTSIPCALLRECORDSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListSipTracesRequest.h b/ccc/include/alibabacloud/ccc/model/ListSipTracesRequest.h index 0b7190327..1d5bd88fd 100644 --- a/ccc/include/alibabacloud/ccc/model/ListSipTracesRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListSipTracesRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_LISTSIPTRACESREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTSIPTRACESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListSipTracesRequest : public RpcServiceRequest - { - - public: - ListSipTracesRequest(); - ~ListSipTracesRequest(); - - std::string getCallId()const; - void setCallId(const std::string& callId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string callId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTSIPTRACESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTSIPTRACESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTSIPTRACESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListSipTracesRequest : public RpcServiceRequest { +public: + ListSipTracesRequest(); + ~ListSipTracesRequest(); + std::string getCallId() const; + void setCallId(const std::string &callId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string callId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTSIPTRACESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListSkillGroupStatesRequest.h b/ccc/include/alibabacloud/ccc/model/ListSkillGroupStatesRequest.h new file mode 100644 index 000000000..26dbc11da --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListSkillGroupStatesRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSTATESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSTATESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListSkillGroupStatesRequest : public RpcServiceRequest { +public: + ListSkillGroupStatesRequest(); + ~ListSkillGroupStatesRequest(); + 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 getSkillGroupIds() const; + void setSkillGroupIds(const std::string &skillGroupIds); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string accessKeyId_; + std::string instanceId_; + std::string skillGroupIds_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSTATESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListSkillGroupStatesResult.h b/ccc/include/alibabacloud/ccc/model/ListSkillGroupStatesResult.h new file mode 100644 index 000000000..b6ea313a4 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListSkillGroupStatesResult.h @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSTATESRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSTATESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ListSkillGroupStatesResult : public ServiceResult + { + public: + struct Data + { + struct RealTimeSkillGroupState + { + long breakingAgents; + long talkingAgents; + std::string skillGroupName; + std::string instanceId; + long loggedInAgents; + long readyAgents; + long waitingCalls; + long longestCall; + std::string skillGroupId; + long workingAgents; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector list; + }; + + + ListSkillGroupStatesResult(); + explicit ListSkillGroupStatesResult(const std::string &payload); + ~ListSkillGroupStatesResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + Data getData()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + Data data_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSTATESRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightRequest.h b/ccc/include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightRequest.h new file mode 100644 index 000000000..ba4256bb2 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightRequest.h @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSUMMARYREPORTSSINCEMIDNIGHTREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSUMMARYREPORTSSINCEMIDNIGHTREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListSkillGroupSummaryReportsSinceMidnightRequest : public RpcServiceRequest { +public: + ListSkillGroupSummaryReportsSinceMidnightRequest(); + ~ListSkillGroupSummaryReportsSinceMidnightRequest(); + 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 getSkillGroups() const; + void setSkillGroups(const std::string &skillGroups); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string accessKeyId_; + std::string instanceId_; + std::string skillGroups_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSUMMARYREPORTSSINCEMIDNIGHTREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightResult.h b/ccc/include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightResult.h new file mode 100644 index 000000000..96fb2922b --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ListSkillGroupSummaryReportsSinceMidnightResult.h @@ -0,0 +1,143 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_LISTSKILLGROUPSUMMARYREPORTSSINCEMIDNIGHTRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSUMMARYREPORTSSINCEMIDNIGHTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ListSkillGroupSummaryReportsSinceMidnightResult : public ServiceResult + { + public: + struct PagedSkillGroupSummaryReport + { + struct SkillGroupSummaryReport + { + struct Overall + { + long totalReadyTime; + long totalBreakTime; + long totalCalls; + long totalWorkTime; + long satisfactionSurveysOffered; + float satisfactionIndex; + long satisfactionSurveysResponded; + long totalTalkTime; + long averageReadyTime; + long totalLoggedInTime; + long maxTalkTime; + long averageWorkTime; + long maxReadyTime; + long maxWorkTime; + float occupancyRate; + long averageTalkTime; + }; + struct Inbound + { + float serviceLevel20; + long totalWorkTime; + long abandonedInQueueOfQueueCount; + long answeredByAgentOfQueueCount; + long giveUpByAgentOfQueueCount; + long maxRingTime; + long callsOffered; + float satisfactionIndex; + long totalRingTime; + float handleRate; + long callsServiceLevel30; + long totalTalkTime; + long overFlowInQueueOfQueueCount; + std::string maxTalkTime; + long averageTalkTime; + long answeredByAgentOfQueueWaitTimeDuration; + long satisfactionSurveysOffered; + long queueWaitTimeDuration; + long callsHandled; + long satisfactionSurveysResponded; + long queueMaxWaitTimeDuration; + long callsServiceLevel20; + long averageRingTime; + long answeredByAgentOfQueueMaxWaitTimeDuration; + long averageWorkTime; + long maxWorkTime; + long inComingQueueOfQueueCount; + }; + struct Outbound + { + long totalDialingTime; + long totalWorkTime; + long satisfactionSurveysOffered; + float satisfactionIndex; + long satisfactionSurveysResponded; + long averageDialingTime; + long callsAnswered; + long totalTalkTime; + long callsDialed; + long maxDialingTime; + long maxTalkTime; + long averageWorkTime; + long maxWorkTime; + float answerRate; + long averageTalkTime; + }; + Overall overall; + Outbound outbound; + std::string skillGroupName; + std::string instanceId; + std::string skillGroupId; + Inbound inbound; + std::string timestamp; + }; + int totalCount; + int pageSize; + int pageNumber; + std::vector list; + }; + + + ListSkillGroupSummaryReportsSinceMidnightResult(); + explicit ListSkillGroupSummaryReportsSinceMidnightResult(const std::string &payload); + ~ListSkillGroupSummaryReportsSinceMidnightResult(); + PagedSkillGroupSummaryReport getPagedSkillGroupSummaryReport()const; + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + bool getSuccess()const; + + protected: + void parse(const std::string &payload); + private: + PagedSkillGroupSummaryReport pagedSkillGroupSummaryReport_; + std::string message_; + int httpStatusCode_; + std::string code_; + bool success_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSUMMARYREPORTSSINCEMIDNIGHTRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ListSkillGroupsRequest.h b/ccc/include/alibabacloud/ccc/model/ListSkillGroupsRequest.h index 6f0d23757..3632b09c3 100644 --- a/ccc/include/alibabacloud/ccc/model/ListSkillGroupsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListSkillGroupsRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListSkillGroupsRequest : public RpcServiceRequest - { - - public: - ListSkillGroupsRequest(); - ~ListSkillGroupsRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - std::string searchPattern_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListSkillGroupsRequest : public RpcServiceRequest { +public: + ListSkillGroupsRequest(); + ~ListSkillGroupsRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLGROUPSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListSkillLevelsOfUserRequest.h b/ccc/include/alibabacloud/ccc/model/ListSkillLevelsOfUserRequest.h index e50506e03..2c1024e6a 100644 --- a/ccc/include/alibabacloud/ccc/model/ListSkillLevelsOfUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListSkillLevelsOfUserRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLLEVELSOFUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTSKILLLEVELSOFUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListSkillLevelsOfUserRequest : public RpcServiceRequest - { - - public: - ListSkillLevelsOfUserRequest(); - ~ListSkillLevelsOfUserRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - bool getIsMember()const; - void setIsMember(bool isMember); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - std::string userId_; - bool isMember_; - int pageNumber_; - std::string searchPattern_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLLEVELSOFUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTSKILLLEVELSOFUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTSKILLLEVELSOFUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListSkillLevelsOfUserRequest : public RpcServiceRequest { +public: + ListSkillLevelsOfUserRequest(); + ~ListSkillLevelsOfUserRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + bool getIsMember() const; + void setIsMember(bool isMember); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + std::string userId_; + bool isMember_; + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTSKILLLEVELSOFUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListUnassignedNumbersRequest.h b/ccc/include/alibabacloud/ccc/model/ListUnassignedNumbersRequest.h index 274380245..5d5d55d48 100644 --- a/ccc/include/alibabacloud/ccc/model/ListUnassignedNumbersRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListUnassignedNumbersRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListUnassignedNumbersRequest : public RpcServiceRequest - { - - public: - ListUnassignedNumbersRequest(); - ~ListUnassignedNumbersRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - std::string searchPattern_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListUnassignedNumbersRequest : public RpcServiceRequest { +public: + ListUnassignedNumbersRequest(); + ~ListUnassignedNumbersRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTUNASSIGNEDNUMBERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListUserLevelsOfSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/ListUserLevelsOfSkillGroupRequest.h index 1cc8ab72b..9be773f67 100644 --- a/ccc/include/alibabacloud/ccc/model/ListUserLevelsOfSkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListUserLevelsOfSkillGroupRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListUserLevelsOfSkillGroupRequest : public RpcServiceRequest - { - - public: - ListUserLevelsOfSkillGroupRequest(); - ~ListUserLevelsOfSkillGroupRequest(); - - bool getIsMember()const; - void setIsMember(bool isMember); - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - bool isMember_; - int pageNumber_; - std::string searchPattern_; - std::string instanceId_; - std::string skillGroupId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListUserLevelsOfSkillGroupRequest : public RpcServiceRequest { +public: + ListUserLevelsOfSkillGroupRequest(); + ~ListUserLevelsOfSkillGroupRequest(); + bool getIsMember() const; + void setIsMember(bool isMember); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + bool isMember_; + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + std::string skillGroupId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERLEVELSOFSKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ListUsersRequest.h b/ccc/include/alibabacloud/ccc/model/ListUsersRequest.h index c7d79f04f..6b0dd6a2f 100644 --- a/ccc/include/alibabacloud/ccc/model/ListUsersRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ListUsersRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ListUsersRequest : public RpcServiceRequest - { - - public: - ListUsersRequest(); - ~ListUsersRequest(); - - int getPageNumber()const; - void setPageNumber(int pageNumber); - std::string getSearchPattern()const; - void setSearchPattern(const std::string& searchPattern); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - int getPageSize()const; - void setPageSize(int pageSize); - - private: - int pageNumber_; - std::string searchPattern_; - std::string instanceId_; - int pageSize_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ListUsersRequest : public RpcServiceRequest { +public: + ListUsersRequest(); + ~ListUsersRequest(); + int getPageNumber() const; + void setPageNumber(int pageNumber); + std::string getSearchPattern() const; + void setSearchPattern(const std::string &searchPattern); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + int getPageSize() const; + void setPageSize(int pageSize); + +private: + int pageNumber_; + std::string searchPattern_; + std::string instanceId_; + int pageSize_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_LISTUSERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/MakeCallRequest.h b/ccc/include/alibabacloud/ccc/model/MakeCallRequest.h index bb2ab1ce2..01b2a073e 100644 --- a/ccc/include/alibabacloud/ccc/model/MakeCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/MakeCallRequest.h @@ -1,69 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_MAKECALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_MAKECALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT MakeCallRequest : public RpcServiceRequest - { - - public: - MakeCallRequest(); - ~MakeCallRequest(); - - std::string getCallee()const; - void setCallee(const std::string& callee); - std::string getMaskedCallee()const; - void setMaskedCallee(const std::string& maskedCallee); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getTags()const; - void setTags(const std::string& tags); - int getTimeoutSeconds()const; - void setTimeoutSeconds(int timeoutSeconds); - std::string getCaller()const; - void setCaller(const std::string& caller); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string callee_; - std::string maskedCallee_; - std::string userId_; - std::string deviceId_; - std::string tags_; - int timeoutSeconds_; - std::string caller_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_MAKECALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MAKECALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MAKECALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT MakeCallRequest : public RpcServiceRequest { +public: + MakeCallRequest(); + ~MakeCallRequest(); + std::string getCallee() const; + void setCallee(const std::string &callee); + std::string getMaskedCallee() const; + void setMaskedCallee(const std::string &maskedCallee); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getTags() const; + void setTags(const std::string &tags); + int getTimeoutSeconds() const; + void setTimeoutSeconds(int timeoutSeconds); + std::string getCaller() const; + void setCaller(const std::string &caller); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string callee_; + std::string maskedCallee_; + std::string userId_; + std::string deviceId_; + std::string tags_; + int timeoutSeconds_; + std::string caller_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MAKECALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ModifyCustomCallTaggingRequest.h b/ccc/include/alibabacloud/ccc/model/ModifyCustomCallTaggingRequest.h new file mode 100644 index 000000000..05be2c14a --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ModifyCustomCallTaggingRequest.h @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYCUSTOMCALLTAGGINGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MODIFYCUSTOMCALLTAGGINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ModifyCustomCallTaggingRequest : public RpcServiceRequest { +public: + ModifyCustomCallTaggingRequest(); + ~ModifyCustomCallTaggingRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getNumber() const; + void setNumber(const std::string &number); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCallTagNameList() const; + void setCallTagNameList(const std::string &callTagNameList); + +private: + std::string description_; + std::string number_; + std::string instanceId_; + std::string callTagNameList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYCUSTOMCALLTAGGINGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ModifyCustomCallTaggingResult.h b/ccc/include/alibabacloud/ccc/model/ModifyCustomCallTaggingResult.h new file mode 100644 index 000000000..5fa68453e --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/ModifyCustomCallTaggingResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYCUSTOMCALLTAGGINGRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_MODIFYCUSTOMCALLTAGGINGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT ModifyCustomCallTaggingResult : public ServiceResult + { + public: + + + ModifyCustomCallTaggingResult(); + explicit ModifyCustomCallTaggingResult(const std::string &payload); + ~ModifyCustomCallTaggingResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYCUSTOMCALLTAGGINGRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/ModifyInstanceRequest.h b/ccc/include/alibabacloud/ccc/model/ModifyInstanceRequest.h index 58787e46c..eee352b07 100644 --- a/ccc/include/alibabacloud/ccc/model/ModifyInstanceRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ModifyInstanceRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_MODIFYINSTANCEREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_MODIFYINSTANCEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ModifyInstanceRequest : public RpcServiceRequest - { - - public: - ModifyInstanceRequest(); - ~ModifyInstanceRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string description_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYINSTANCEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYINSTANCEREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MODIFYINSTANCEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ModifyInstanceRequest : public RpcServiceRequest { +public: + ModifyInstanceRequest(); + ~ModifyInstanceRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string description_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYINSTANCEREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h b/ccc/include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h index 699c79e6d..abcbd2d39 100644 --- a/ccc/include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ModifyPhoneNumberRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ModifyPhoneNumberRequest : public RpcServiceRequest - { - - public: - ModifyPhoneNumberRequest(); - ~ModifyPhoneNumberRequest(); - - std::string getContactFlowId()const; - void setContactFlowId(const std::string& contactFlowId); - std::string getUsage()const; - void setUsage(const std::string& usage); - std::string getNumber()const; - void setNumber(const std::string& number); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string contactFlowId_; - std::string usage_; - std::string number_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ModifyPhoneNumberRequest : public RpcServiceRequest { +public: + ModifyPhoneNumberRequest(); + ~ModifyPhoneNumberRequest(); + std::string getContactFlowId() const; + void setContactFlowId(const std::string &contactFlowId); + std::string getUsage() const; + void setUsage(const std::string &usage); + std::string getNumber() const; + void setNumber(const std::string &number); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string contactFlowId_; + std::string usage_; + std::string number_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYPHONENUMBERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ModifySkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/ModifySkillGroupRequest.h index f051b234a..980dda0a3 100644 --- a/ccc/include/alibabacloud/ccc/model/ModifySkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ModifySkillGroupRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ModifySkillGroupRequest : public RpcServiceRequest - { - - public: - ModifySkillGroupRequest(); - ~ModifySkillGroupRequest(); - - std::string getDescription()const; - void setDescription(const std::string& description); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - std::string getDisplayName()const; - void setDisplayName(const std::string& displayName); - - private: - std::string description_; - std::string instanceId_; - std::string skillGroupId_; - std::string displayName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ModifySkillGroupRequest : public RpcServiceRequest { +public: + ModifySkillGroupRequest(); + ~ModifySkillGroupRequest(); + std::string getDescription() const; + void setDescription(const std::string &description); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + std::string getDisplayName() const; + void setDisplayName(const std::string &displayName); + +private: + std::string description_; + std::string instanceId_; + std::string skillGroupId_; + std::string displayName_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYSKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ModifySkillLevelsOfUserRequest.h b/ccc/include/alibabacloud/ccc/model/ModifySkillLevelsOfUserRequest.h index 3a47a4ed8..5cea44fed 100644 --- a/ccc/include/alibabacloud/ccc/model/ModifySkillLevelsOfUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ModifySkillLevelsOfUserRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ModifySkillLevelsOfUserRequest : public RpcServiceRequest - { - - public: - ModifySkillLevelsOfUserRequest(); - ~ModifySkillLevelsOfUserRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillLevelList()const; - void setSkillLevelList(const std::string& skillLevelList); - - private: - std::string userId_; - std::string instanceId_; - std::string skillLevelList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ModifySkillLevelsOfUserRequest : public RpcServiceRequest { +public: + ModifySkillLevelsOfUserRequest(); + ~ModifySkillLevelsOfUserRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillLevelList() const; + void setSkillLevelList(const std::string &skillLevelList); + +private: + std::string userId_; + std::string instanceId_; + std::string skillLevelList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYSKILLLEVELSOFUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ModifyUserLevelsOfSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/ModifyUserLevelsOfSkillGroupRequest.h index ee398ad88..d4d268145 100644 --- a/ccc/include/alibabacloud/ccc/model/ModifyUserLevelsOfSkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ModifyUserLevelsOfSkillGroupRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ModifyUserLevelsOfSkillGroupRequest : public RpcServiceRequest - { - - public: - ModifyUserLevelsOfSkillGroupRequest(); - ~ModifyUserLevelsOfSkillGroupRequest(); - - std::string getUserLevelList()const; - void setUserLevelList(const std::string& userLevelList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - - private: - std::string userLevelList_; - std::string instanceId_; - std::string skillGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ModifyUserLevelsOfSkillGroupRequest : public RpcServiceRequest { +public: + ModifyUserLevelsOfSkillGroupRequest(); + ~ModifyUserLevelsOfSkillGroupRequest(); + std::string getUserLevelList() const; + void setUserLevelList(const std::string &userLevelList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + +private: + std::string userLevelList_; + std::string instanceId_; + std::string skillGroupId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYUSERLEVELSOFSKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ModifyUserRequest.h b/ccc/include/alibabacloud/ccc/model/ModifyUserRequest.h index 98b71f0d0..909a05c8c 100644 --- a/ccc/include/alibabacloud/ccc/model/ModifyUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ModifyUserRequest.h @@ -1,60 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_MODIFYUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ModifyUserRequest : public RpcServiceRequest - { - - public: - ModifyUserRequest(); - ~ModifyUserRequest(); - - std::string getRoleId()const; - void setRoleId(const std::string& roleId); - std::string getMobile()const; - void setMobile(const std::string& mobile); - std::string getWorkMode()const; - void setWorkMode(const std::string& workMode); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string roleId_; - std::string mobile_; - std::string workMode_; - std::string userId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MODIFYUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MODIFYUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ModifyUserRequest : public RpcServiceRequest { +public: + ModifyUserRequest(); + ~ModifyUserRequest(); + std::string getRoleId() const; + void setRoleId(const std::string &roleId); + std::string getMobile() const; + void setMobile(const std::string &mobile); + std::string getWorkMode() const; + void setWorkMode(const std::string &workMode); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getDisplayId() const; + void setDisplayId(const std::string &displayId); + +private: + std::string roleId_; + std::string mobile_; + std::string workMode_; + std::string userId_; + std::string instanceId_; + std::string displayId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MODIFYUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/MonitorCallRequest.h b/ccc/include/alibabacloud/ccc/model/MonitorCallRequest.h index 7f3e3b60b..d75b3448d 100644 --- a/ccc/include/alibabacloud/ccc/model/MonitorCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/MonitorCallRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_MONITORCALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_MONITORCALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT MonitorCallRequest : public RpcServiceRequest - { - - public: - MonitorCallRequest(); - ~MonitorCallRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - int getTimeoutSeconds()const; - void setTimeoutSeconds(int timeoutSeconds); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getMonitoredUserId()const; - void setMonitoredUserId(const std::string& monitoredUserId); - - private: - std::string userId_; - std::string deviceId_; - int timeoutSeconds_; - std::string instanceId_; - std::string monitoredUserId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_MONITORCALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MONITORCALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MONITORCALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT MonitorCallRequest : public RpcServiceRequest { +public: + MonitorCallRequest(); + ~MonitorCallRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + int getTimeoutSeconds() const; + void setTimeoutSeconds(int timeoutSeconds); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getMonitoredUserId() const; + void setMonitoredUserId(const std::string &monitoredUserId); + +private: + std::string userId_; + std::string deviceId_; + int timeoutSeconds_; + std::string instanceId_; + std::string monitoredUserId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MONITORCALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/MuteCallRequest.h b/ccc/include/alibabacloud/ccc/model/MuteCallRequest.h index 6fc89efee..72da056d2 100644 --- a/ccc/include/alibabacloud/ccc/model/MuteCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/MuteCallRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_MUTECALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_MUTECALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT MuteCallRequest : public RpcServiceRequest - { - - public: - MuteCallRequest(); - ~MuteCallRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getChannelId()const; - void setChannelId(const std::string& channelId); - - private: - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - std::string channelId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_MUTECALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_MUTECALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_MUTECALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT MuteCallRequest : public RpcServiceRequest { +public: + MuteCallRequest(); + ~MuteCallRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + +private: + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; + std::string channelId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_MUTECALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/PauseCampaignRequest.h b/ccc/include/alibabacloud/ccc/model/PauseCampaignRequest.h index a07b54cf7..fe9f33152 100644 --- a/ccc/include/alibabacloud/ccc/model/PauseCampaignRequest.h +++ b/ccc/include/alibabacloud/ccc/model/PauseCampaignRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT PauseCampaignRequest : public RpcServiceRequest - { - - public: - PauseCampaignRequest(); - ~PauseCampaignRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getCampaignId()const; - void setCampaignId(const std::string& campaignId); - - private: - std::string instanceId_; - std::string campaignId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT PauseCampaignRequest : public RpcServiceRequest { +public: + PauseCampaignRequest(); + ~PauseCampaignRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCampaignId() const; + void setCampaignId(const std::string &campaignId); + +private: + std::string instanceId_; + std::string campaignId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_PAUSECAMPAIGNREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/PickOutboundNumbersRequest.h b/ccc/include/alibabacloud/ccc/model/PickOutboundNumbersRequest.h index dfdb376ec..6e1a7023f 100644 --- a/ccc/include/alibabacloud/ccc/model/PickOutboundNumbersRequest.h +++ b/ccc/include/alibabacloud/ccc/model/PickOutboundNumbersRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT PickOutboundNumbersRequest : public RpcServiceRequest - { - - public: - PickOutboundNumbersRequest(); - ~PickOutboundNumbersRequest(); - - int getCount()const; - void setCount(int count); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupIdList()const; - void setSkillGroupIdList(const std::string& skillGroupIdList); - std::string getCalledNumber()const; - void setCalledNumber(const std::string& calledNumber); - - private: - int count_; - std::string instanceId_; - std::string skillGroupIdList_; - std::string calledNumber_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT PickOutboundNumbersRequest : public RpcServiceRequest { +public: + PickOutboundNumbersRequest(); + ~PickOutboundNumbersRequest(); + int getCount() const; + void setCount(int count); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupIdList() const; + void setSkillGroupIdList(const std::string &skillGroupIdList); + std::string getCalledNumber() const; + void setCalledNumber(const std::string &calledNumber); + +private: + int count_; + std::string instanceId_; + std::string skillGroupIdList_; + std::string calledNumber_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_PICKOUTBOUNDNUMBERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/PollUserStatusRequest.h b/ccc/include/alibabacloud/ccc/model/PollUserStatusRequest.h index 1003df506..f1cdc7fae 100644 --- a/ccc/include/alibabacloud/ccc/model/PollUserStatusRequest.h +++ b/ccc/include/alibabacloud/ccc/model/PollUserStatusRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_POLLUSERSTATUSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_POLLUSERSTATUSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT PollUserStatusRequest : public RpcServiceRequest - { - - public: - PollUserStatusRequest(); - ~PollUserStatusRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string deviceId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_POLLUSERSTATUSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_POLLUSERSTATUSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_POLLUSERSTATUSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT PollUserStatusRequest : public RpcServiceRequest { +public: + PollUserStatusRequest(); + ~PollUserStatusRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string deviceId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_POLLUSERSTATUSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ReadyForServiceRequest.h b/ccc/include/alibabacloud/ccc/model/ReadyForServiceRequest.h index 3a115f60a..852acb19a 100644 --- a/ccc/include/alibabacloud/ccc/model/ReadyForServiceRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ReadyForServiceRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_READYFORSERVICEREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_READYFORSERVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ReadyForServiceRequest : public RpcServiceRequest - { - - public: - ReadyForServiceRequest(); - ~ReadyForServiceRequest(); - - bool getOutboundScenario()const; - void setOutboundScenario(bool outboundScenario); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - bool outboundScenario_; - std::string userId_; - std::string deviceId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_READYFORSERVICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_READYFORSERVICEREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_READYFORSERVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ReadyForServiceRequest : public RpcServiceRequest { +public: + ReadyForServiceRequest(); + ~ReadyForServiceRequest(); + bool getOutboundScenario() const; + void setOutboundScenario(bool outboundScenario); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + bool outboundScenario_; + std::string userId_; + std::string deviceId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_READYFORSERVICEREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RegisterDeviceRequest.h b/ccc/include/alibabacloud/ccc/model/RegisterDeviceRequest.h index 27d47bd12..37964b328 100644 --- a/ccc/include/alibabacloud/ccc/model/RegisterDeviceRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RegisterDeviceRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_REGISTERDEVICEREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_REGISTERDEVICEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RegisterDeviceRequest : public RpcServiceRequest - { - - public: - RegisterDeviceRequest(); - ~RegisterDeviceRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getPassword()const; - void setPassword(const std::string& password); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string deviceId_; - std::string password_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_REGISTERDEVICEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_REGISTERDEVICEREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REGISTERDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RegisterDeviceRequest : public RpcServiceRequest { +public: + RegisterDeviceRequest(); + ~RegisterDeviceRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getPassword() const; + void setPassword(const std::string &password); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string deviceId_; + std::string password_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REGISTERDEVICEREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RegisterDevicesRequest.h b/ccc/include/alibabacloud/ccc/model/RegisterDevicesRequest.h index dc8eea640..da3586fbe 100644 --- a/ccc/include/alibabacloud/ccc/model/RegisterDevicesRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RegisterDevicesRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_REGISTERDEVICESREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_REGISTERDEVICESREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RegisterDevicesRequest : public RpcServiceRequest - { - - public: - RegisterDevicesRequest(); - ~RegisterDevicesRequest(); - - std::string getUserIdListJson()const; - void setUserIdListJson(const std::string& userIdListJson); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getPassword()const; - void setPassword(const std::string& password); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userIdListJson_; - std::string deviceId_; - std::string password_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_REGISTERDEVICESREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_REGISTERDEVICESREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REGISTERDEVICESREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RegisterDevicesRequest : public RpcServiceRequest { +public: + RegisterDevicesRequest(); + ~RegisterDevicesRequest(); + std::string getUserIdListJson() const; + void setUserIdListJson(const std::string &userIdListJson); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getPassword() const; + void setPassword(const std::string &password); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userIdListJson_; + std::string deviceId_; + std::string password_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REGISTERDEVICESREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ReleaseCallRequest.h b/ccc/include/alibabacloud/ccc/model/ReleaseCallRequest.h index 1ead1d5df..8b0af4021 100644 --- a/ccc/include/alibabacloud/ccc/model/ReleaseCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ReleaseCallRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_RELEASECALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_RELEASECALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ReleaseCallRequest : public RpcServiceRequest - { - - public: - ReleaseCallRequest(); - ~ReleaseCallRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getChannelId()const; - void setChannelId(const std::string& channelId); - - private: - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - std::string channelId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_RELEASECALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_RELEASECALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_RELEASECALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ReleaseCallRequest : public RpcServiceRequest { +public: + ReleaseCallRequest(); + ~ReleaseCallRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + +private: + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; + std::string channelId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_RELEASECALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RemoveDoNotCallNumbersRequest.h b/ccc/include/alibabacloud/ccc/model/RemoveDoNotCallNumbersRequest.h new file mode 100644 index 000000000..80d4a42d2 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/RemoveDoNotCallNumbersRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REMOVEDONOTCALLNUMBERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REMOVEDONOTCALLNUMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RemoveDoNotCallNumbersRequest : public RpcServiceRequest { +public: + RemoveDoNotCallNumbersRequest(); + ~RemoveDoNotCallNumbersRequest(); + std::string getNumberList() const; + void setNumberList(const std::string &numberList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string numberList_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEDONOTCALLNUMBERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RemoveDoNotCallNumbersResult.h b/ccc/include/alibabacloud/ccc/model/RemoveDoNotCallNumbersResult.h new file mode 100644 index 000000000..9ef507569 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/RemoveDoNotCallNumbersResult.h @@ -0,0 +1,59 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_REMOVEDONOTCALLNUMBERSRESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_REMOVEDONOTCALLNUMBERSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT RemoveDoNotCallNumbersResult : public ServiceResult + { + public: + + + RemoveDoNotCallNumbersResult(); + explicit RemoveDoNotCallNumbersResult(const std::string &payload); + ~RemoveDoNotCallNumbersResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::vector getParams()const; + std::string getData()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::vector params_; + std::string data_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEDONOTCALLNUMBERSRESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/RemovePersonalNumbersFromUserRequest.h b/ccc/include/alibabacloud/ccc/model/RemovePersonalNumbersFromUserRequest.h index 5020e4b2a..3d95713ca 100644 --- a/ccc/include/alibabacloud/ccc/model/RemovePersonalNumbersFromUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RemovePersonalNumbersFromUserRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RemovePersonalNumbersFromUserRequest : public RpcServiceRequest - { - - public: - RemovePersonalNumbersFromUserRequest(); - ~RemovePersonalNumbersFromUserRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getNumberList()const; - void setNumberList(const std::string& numberList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string numberList_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RemovePersonalNumbersFromUserRequest : public RpcServiceRequest { +public: + RemovePersonalNumbersFromUserRequest(); + ~RemovePersonalNumbersFromUserRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getNumberList() const; + void setNumberList(const std::string &numberList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string numberList_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPERSONALNUMBERSFROMUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RemovePhoneNumberFromSkillGroupsRequest.h b/ccc/include/alibabacloud/ccc/model/RemovePhoneNumberFromSkillGroupsRequest.h index 733458150..2bf8c40a3 100644 --- a/ccc/include/alibabacloud/ccc/model/RemovePhoneNumberFromSkillGroupsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RemovePhoneNumberFromSkillGroupsRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumberFromSkillGroupsRequest : public RpcServiceRequest - { - - public: - RemovePhoneNumberFromSkillGroupsRequest(); - ~RemovePhoneNumberFromSkillGroupsRequest(); - - std::string getNumber()const; - void setNumber(const std::string& number); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupIdList()const; - void setSkillGroupIdList(const std::string& skillGroupIdList); - - private: - std::string number_; - std::string instanceId_; - std::string skillGroupIdList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumberFromSkillGroupsRequest : public RpcServiceRequest { +public: + RemovePhoneNumberFromSkillGroupsRequest(); + ~RemovePhoneNumberFromSkillGroupsRequest(); + std::string getNumber() const; + void setNumber(const std::string &number); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupIdList() const; + void setSkillGroupIdList(const std::string &skillGroupIdList); + +private: + std::string number_; + std::string instanceId_; + std::string skillGroupIdList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERFROMSKILLGROUPSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersFromSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersFromSkillGroupRequest.h index 0f48cd426..10a065d88 100644 --- a/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersFromSkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersFromSkillGroupRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumbersFromSkillGroupRequest : public RpcServiceRequest - { - - public: - RemovePhoneNumbersFromSkillGroupRequest(); - ~RemovePhoneNumbersFromSkillGroupRequest(); - - std::string getNumberList()const; - void setNumberList(const std::string& numberList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - - private: - std::string numberList_; - std::string instanceId_; - std::string skillGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumbersFromSkillGroupRequest : public RpcServiceRequest { +public: + RemovePhoneNumbersFromSkillGroupRequest(); + ~RemovePhoneNumbersFromSkillGroupRequest(); + std::string getNumberList() const; + void setNumberList(const std::string &numberList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + +private: + std::string numberList_; + std::string instanceId_; + std::string skillGroupId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSFROMSKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersRequest.h b/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersRequest.h index a528b5e45..c516e702d 100644 --- a/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersRequest.h @@ -1,51 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumbersRequest : public RpcServiceRequest - { - - public: - RemovePhoneNumbersRequest(); - ~RemovePhoneNumbersRequest(); - - std::string getNumberList()const; - void setNumberList(const std::string& numberList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string numberList_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RemovePhoneNumbersRequest : public RpcServiceRequest { +public: + RemovePhoneNumbersRequest(); + ~RemovePhoneNumbersRequest(); + std::string getNumberList() const; + void setNumberList(const std::string &numberList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + bool getForce() const; + void setForce(bool force); + +private: + std::string numberList_; + std::string instanceId_; + bool force_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEPHONENUMBERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersResult.h b/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersResult.h index fdec006d9..328e869d3 100644 --- a/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersResult.h +++ b/ccc/include/alibabacloud/ccc/model/RemovePhoneNumbersResult.h @@ -40,8 +40,7 @@ namespace AlibabaCloud std::string getMessage()const; int getHttpStatusCode()const; std::vector getParams()const; - std::vector getFailureList()const; - std::string getData()const; + std::vector getData()const; std::string getCode()const; protected: @@ -50,8 +49,7 @@ namespace AlibabaCloud std::string message_; int httpStatusCode_; std::vector params_; - std::vector failureList_; - std::string data_; + std::vector data_; std::string code_; }; diff --git a/ccc/include/alibabacloud/ccc/model/RemoveSkillGroupsFromUserRequest.h b/ccc/include/alibabacloud/ccc/model/RemoveSkillGroupsFromUserRequest.h index 9d0f75567..9a30c31fe 100644 --- a/ccc/include/alibabacloud/ccc/model/RemoveSkillGroupsFromUserRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RemoveSkillGroupsFromUserRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RemoveSkillGroupsFromUserRequest : public RpcServiceRequest - { - - public: - RemoveSkillGroupsFromUserRequest(); - ~RemoveSkillGroupsFromUserRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupIdList()const; - void setSkillGroupIdList(const std::string& skillGroupIdList); - - private: - std::string userId_; - std::string instanceId_; - std::string skillGroupIdList_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RemoveSkillGroupsFromUserRequest : public RpcServiceRequest { +public: + RemoveSkillGroupsFromUserRequest(); + ~RemoveSkillGroupsFromUserRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupIdList() const; + void setSkillGroupIdList(const std::string &skillGroupIdList); + +private: + std::string userId_; + std::string instanceId_; + std::string skillGroupIdList_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REMOVESKILLGROUPSFROMUSERREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RemoveUsersFromSkillGroupRequest.h b/ccc/include/alibabacloud/ccc/model/RemoveUsersFromSkillGroupRequest.h index ead9611bb..255f215c1 100644 --- a/ccc/include/alibabacloud/ccc/model/RemoveUsersFromSkillGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RemoveUsersFromSkillGroupRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RemoveUsersFromSkillGroupRequest : public RpcServiceRequest - { - - public: - RemoveUsersFromSkillGroupRequest(); - ~RemoveUsersFromSkillGroupRequest(); - - std::string getUserIdList()const; - void setUserIdList(const std::string& userIdList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - - private: - std::string userIdList_; - std::string instanceId_; - std::string skillGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RemoveUsersFromSkillGroupRequest : public RpcServiceRequest { +public: + RemoveUsersFromSkillGroupRequest(); + ~RemoveUsersFromSkillGroupRequest(); + std::string getUserIdList() const; + void setUserIdList(const std::string &userIdList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + +private: + std::string userIdList_; + std::string instanceId_; + std::string skillGroupId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEUSERSFROMSKILLGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RemoveUsersRequest.h b/ccc/include/alibabacloud/ccc/model/RemoveUsersRequest.h index 24b115ac8..291503a2d 100644 --- a/ccc/include/alibabacloud/ccc/model/RemoveUsersRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RemoveUsersRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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_REMOVEUSERSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_REMOVEUSERSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RemoveUsersRequest : public RpcServiceRequest - { - - public: - RemoveUsersRequest(); - ~RemoveUsersRequest(); - - std::string getUserIdList()const; - void setUserIdList(const std::string& userIdList); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userIdList_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEUSERSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_REMOVEUSERSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_REMOVEUSERSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RemoveUsersRequest : public RpcServiceRequest { +public: + RemoveUsersRequest(); + ~RemoveUsersRequest(); + std::string getUserIdList() const; + void setUserIdList(const std::string &userIdList); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userIdList_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_REMOVEUSERSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ResetAgentStateRequest.h b/ccc/include/alibabacloud/ccc/model/ResetAgentStateRequest.h index 727442bf5..8abd7113d 100644 --- a/ccc/include/alibabacloud/ccc/model/ResetAgentStateRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ResetAgentStateRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_RESETAGENTSTATEREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_RESETAGENTSTATEREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ResetAgentStateRequest : public RpcServiceRequest - { - - public: - ResetAgentStateRequest(); - ~ResetAgentStateRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string deviceId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_RESETAGENTSTATEREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_RESETAGENTSTATEREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_RESETAGENTSTATEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ResetAgentStateRequest : public RpcServiceRequest { +public: + ResetAgentStateRequest(); + ~ResetAgentStateRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string deviceId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_RESETAGENTSTATEREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ResetUserPasswordRequest.h b/ccc/include/alibabacloud/ccc/model/ResetUserPasswordRequest.h index a51d0e02b..0e8780cf0 100644 --- a/ccc/include/alibabacloud/ccc/model/ResetUserPasswordRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ResetUserPasswordRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_RESETUSERPASSWORDREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_RESETUSERPASSWORDREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ResetUserPasswordRequest : public RpcServiceRequest - { - - public: - ResetUserPasswordRequest(); - ~ResetUserPasswordRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getPassword()const; - void setPassword(const std::string& password); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string password_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_RESETUSERPASSWORDREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_RESETUSERPASSWORDREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_RESETUSERPASSWORDREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ResetUserPasswordRequest : public RpcServiceRequest { +public: + ResetUserPasswordRequest(); + ~ResetUserPasswordRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getPassword() const; + void setPassword(const std::string &password); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string password_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_RESETUSERPASSWORDREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/ResumeCampaignRequest.h b/ccc/include/alibabacloud/ccc/model/ResumeCampaignRequest.h index c83d79dc8..358566ec7 100644 --- a/ccc/include/alibabacloud/ccc/model/ResumeCampaignRequest.h +++ b/ccc/include/alibabacloud/ccc/model/ResumeCampaignRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT ResumeCampaignRequest : public RpcServiceRequest - { - - public: - ResumeCampaignRequest(); - ~ResumeCampaignRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getCampaignId()const; - void setCampaignId(const std::string& campaignId); - - private: - std::string instanceId_; - std::string campaignId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT ResumeCampaignRequest : public RpcServiceRequest { +public: + ResumeCampaignRequest(); + ~ResumeCampaignRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCampaignId() const; + void setCampaignId(const std::string &campaignId); + +private: + std::string instanceId_; + std::string campaignId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_RESUMECAMPAIGNREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/RetrieveCallRequest.h b/ccc/include/alibabacloud/ccc/model/RetrieveCallRequest.h index 4dcaa41c7..fcda4675e 100644 --- a/ccc/include/alibabacloud/ccc/model/RetrieveCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/RetrieveCallRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_RETRIEVECALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_RETRIEVECALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT RetrieveCallRequest : public RpcServiceRequest - { - - public: - RetrieveCallRequest(); - ~RetrieveCallRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getChannelId()const; - void setChannelId(const std::string& channelId); - - private: - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - std::string channelId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_RETRIEVECALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_RETRIEVECALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_RETRIEVECALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT RetrieveCallRequest : public RpcServiceRequest { +public: + RetrieveCallRequest(); + ~RetrieveCallRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + +private: + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; + std::string channelId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_RETRIEVECALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/SaveRTCStatsV2Request.h b/ccc/include/alibabacloud/ccc/model/SaveRTCStatsV2Request.h index e994782e8..08ad188d5 100644 --- a/ccc/include/alibabacloud/ccc/model/SaveRTCStatsV2Request.h +++ b/ccc/include/alibabacloud/ccc/model/SaveRTCStatsV2Request.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_SAVERTCSTATSV2REQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_SAVERTCSTATSV2REQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT SaveRTCStatsV2Request : public RpcServiceRequest - { - - public: - SaveRTCStatsV2Request(); - ~SaveRTCStatsV2Request(); - - std::string getCallId()const; - void setCallId(const std::string& callId); - std::string getSenderReport()const; - void setSenderReport(const std::string& senderReport); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getReceiverReport()const; - void setReceiverReport(const std::string& receiverReport); - std::string getGoogAddress()const; - void setGoogAddress(const std::string& googAddress); - std::string getGeneralInfo()const; - void setGeneralInfo(const std::string& generalInfo); - - private: - std::string callId_; - std::string senderReport_; - std::string instanceId_; - std::string receiverReport_; - std::string googAddress_; - std::string generalInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_SAVERTCSTATSV2REQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_SAVERTCSTATSV2REQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_SAVERTCSTATSV2REQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT SaveRTCStatsV2Request : public RpcServiceRequest { +public: + SaveRTCStatsV2Request(); + ~SaveRTCStatsV2Request(); + std::string getCallId() const; + void setCallId(const std::string &callId); + std::string getSenderReport() const; + void setSenderReport(const std::string &senderReport); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getReceiverReport() const; + void setReceiverReport(const std::string &receiverReport); + std::string getGoogAddress() const; + void setGoogAddress(const std::string &googAddress); + std::string getGeneralInfo() const; + void setGeneralInfo(const std::string &generalInfo); + +private: + std::string callId_; + std::string senderReport_; + std::string instanceId_; + std::string receiverReport_; + std::string googAddress_; + std::string generalInfo_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_SAVERTCSTATSV2REQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/SaveTerminalLogRequest.h b/ccc/include/alibabacloud/ccc/model/SaveTerminalLogRequest.h index 59a28ed8a..6bb3f193e 100644 --- a/ccc/include/alibabacloud/ccc/model/SaveTerminalLogRequest.h +++ b/ccc/include/alibabacloud/ccc/model/SaveTerminalLogRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_SAVETERMINALLOGREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_SAVETERMINALLOGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT SaveTerminalLogRequest : public RpcServiceRequest - { - - public: - SaveTerminalLogRequest(); - ~SaveTerminalLogRequest(); - - std::string getCallId()const; - void setCallId(const std::string& callId); - std::string getContent()const; - void setContent(const std::string& content); - std::string getUniqueRequestId()const; - void setUniqueRequestId(const std::string& uniqueRequestId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getAppName()const; - void setAppName(const std::string& appName); - int getDataType()const; - void setDataType(int dataType); - std::string getStatus()const; - void setStatus(const std::string& status); - std::string getMethodName()const; - void setMethodName(const std::string& methodName); - - private: - std::string callId_; - std::string content_; - std::string uniqueRequestId_; - std::string jobId_; - std::string instanceId_; - std::string appName_; - int dataType_; - std::string status_; - std::string methodName_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_SAVETERMINALLOGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_SAVETERMINALLOGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_SAVETERMINALLOGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT SaveTerminalLogRequest : public RpcServiceRequest { +public: + SaveTerminalLogRequest(); + ~SaveTerminalLogRequest(); + std::string getCallId() const; + void setCallId(const std::string &callId); + std::string getContent() const; + void setContent(const std::string &content); + std::string getUniqueRequestId() const; + void setUniqueRequestId(const std::string &uniqueRequestId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getAppName() const; + void setAppName(const std::string &appName); + int getDataType() const; + void setDataType(int dataType); + std::string getStatus() const; + void setStatus(const std::string &status); + std::string getMethodName() const; + void setMethodName(const std::string &methodName); + +private: + std::string callId_; + std::string content_; + std::string uniqueRequestId_; + std::string jobId_; + std::string instanceId_; + std::string appName_; + int dataType_; + std::string status_; + std::string methodName_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_SAVETERMINALLOGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/SaveWebRTCStatsRequest.h b/ccc/include/alibabacloud/ccc/model/SaveWebRTCStatsRequest.h index c13970750..2a91d9cc6 100644 --- a/ccc/include/alibabacloud/ccc/model/SaveWebRTCStatsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/SaveWebRTCStatsRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCSTATSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCSTATSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT SaveWebRTCStatsRequest : public RpcServiceRequest - { - - public: - SaveWebRTCStatsRequest(); - ~SaveWebRTCStatsRequest(); - - std::string getCallId()const; - void setCallId(const std::string& callId); - std::string getSenderReport()const; - void setSenderReport(const std::string& senderReport); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getReceiverReport()const; - void setReceiverReport(const std::string& receiverReport); - std::string getGoogAddress()const; - void setGoogAddress(const std::string& googAddress); - std::string getGeneralInfo()const; - void setGeneralInfo(const std::string& generalInfo); - - private: - std::string callId_; - std::string senderReport_; - std::string instanceId_; - std::string receiverReport_; - std::string googAddress_; - std::string generalInfo_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCSTATSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCSTATSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCSTATSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT SaveWebRTCStatsRequest : public RpcServiceRequest { +public: + SaveWebRTCStatsRequest(); + ~SaveWebRTCStatsRequest(); + std::string getCallId() const; + void setCallId(const std::string &callId); + std::string getSenderReport() const; + void setSenderReport(const std::string &senderReport); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getReceiverReport() const; + void setReceiverReport(const std::string &receiverReport); + std::string getGoogAddress() const; + void setGoogAddress(const std::string &googAddress); + std::string getGeneralInfo() const; + void setGeneralInfo(const std::string &generalInfo); + +private: + std::string callId_; + std::string senderReport_; + std::string instanceId_; + std::string receiverReport_; + std::string googAddress_; + std::string generalInfo_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCSTATSREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/SaveWebRtcInfoRequest.h b/ccc/include/alibabacloud/ccc/model/SaveWebRtcInfoRequest.h index ab5c5d75f..512e48191 100644 --- a/ccc/include/alibabacloud/ccc/model/SaveWebRtcInfoRequest.h +++ b/ccc/include/alibabacloud/ccc/model/SaveWebRtcInfoRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCINFOREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCINFOREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT SaveWebRtcInfoRequest : public RpcServiceRequest - { - - public: - SaveWebRtcInfoRequest(); - ~SaveWebRtcInfoRequest(); - - std::string getCallId()const; - void setCallId(const std::string& callId); - std::string getContent()const; - void setContent(const std::string& content); - std::string getContentType()const; - void setContentType(const std::string& contentType); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string callId_; - std::string content_; - std::string contentType_; - std::string jobId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCINFOREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCINFOREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCINFOREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT SaveWebRtcInfoRequest : public RpcServiceRequest { +public: + SaveWebRtcInfoRequest(); + ~SaveWebRtcInfoRequest(); + std::string getCallId() const; + void setCallId(const std::string &callId); + std::string getContent() const; + void setContent(const std::string &content); + std::string getContentType() const; + void setContentType(const std::string &contentType); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string callId_; + std::string content_; + std::string contentType_; + std::string jobId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_SAVEWEBRTCINFOREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/SendDtmfSignalingRequest.h b/ccc/include/alibabacloud/ccc/model/SendDtmfSignalingRequest.h index 02720844b..a62f01739 100644 --- a/ccc/include/alibabacloud/ccc/model/SendDtmfSignalingRequest.h +++ b/ccc/include/alibabacloud/ccc/model/SendDtmfSignalingRequest.h @@ -1,63 +1,57 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_SENDDTMFSIGNALINGREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_SENDDTMFSIGNALINGREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT SendDtmfSignalingRequest : public RpcServiceRequest - { - - public: - SendDtmfSignalingRequest(); - ~SendDtmfSignalingRequest(); - - std::string getDtmf()const; - void setDtmf(const std::string& dtmf); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getChannelId()const; - void setChannelId(const std::string& channelId); - - private: - std::string dtmf_; - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - std::string channelId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_SENDDTMFSIGNALINGREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_SENDDTMFSIGNALINGREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_SENDDTMFSIGNALINGREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT SendDtmfSignalingRequest : public RpcServiceRequest { +public: + SendDtmfSignalingRequest(); + ~SendDtmfSignalingRequest(); + std::string getDtmf() const; + void setDtmf(const std::string &dtmf); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + +private: + std::string dtmf_; + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; + std::string channelId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_SENDDTMFSIGNALINGREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/SignInGroupRequest.h b/ccc/include/alibabacloud/ccc/model/SignInGroupRequest.h index 37a494d2a..27aed5dad 100644 --- a/ccc/include/alibabacloud/ccc/model/SignInGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/SignInGroupRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_SIGNINGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_SIGNINGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT SignInGroupRequest : public RpcServiceRequest - { - - public: - SignInGroupRequest(); - ~SignInGroupRequest(); - - std::string getSignedSkillGroupIdList()const; - void setSignedSkillGroupIdList(const std::string& signedSkillGroupIdList); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string signedSkillGroupIdList_; - std::string userId_; - std::string deviceId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_SIGNINGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_SIGNINGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_SIGNINGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT SignInGroupRequest : public RpcServiceRequest { +public: + SignInGroupRequest(); + ~SignInGroupRequest(); + std::string getSignedSkillGroupIdList() const; + void setSignedSkillGroupIdList(const std::string &signedSkillGroupIdList); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string signedSkillGroupIdList_; + std::string userId_; + std::string deviceId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_SIGNINGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/SignOutGroupRequest.h b/ccc/include/alibabacloud/ccc/model/SignOutGroupRequest.h index e30a5093e..6c4c6bdd3 100644 --- a/ccc/include/alibabacloud/ccc/model/SignOutGroupRequest.h +++ b/ccc/include/alibabacloud/ccc/model/SignOutGroupRequest.h @@ -1,54 +1,48 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_SIGNOUTGROUPREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_SIGNOUTGROUPREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT SignOutGroupRequest : public RpcServiceRequest - { - - public: - SignOutGroupRequest(); - ~SignOutGroupRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string userId_; - std::string deviceId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_SIGNOUTGROUPREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_SIGNOUTGROUPREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_SIGNOUTGROUPREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT SignOutGroupRequest : public RpcServiceRequest { +public: + SignOutGroupRequest(); + ~SignOutGroupRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string deviceId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_SIGNOUTGROUPREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/StartBack2BackCallRequest.h b/ccc/include/alibabacloud/ccc/model/StartBack2BackCallRequest.h index e3217580c..56fa5ad03 100644 --- a/ccc/include/alibabacloud/ccc/model/StartBack2BackCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/StartBack2BackCallRequest.h @@ -1,66 +1,60 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT StartBack2BackCallRequest : public RpcServiceRequest - { - - public: - StartBack2BackCallRequest(); - ~StartBack2BackCallRequest(); - - std::string getCallee()const; - void setCallee(const std::string& callee); - std::string getBroker()const; - void setBroker(const std::string& broker); - std::string getAdditionalBroker()const; - void setAdditionalBroker(const std::string& additionalBroker); - std::string getTags()const; - void setTags(const std::string& tags); - int getTimeoutSeconds()const; - void setTimeoutSeconds(int timeoutSeconds); - std::string getCaller()const; - void setCaller(const std::string& caller); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string callee_; - std::string broker_; - std::string additionalBroker_; - std::string tags_; - int timeoutSeconds_; - std::string caller_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT StartBack2BackCallRequest : public RpcServiceRequest { +public: + StartBack2BackCallRequest(); + ~StartBack2BackCallRequest(); + std::string getCallee() const; + void setCallee(const std::string &callee); + std::string getBroker() const; + void setBroker(const std::string &broker); + std::string getAdditionalBroker() const; + void setAdditionalBroker(const std::string &additionalBroker); + std::string getTags() const; + void setTags(const std::string &tags); + int getTimeoutSeconds() const; + void setTimeoutSeconds(int timeoutSeconds); + std::string getCaller() const; + void setCaller(const std::string &caller); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string callee_; + std::string broker_; + std::string additionalBroker_; + std::string tags_; + int timeoutSeconds_; + std::string caller_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_STARTBACK2BACKCALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/StartPredictiveCallRequest.h b/ccc/include/alibabacloud/ccc/model/StartPredictiveCallRequest.h index 738faa755..9e2012d08 100644 --- a/ccc/include/alibabacloud/ccc/model/StartPredictiveCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/StartPredictiveCallRequest.h @@ -1,72 +1,66 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT StartPredictiveCallRequest : public RpcServiceRequest - { - - public: - StartPredictiveCallRequest(); - ~StartPredictiveCallRequest(); - - std::string getContactFlowId()const; - void setContactFlowId(const std::string& contactFlowId); - std::string getCallee()const; - void setCallee(const std::string& callee); - std::string getMaskedCallee()const; - void setMaskedCallee(const std::string& maskedCallee); - std::string getContactFlowVariables()const; - void setContactFlowVariables(const std::string& contactFlowVariables); - std::string getTags()const; - void setTags(const std::string& tags); - int getTimeoutSeconds()const; - void setTimeoutSeconds(int timeoutSeconds); - std::string getCaller()const; - void setCaller(const std::string& caller); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getSkillGroupId()const; - void setSkillGroupId(const std::string& skillGroupId); - - private: - std::string contactFlowId_; - std::string callee_; - std::string maskedCallee_; - std::string contactFlowVariables_; - std::string tags_; - int timeoutSeconds_; - std::string caller_; - std::string instanceId_; - std::string skillGroupId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT StartPredictiveCallRequest : public RpcServiceRequest { +public: + StartPredictiveCallRequest(); + ~StartPredictiveCallRequest(); + std::string getContactFlowId() const; + void setContactFlowId(const std::string &contactFlowId); + std::string getCallee() const; + void setCallee(const std::string &callee); + std::string getMaskedCallee() const; + void setMaskedCallee(const std::string &maskedCallee); + std::string getContactFlowVariables() const; + void setContactFlowVariables(const std::string &contactFlowVariables); + std::string getTags() const; + void setTags(const std::string &tags); + int getTimeoutSeconds() const; + void setTimeoutSeconds(int timeoutSeconds); + std::string getCaller() const; + void setCaller(const std::string &caller); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getSkillGroupId() const; + void setSkillGroupId(const std::string &skillGroupId); + +private: + std::string contactFlowId_; + std::string callee_; + std::string maskedCallee_; + std::string contactFlowVariables_; + std::string tags_; + int timeoutSeconds_; + std::string caller_; + std::string instanceId_; + std::string skillGroupId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_STARTPREDICTIVECALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/SubmitCampaignRequest.h b/ccc/include/alibabacloud/ccc/model/SubmitCampaignRequest.h index 86148a1cd..e2984fa43 100644 --- a/ccc/include/alibabacloud/ccc/model/SubmitCampaignRequest.h +++ b/ccc/include/alibabacloud/ccc/model/SubmitCampaignRequest.h @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT SubmitCampaignRequest : public RpcServiceRequest - { - - public: - SubmitCampaignRequest(); - ~SubmitCampaignRequest(); - - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getCampaignId()const; - void setCampaignId(const std::string& campaignId); - - private: - std::string instanceId_; - std::string campaignId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT SubmitCampaignRequest : public RpcServiceRequest { +public: + SubmitCampaignRequest(); + ~SubmitCampaignRequest(); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getCampaignId() const; + void setCampaignId(const std::string &campaignId); + +private: + std::string instanceId_; + std::string campaignId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_SUBMITCAMPAIGNREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/TakeBreakRequest.h b/ccc/include/alibabacloud/ccc/model/TakeBreakRequest.h index c80f82a59..c4f88ac1b 100644 --- a/ccc/include/alibabacloud/ccc/model/TakeBreakRequest.h +++ b/ccc/include/alibabacloud/ccc/model/TakeBreakRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_TAKEBREAKREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_TAKEBREAKREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT TakeBreakRequest : public RpcServiceRequest - { - - public: - TakeBreakRequest(); - ~TakeBreakRequest(); - - std::string getCode()const; - void setCode(const std::string& code); - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - - private: - std::string code_; - std::string userId_; - std::string deviceId_; - std::string instanceId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_TAKEBREAKREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_TAKEBREAKREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_TAKEBREAKREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT TakeBreakRequest : public RpcServiceRequest { +public: + TakeBreakRequest(); + ~TakeBreakRequest(); + std::string getCode() const; + void setCode(const std::string &code); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string code_; + std::string userId_; + std::string deviceId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_TAKEBREAKREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/UnmuteCallRequest.h b/ccc/include/alibabacloud/ccc/model/UnmuteCallRequest.h index 12a5e6b81..98c0764c1 100644 --- a/ccc/include/alibabacloud/ccc/model/UnmuteCallRequest.h +++ b/ccc/include/alibabacloud/ccc/model/UnmuteCallRequest.h @@ -1,60 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_UNMUTECALLREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_UNMUTECALLREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT UnmuteCallRequest : public RpcServiceRequest - { - - public: - UnmuteCallRequest(); - ~UnmuteCallRequest(); - - std::string getUserId()const; - void setUserId(const std::string& userId); - std::string getDeviceId()const; - void setDeviceId(const std::string& deviceId); - std::string getJobId()const; - void setJobId(const std::string& jobId); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getChannelId()const; - void setChannelId(const std::string& channelId); - - private: - std::string userId_; - std::string deviceId_; - std::string jobId_; - std::string instanceId_; - std::string channelId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_UNMUTECALLREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_UNMUTECALLREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_UNMUTECALLREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT UnmuteCallRequest : public RpcServiceRequest { +public: + UnmuteCallRequest(); + ~UnmuteCallRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getDeviceId() const; + void setDeviceId(const std::string &deviceId); + std::string getJobId() const; + void setJobId(const std::string &jobId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getChannelId() const; + void setChannelId(const std::string &channelId); + +private: + std::string userId_; + std::string deviceId_; + std::string jobId_; + std::string instanceId_; + std::string channelId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_UNMUTECALLREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/UnregisterDeviceRequest.h b/ccc/include/alibabacloud/ccc/model/UnregisterDeviceRequest.h new file mode 100644 index 000000000..9b2db633f --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/UnregisterDeviceRequest.h @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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_UNREGISTERDEVICEREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_UNREGISTERDEVICEREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT UnregisterDeviceRequest : public RpcServiceRequest { +public: + UnregisterDeviceRequest(); + ~UnregisterDeviceRequest(); + std::string getUserId() const; + void setUserId(const std::string &userId); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + +private: + std::string userId_; + std::string instanceId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_UNREGISTERDEVICEREQUEST_H_ diff --git a/ccc/include/alibabacloud/ccc/model/UnregisterDeviceResult.h b/ccc/include/alibabacloud/ccc/model/UnregisterDeviceResult.h new file mode 100644 index 000000000..3999a8751 --- /dev/null +++ b/ccc/include/alibabacloud/ccc/model/UnregisterDeviceResult.h @@ -0,0 +1,55 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_UNREGISTERDEVICERESULT_H_ +#define ALIBABACLOUD_CCC_MODEL_UNREGISTERDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace CCC + { + namespace Model + { + class ALIBABACLOUD_CCC_EXPORT UnregisterDeviceResult : public ServiceResult + { + public: + + + UnregisterDeviceResult(); + explicit UnregisterDeviceResult(const std::string &payload); + ~UnregisterDeviceResult(); + std::string getMessage()const; + int getHttpStatusCode()const; + std::string getCode()const; + + protected: + void parse(const std::string &payload); + private: + std::string message_; + int httpStatusCode_; + std::string code_; + + }; + } + } +} +#endif // !ALIBABACLOUD_CCC_MODEL_UNREGISTERDEVICERESULT_H_ \ No newline at end of file diff --git a/ccc/include/alibabacloud/ccc/model/UpdateConfigItemsRequest.h b/ccc/include/alibabacloud/ccc/model/UpdateConfigItemsRequest.h index 0c592efb3..033114712 100644 --- a/ccc/include/alibabacloud/ccc/model/UpdateConfigItemsRequest.h +++ b/ccc/include/alibabacloud/ccc/model/UpdateConfigItemsRequest.h @@ -1,57 +1,51 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#ifndef ALIBABACLOUD_CCC_MODEL_UPDATECONFIGITEMSREQUEST_H_ -#define ALIBABACLOUD_CCC_MODEL_UPDATECONFIGITEMSREQUEST_H_ - -#include -#include -#include -#include - -namespace AlibabaCloud -{ - namespace CCC - { - namespace Model - { - class ALIBABACLOUD_CCC_EXPORT UpdateConfigItemsRequest : public RpcServiceRequest - { - - public: - UpdateConfigItemsRequest(); - ~UpdateConfigItemsRequest(); - - std::string getConfigItems()const; - void setConfigItems(const std::string& configItems); - std::string getInstanceId()const; - void setInstanceId(const std::string& instanceId); - std::string getObjectType()const; - void setObjectType(const std::string& objectType); - std::string getObjectId()const; - void setObjectId(const std::string& objectId); - - private: - std::string configItems_; - std::string instanceId_; - std::string objectType_; - std::string objectId_; - - }; - } - } -} -#endif // !ALIBABACLOUD_CCC_MODEL_UPDATECONFIGITEMSREQUEST_H_ \ No newline at end of file + */ + +#ifndef ALIBABACLOUD_CCC_MODEL_UPDATECONFIGITEMSREQUEST_H_ +#define ALIBABACLOUD_CCC_MODEL_UPDATECONFIGITEMSREQUEST_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud { +namespace CCC { +namespace Model { +class ALIBABACLOUD_CCC_EXPORT UpdateConfigItemsRequest : public RpcServiceRequest { +public: + UpdateConfigItemsRequest(); + ~UpdateConfigItemsRequest(); + std::string getConfigItems() const; + void setConfigItems(const std::string &configItems); + std::string getInstanceId() const; + void setInstanceId(const std::string &instanceId); + std::string getObjectType() const; + void setObjectType(const std::string &objectType); + std::string getObjectId() const; + void setObjectId(const std::string &objectId); + +private: + std::string configItems_; + std::string instanceId_; + std::string objectType_; + std::string objectId_; +}; +} // namespace Model +} // namespace CCC +} // namespace AlibabaCloud +#endif // !ALIBABACLOUD_CCC_MODEL_UPDATECONFIGITEMSREQUEST_H_ diff --git a/ccc/src/CCCClient.cc b/ccc/src/CCCClient.cc index f6af307a0..805d72b03 100644 --- a/ccc/src/CCCClient.cc +++ b/ccc/src/CCCClient.cc @@ -591,6 +591,42 @@ CCCClient::CompleteAttendedTransferOutcomeCallable CCCClient::completeAttendedTr return task->get_future(); } +CCCClient::CreateCallTagsOutcome CCCClient::createCallTags(const CreateCallTagsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCallTagsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCallTagsOutcome(CreateCallTagsResult(outcome.result())); + else + return CreateCallTagsOutcome(outcome.error()); +} + +void CCCClient::createCallTagsAsync(const CreateCallTagsRequest& request, const CreateCallTagsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCallTags(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::CreateCallTagsOutcomeCallable CCCClient::createCallTagsCallable(const CreateCallTagsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCallTags(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::CreateCampaignOutcome CCCClient::createCampaign(const CreateCampaignRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -627,6 +663,42 @@ CCCClient::CreateCampaignOutcomeCallable CCCClient::createCampaignCallable(const return task->get_future(); } +CCCClient::CreateCustomCallTaggingOutcome CCCClient::createCustomCallTagging(const CreateCustomCallTaggingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateCustomCallTaggingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateCustomCallTaggingOutcome(CreateCustomCallTaggingResult(outcome.result())); + else + return CreateCustomCallTaggingOutcome(outcome.error()); +} + +void CCCClient::createCustomCallTaggingAsync(const CreateCustomCallTaggingRequest& request, const CreateCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createCustomCallTagging(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::CreateCustomCallTaggingOutcomeCallable CCCClient::createCustomCallTaggingCallable(const CreateCustomCallTaggingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createCustomCallTagging(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::CreateInstanceOutcome CCCClient::createInstance(const CreateInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -735,6 +807,78 @@ CCCClient::CreateUserOutcomeCallable CCCClient::createUserCallable(const CreateU return task->get_future(); } +CCCClient::DeleteCallTagOutcome CCCClient::deleteCallTag(const DeleteCallTagRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCallTagOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCallTagOutcome(DeleteCallTagResult(outcome.result())); + else + return DeleteCallTagOutcome(outcome.error()); +} + +void CCCClient::deleteCallTagAsync(const DeleteCallTagRequest& request, const DeleteCallTagAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCallTag(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::DeleteCallTagOutcomeCallable CCCClient::deleteCallTagCallable(const DeleteCallTagRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCallTag(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CCCClient::DeleteCustomCallTaggingOutcome CCCClient::deleteCustomCallTagging(const DeleteCustomCallTaggingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteCustomCallTaggingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteCustomCallTaggingOutcome(DeleteCustomCallTaggingResult(outcome.result())); + else + return DeleteCustomCallTaggingOutcome(outcome.error()); +} + +void CCCClient::deleteCustomCallTaggingAsync(const DeleteCustomCallTaggingRequest& request, const DeleteCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteCustomCallTagging(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::DeleteCustomCallTaggingOutcomeCallable CCCClient::deleteCustomCallTaggingCallable(const DeleteCustomCallTaggingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteCustomCallTagging(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::DeleteSkillGroupOutcome CCCClient::deleteSkillGroup(const DeleteSkillGroupRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -771,6 +915,78 @@ CCCClient::DeleteSkillGroupOutcomeCallable CCCClient::deleteSkillGroupCallable(c return task->get_future(); } +CCCClient::ExportCustomCallTaggingOutcome CCCClient::exportCustomCallTagging(const ExportCustomCallTaggingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportCustomCallTaggingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportCustomCallTaggingOutcome(ExportCustomCallTaggingResult(outcome.result())); + else + return ExportCustomCallTaggingOutcome(outcome.error()); +} + +void CCCClient::exportCustomCallTaggingAsync(const ExportCustomCallTaggingRequest& request, const ExportCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportCustomCallTagging(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ExportCustomCallTaggingOutcomeCallable CCCClient::exportCustomCallTaggingCallable(const ExportCustomCallTaggingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportCustomCallTagging(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CCCClient::ExportDoNotCallNumbersOutcome CCCClient::exportDoNotCallNumbers(const ExportDoNotCallNumbersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ExportDoNotCallNumbersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ExportDoNotCallNumbersOutcome(ExportDoNotCallNumbersResult(outcome.result())); + else + return ExportDoNotCallNumbersOutcome(outcome.error()); +} + +void CCCClient::exportDoNotCallNumbersAsync(const ExportDoNotCallNumbersRequest& request, const ExportDoNotCallNumbersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, exportDoNotCallNumbers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ExportDoNotCallNumbersOutcomeCallable CCCClient::exportDoNotCallNumbersCallable(const ExportDoNotCallNumbersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->exportDoNotCallNumbers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::GetCallDetailRecordOutcome CCCClient::getCallDetailRecord(const GetCallDetailRecordRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -879,6 +1095,42 @@ CCCClient::GetCaseFileUploadUrlOutcomeCallable CCCClient::getCaseFileUploadUrlCa return task->get_future(); } +CCCClient::GetDoNotCallFileUploadParametersOutcome CCCClient::getDoNotCallFileUploadParameters(const GetDoNotCallFileUploadParametersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetDoNotCallFileUploadParametersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetDoNotCallFileUploadParametersOutcome(GetDoNotCallFileUploadParametersResult(outcome.result())); + else + return GetDoNotCallFileUploadParametersOutcome(outcome.error()); +} + +void CCCClient::getDoNotCallFileUploadParametersAsync(const GetDoNotCallFileUploadParametersRequest& request, const GetDoNotCallFileUploadParametersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getDoNotCallFileUploadParameters(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::GetDoNotCallFileUploadParametersOutcomeCallable CCCClient::getDoNotCallFileUploadParametersCallable(const GetDoNotCallFileUploadParametersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getDoNotCallFileUploadParameters(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::GetHistoricalCallerReportOutcome CCCClient::getHistoricalCallerReport(const GetHistoricalCallerReportRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -915,6 +1167,42 @@ CCCClient::GetHistoricalCallerReportOutcomeCallable CCCClient::getHistoricalCall return task->get_future(); } +CCCClient::GetHistoricalCampaignReportOutcome CCCClient::getHistoricalCampaignReport(const GetHistoricalCampaignReportRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetHistoricalCampaignReportOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetHistoricalCampaignReportOutcome(GetHistoricalCampaignReportResult(outcome.result())); + else + return GetHistoricalCampaignReportOutcome(outcome.error()); +} + +void CCCClient::getHistoricalCampaignReportAsync(const GetHistoricalCampaignReportRequest& request, const GetHistoricalCampaignReportAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getHistoricalCampaignReport(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::GetHistoricalCampaignReportOutcomeCallable CCCClient::getHistoricalCampaignReportCallable(const GetHistoricalCampaignReportRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getHistoricalCampaignReport(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::GetHistoricalInstanceReportOutcome CCCClient::getHistoricalInstanceReport(const GetHistoricalInstanceReportRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1167,6 +1455,42 @@ CCCClient::GetNumberLocationOutcomeCallable CCCClient::getNumberLocationCallable return task->get_future(); } +CCCClient::GetRealtimeCampaignStatsOutcome CCCClient::getRealtimeCampaignStats(const GetRealtimeCampaignStatsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetRealtimeCampaignStatsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetRealtimeCampaignStatsOutcome(GetRealtimeCampaignStatsResult(outcome.result())); + else + return GetRealtimeCampaignStatsOutcome(outcome.error()); +} + +void CCCClient::getRealtimeCampaignStatsAsync(const GetRealtimeCampaignStatsRequest& request, const GetRealtimeCampaignStatsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getRealtimeCampaignStats(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::GetRealtimeCampaignStatsOutcomeCallable CCCClient::getRealtimeCampaignStatsCallable(const GetRealtimeCampaignStatsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getRealtimeCampaignStats(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::GetRealtimeInstanceStatesOutcome CCCClient::getRealtimeInstanceStates(const GetRealtimeInstanceStatesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1203,6 +1527,42 @@ CCCClient::GetRealtimeInstanceStatesOutcomeCallable CCCClient::getRealtimeInstan return task->get_future(); } +CCCClient::GetSkillGroupOutcome CCCClient::getSkillGroup(const GetSkillGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GetSkillGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GetSkillGroupOutcome(GetSkillGroupResult(outcome.result())); + else + return GetSkillGroupOutcome(outcome.error()); +} + +void CCCClient::getSkillGroupAsync(const GetSkillGroupRequest& request, const GetSkillGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, getSkillGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::GetSkillGroupOutcomeCallable CCCClient::getSkillGroupCallable(const GetSkillGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->getSkillGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::GetTurnCredentialsOutcome CCCClient::getTurnCredentials(const GetTurnCredentialsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1347,6 +1707,114 @@ CCCClient::HoldCallOutcomeCallable CCCClient::holdCallCallable(const HoldCallReq return task->get_future(); } +CCCClient::ImportAdminsOutcome CCCClient::importAdmins(const ImportAdminsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImportAdminsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImportAdminsOutcome(ImportAdminsResult(outcome.result())); + else + return ImportAdminsOutcome(outcome.error()); +} + +void CCCClient::importAdminsAsync(const ImportAdminsRequest& request, const ImportAdminsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, importAdmins(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ImportAdminsOutcomeCallable CCCClient::importAdminsCallable(const ImportAdminsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->importAdmins(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CCCClient::ImportCustomCallTaggingOutcome CCCClient::importCustomCallTagging(const ImportCustomCallTaggingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImportCustomCallTaggingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImportCustomCallTaggingOutcome(ImportCustomCallTaggingResult(outcome.result())); + else + return ImportCustomCallTaggingOutcome(outcome.error()); +} + +void CCCClient::importCustomCallTaggingAsync(const ImportCustomCallTaggingRequest& request, const ImportCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, importCustomCallTagging(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ImportCustomCallTaggingOutcomeCallable CCCClient::importCustomCallTaggingCallable(const ImportCustomCallTaggingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->importCustomCallTagging(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CCCClient::ImportDoNotCallNumbersOutcome CCCClient::importDoNotCallNumbers(const ImportDoNotCallNumbersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ImportDoNotCallNumbersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ImportDoNotCallNumbersOutcome(ImportDoNotCallNumbersResult(outcome.result())); + else + return ImportDoNotCallNumbersOutcome(outcome.error()); +} + +void CCCClient::importDoNotCallNumbersAsync(const ImportDoNotCallNumbersRequest& request, const ImportDoNotCallNumbersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, importDoNotCallNumbers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ImportDoNotCallNumbersOutcomeCallable CCCClient::importDoNotCallNumbersCallable(const ImportDoNotCallNumbersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->importDoNotCallNumbers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::InitiateAttendedTransferOutcome CCCClient::initiateAttendedTransfer(const InitiateAttendedTransferRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1527,6 +1995,78 @@ CCCClient::ListAgentStateLogsOutcomeCallable CCCClient::listAgentStateLogsCallab return task->get_future(); } +CCCClient::ListAgentStatesOutcome CCCClient::listAgentStates(const ListAgentStatesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAgentStatesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAgentStatesOutcome(ListAgentStatesResult(outcome.result())); + else + return ListAgentStatesOutcome(outcome.error()); +} + +void CCCClient::listAgentStatesAsync(const ListAgentStatesRequest& request, const ListAgentStatesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAgentStates(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ListAgentStatesOutcomeCallable CCCClient::listAgentStatesCallable(const ListAgentStatesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAgentStates(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CCCClient::ListAgentSummaryReportsSinceMidnightOutcome CCCClient::listAgentSummaryReportsSinceMidnight(const ListAgentSummaryReportsSinceMidnightRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListAgentSummaryReportsSinceMidnightOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListAgentSummaryReportsSinceMidnightOutcome(ListAgentSummaryReportsSinceMidnightResult(outcome.result())); + else + return ListAgentSummaryReportsSinceMidnightOutcome(outcome.error()); +} + +void CCCClient::listAgentSummaryReportsSinceMidnightAsync(const ListAgentSummaryReportsSinceMidnightRequest& request, const ListAgentSummaryReportsSinceMidnightAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listAgentSummaryReportsSinceMidnight(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ListAgentSummaryReportsSinceMidnightOutcomeCallable CCCClient::listAgentSummaryReportsSinceMidnightCallable(const ListAgentSummaryReportsSinceMidnightRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listAgentSummaryReportsSinceMidnight(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::ListAttemptsOutcome CCCClient::listAttempts(const ListAttemptsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1635,6 +2175,42 @@ CCCClient::ListCallDetailRecordsOutcomeCallable CCCClient::listCallDetailRecords return task->get_future(); } +CCCClient::ListCallTagsOutcome CCCClient::listCallTags(const ListCallTagsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCallTagsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCallTagsOutcome(ListCallTagsResult(outcome.result())); + else + return ListCallTagsOutcome(outcome.error()); +} + +void CCCClient::listCallTagsAsync(const ListCallTagsRequest& request, const ListCallTagsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCallTags(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ListCallTagsOutcomeCallable CCCClient::listCallTagsCallable(const ListCallTagsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCallTags(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::ListCampaignTrendingReportOutcome CCCClient::listCampaignTrendingReport(const ListCampaignTrendingReportRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1815,6 +2391,42 @@ CCCClient::ListContactFlowsOutcomeCallable CCCClient::listContactFlowsCallable(c return task->get_future(); } +CCCClient::ListCustomCallTaggingOutcome CCCClient::listCustomCallTagging(const ListCustomCallTaggingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListCustomCallTaggingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListCustomCallTaggingOutcome(ListCustomCallTaggingResult(outcome.result())); + else + return ListCustomCallTaggingOutcome(outcome.error()); +} + +void CCCClient::listCustomCallTaggingAsync(const ListCustomCallTaggingRequest& request, const ListCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listCustomCallTagging(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ListCustomCallTaggingOutcomeCallable CCCClient::listCustomCallTaggingCallable(const ListCustomCallTaggingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listCustomCallTagging(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::ListDevicesOutcome CCCClient::listDevices(const ListDevicesRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -1851,6 +2463,42 @@ CCCClient::ListDevicesOutcomeCallable CCCClient::listDevicesCallable(const ListD return task->get_future(); } +CCCClient::ListDoNotCallNumbersOutcome CCCClient::listDoNotCallNumbers(const ListDoNotCallNumbersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListDoNotCallNumbersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListDoNotCallNumbersOutcome(ListDoNotCallNumbersResult(outcome.result())); + else + return ListDoNotCallNumbersOutcome(outcome.error()); +} + +void CCCClient::listDoNotCallNumbersAsync(const ListDoNotCallNumbersRequest& request, const ListDoNotCallNumbersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listDoNotCallNumbers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ListDoNotCallNumbersOutcomeCallable CCCClient::listDoNotCallNumbersCallable(const ListDoNotCallNumbersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listDoNotCallNumbers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::ListHistoricalAgentReportOutcome CCCClient::listHistoricalAgentReport(const ListHistoricalAgentReportRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2139,6 +2787,78 @@ CCCClient::ListIvrTrackingDetailsOutcomeCallable CCCClient::listIvrTrackingDetai return task->get_future(); } +CCCClient::ListMonoRecordingsOutcome CCCClient::listMonoRecordings(const ListMonoRecordingsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMonoRecordingsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMonoRecordingsOutcome(ListMonoRecordingsResult(outcome.result())); + else + return ListMonoRecordingsOutcome(outcome.error()); +} + +void CCCClient::listMonoRecordingsAsync(const ListMonoRecordingsRequest& request, const ListMonoRecordingsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMonoRecordings(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ListMonoRecordingsOutcomeCallable CCCClient::listMonoRecordingsCallable(const ListMonoRecordingsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMonoRecordings(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CCCClient::ListMultiChannelRecordingsOutcome CCCClient::listMultiChannelRecordings(const ListMultiChannelRecordingsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListMultiChannelRecordingsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListMultiChannelRecordingsOutcome(ListMultiChannelRecordingsResult(outcome.result())); + else + return ListMultiChannelRecordingsOutcome(outcome.error()); +} + +void CCCClient::listMultiChannelRecordingsAsync(const ListMultiChannelRecordingsRequest& request, const ListMultiChannelRecordingsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listMultiChannelRecordings(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ListMultiChannelRecordingsOutcomeCallable CCCClient::listMultiChannelRecordingsCallable(const ListMultiChannelRecordingsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listMultiChannelRecordings(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::ListOutboundNumbersOfUserOutcome CCCClient::listOutboundNumbersOfUser(const ListOutboundNumbersOfUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2571,6 +3291,78 @@ CCCClient::ListSipTracesOutcomeCallable CCCClient::listSipTracesCallable(const L return task->get_future(); } +CCCClient::ListSkillGroupStatesOutcome CCCClient::listSkillGroupStates(const ListSkillGroupStatesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSkillGroupStatesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSkillGroupStatesOutcome(ListSkillGroupStatesResult(outcome.result())); + else + return ListSkillGroupStatesOutcome(outcome.error()); +} + +void CCCClient::listSkillGroupStatesAsync(const ListSkillGroupStatesRequest& request, const ListSkillGroupStatesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSkillGroupStates(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ListSkillGroupStatesOutcomeCallable CCCClient::listSkillGroupStatesCallable(const ListSkillGroupStatesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSkillGroupStates(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +CCCClient::ListSkillGroupSummaryReportsSinceMidnightOutcome CCCClient::listSkillGroupSummaryReportsSinceMidnight(const ListSkillGroupSummaryReportsSinceMidnightRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ListSkillGroupSummaryReportsSinceMidnightOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ListSkillGroupSummaryReportsSinceMidnightOutcome(ListSkillGroupSummaryReportsSinceMidnightResult(outcome.result())); + else + return ListSkillGroupSummaryReportsSinceMidnightOutcome(outcome.error()); +} + +void CCCClient::listSkillGroupSummaryReportsSinceMidnightAsync(const ListSkillGroupSummaryReportsSinceMidnightRequest& request, const ListSkillGroupSummaryReportsSinceMidnightAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, listSkillGroupSummaryReportsSinceMidnight(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ListSkillGroupSummaryReportsSinceMidnightOutcomeCallable CCCClient::listSkillGroupSummaryReportsSinceMidnightCallable(const ListSkillGroupSummaryReportsSinceMidnightRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->listSkillGroupSummaryReportsSinceMidnight(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::ListSkillGroupsOutcome CCCClient::listSkillGroups(const ListSkillGroupsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -2787,6 +3579,42 @@ CCCClient::MakeCallOutcomeCallable CCCClient::makeCallCallable(const MakeCallReq return task->get_future(); } +CCCClient::ModifyCustomCallTaggingOutcome CCCClient::modifyCustomCallTagging(const ModifyCustomCallTaggingRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyCustomCallTaggingOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyCustomCallTaggingOutcome(ModifyCustomCallTaggingResult(outcome.result())); + else + return ModifyCustomCallTaggingOutcome(outcome.error()); +} + +void CCCClient::modifyCustomCallTaggingAsync(const ModifyCustomCallTaggingRequest& request, const ModifyCustomCallTaggingAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyCustomCallTagging(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::ModifyCustomCallTaggingOutcomeCallable CCCClient::modifyCustomCallTaggingCallable(const ModifyCustomCallTaggingRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyCustomCallTagging(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::ModifyInstanceOutcome CCCClient::modifyInstance(const ModifyInstanceRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -3327,6 +4155,42 @@ CCCClient::ReleaseCallOutcomeCallable CCCClient::releaseCallCallable(const Relea return task->get_future(); } +CCCClient::RemoveDoNotCallNumbersOutcome CCCClient::removeDoNotCallNumbers(const RemoveDoNotCallNumbersRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return RemoveDoNotCallNumbersOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return RemoveDoNotCallNumbersOutcome(RemoveDoNotCallNumbersResult(outcome.result())); + else + return RemoveDoNotCallNumbersOutcome(outcome.error()); +} + +void CCCClient::removeDoNotCallNumbersAsync(const RemoveDoNotCallNumbersRequest& request, const RemoveDoNotCallNumbersAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, removeDoNotCallNumbers(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::RemoveDoNotCallNumbersOutcomeCallable CCCClient::removeDoNotCallNumbersCallable(const RemoveDoNotCallNumbersRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->removeDoNotCallNumbers(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::RemovePersonalNumbersFromUserOutcome CCCClient::removePersonalNumbersFromUser(const RemovePersonalNumbersFromUserRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); @@ -4155,6 +5019,42 @@ CCCClient::UnmuteCallOutcomeCallable CCCClient::unmuteCallCallable(const UnmuteC return task->get_future(); } +CCCClient::UnregisterDeviceOutcome CCCClient::unregisterDevice(const UnregisterDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnregisterDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnregisterDeviceOutcome(UnregisterDeviceResult(outcome.result())); + else + return UnregisterDeviceOutcome(outcome.error()); +} + +void CCCClient::unregisterDeviceAsync(const UnregisterDeviceRequest& request, const UnregisterDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unregisterDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +CCCClient::UnregisterDeviceOutcomeCallable CCCClient::unregisterDeviceCallable(const UnregisterDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unregisterDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + CCCClient::UpdateConfigItemsOutcome CCCClient::updateConfigItems(const UpdateConfigItemsRequest &request) const { auto endpointOutcome = endpointProvider_->getEndpoint(); diff --git a/ccc/src/model/AbortCampaignRequest.cc b/ccc/src/model/AbortCampaignRequest.cc index cd66d1f13..4ce239724 100644 --- a/ccc/src/model/AbortCampaignRequest.cc +++ b/ccc/src/model/AbortCampaignRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::AbortCampaignRequest; - -AbortCampaignRequest::AbortCampaignRequest() : - RpcServiceRequest("ccc", "2020-07-01", "AbortCampaign") -{ - setMethod(HttpRequest::Method::Post); -} - -AbortCampaignRequest::~AbortCampaignRequest() -{} - -std::string AbortCampaignRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::AbortCampaignRequest; + +AbortCampaignRequest::AbortCampaignRequest() + : RpcServiceRequest("ccc", "2020-07-01", "AbortCampaign") { + setMethod(HttpRequest::Method::Post); } -void AbortCampaignRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +AbortCampaignRequest::~AbortCampaignRequest() {} + +std::string AbortCampaignRequest::getInstanceId() const { + return instanceId_; } -std::string AbortCampaignRequest::getCampaignId()const -{ - return campaignId_; +void AbortCampaignRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void AbortCampaignRequest::setCampaignId(const std::string& campaignId) -{ - campaignId_ = campaignId; - setParameter("CampaignId", campaignId); +std::string AbortCampaignRequest::getCampaignId() const { + return campaignId_; +} + +void AbortCampaignRequest::setCampaignId(const std::string &campaignId) { + campaignId_ = campaignId; + setParameter(std::string("CampaignId"), campaignId); } diff --git a/ccc/src/model/AddNumbersToSkillGroupRequest.cc b/ccc/src/model/AddNumbersToSkillGroupRequest.cc index 590e2d772..bef3060f2 100644 --- a/ccc/src/model/AddNumbersToSkillGroupRequest.cc +++ b/ccc/src/model/AddNumbersToSkillGroupRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::AddNumbersToSkillGroupRequest; - -AddNumbersToSkillGroupRequest::AddNumbersToSkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "AddNumbersToSkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -AddNumbersToSkillGroupRequest::~AddNumbersToSkillGroupRequest() -{} - -std::string AddNumbersToSkillGroupRequest::getNumberList()const -{ - return numberList_; + */ + +#include + +using AlibabaCloud::CCC::Model::AddNumbersToSkillGroupRequest; + +AddNumbersToSkillGroupRequest::AddNumbersToSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "AddNumbersToSkillGroup") { + setMethod(HttpRequest::Method::Post); } -void AddNumbersToSkillGroupRequest::setNumberList(const std::string& numberList) -{ - numberList_ = numberList; - setParameter("NumberList", numberList); +AddNumbersToSkillGroupRequest::~AddNumbersToSkillGroupRequest() {} + +std::string AddNumbersToSkillGroupRequest::getNumberList() const { + return numberList_; } -std::string AddNumbersToSkillGroupRequest::getInstanceId()const -{ - return instanceId_; +void AddNumbersToSkillGroupRequest::setNumberList(const std::string &numberList) { + numberList_ = numberList; + setParameter(std::string("NumberList"), numberList); } -void AddNumbersToSkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string AddNumbersToSkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string AddNumbersToSkillGroupRequest::getSkillGroupId()const -{ - return skillGroupId_; +void AddNumbersToSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void AddNumbersToSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string AddNumbersToSkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void AddNumbersToSkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } diff --git a/ccc/src/model/AddPersonalNumbersToUserRequest.cc b/ccc/src/model/AddPersonalNumbersToUserRequest.cc index 7e45b937e..33a467f58 100644 --- a/ccc/src/model/AddPersonalNumbersToUserRequest.cc +++ b/ccc/src/model/AddPersonalNumbersToUserRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::AddPersonalNumbersToUserRequest; - -AddPersonalNumbersToUserRequest::AddPersonalNumbersToUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "AddPersonalNumbersToUser") -{ - setMethod(HttpRequest::Method::Post); -} - -AddPersonalNumbersToUserRequest::~AddPersonalNumbersToUserRequest() -{} - -std::string AddPersonalNumbersToUserRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::AddPersonalNumbersToUserRequest; + +AddPersonalNumbersToUserRequest::AddPersonalNumbersToUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "AddPersonalNumbersToUser") { + setMethod(HttpRequest::Method::Post); } -void AddPersonalNumbersToUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +AddPersonalNumbersToUserRequest::~AddPersonalNumbersToUserRequest() {} + +std::string AddPersonalNumbersToUserRequest::getUserId() const { + return userId_; } -std::string AddPersonalNumbersToUserRequest::getNumberList()const -{ - return numberList_; +void AddPersonalNumbersToUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void AddPersonalNumbersToUserRequest::setNumberList(const std::string& numberList) -{ - numberList_ = numberList; - setParameter("NumberList", numberList); +std::string AddPersonalNumbersToUserRequest::getNumberList() const { + return numberList_; } -std::string AddPersonalNumbersToUserRequest::getInstanceId()const -{ - return instanceId_; +void AddPersonalNumbersToUserRequest::setNumberList(const std::string &numberList) { + numberList_ = numberList; + setParameter(std::string("NumberList"), numberList); } -void AddPersonalNumbersToUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string AddPersonalNumbersToUserRequest::getInstanceId() const { + return instanceId_; +} + +void AddPersonalNumbersToUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/AddPhoneNumberToSkillGroupsRequest.cc b/ccc/src/model/AddPhoneNumberToSkillGroupsRequest.cc index 7b8f4fe58..1edaf34b0 100644 --- a/ccc/src/model/AddPhoneNumberToSkillGroupsRequest.cc +++ b/ccc/src/model/AddPhoneNumberToSkillGroupsRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::AddPhoneNumberToSkillGroupsRequest; - -AddPhoneNumberToSkillGroupsRequest::AddPhoneNumberToSkillGroupsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "AddPhoneNumberToSkillGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -AddPhoneNumberToSkillGroupsRequest::~AddPhoneNumberToSkillGroupsRequest() -{} - -std::string AddPhoneNumberToSkillGroupsRequest::getNumber()const -{ - return number_; + */ + +#include + +using AlibabaCloud::CCC::Model::AddPhoneNumberToSkillGroupsRequest; + +AddPhoneNumberToSkillGroupsRequest::AddPhoneNumberToSkillGroupsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "AddPhoneNumberToSkillGroups") { + setMethod(HttpRequest::Method::Post); } -void AddPhoneNumberToSkillGroupsRequest::setNumber(const std::string& number) -{ - number_ = number; - setParameter("Number", number); +AddPhoneNumberToSkillGroupsRequest::~AddPhoneNumberToSkillGroupsRequest() {} + +std::string AddPhoneNumberToSkillGroupsRequest::getNumber() const { + return number_; } -std::string AddPhoneNumberToSkillGroupsRequest::getInstanceId()const -{ - return instanceId_; +void AddPhoneNumberToSkillGroupsRequest::setNumber(const std::string &number) { + number_ = number; + setParameter(std::string("Number"), number); } -void AddPhoneNumberToSkillGroupsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string AddPhoneNumberToSkillGroupsRequest::getInstanceId() const { + return instanceId_; } -std::string AddPhoneNumberToSkillGroupsRequest::getSkillGroupIdList()const -{ - return skillGroupIdList_; +void AddPhoneNumberToSkillGroupsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void AddPhoneNumberToSkillGroupsRequest::setSkillGroupIdList(const std::string& skillGroupIdList) -{ - skillGroupIdList_ = skillGroupIdList; - setParameter("SkillGroupIdList", skillGroupIdList); +std::string AddPhoneNumberToSkillGroupsRequest::getSkillGroupIdList() const { + return skillGroupIdList_; +} + +void AddPhoneNumberToSkillGroupsRequest::setSkillGroupIdList(const std::string &skillGroupIdList) { + skillGroupIdList_ = skillGroupIdList; + setParameter(std::string("SkillGroupIdList"), skillGroupIdList); } diff --git a/ccc/src/model/AddPhoneNumbersRequest.cc b/ccc/src/model/AddPhoneNumbersRequest.cc index 998db81a6..899e8fe51 100644 --- a/ccc/src/model/AddPhoneNumbersRequest.cc +++ b/ccc/src/model/AddPhoneNumbersRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::AddPhoneNumbersRequest; - -AddPhoneNumbersRequest::AddPhoneNumbersRequest() : - RpcServiceRequest("ccc", "2020-07-01", "AddPhoneNumbers") -{ - setMethod(HttpRequest::Method::Post); -} - -AddPhoneNumbersRequest::~AddPhoneNumbersRequest() -{} - -std::string AddPhoneNumbersRequest::getContactFlowId()const -{ - return contactFlowId_; + */ + +#include + +using AlibabaCloud::CCC::Model::AddPhoneNumbersRequest; + +AddPhoneNumbersRequest::AddPhoneNumbersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "AddPhoneNumbers") { + setMethod(HttpRequest::Method::Post); } -void AddPhoneNumbersRequest::setContactFlowId(const std::string& contactFlowId) -{ - contactFlowId_ = contactFlowId; - setParameter("ContactFlowId", contactFlowId); +AddPhoneNumbersRequest::~AddPhoneNumbersRequest() {} + +std::string AddPhoneNumbersRequest::getContactFlowId() const { + return contactFlowId_; } -std::string AddPhoneNumbersRequest::getUsage()const -{ - return usage_; +void AddPhoneNumbersRequest::setContactFlowId(const std::string &contactFlowId) { + contactFlowId_ = contactFlowId; + setParameter(std::string("ContactFlowId"), contactFlowId); } -void AddPhoneNumbersRequest::setUsage(const std::string& usage) -{ - usage_ = usage; - setParameter("Usage", usage); +std::string AddPhoneNumbersRequest::getUsage() const { + return usage_; } -std::string AddPhoneNumbersRequest::getNumberGroupId()const -{ - return numberGroupId_; +void AddPhoneNumbersRequest::setUsage(const std::string &usage) { + usage_ = usage; + setParameter(std::string("Usage"), usage); } -void AddPhoneNumbersRequest::setNumberGroupId(const std::string& numberGroupId) -{ - numberGroupId_ = numberGroupId; - setParameter("NumberGroupId", numberGroupId); +std::string AddPhoneNumbersRequest::getNumberGroupId() const { + return numberGroupId_; } -std::string AddPhoneNumbersRequest::getNumberList()const -{ - return numberList_; +void AddPhoneNumbersRequest::setNumberGroupId(const std::string &numberGroupId) { + numberGroupId_ = numberGroupId; + setParameter(std::string("NumberGroupId"), numberGroupId); } -void AddPhoneNumbersRequest::setNumberList(const std::string& numberList) -{ - numberList_ = numberList; - setParameter("NumberList", numberList); +std::string AddPhoneNumbersRequest::getNumberList() const { + return numberList_; } -std::string AddPhoneNumbersRequest::getInstanceId()const -{ - return instanceId_; +void AddPhoneNumbersRequest::setNumberList(const std::string &numberList) { + numberList_ = numberList; + setParameter(std::string("NumberList"), numberList); } -void AddPhoneNumbersRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string AddPhoneNumbersRequest::getInstanceId() const { + return instanceId_; +} + +void AddPhoneNumbersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/AddSkillGroupsToUserRequest.cc b/ccc/src/model/AddSkillGroupsToUserRequest.cc index bc6a5e5d2..1e7a6cbb0 100644 --- a/ccc/src/model/AddSkillGroupsToUserRequest.cc +++ b/ccc/src/model/AddSkillGroupsToUserRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::AddSkillGroupsToUserRequest; - -AddSkillGroupsToUserRequest::AddSkillGroupsToUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "AddSkillGroupsToUser") -{ - setMethod(HttpRequest::Method::Post); -} - -AddSkillGroupsToUserRequest::~AddSkillGroupsToUserRequest() -{} - -std::string AddSkillGroupsToUserRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::AddSkillGroupsToUserRequest; + +AddSkillGroupsToUserRequest::AddSkillGroupsToUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "AddSkillGroupsToUser") { + setMethod(HttpRequest::Method::Post); } -void AddSkillGroupsToUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +AddSkillGroupsToUserRequest::~AddSkillGroupsToUserRequest() {} + +std::string AddSkillGroupsToUserRequest::getUserId() const { + return userId_; } -std::string AddSkillGroupsToUserRequest::getInstanceId()const -{ - return instanceId_; +void AddSkillGroupsToUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void AddSkillGroupsToUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string AddSkillGroupsToUserRequest::getInstanceId() const { + return instanceId_; } -std::string AddSkillGroupsToUserRequest::getSkillLevelList()const -{ - return skillLevelList_; +void AddSkillGroupsToUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void AddSkillGroupsToUserRequest::setSkillLevelList(const std::string& skillLevelList) -{ - skillLevelList_ = skillLevelList; - setParameter("SkillLevelList", skillLevelList); +std::string AddSkillGroupsToUserRequest::getSkillLevelList() const { + return skillLevelList_; +} + +void AddSkillGroupsToUserRequest::setSkillLevelList(const std::string &skillLevelList) { + skillLevelList_ = skillLevelList; + setParameter(std::string("SkillLevelList"), skillLevelList); } diff --git a/ccc/src/model/AddUsersToSkillGroupRequest.cc b/ccc/src/model/AddUsersToSkillGroupRequest.cc index 9e41d4c05..3c9a96f33 100644 --- a/ccc/src/model/AddUsersToSkillGroupRequest.cc +++ b/ccc/src/model/AddUsersToSkillGroupRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::AddUsersToSkillGroupRequest; - -AddUsersToSkillGroupRequest::AddUsersToSkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "AddUsersToSkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -AddUsersToSkillGroupRequest::~AddUsersToSkillGroupRequest() -{} - -std::string AddUsersToSkillGroupRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::AddUsersToSkillGroupRequest; + +AddUsersToSkillGroupRequest::AddUsersToSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "AddUsersToSkillGroup") { + setMethod(HttpRequest::Method::Post); } -void AddUsersToSkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +AddUsersToSkillGroupRequest::~AddUsersToSkillGroupRequest() {} + +std::string AddUsersToSkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string AddUsersToSkillGroupRequest::getUserSkillLevelList()const -{ - return userSkillLevelList_; +void AddUsersToSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void AddUsersToSkillGroupRequest::setUserSkillLevelList(const std::string& userSkillLevelList) -{ - userSkillLevelList_ = userSkillLevelList; - setParameter("UserSkillLevelList", userSkillLevelList); +std::string AddUsersToSkillGroupRequest::getUserSkillLevelList() const { + return userSkillLevelList_; } -std::string AddUsersToSkillGroupRequest::getSkillGroupId()const -{ - return skillGroupId_; +void AddUsersToSkillGroupRequest::setUserSkillLevelList(const std::string &userSkillLevelList) { + userSkillLevelList_ = userSkillLevelList; + setParameter(std::string("UserSkillLevelList"), userSkillLevelList); } -void AddUsersToSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string AddUsersToSkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void AddUsersToSkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } diff --git a/ccc/src/model/AnswerCallRequest.cc b/ccc/src/model/AnswerCallRequest.cc index db3123b52..89dcf32cf 100644 --- a/ccc/src/model/AnswerCallRequest.cc +++ b/ccc/src/model/AnswerCallRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::AnswerCallRequest; - -AnswerCallRequest::AnswerCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "AnswerCall") -{ - setMethod(HttpRequest::Method::Post); -} - -AnswerCallRequest::~AnswerCallRequest() -{} - -std::string AnswerCallRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::AnswerCallRequest; + +AnswerCallRequest::AnswerCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "AnswerCall") { + setMethod(HttpRequest::Method::Post); } -void AnswerCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +AnswerCallRequest::~AnswerCallRequest() {} + +std::string AnswerCallRequest::getUserId() const { + return userId_; } -std::string AnswerCallRequest::getDeviceId()const -{ - return deviceId_; +void AnswerCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void AnswerCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string AnswerCallRequest::getDeviceId() const { + return deviceId_; } -std::string AnswerCallRequest::getJobId()const -{ - return jobId_; +void AnswerCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void AnswerCallRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string AnswerCallRequest::getJobId() const { + return jobId_; } -std::string AnswerCallRequest::getInstanceId()const -{ - return instanceId_; +void AnswerCallRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void AnswerCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string AnswerCallRequest::getInstanceId() const { + return instanceId_; +} + +void AnswerCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/AnswerCallResult.cc b/ccc/src/model/AnswerCallResult.cc index d3a763ca6..a0faab45b 100644 --- a/ccc/src/model/AnswerCallResult.cc +++ b/ccc/src/model/AnswerCallResult.cc @@ -47,6 +47,8 @@ void AnswerCallResult::parse(const std::string &payload) data_.callContext.jobId = callContextNode["JobId"].asString(); if(!callContextNode["InstanceId"].isNull()) data_.callContext.instanceId = callContextNode["InstanceId"].asString(); + if(!callContextNode["CallType"].isNull()) + data_.callContext.callType = callContextNode["CallType"].asString(); auto allChannelContextsNode = callContextNode["ChannelContexts"]["ChannelContext"]; for (auto callContextNodeChannelContextsChannelContext : allChannelContextsNode) { diff --git a/ccc/src/model/AssignUsersRequest.cc b/ccc/src/model/AssignUsersRequest.cc index 005efb897..f47ed263c 100644 --- a/ccc/src/model/AssignUsersRequest.cc +++ b/ccc/src/model/AssignUsersRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::AssignUsersRequest; - -AssignUsersRequest::AssignUsersRequest() : - RpcServiceRequest("ccc", "2020-07-01", "AssignUsers") -{ - setMethod(HttpRequest::Method::Post); -} - -AssignUsersRequest::~AssignUsersRequest() -{} - -std::string AssignUsersRequest::getRamIdList()const -{ - return ramIdList_; + */ + +#include + +using AlibabaCloud::CCC::Model::AssignUsersRequest; + +AssignUsersRequest::AssignUsersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "AssignUsers") { + setMethod(HttpRequest::Method::Post); } -void AssignUsersRequest::setRamIdList(const std::string& ramIdList) -{ - ramIdList_ = ramIdList; - setParameter("RamIdList", ramIdList); +AssignUsersRequest::~AssignUsersRequest() {} + +std::string AssignUsersRequest::getRamIdList() const { + return ramIdList_; } -std::string AssignUsersRequest::getRoleId()const -{ - return roleId_; +void AssignUsersRequest::setRamIdList(const std::string &ramIdList) { + ramIdList_ = ramIdList; + setParameter(std::string("RamIdList"), ramIdList); } -void AssignUsersRequest::setRoleId(const std::string& roleId) -{ - roleId_ = roleId; - setParameter("RoleId", roleId); +std::string AssignUsersRequest::getRoleId() const { + return roleId_; } -std::string AssignUsersRequest::getWorkMode()const -{ - return workMode_; +void AssignUsersRequest::setRoleId(const std::string &roleId) { + roleId_ = roleId; + setParameter(std::string("RoleId"), roleId); } -void AssignUsersRequest::setWorkMode(const std::string& workMode) -{ - workMode_ = workMode; - setParameter("WorkMode", workMode); +std::string AssignUsersRequest::getWorkMode() const { + return workMode_; } -std::string AssignUsersRequest::getInstanceId()const -{ - return instanceId_; +void AssignUsersRequest::setWorkMode(const std::string &workMode) { + workMode_ = workMode; + setParameter(std::string("WorkMode"), workMode); } -void AssignUsersRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string AssignUsersRequest::getInstanceId() const { + return instanceId_; } -std::string AssignUsersRequest::getSkillLevelList()const -{ - return skillLevelList_; +void AssignUsersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void AssignUsersRequest::setSkillLevelList(const std::string& skillLevelList) -{ - skillLevelList_ = skillLevelList; - setParameter("SkillLevelList", skillLevelList); +std::string AssignUsersRequest::getSkillLevelList() const { + return skillLevelList_; +} + +void AssignUsersRequest::setSkillLevelList(const std::string &skillLevelList) { + skillLevelList_ = skillLevelList; + setParameter(std::string("SkillLevelList"), skillLevelList); } diff --git a/ccc/src/model/BargeInCallRequest.cc b/ccc/src/model/BargeInCallRequest.cc index 08cde1672..3fe128aaf 100644 --- a/ccc/src/model/BargeInCallRequest.cc +++ b/ccc/src/model/BargeInCallRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::BargeInCallRequest; - -BargeInCallRequest::BargeInCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "BargeInCall") -{ - setMethod(HttpRequest::Method::Post); -} - -BargeInCallRequest::~BargeInCallRequest() -{} - -std::string BargeInCallRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::BargeInCallRequest; + +BargeInCallRequest::BargeInCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "BargeInCall") { + setMethod(HttpRequest::Method::Post); } -void BargeInCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +BargeInCallRequest::~BargeInCallRequest() {} + +std::string BargeInCallRequest::getUserId() const { + return userId_; } -std::string BargeInCallRequest::getDeviceId()const -{ - return deviceId_; +void BargeInCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void BargeInCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string BargeInCallRequest::getDeviceId() const { + return deviceId_; } -std::string BargeInCallRequest::getBargedUserId()const -{ - return bargedUserId_; +void BargeInCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void BargeInCallRequest::setBargedUserId(const std::string& bargedUserId) -{ - bargedUserId_ = bargedUserId; - setParameter("BargedUserId", bargedUserId); +std::string BargeInCallRequest::getBargedUserId() const { + return bargedUserId_; } -std::string BargeInCallRequest::getJobId()const -{ - return jobId_; +void BargeInCallRequest::setBargedUserId(const std::string &bargedUserId) { + bargedUserId_ = bargedUserId; + setParameter(std::string("BargedUserId"), bargedUserId); } -void BargeInCallRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string BargeInCallRequest::getJobId() const { + return jobId_; } -int BargeInCallRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; +void BargeInCallRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void BargeInCallRequest::setTimeoutSeconds(int timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +int BargeInCallRequest::getTimeoutSeconds() const { + return timeoutSeconds_; } -std::string BargeInCallRequest::getInstanceId()const -{ - return instanceId_; +void BargeInCallRequest::setTimeoutSeconds(int timeoutSeconds) { + timeoutSeconds_ = timeoutSeconds; + setParameter(std::string("TimeoutSeconds"), std::to_string(timeoutSeconds)); } -void BargeInCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string BargeInCallRequest::getInstanceId() const { + return instanceId_; +} + +void BargeInCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/BlindTransferRequest.cc b/ccc/src/model/BlindTransferRequest.cc index 4177bcff5..b4c232202 100644 --- a/ccc/src/model/BlindTransferRequest.cc +++ b/ccc/src/model/BlindTransferRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::BlindTransferRequest; - -BlindTransferRequest::BlindTransferRequest() : - RpcServiceRequest("ccc", "2020-07-01", "BlindTransfer") -{ - setMethod(HttpRequest::Method::Post); -} - -BlindTransferRequest::~BlindTransferRequest() -{} - -std::string BlindTransferRequest::getTransferee()const -{ - return transferee_; + */ + +#include + +using AlibabaCloud::CCC::Model::BlindTransferRequest; + +BlindTransferRequest::BlindTransferRequest() + : RpcServiceRequest("ccc", "2020-07-01", "BlindTransfer") { + setMethod(HttpRequest::Method::Post); } -void BlindTransferRequest::setTransferee(const std::string& transferee) -{ - transferee_ = transferee; - setParameter("Transferee", transferee); +BlindTransferRequest::~BlindTransferRequest() {} + +std::string BlindTransferRequest::getTransferee() const { + return transferee_; } -std::string BlindTransferRequest::getTransferor()const -{ - return transferor_; +void BlindTransferRequest::setTransferee(const std::string &transferee) { + transferee_ = transferee; + setParameter(std::string("Transferee"), transferee); } -void BlindTransferRequest::setTransferor(const std::string& transferor) -{ - transferor_ = transferor; - setParameter("Transferor", transferor); +std::string BlindTransferRequest::getTransferor() const { + return transferor_; } -std::string BlindTransferRequest::getUserId()const -{ - return userId_; +void BlindTransferRequest::setTransferor(const std::string &transferor) { + transferor_ = transferor; + setParameter(std::string("Transferor"), transferor); } -void BlindTransferRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string BlindTransferRequest::getUserId() const { + return userId_; } -std::string BlindTransferRequest::getDeviceId()const -{ - return deviceId_; +void BlindTransferRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void BlindTransferRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string BlindTransferRequest::getDeviceId() const { + return deviceId_; } -int BlindTransferRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; +void BlindTransferRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void BlindTransferRequest::setTimeoutSeconds(int timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +int BlindTransferRequest::getTimeoutSeconds() const { + return timeoutSeconds_; } -std::string BlindTransferRequest::getJobId()const -{ - return jobId_; +void BlindTransferRequest::setTimeoutSeconds(int timeoutSeconds) { + timeoutSeconds_ = timeoutSeconds; + setParameter(std::string("TimeoutSeconds"), std::to_string(timeoutSeconds)); } -void BlindTransferRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string BlindTransferRequest::getJobId() const { + return jobId_; } -std::string BlindTransferRequest::getInstanceId()const -{ - return instanceId_; +void BlindTransferRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void BlindTransferRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string BlindTransferRequest::getInstanceId() const { + return instanceId_; +} + +void BlindTransferRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/BlindTransferResult.cc b/ccc/src/model/BlindTransferResult.cc index a17d0d43d..38ef39e73 100644 --- a/ccc/src/model/BlindTransferResult.cc +++ b/ccc/src/model/BlindTransferResult.cc @@ -40,6 +40,8 @@ void BlindTransferResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; + if(!dataNode["ContextId"].isNull()) + data_.contextId = std::stol(dataNode["ContextId"].asString()); auto callContextNode = dataNode["CallContext"]; if(!callContextNode["CallType"].isNull()) data_.callContext.callType = callContextNode["CallType"].asString(); diff --git a/ccc/src/model/CancelAttendedTransferRequest.cc b/ccc/src/model/CancelAttendedTransferRequest.cc index 580fded28..1318ba478 100644 --- a/ccc/src/model/CancelAttendedTransferRequest.cc +++ b/ccc/src/model/CancelAttendedTransferRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::CancelAttendedTransferRequest; - -CancelAttendedTransferRequest::CancelAttendedTransferRequest() : - RpcServiceRequest("ccc", "2020-07-01", "CancelAttendedTransfer") -{ - setMethod(HttpRequest::Method::Post); -} - -CancelAttendedTransferRequest::~CancelAttendedTransferRequest() -{} - -std::string CancelAttendedTransferRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::CancelAttendedTransferRequest; + +CancelAttendedTransferRequest::CancelAttendedTransferRequest() + : RpcServiceRequest("ccc", "2020-07-01", "CancelAttendedTransfer") { + setMethod(HttpRequest::Method::Post); } -void CancelAttendedTransferRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +CancelAttendedTransferRequest::~CancelAttendedTransferRequest() {} + +std::string CancelAttendedTransferRequest::getUserId() const { + return userId_; } -std::string CancelAttendedTransferRequest::getDeviceId()const -{ - return deviceId_; +void CancelAttendedTransferRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void CancelAttendedTransferRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string CancelAttendedTransferRequest::getDeviceId() const { + return deviceId_; } -std::string CancelAttendedTransferRequest::getJobId()const -{ - return jobId_; +void CancelAttendedTransferRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void CancelAttendedTransferRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string CancelAttendedTransferRequest::getJobId() const { + return jobId_; } -std::string CancelAttendedTransferRequest::getInstanceId()const -{ - return instanceId_; +void CancelAttendedTransferRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void CancelAttendedTransferRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string CancelAttendedTransferRequest::getInstanceId() const { + return instanceId_; +} + +void CancelAttendedTransferRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ChangeWorkModeRequest.cc b/ccc/src/model/ChangeWorkModeRequest.cc index 1ea753495..917f9c4ef 100644 --- a/ccc/src/model/ChangeWorkModeRequest.cc +++ b/ccc/src/model/ChangeWorkModeRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ChangeWorkModeRequest; - -ChangeWorkModeRequest::ChangeWorkModeRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ChangeWorkMode") -{ - setMethod(HttpRequest::Method::Post); -} - -ChangeWorkModeRequest::~ChangeWorkModeRequest() -{} - -std::string ChangeWorkModeRequest::getWorkMode()const -{ - return workMode_; + */ + +#include + +using AlibabaCloud::CCC::Model::ChangeWorkModeRequest; + +ChangeWorkModeRequest::ChangeWorkModeRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ChangeWorkMode") { + setMethod(HttpRequest::Method::Post); } -void ChangeWorkModeRequest::setWorkMode(const std::string& workMode) -{ - workMode_ = workMode; - setParameter("WorkMode", workMode); +ChangeWorkModeRequest::~ChangeWorkModeRequest() {} + +std::string ChangeWorkModeRequest::getWorkMode() const { + return workMode_; } -std::string ChangeWorkModeRequest::getUserId()const -{ - return userId_; +void ChangeWorkModeRequest::setWorkMode(const std::string &workMode) { + workMode_ = workMode; + setParameter(std::string("WorkMode"), workMode); } -void ChangeWorkModeRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string ChangeWorkModeRequest::getUserId() const { + return userId_; } -std::string ChangeWorkModeRequest::getDeviceId()const -{ - return deviceId_; +void ChangeWorkModeRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ChangeWorkModeRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string ChangeWorkModeRequest::getDeviceId() const { + return deviceId_; } -std::string ChangeWorkModeRequest::getInstanceId()const -{ - return instanceId_; +void ChangeWorkModeRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void ChangeWorkModeRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ChangeWorkModeRequest::getInstanceId() const { + return instanceId_; +} + +void ChangeWorkModeRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/CoachCallRequest.cc b/ccc/src/model/CoachCallRequest.cc index 1eeb59ca2..9f43611f5 100644 --- a/ccc/src/model/CoachCallRequest.cc +++ b/ccc/src/model/CoachCallRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::CoachCallRequest; - -CoachCallRequest::CoachCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "CoachCall") -{ - setMethod(HttpRequest::Method::Post); -} - -CoachCallRequest::~CoachCallRequest() -{} - -std::string CoachCallRequest::getCoachedUserId()const -{ - return coachedUserId_; + */ + +#include + +using AlibabaCloud::CCC::Model::CoachCallRequest; + +CoachCallRequest::CoachCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "CoachCall") { + setMethod(HttpRequest::Method::Post); } -void CoachCallRequest::setCoachedUserId(const std::string& coachedUserId) -{ - coachedUserId_ = coachedUserId; - setParameter("CoachedUserId", coachedUserId); +CoachCallRequest::~CoachCallRequest() {} + +std::string CoachCallRequest::getCoachedUserId() const { + return coachedUserId_; } -std::string CoachCallRequest::getUserId()const -{ - return userId_; +void CoachCallRequest::setCoachedUserId(const std::string &coachedUserId) { + coachedUserId_ = coachedUserId; + setParameter(std::string("CoachedUserId"), coachedUserId); } -void CoachCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string CoachCallRequest::getUserId() const { + return userId_; } -std::string CoachCallRequest::getDeviceId()const -{ - return deviceId_; +void CoachCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void CoachCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string CoachCallRequest::getDeviceId() const { + return deviceId_; } -std::string CoachCallRequest::getJobId()const -{ - return jobId_; +void CoachCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void CoachCallRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string CoachCallRequest::getJobId() const { + return jobId_; } -int CoachCallRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; +void CoachCallRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void CoachCallRequest::setTimeoutSeconds(int timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +int CoachCallRequest::getTimeoutSeconds() const { + return timeoutSeconds_; } -std::string CoachCallRequest::getInstanceId()const -{ - return instanceId_; +void CoachCallRequest::setTimeoutSeconds(int timeoutSeconds) { + timeoutSeconds_ = timeoutSeconds; + setParameter(std::string("TimeoutSeconds"), std::to_string(timeoutSeconds)); } -void CoachCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string CoachCallRequest::getInstanceId() const { + return instanceId_; +} + +void CoachCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/CompleteAttendedTransferRequest.cc b/ccc/src/model/CompleteAttendedTransferRequest.cc index 97dda9ec5..ced391809 100644 --- a/ccc/src/model/CompleteAttendedTransferRequest.cc +++ b/ccc/src/model/CompleteAttendedTransferRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::CompleteAttendedTransferRequest; - -CompleteAttendedTransferRequest::CompleteAttendedTransferRequest() : - RpcServiceRequest("ccc", "2020-07-01", "CompleteAttendedTransfer") -{ - setMethod(HttpRequest::Method::Post); -} - -CompleteAttendedTransferRequest::~CompleteAttendedTransferRequest() -{} - -std::string CompleteAttendedTransferRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::CompleteAttendedTransferRequest; + +CompleteAttendedTransferRequest::CompleteAttendedTransferRequest() + : RpcServiceRequest("ccc", "2020-07-01", "CompleteAttendedTransfer") { + setMethod(HttpRequest::Method::Post); } -void CompleteAttendedTransferRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +CompleteAttendedTransferRequest::~CompleteAttendedTransferRequest() {} + +std::string CompleteAttendedTransferRequest::getUserId() const { + return userId_; } -std::string CompleteAttendedTransferRequest::getDeviceId()const -{ - return deviceId_; +void CompleteAttendedTransferRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void CompleteAttendedTransferRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string CompleteAttendedTransferRequest::getDeviceId() const { + return deviceId_; } -std::string CompleteAttendedTransferRequest::getJobId()const -{ - return jobId_; +void CompleteAttendedTransferRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void CompleteAttendedTransferRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string CompleteAttendedTransferRequest::getJobId() const { + return jobId_; } -std::string CompleteAttendedTransferRequest::getInstanceId()const -{ - return instanceId_; +void CompleteAttendedTransferRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void CompleteAttendedTransferRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string CompleteAttendedTransferRequest::getInstanceId() const { + return instanceId_; +} + +void CompleteAttendedTransferRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/CreateCallTagsRequest.cc b/ccc/src/model/CreateCallTagsRequest.cc new file mode 100644 index 000000000..7c046036e --- /dev/null +++ b/ccc/src/model/CreateCallTagsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::CreateCallTagsRequest; + +CreateCallTagsRequest::CreateCallTagsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "CreateCallTags") { + setMethod(HttpRequest::Method::Post); +} + +CreateCallTagsRequest::~CreateCallTagsRequest() {} + +std::string CreateCallTagsRequest::getInstanceId() const { + return instanceId_; +} + +void CreateCallTagsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string CreateCallTagsRequest::getCallTagNameList() const { + return callTagNameList_; +} + +void CreateCallTagsRequest::setCallTagNameList(const std::string &callTagNameList) { + callTagNameList_ = callTagNameList; + setParameter(std::string("CallTagNameList"), callTagNameList); +} + diff --git a/ccc/src/model/CreateCallTagsResult.cc b/ccc/src/model/CreateCallTagsResult.cc new file mode 100644 index 000000000..c97af36b8 --- /dev/null +++ b/ccc/src/model/CreateCallTagsResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +CreateCallTagsResult::CreateCallTagsResult() : + ServiceResult() +{} + +CreateCallTagsResult::CreateCallTagsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCallTagsResult::~CreateCallTagsResult() +{} + +void CreateCallTagsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["FailureItem"]; + for (auto valueDataFailureItem : allDataNode) + { + FailureItem dataObject; + if(!valueDataFailureItem["Item"].isNull()) + dataObject.item = valueDataFailureItem["Item"].asString(); + if(!valueDataFailureItem["Reason"].isNull()) + dataObject.reason = valueDataFailureItem["Reason"].asString(); + data_.push_back(dataObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateCallTagsResult::getMessage()const +{ + return message_; +} + +int CreateCallTagsResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector CreateCallTagsResult::getData()const +{ + return data_; +} + +std::string CreateCallTagsResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/CreateCampaignRequest.cc b/ccc/src/model/CreateCampaignRequest.cc index 9e96566c8..1f358b32a 100644 --- a/ccc/src/model/CreateCampaignRequest.cc +++ b/ccc/src/model/CreateCampaignRequest.cc @@ -1,194 +1,162 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::CreateCampaignRequest; - -CreateCampaignRequest::CreateCampaignRequest() : - RpcServiceRequest("ccc", "2020-07-01", "CreateCampaign") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateCampaignRequest::~CreateCampaignRequest() -{} - -std::string CreateCampaignRequest::getQueueId()const -{ - return queueId_; + */ + +#include + +using AlibabaCloud::CCC::Model::CreateCampaignRequest; + +CreateCampaignRequest::CreateCampaignRequest() + : RpcServiceRequest("ccc", "2020-07-01", "CreateCampaign") { + setMethod(HttpRequest::Method::Post); } -void CreateCampaignRequest::setQueueId(const std::string& queueId) -{ - queueId_ = queueId; - setParameter("QueueId", queueId); +CreateCampaignRequest::~CreateCampaignRequest() {} + +std::string CreateCampaignRequest::getQueueId() const { + return queueId_; } -std::string CreateCampaignRequest::getContactFlowId()const -{ - return contactFlowId_; +void CreateCampaignRequest::setQueueId(const std::string &queueId) { + queueId_ = queueId; + setParameter(std::string("QueueId"), queueId); } -void CreateCampaignRequest::setContactFlowId(const std::string& contactFlowId) -{ - contactFlowId_ = contactFlowId; - setParameter("ContactFlowId", contactFlowId); +std::string CreateCampaignRequest::getContactFlowId() const { + return contactFlowId_; } -bool CreateCampaignRequest::getSimulation()const -{ - return simulation_; +void CreateCampaignRequest::setContactFlowId(const std::string &contactFlowId) { + contactFlowId_ = contactFlowId; + setParameter(std::string("ContactFlowId"), contactFlowId); } -void CreateCampaignRequest::setSimulation(bool simulation) -{ - simulation_ = simulation; - setParameter("Simulation", simulation ? "true" : "false"); +bool CreateCampaignRequest::getSimulation() const { + return simulation_; } -std::string CreateCampaignRequest::getEndTime()const -{ - return endTime_; +void CreateCampaignRequest::setSimulation(bool simulation) { + simulation_ = simulation; + setParameter(std::string("Simulation"), simulation ? "true" : "false"); } -void CreateCampaignRequest::setEndTime(const std::string& endTime) -{ - endTime_ = endTime; - setParameter("EndTime", endTime); +std::string CreateCampaignRequest::getEndTime() const { + return endTime_; } -std::string CreateCampaignRequest::getStartTime()const -{ - return startTime_; +void CreateCampaignRequest::setEndTime(const std::string &endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), endTime); } -void CreateCampaignRequest::setStartTime(const std::string& startTime) -{ - startTime_ = startTime; - setParameter("StartTime", startTime); +std::string CreateCampaignRequest::getStartTime() const { + return startTime_; } -long CreateCampaignRequest::getMaxAttemptCount()const -{ - return maxAttemptCount_; +void CreateCampaignRequest::setStartTime(const std::string &startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), startTime); } -void CreateCampaignRequest::setMaxAttemptCount(long maxAttemptCount) -{ - maxAttemptCount_ = maxAttemptCount; - setParameter("MaxAttemptCount", std::to_string(maxAttemptCount)); +long CreateCampaignRequest::getMaxAttemptCount() const { + return maxAttemptCount_; } -std::string CreateCampaignRequest::getStrategyParameters()const -{ - return strategyParameters_; +void CreateCampaignRequest::setMaxAttemptCount(long maxAttemptCount) { + maxAttemptCount_ = maxAttemptCount; + setParameter(std::string("MaxAttemptCount"), std::to_string(maxAttemptCount)); } -void CreateCampaignRequest::setStrategyParameters(const std::string& strategyParameters) -{ - strategyParameters_ = strategyParameters; - setParameter("StrategyParameters", strategyParameters); +std::string CreateCampaignRequest::getStrategyParameters() const { + return strategyParameters_; } -std::string CreateCampaignRequest::getCaseFileKey()const -{ - return caseFileKey_; +void CreateCampaignRequest::setStrategyParameters(const std::string &strategyParameters) { + strategyParameters_ = strategyParameters; + setParameter(std::string("StrategyParameters"), strategyParameters); } -void CreateCampaignRequest::setCaseFileKey(const std::string& caseFileKey) -{ - caseFileKey_ = caseFileKey; - setParameter("CaseFileKey", caseFileKey); +std::string CreateCampaignRequest::getCaseFileKey() const { + return caseFileKey_; } -long CreateCampaignRequest::getMinAttemptInterval()const -{ - return minAttemptInterval_; +void CreateCampaignRequest::setCaseFileKey(const std::string &caseFileKey) { + caseFileKey_ = caseFileKey; + setParameter(std::string("CaseFileKey"), caseFileKey); } -void CreateCampaignRequest::setMinAttemptInterval(long minAttemptInterval) -{ - minAttemptInterval_ = minAttemptInterval; - setParameter("MinAttemptInterval", std::to_string(minAttemptInterval)); +long CreateCampaignRequest::getMinAttemptInterval() const { + return minAttemptInterval_; } -std::string CreateCampaignRequest::getInstanceId()const -{ - return instanceId_; +void CreateCampaignRequest::setMinAttemptInterval(long minAttemptInterval) { + minAttemptInterval_ = minAttemptInterval; + setParameter(std::string("MinAttemptInterval"), std::to_string(minAttemptInterval)); } -void CreateCampaignRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string CreateCampaignRequest::getInstanceId() const { + return instanceId_; } -std::string CreateCampaignRequest::getSimulationParameters()const -{ - return simulationParameters_; +void CreateCampaignRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void CreateCampaignRequest::setSimulationParameters(const std::string& simulationParameters) -{ - simulationParameters_ = simulationParameters; - setParameter("SimulationParameters", simulationParameters); +std::string CreateCampaignRequest::getSimulationParameters() const { + return simulationParameters_; } -std::string CreateCampaignRequest::getName()const -{ - return name_; +void CreateCampaignRequest::setSimulationParameters(const std::string &simulationParameters) { + simulationParameters_ = simulationParameters; + setParameter(std::string("SimulationParameters"), simulationParameters); } -void CreateCampaignRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateCampaignRequest::getName() const { + return name_; } -std::string CreateCampaignRequest::getStrategyType()const -{ - return strategyType_; +void CreateCampaignRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void CreateCampaignRequest::setStrategyType(const std::string& strategyType) -{ - strategyType_ = strategyType; - setParameter("StrategyType", strategyType); +std::string CreateCampaignRequest::getStrategyType() const { + return strategyType_; } -std::string CreateCampaignRequest::getCaseList()const -{ - return caseList_; +void CreateCampaignRequest::setStrategyType(const std::string &strategyType) { + strategyType_ = strategyType; + setParameter(std::string("StrategyType"), strategyType); } -void CreateCampaignRequest::setCaseList(const std::string& caseList) -{ - caseList_ = caseList; - setParameter("CaseList", caseList); +std::string CreateCampaignRequest::getCaseList() const { + return caseList_; } -std::string CreateCampaignRequest::getCallableTime()const -{ - return callableTime_; +void CreateCampaignRequest::setCaseList(const std::string &caseList) { + caseList_ = caseList; + setParameter(std::string("CaseList"), caseList); } -void CreateCampaignRequest::setCallableTime(const std::string& callableTime) -{ - callableTime_ = callableTime; - setParameter("CallableTime", callableTime); +std::string CreateCampaignRequest::getCallableTime() const { + return callableTime_; +} + +void CreateCampaignRequest::setCallableTime(const std::string &callableTime) { + callableTime_ = callableTime; + setParameter(std::string("CallableTime"), callableTime); } diff --git a/ccc/src/model/CreateCustomCallTaggingRequest.cc b/ccc/src/model/CreateCustomCallTaggingRequest.cc new file mode 100644 index 000000000..edf6a91ec --- /dev/null +++ b/ccc/src/model/CreateCustomCallTaggingRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::CreateCustomCallTaggingRequest; + +CreateCustomCallTaggingRequest::CreateCustomCallTaggingRequest() + : RpcServiceRequest("ccc", "2020-07-01", "CreateCustomCallTagging") { + setMethod(HttpRequest::Method::Post); +} + +CreateCustomCallTaggingRequest::~CreateCustomCallTaggingRequest() {} + +std::string CreateCustomCallTaggingRequest::getInstanceId() const { + return instanceId_; +} + +void CreateCustomCallTaggingRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string CreateCustomCallTaggingRequest::getCustomNumberList() const { + return customNumberList_; +} + +void CreateCustomCallTaggingRequest::setCustomNumberList(const std::string &customNumberList) { + customNumberList_ = customNumberList; + setParameter(std::string("CustomNumberList"), customNumberList); +} + diff --git a/ccc/src/model/CreateCustomCallTaggingResult.cc b/ccc/src/model/CreateCustomCallTaggingResult.cc new file mode 100644 index 000000000..747df57e8 --- /dev/null +++ b/ccc/src/model/CreateCustomCallTaggingResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +CreateCustomCallTaggingResult::CreateCustomCallTaggingResult() : + ServiceResult() +{} + +CreateCustomCallTaggingResult::CreateCustomCallTaggingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateCustomCallTaggingResult::~CreateCustomCallTaggingResult() +{} + +void CreateCustomCallTaggingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["FailureItem"]; + for (auto valueDataFailureItem : allDataNode) + { + FailureItem dataObject; + if(!valueDataFailureItem["Item"].isNull()) + dataObject.item = valueDataFailureItem["Item"].asString(); + if(!valueDataFailureItem["Reason"].isNull()) + dataObject.reason = valueDataFailureItem["Reason"].asString(); + data_.push_back(dataObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string CreateCustomCallTaggingResult::getMessage()const +{ + return message_; +} + +int CreateCustomCallTaggingResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector CreateCustomCallTaggingResult::getData()const +{ + return data_; +} + +std::string CreateCustomCallTaggingResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/CreateInstanceRequest.cc b/ccc/src/model/CreateInstanceRequest.cc index f9751e993..c25d6f1e6 100644 --- a/ccc/src/model/CreateInstanceRequest.cc +++ b/ccc/src/model/CreateInstanceRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::CreateInstanceRequest; - -CreateInstanceRequest::CreateInstanceRequest() : - RpcServiceRequest("ccc", "2020-07-01", "CreateInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateInstanceRequest::~CreateInstanceRequest() -{} - -std::string CreateInstanceRequest::getAdminRamIdList()const -{ - return adminRamIdList_; + */ + +#include + +using AlibabaCloud::CCC::Model::CreateInstanceRequest; + +CreateInstanceRequest::CreateInstanceRequest() + : RpcServiceRequest("ccc", "2020-07-01", "CreateInstance") { + setMethod(HttpRequest::Method::Post); } -void CreateInstanceRequest::setAdminRamIdList(const std::string& adminRamIdList) -{ - adminRamIdList_ = adminRamIdList; - setParameter("AdminRamIdList", adminRamIdList); +CreateInstanceRequest::~CreateInstanceRequest() {} + +std::string CreateInstanceRequest::getAdminRamIdList() const { + return adminRamIdList_; } -std::string CreateInstanceRequest::getDomainName()const -{ - return domainName_; +void CreateInstanceRequest::setAdminRamIdList(const std::string &adminRamIdList) { + adminRamIdList_ = adminRamIdList; + setParameter(std::string("AdminRamIdList"), adminRamIdList); } -void CreateInstanceRequest::setDomainName(const std::string& domainName) -{ - domainName_ = domainName; - setParameter("DomainName", domainName); +std::string CreateInstanceRequest::getDomainName() const { + return domainName_; } -std::string CreateInstanceRequest::getDescription()const -{ - return description_; +void CreateInstanceRequest::setDomainName(const std::string &domainName) { + domainName_ = domainName; + setParameter(std::string("DomainName"), domainName); } -void CreateInstanceRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +std::string CreateInstanceRequest::getDescription() const { + return description_; } -std::string CreateInstanceRequest::getNumberList()const -{ - return numberList_; +void CreateInstanceRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateInstanceRequest::setNumberList(const std::string& numberList) -{ - numberList_ = numberList; - setParameter("NumberList", numberList); +std::string CreateInstanceRequest::getNumberList() const { + return numberList_; } -std::string CreateInstanceRequest::getName()const -{ - return name_; +void CreateInstanceRequest::setNumberList(const std::string &numberList) { + numberList_ = numberList; + setParameter(std::string("NumberList"), numberList); } -void CreateInstanceRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateInstanceRequest::getName() const { + return name_; +} + +void CreateInstanceRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/ccc/src/model/CreateSkillGroupRequest.cc b/ccc/src/model/CreateSkillGroupRequest.cc index 621eb65a7..d4f24d90a 100644 --- a/ccc/src/model/CreateSkillGroupRequest.cc +++ b/ccc/src/model/CreateSkillGroupRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::CreateSkillGroupRequest; - -CreateSkillGroupRequest::CreateSkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "CreateSkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateSkillGroupRequest::~CreateSkillGroupRequest() -{} - -std::string CreateSkillGroupRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::CCC::Model::CreateSkillGroupRequest; + +CreateSkillGroupRequest::CreateSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "CreateSkillGroup") { + setMethod(HttpRequest::Method::Post); } -void CreateSkillGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +CreateSkillGroupRequest::~CreateSkillGroupRequest() {} + +std::string CreateSkillGroupRequest::getDescription() const { + return description_; } -std::string CreateSkillGroupRequest::getInstanceId()const -{ - return instanceId_; +void CreateSkillGroupRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void CreateSkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string CreateSkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string CreateSkillGroupRequest::getDisplayName()const -{ - return displayName_; +void CreateSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void CreateSkillGroupRequest::setDisplayName(const std::string& displayName) -{ - displayName_ = displayName; - setParameter("DisplayName", displayName); +std::string CreateSkillGroupRequest::getDisplayName() const { + return displayName_; } -std::string CreateSkillGroupRequest::getName()const -{ - return name_; +void CreateSkillGroupRequest::setDisplayName(const std::string &displayName) { + displayName_ = displayName; + setParameter(std::string("DisplayName"), displayName); } -void CreateSkillGroupRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string CreateSkillGroupRequest::getName() const { + return name_; +} + +void CreateSkillGroupRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } diff --git a/ccc/src/model/CreateUserRequest.cc b/ccc/src/model/CreateUserRequest.cc index 4bce8637d..5a0af614e 100644 --- a/ccc/src/model/CreateUserRequest.cc +++ b/ccc/src/model/CreateUserRequest.cc @@ -1,128 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::CreateUserRequest; - -CreateUserRequest::CreateUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "CreateUser") -{ - setMethod(HttpRequest::Method::Post); -} - -CreateUserRequest::~CreateUserRequest() -{} - -std::string CreateUserRequest::getLoginName()const -{ - return loginName_; + */ + +#include + +using AlibabaCloud::CCC::Model::CreateUserRequest; + +CreateUserRequest::CreateUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "CreateUser") { + setMethod(HttpRequest::Method::Post); } -void CreateUserRequest::setLoginName(const std::string& loginName) -{ - loginName_ = loginName; - setParameter("LoginName", loginName); +CreateUserRequest::~CreateUserRequest() {} + +std::string CreateUserRequest::getLoginName() const { + return loginName_; } -std::string CreateUserRequest::getRoleId()const -{ - return roleId_; +void CreateUserRequest::setLoginName(const std::string &loginName) { + loginName_ = loginName; + setParameter(std::string("LoginName"), loginName); } -void CreateUserRequest::setRoleId(const std::string& roleId) -{ - roleId_ = roleId; - setParameter("RoleId", roleId); +std::string CreateUserRequest::getRoleId() const { + return roleId_; } -std::string CreateUserRequest::getMobile()const -{ - return mobile_; +void CreateUserRequest::setRoleId(const std::string &roleId) { + roleId_ = roleId; + setParameter(std::string("RoleId"), roleId); } -void CreateUserRequest::setMobile(const std::string& mobile) -{ - mobile_ = mobile; - setParameter("Mobile", mobile); +std::string CreateUserRequest::getMobile() const { + return mobile_; } -std::string CreateUserRequest::getWorkMode()const -{ - return workMode_; +void CreateUserRequest::setMobile(const std::string &mobile) { + mobile_ = mobile; + setParameter(std::string("Mobile"), mobile); } -void CreateUserRequest::setWorkMode(const std::string& workMode) -{ - workMode_ = workMode; - setParameter("WorkMode", workMode); +std::string CreateUserRequest::getWorkMode() const { + return workMode_; } -std::string CreateUserRequest::getInstanceId()const -{ - return instanceId_; +void CreateUserRequest::setWorkMode(const std::string &workMode) { + workMode_ = workMode; + setParameter(std::string("WorkMode"), workMode); } -void CreateUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string CreateUserRequest::getInstanceId() const { + return instanceId_; } -std::string CreateUserRequest::getDisplayName()const -{ - return displayName_; +void CreateUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void CreateUserRequest::setDisplayName(const std::string& displayName) -{ - displayName_ = displayName; - setParameter("DisplayName", displayName); +std::string CreateUserRequest::getDisplayName() const { + return displayName_; } -bool CreateUserRequest::getResetPassword()const -{ - return resetPassword_; +void CreateUserRequest::setDisplayName(const std::string &displayName) { + displayName_ = displayName; + setParameter(std::string("DisplayName"), displayName); } -void CreateUserRequest::setResetPassword(bool resetPassword) -{ - resetPassword_ = resetPassword; - setParameter("ResetPassword", resetPassword ? "true" : "false"); +bool CreateUserRequest::getResetPassword() const { + return resetPassword_; } -std::string CreateUserRequest::getSkillLevelList()const -{ - return skillLevelList_; +void CreateUserRequest::setResetPassword(bool resetPassword) { + resetPassword_ = resetPassword; + setParameter(std::string("ResetPassword"), resetPassword ? "true" : "false"); } -void CreateUserRequest::setSkillLevelList(const std::string& skillLevelList) -{ - skillLevelList_ = skillLevelList; - setParameter("SkillLevelList", skillLevelList); +std::string CreateUserRequest::getDisplayId() const { + return displayId_; } -std::string CreateUserRequest::getEmail()const -{ - return email_; +void CreateUserRequest::setDisplayId(const std::string &displayId) { + displayId_ = displayId; + setParameter(std::string("DisplayId"), displayId); } -void CreateUserRequest::setEmail(const std::string& email) -{ - email_ = email; - setParameter("Email", email); +std::string CreateUserRequest::getSkillLevelList() const { + return skillLevelList_; +} + +void CreateUserRequest::setSkillLevelList(const std::string &skillLevelList) { + skillLevelList_ = skillLevelList; + setParameter(std::string("SkillLevelList"), skillLevelList); +} + +std::string CreateUserRequest::getEmail() const { + return email_; +} + +void CreateUserRequest::setEmail(const std::string &email) { + email_ = email; + setParameter(std::string("Email"), email); } diff --git a/ccc/src/model/DeleteCallTagRequest.cc b/ccc/src/model/DeleteCallTagRequest.cc new file mode 100644 index 000000000..067828ec6 --- /dev/null +++ b/ccc/src/model/DeleteCallTagRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::DeleteCallTagRequest; + +DeleteCallTagRequest::DeleteCallTagRequest() + : RpcServiceRequest("ccc", "2020-07-01", "DeleteCallTag") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCallTagRequest::~DeleteCallTagRequest() {} + +std::string DeleteCallTagRequest::getTagName() const { + return tagName_; +} + +void DeleteCallTagRequest::setTagName(const std::string &tagName) { + tagName_ = tagName; + setParameter(std::string("TagName"), tagName); +} + +std::string DeleteCallTagRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteCallTagRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/DeleteCallTagResult.cc b/ccc/src/model/DeleteCallTagResult.cc new file mode 100644 index 000000000..f65e71600 --- /dev/null +++ b/ccc/src/model/DeleteCallTagResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +DeleteCallTagResult::DeleteCallTagResult() : + ServiceResult() +{} + +DeleteCallTagResult::DeleteCallTagResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCallTagResult::~DeleteCallTagResult() +{} + +void DeleteCallTagResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string DeleteCallTagResult::getMessage()const +{ + return message_; +} + +int DeleteCallTagResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string DeleteCallTagResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/DeleteCustomCallTaggingRequest.cc b/ccc/src/model/DeleteCustomCallTaggingRequest.cc new file mode 100644 index 000000000..08d2364cb --- /dev/null +++ b/ccc/src/model/DeleteCustomCallTaggingRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::DeleteCustomCallTaggingRequest; + +DeleteCustomCallTaggingRequest::DeleteCustomCallTaggingRequest() + : RpcServiceRequest("ccc", "2020-07-01", "DeleteCustomCallTagging") { + setMethod(HttpRequest::Method::Post); +} + +DeleteCustomCallTaggingRequest::~DeleteCustomCallTaggingRequest() {} + +std::string DeleteCustomCallTaggingRequest::getNumber() const { + return number_; +} + +void DeleteCustomCallTaggingRequest::setNumber(const std::string &number) { + number_ = number; + setParameter(std::string("Number"), number); +} + +std::string DeleteCustomCallTaggingRequest::getInstanceId() const { + return instanceId_; +} + +void DeleteCustomCallTaggingRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/DeleteCustomCallTaggingResult.cc b/ccc/src/model/DeleteCustomCallTaggingResult.cc new file mode 100644 index 000000000..ec3a4d384 --- /dev/null +++ b/ccc/src/model/DeleteCustomCallTaggingResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +DeleteCustomCallTaggingResult::DeleteCustomCallTaggingResult() : + ServiceResult() +{} + +DeleteCustomCallTaggingResult::DeleteCustomCallTaggingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteCustomCallTaggingResult::~DeleteCustomCallTaggingResult() +{} + +void DeleteCustomCallTaggingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string DeleteCustomCallTaggingResult::getMessage()const +{ + return message_; +} + +int DeleteCustomCallTaggingResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string DeleteCustomCallTaggingResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/DeleteSkillGroupRequest.cc b/ccc/src/model/DeleteSkillGroupRequest.cc index 3c7eb77f6..883da901b 100644 --- a/ccc/src/model/DeleteSkillGroupRequest.cc +++ b/ccc/src/model/DeleteSkillGroupRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::DeleteSkillGroupRequest; - -DeleteSkillGroupRequest::DeleteSkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "DeleteSkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -DeleteSkillGroupRequest::~DeleteSkillGroupRequest() -{} - -std::string DeleteSkillGroupRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::DeleteSkillGroupRequest; + +DeleteSkillGroupRequest::DeleteSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "DeleteSkillGroup") { + setMethod(HttpRequest::Method::Post); } -void DeleteSkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +DeleteSkillGroupRequest::~DeleteSkillGroupRequest() {} + +std::string DeleteSkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string DeleteSkillGroupRequest::getSkillGroupId()const -{ - return skillGroupId_; +void DeleteSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void DeleteSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string DeleteSkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; } -bool DeleteSkillGroupRequest::getForce()const -{ - return force_; +void DeleteSkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } -void DeleteSkillGroupRequest::setForce(bool force) -{ - force_ = force; - setParameter("Force", force ? "true" : "false"); +bool DeleteSkillGroupRequest::getForce() const { + return force_; +} + +void DeleteSkillGroupRequest::setForce(bool force) { + force_ = force; + setParameter(std::string("Force"), force ? "true" : "false"); } diff --git a/ccc/src/model/ExportCustomCallTaggingRequest.cc b/ccc/src/model/ExportCustomCallTaggingRequest.cc new file mode 100644 index 000000000..3c4d79820 --- /dev/null +++ b/ccc/src/model/ExportCustomCallTaggingRequest.cc @@ -0,0 +1,36 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::ExportCustomCallTaggingRequest; + +ExportCustomCallTaggingRequest::ExportCustomCallTaggingRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ExportCustomCallTagging") { + setMethod(HttpRequest::Method::Post); +} + +ExportCustomCallTaggingRequest::~ExportCustomCallTaggingRequest() {} + +std::string ExportCustomCallTaggingRequest::getInstanceId() const { + return instanceId_; +} + +void ExportCustomCallTaggingRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/ExportCustomCallTaggingResult.cc b/ccc/src/model/ExportCustomCallTaggingResult.cc new file mode 100644 index 000000000..c71786dd8 --- /dev/null +++ b/ccc/src/model/ExportCustomCallTaggingResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ExportCustomCallTaggingResult::ExportCustomCallTaggingResult() : + ServiceResult() +{} + +ExportCustomCallTaggingResult::ExportCustomCallTaggingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportCustomCallTaggingResult::~ExportCustomCallTaggingResult() +{} + +void ExportCustomCallTaggingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allParams = value["Params"]["Param"]; + for (const auto &item : allParams) + params_.push_back(item.asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string ExportCustomCallTaggingResult::getMessage()const +{ + return message_; +} + +int ExportCustomCallTaggingResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ExportCustomCallTaggingResult::getParams()const +{ + return params_; +} + +std::string ExportCustomCallTaggingResult::getData()const +{ + return data_; +} + +std::string ExportCustomCallTaggingResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/ExportDoNotCallNumbersRequest.cc b/ccc/src/model/ExportDoNotCallNumbersRequest.cc new file mode 100644 index 000000000..d5cf37cc1 --- /dev/null +++ b/ccc/src/model/ExportDoNotCallNumbersRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CCC::Model::ExportDoNotCallNumbersRequest; + +ExportDoNotCallNumbersRequest::ExportDoNotCallNumbersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ExportDoNotCallNumbers") { + setMethod(HttpRequest::Method::Post); +} + +ExportDoNotCallNumbersRequest::~ExportDoNotCallNumbersRequest() {} + +std::string ExportDoNotCallNumbersRequest::getSearchPattern() const { + return searchPattern_; +} + +void ExportDoNotCallNumbersRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); +} + +std::string ExportDoNotCallNumbersRequest::getInstanceId() const { + return instanceId_; +} + +void ExportDoNotCallNumbersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ExportDoNotCallNumbersRequest::getScope() const { + return scope_; +} + +void ExportDoNotCallNumbersRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); +} + diff --git a/ccc/src/model/ExportDoNotCallNumbersResult.cc b/ccc/src/model/ExportDoNotCallNumbersResult.cc new file mode 100644 index 000000000..d81863975 --- /dev/null +++ b/ccc/src/model/ExportDoNotCallNumbersResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ExportDoNotCallNumbersResult::ExportDoNotCallNumbersResult() : + ServiceResult() +{} + +ExportDoNotCallNumbersResult::ExportDoNotCallNumbersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ExportDoNotCallNumbersResult::~ExportDoNotCallNumbersResult() +{} + +void ExportDoNotCallNumbersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allParams = value["Params"]["Param"]; + for (const auto &item : allParams) + params_.push_back(item.asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string ExportDoNotCallNumbersResult::getMessage()const +{ + return message_; +} + +int ExportDoNotCallNumbersResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ExportDoNotCallNumbersResult::getParams()const +{ + return params_; +} + +std::string ExportDoNotCallNumbersResult::getData()const +{ + return data_; +} + +std::string ExportDoNotCallNumbersResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/GetCallDetailRecordRequest.cc b/ccc/src/model/GetCallDetailRecordRequest.cc index 9941083c9..9962d943b 100644 --- a/ccc/src/model/GetCallDetailRecordRequest.cc +++ b/ccc/src/model/GetCallDetailRecordRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetCallDetailRecordRequest; - -GetCallDetailRecordRequest::GetCallDetailRecordRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetCallDetailRecord") -{ - setMethod(HttpRequest::Method::Post); -} - -GetCallDetailRecordRequest::~GetCallDetailRecordRequest() -{} - -std::string GetCallDetailRecordRequest::getContactId()const -{ - return contactId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetCallDetailRecordRequest; + +GetCallDetailRecordRequest::GetCallDetailRecordRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetCallDetailRecord") { + setMethod(HttpRequest::Method::Post); } -void GetCallDetailRecordRequest::setContactId(const std::string& contactId) -{ - contactId_ = contactId; - setParameter("ContactId", contactId); +GetCallDetailRecordRequest::~GetCallDetailRecordRequest() {} + +std::string GetCallDetailRecordRequest::getContactId() const { + return contactId_; } -std::string GetCallDetailRecordRequest::getInstanceId()const -{ - return instanceId_; +void GetCallDetailRecordRequest::setContactId(const std::string &contactId) { + contactId_ = contactId; + setParameter(std::string("ContactId"), contactId); } -void GetCallDetailRecordRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetCallDetailRecordRequest::getInstanceId() const { + return instanceId_; +} + +void GetCallDetailRecordRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetCallDetailRecordResult.cc b/ccc/src/model/GetCallDetailRecordResult.cc index efb0f9540..1636ecc0a 100644 --- a/ccc/src/model/GetCallDetailRecordResult.cc +++ b/ccc/src/model/GetCallDetailRecordResult.cc @@ -102,6 +102,8 @@ void GetCallDetailRecordResult::parse(const std::string &payload) eventSequenceObject.event = dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem["Event"].asString(); if(!dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem["EventTime"].isNull()) eventSequenceObject.eventTime = std::stol(dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem["EventTime"].asString()); + if(!dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem["Duration"].isNull()) + eventSequenceObject.duration = std::stol(dataNodeAgentEventsAgentEventsItemEventSequenceEventSequenceItem["Duration"].asString()); agentEventsItemObject.eventSequence.push_back(eventSequenceObject); } data_.agentEvents.push_back(agentEventsItemObject); @@ -112,6 +114,8 @@ void GetCallDetailRecordResult::parse(const std::string &payload) Data::IvrEventsItem ivrEventsItemObject; if(!dataNodeIvrEventsIvrEventsItem["FlowId"].isNull()) ivrEventsItemObject.flowId = dataNodeIvrEventsIvrEventsItem["FlowId"].asString(); + if(!dataNodeIvrEventsIvrEventsItem["FlowType"].isNull()) + ivrEventsItemObject.flowType = dataNodeIvrEventsIvrEventsItem["FlowType"].asString(); auto allEventSequence1Node = dataNodeIvrEventsIvrEventsItem["EventSequence"]["EventSequenceItem"]; for (auto dataNodeIvrEventsIvrEventsItemEventSequenceEventSequenceItem : allEventSequence1Node) { diff --git a/ccc/src/model/GetCampaignRequest.cc b/ccc/src/model/GetCampaignRequest.cc index ae6ce85fe..174fe355b 100644 --- a/ccc/src/model/GetCampaignRequest.cc +++ b/ccc/src/model/GetCampaignRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetCampaignRequest; - -GetCampaignRequest::GetCampaignRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetCampaign") -{ - setMethod(HttpRequest::Method::Post); -} - -GetCampaignRequest::~GetCampaignRequest() -{} - -std::string GetCampaignRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetCampaignRequest; + +GetCampaignRequest::GetCampaignRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetCampaign") { + setMethod(HttpRequest::Method::Post); } -void GetCampaignRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +GetCampaignRequest::~GetCampaignRequest() {} + +std::string GetCampaignRequest::getInstanceId() const { + return instanceId_; } -std::string GetCampaignRequest::getCampaignId()const -{ - return campaignId_; +void GetCampaignRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void GetCampaignRequest::setCampaignId(const std::string& campaignId) -{ - campaignId_ = campaignId; - setParameter("CampaignId", campaignId); +std::string GetCampaignRequest::getCampaignId() const { + return campaignId_; +} + +void GetCampaignRequest::setCampaignId(const std::string &campaignId) { + campaignId_ = campaignId; + setParameter(std::string("CampaignId"), campaignId); } diff --git a/ccc/src/model/GetCampaignResult.cc b/ccc/src/model/GetCampaignResult.cc index d3b1bbb63..0424606d8 100644 --- a/ccc/src/model/GetCampaignResult.cc +++ b/ccc/src/model/GetCampaignResult.cc @@ -78,6 +78,8 @@ void GetCampaignResult::parse(const std::string &payload) data_.simulation = dataNode["Simulation"].asString() == "true"; if(!dataNode["SimulationParameters"].isNull()) data_.simulationParameters = dataNode["SimulationParameters"].asString(); + if(!dataNode["CasesUncompletedAfterAttempted"].isNull()) + data_.casesUncompletedAfterAttempted = std::stol(dataNode["CasesUncompletedAfterAttempted"].asString()); if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stol(value["HttpStatusCode"].asString()); if(!value["Code"].isNull()) diff --git a/ccc/src/model/GetCaseFileUploadUrlRequest.cc b/ccc/src/model/GetCaseFileUploadUrlRequest.cc index e110ea8a7..a7d983346 100644 --- a/ccc/src/model/GetCaseFileUploadUrlRequest.cc +++ b/ccc/src/model/GetCaseFileUploadUrlRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetCaseFileUploadUrlRequest; - -GetCaseFileUploadUrlRequest::GetCaseFileUploadUrlRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetCaseFileUploadUrl") -{ - setMethod(HttpRequest::Method::Post); -} - -GetCaseFileUploadUrlRequest::~GetCaseFileUploadUrlRequest() -{} - -std::string GetCaseFileUploadUrlRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetCaseFileUploadUrlRequest; + +GetCaseFileUploadUrlRequest::GetCaseFileUploadUrlRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetCaseFileUploadUrl") { + setMethod(HttpRequest::Method::Post); } -void GetCaseFileUploadUrlRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +GetCaseFileUploadUrlRequest::~GetCaseFileUploadUrlRequest() {} + +std::string GetCaseFileUploadUrlRequest::getInstanceId() const { + return instanceId_; } -std::string GetCaseFileUploadUrlRequest::getFileName()const -{ - return fileName_; +void GetCaseFileUploadUrlRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void GetCaseFileUploadUrlRequest::setFileName(const std::string& fileName) -{ - fileName_ = fileName; - setParameter("FileName", fileName); +std::string GetCaseFileUploadUrlRequest::getFileName() const { + return fileName_; +} + +void GetCaseFileUploadUrlRequest::setFileName(const std::string &fileName) { + fileName_ = fileName; + setParameter(std::string("FileName"), fileName); } diff --git a/ccc/src/model/GetDoNotCallFileUploadParametersRequest.cc b/ccc/src/model/GetDoNotCallFileUploadParametersRequest.cc new file mode 100644 index 000000000..17e54695b --- /dev/null +++ b/ccc/src/model/GetDoNotCallFileUploadParametersRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::GetDoNotCallFileUploadParametersRequest; + +GetDoNotCallFileUploadParametersRequest::GetDoNotCallFileUploadParametersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetDoNotCallFileUploadParameters") { + setMethod(HttpRequest::Method::Post); +} + +GetDoNotCallFileUploadParametersRequest::~GetDoNotCallFileUploadParametersRequest() {} + +std::string GetDoNotCallFileUploadParametersRequest::getInstanceId() const { + return instanceId_; +} + +void GetDoNotCallFileUploadParametersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetDoNotCallFileUploadParametersRequest::getFileName() const { + return fileName_; +} + +void GetDoNotCallFileUploadParametersRequest::setFileName(const std::string &fileName) { + fileName_ = fileName; + setParameter(std::string("FileName"), fileName); +} + diff --git a/ccc/src/model/GetDoNotCallFileUploadParametersResult.cc b/ccc/src/model/GetDoNotCallFileUploadParametersResult.cc new file mode 100644 index 000000000..e158ef90d --- /dev/null +++ b/ccc/src/model/GetDoNotCallFileUploadParametersResult.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +GetDoNotCallFileUploadParametersResult::GetDoNotCallFileUploadParametersResult() : + ServiceResult() +{} + +GetDoNotCallFileUploadParametersResult::GetDoNotCallFileUploadParametersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetDoNotCallFileUploadParametersResult::~GetDoNotCallFileUploadParametersResult() +{} + +void GetDoNotCallFileUploadParametersResult::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["FilePath"].isNull()) + data_.filePath = dataNode["FilePath"].asString(); + if(!dataNode["Signature"].isNull()) + data_.signature = dataNode["Signature"].asString(); + if(!dataNode["Host"].isNull()) + data_.host = dataNode["Host"].asString(); + if(!dataNode["Policy"].isNull()) + data_.policy = dataNode["Policy"].asString(); + if(!dataNode["ExpireTime"].isNull()) + data_.expireTime = std::stoi(dataNode["ExpireTime"].asString()); + if(!dataNode["AccessKeyId"].isNull()) + data_.accessKeyId = dataNode["AccessKeyId"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string GetDoNotCallFileUploadParametersResult::getMessage()const +{ + return message_; +} + +int GetDoNotCallFileUploadParametersResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +GetDoNotCallFileUploadParametersResult::Data GetDoNotCallFileUploadParametersResult::getData()const +{ + return data_; +} + +std::string GetDoNotCallFileUploadParametersResult::getCode()const +{ + return code_; +} + +bool GetDoNotCallFileUploadParametersResult::getSuccess()const +{ + return success_; +} + diff --git a/ccc/src/model/GetHistoricalCallerReportRequest.cc b/ccc/src/model/GetHistoricalCallerReportRequest.cc index 7b7515504..78d40f49c 100644 --- a/ccc/src/model/GetHistoricalCallerReportRequest.cc +++ b/ccc/src/model/GetHistoricalCallerReportRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::GetHistoricalCallerReportRequest; - -GetHistoricalCallerReportRequest::GetHistoricalCallerReportRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetHistoricalCallerReport") -{ - setMethod(HttpRequest::Method::Post); -} - -GetHistoricalCallerReportRequest::~GetHistoricalCallerReportRequest() -{} - -long GetHistoricalCallerReportRequest::getStopTime()const -{ - return stopTime_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetHistoricalCallerReportRequest; + +GetHistoricalCallerReportRequest::GetHistoricalCallerReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetHistoricalCallerReport") { + setMethod(HttpRequest::Method::Post); } -void GetHistoricalCallerReportRequest::setStopTime(long stopTime) -{ - stopTime_ = stopTime; - setParameter("StopTime", std::to_string(stopTime)); +GetHistoricalCallerReportRequest::~GetHistoricalCallerReportRequest() {} + +long GetHistoricalCallerReportRequest::getStopTime() const { + return stopTime_; } -long GetHistoricalCallerReportRequest::getStartTime()const -{ - return startTime_; +void GetHistoricalCallerReportRequest::setStopTime(long stopTime) { + stopTime_ = stopTime; + setParameter(std::string("StopTime"), std::to_string(stopTime)); } -void GetHistoricalCallerReportRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long GetHistoricalCallerReportRequest::getStartTime() const { + return startTime_; } -std::string GetHistoricalCallerReportRequest::getCallingNumber()const -{ - return callingNumber_; +void GetHistoricalCallerReportRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void GetHistoricalCallerReportRequest::setCallingNumber(const std::string& callingNumber) -{ - callingNumber_ = callingNumber; - setParameter("CallingNumber", callingNumber); +std::string GetHistoricalCallerReportRequest::getCallingNumber() const { + return callingNumber_; } -std::string GetHistoricalCallerReportRequest::getInstanceId()const -{ - return instanceId_; +void GetHistoricalCallerReportRequest::setCallingNumber(const std::string &callingNumber) { + callingNumber_ = callingNumber; + setParameter(std::string("CallingNumber"), callingNumber); } -void GetHistoricalCallerReportRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetHistoricalCallerReportRequest::getInstanceId() const { + return instanceId_; +} + +void GetHistoricalCallerReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetHistoricalCampaignReportRequest.cc b/ccc/src/model/GetHistoricalCampaignReportRequest.cc new file mode 100644 index 000000000..cb655d795 --- /dev/null +++ b/ccc/src/model/GetHistoricalCampaignReportRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::GetHistoricalCampaignReportRequest; + +GetHistoricalCampaignReportRequest::GetHistoricalCampaignReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetHistoricalCampaignReport") { + setMethod(HttpRequest::Method::Get); +} + +GetHistoricalCampaignReportRequest::~GetHistoricalCampaignReportRequest() {} + +std::string GetHistoricalCampaignReportRequest::getCampaignId() const { + return campaignId_; +} + +void GetHistoricalCampaignReportRequest::setCampaignId(const std::string &campaignId) { + campaignId_ = campaignId; + setParameter(std::string("CampaignId"), campaignId); +} + +std::string GetHistoricalCampaignReportRequest::getInstanceId() const { + return instanceId_; +} + +void GetHistoricalCampaignReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/GetHistoricalCampaignReportResult.cc b/ccc/src/model/GetHistoricalCampaignReportResult.cc new file mode 100644 index 000000000..4f7a656c9 --- /dev/null +++ b/ccc/src/model/GetHistoricalCampaignReportResult.cc @@ -0,0 +1,83 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +GetHistoricalCampaignReportResult::GetHistoricalCampaignReportResult() : + ServiceResult() +{} + +GetHistoricalCampaignReportResult::GetHistoricalCampaignReportResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetHistoricalCampaignReportResult::~GetHistoricalCampaignReportResult() +{} + +void GetHistoricalCampaignReportResult::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["CallsConnected"].isNull()) + data_.callsConnected = std::stol(dataNode["CallsConnected"].asString()); + if(!dataNode["CallsDialed"].isNull()) + data_.callsDialed = std::stol(dataNode["CallsDialed"].asString()); + if(!dataNode["CallsAbandoned"].isNull()) + data_.callsAbandoned = std::stol(dataNode["CallsAbandoned"].asString()); + if(!dataNode["ConnectedRate"].isNull()) + data_.connectedRate = std::stof(dataNode["ConnectedRate"].asString()); + if(!dataNode["AbandonedRate"].isNull()) + data_.abandonedRate = std::stof(dataNode["AbandonedRate"].asString()); + if(!dataNode["OccupancyRate"].isNull()) + data_.occupancyRate = std::stof(dataNode["OccupancyRate"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetHistoricalCampaignReportResult::getMessage()const +{ + return message_; +} + +int GetHistoricalCampaignReportResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +GetHistoricalCampaignReportResult::Data GetHistoricalCampaignReportResult::getData()const +{ + return data_; +} + +std::string GetHistoricalCampaignReportResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/GetHistoricalInstanceReportRequest.cc b/ccc/src/model/GetHistoricalInstanceReportRequest.cc index 7b4dae5dd..99fba9a15 100644 --- a/ccc/src/model/GetHistoricalInstanceReportRequest.cc +++ b/ccc/src/model/GetHistoricalInstanceReportRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::GetHistoricalInstanceReportRequest; - -GetHistoricalInstanceReportRequest::GetHistoricalInstanceReportRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetHistoricalInstanceReport") -{ - setMethod(HttpRequest::Method::Post); -} - -GetHistoricalInstanceReportRequest::~GetHistoricalInstanceReportRequest() -{} - -long GetHistoricalInstanceReportRequest::getEndTime()const -{ - return endTime_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetHistoricalInstanceReportRequest; + +GetHistoricalInstanceReportRequest::GetHistoricalInstanceReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetHistoricalInstanceReport") { + setMethod(HttpRequest::Method::Post); } -void GetHistoricalInstanceReportRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +GetHistoricalInstanceReportRequest::~GetHistoricalInstanceReportRequest() {} + +long GetHistoricalInstanceReportRequest::getEndTime() const { + return endTime_; } -long GetHistoricalInstanceReportRequest::getStartTime()const -{ - return startTime_; +void GetHistoricalInstanceReportRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void GetHistoricalInstanceReportRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long GetHistoricalInstanceReportRequest::getStartTime() const { + return startTime_; } -std::string GetHistoricalInstanceReportRequest::getInstanceId()const -{ - return instanceId_; +void GetHistoricalInstanceReportRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void GetHistoricalInstanceReportRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetHistoricalInstanceReportRequest::getInstanceId() const { + return instanceId_; +} + +void GetHistoricalInstanceReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetInstanceRequest.cc b/ccc/src/model/GetInstanceRequest.cc index 64a946b6b..ecb44c047 100644 --- a/ccc/src/model/GetInstanceRequest.cc +++ b/ccc/src/model/GetInstanceRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetInstanceRequest; - -GetInstanceRequest::GetInstanceRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceRequest::~GetInstanceRequest() -{} - -std::string GetInstanceRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetInstanceRequest; + +GetInstanceRequest::GetInstanceRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetInstance") { + setMethod(HttpRequest::Method::Post); } -void GetInstanceRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +GetInstanceRequest::~GetInstanceRequest() {} + +std::string GetInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void GetInstanceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetInstanceTrendingReportRequest.cc b/ccc/src/model/GetInstanceTrendingReportRequest.cc index cf5e4f4d1..13e9f5549 100644 --- a/ccc/src/model/GetInstanceTrendingReportRequest.cc +++ b/ccc/src/model/GetInstanceTrendingReportRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::GetInstanceTrendingReportRequest; - -GetInstanceTrendingReportRequest::GetInstanceTrendingReportRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetInstanceTrendingReport") -{ - setMethod(HttpRequest::Method::Post); -} - -GetInstanceTrendingReportRequest::~GetInstanceTrendingReportRequest() -{} - -long GetInstanceTrendingReportRequest::getEndTime()const -{ - return endTime_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetInstanceTrendingReportRequest; + +GetInstanceTrendingReportRequest::GetInstanceTrendingReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetInstanceTrendingReport") { + setMethod(HttpRequest::Method::Post); } -void GetInstanceTrendingReportRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +GetInstanceTrendingReportRequest::~GetInstanceTrendingReportRequest() {} + +long GetInstanceTrendingReportRequest::getEndTime() const { + return endTime_; } -long GetInstanceTrendingReportRequest::getStartTime()const -{ - return startTime_; +void GetInstanceTrendingReportRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void GetInstanceTrendingReportRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long GetInstanceTrendingReportRequest::getStartTime() const { + return startTime_; } -std::string GetInstanceTrendingReportRequest::getInstanceId()const -{ - return instanceId_; +void GetInstanceTrendingReportRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void GetInstanceTrendingReportRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetInstanceTrendingReportRequest::getInstanceId() const { + return instanceId_; +} + +void GetInstanceTrendingReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetLoginDetailsRequest.cc b/ccc/src/model/GetLoginDetailsRequest.cc index 2c46478bc..0abce6c89 100644 --- a/ccc/src/model/GetLoginDetailsRequest.cc +++ b/ccc/src/model/GetLoginDetailsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetLoginDetailsRequest; - -GetLoginDetailsRequest::GetLoginDetailsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetLoginDetails") -{ - setMethod(HttpRequest::Method::Post); -} - -GetLoginDetailsRequest::~GetLoginDetailsRequest() -{} - -std::string GetLoginDetailsRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetLoginDetailsRequest; + +GetLoginDetailsRequest::GetLoginDetailsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetLoginDetails") { + setMethod(HttpRequest::Method::Post); } -void GetLoginDetailsRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +GetLoginDetailsRequest::~GetLoginDetailsRequest() {} + +std::string GetLoginDetailsRequest::getUserId() const { + return userId_; } -std::string GetLoginDetailsRequest::getInstanceId()const -{ - return instanceId_; +void GetLoginDetailsRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void GetLoginDetailsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetLoginDetailsRequest::getInstanceId() const { + return instanceId_; +} + +void GetLoginDetailsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetMonoRecordingRequest.cc b/ccc/src/model/GetMonoRecordingRequest.cc index acc727b09..fab080ff2 100644 --- a/ccc/src/model/GetMonoRecordingRequest.cc +++ b/ccc/src/model/GetMonoRecordingRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetMonoRecordingRequest; - -GetMonoRecordingRequest::GetMonoRecordingRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetMonoRecording") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMonoRecordingRequest::~GetMonoRecordingRequest() -{} - -std::string GetMonoRecordingRequest::getContactId()const -{ - return contactId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetMonoRecordingRequest; + +GetMonoRecordingRequest::GetMonoRecordingRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetMonoRecording") { + setMethod(HttpRequest::Method::Post); } -void GetMonoRecordingRequest::setContactId(const std::string& contactId) -{ - contactId_ = contactId; - setParameter("ContactId", contactId); +GetMonoRecordingRequest::~GetMonoRecordingRequest() {} + +std::string GetMonoRecordingRequest::getContactId() const { + return contactId_; } -std::string GetMonoRecordingRequest::getInstanceId()const -{ - return instanceId_; +void GetMonoRecordingRequest::setContactId(const std::string &contactId) { + contactId_ = contactId; + setParameter(std::string("ContactId"), contactId); } -void GetMonoRecordingRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetMonoRecordingRequest::getInstanceId() const { + return instanceId_; +} + +void GetMonoRecordingRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetMultiChannelRecordingRequest.cc b/ccc/src/model/GetMultiChannelRecordingRequest.cc index f1a6d615a..fa2bf8769 100644 --- a/ccc/src/model/GetMultiChannelRecordingRequest.cc +++ b/ccc/src/model/GetMultiChannelRecordingRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetMultiChannelRecordingRequest; - -GetMultiChannelRecordingRequest::GetMultiChannelRecordingRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetMultiChannelRecording") -{ - setMethod(HttpRequest::Method::Post); -} - -GetMultiChannelRecordingRequest::~GetMultiChannelRecordingRequest() -{} - -std::string GetMultiChannelRecordingRequest::getContactId()const -{ - return contactId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetMultiChannelRecordingRequest; + +GetMultiChannelRecordingRequest::GetMultiChannelRecordingRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetMultiChannelRecording") { + setMethod(HttpRequest::Method::Post); } -void GetMultiChannelRecordingRequest::setContactId(const std::string& contactId) -{ - contactId_ = contactId; - setParameter("ContactId", contactId); +GetMultiChannelRecordingRequest::~GetMultiChannelRecordingRequest() {} + +std::string GetMultiChannelRecordingRequest::getContactId() const { + return contactId_; } -std::string GetMultiChannelRecordingRequest::getInstanceId()const -{ - return instanceId_; +void GetMultiChannelRecordingRequest::setContactId(const std::string &contactId) { + contactId_ = contactId; + setParameter(std::string("ContactId"), contactId); } -void GetMultiChannelRecordingRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetMultiChannelRecordingRequest::getInstanceId() const { + return instanceId_; +} + +void GetMultiChannelRecordingRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetNumberLocationRequest.cc b/ccc/src/model/GetNumberLocationRequest.cc index 40e44b13e..02fb83377 100644 --- a/ccc/src/model/GetNumberLocationRequest.cc +++ b/ccc/src/model/GetNumberLocationRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetNumberLocationRequest; - -GetNumberLocationRequest::GetNumberLocationRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetNumberLocation") -{ - setMethod(HttpRequest::Method::Post); -} - -GetNumberLocationRequest::~GetNumberLocationRequest() -{} - -std::string GetNumberLocationRequest::getNumber()const -{ - return number_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetNumberLocationRequest; + +GetNumberLocationRequest::GetNumberLocationRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetNumberLocation") { + setMethod(HttpRequest::Method::Post); } -void GetNumberLocationRequest::setNumber(const std::string& number) -{ - number_ = number; - setParameter("Number", number); +GetNumberLocationRequest::~GetNumberLocationRequest() {} + +std::string GetNumberLocationRequest::getNumber() const { + return number_; } -std::string GetNumberLocationRequest::getInstanceId()const -{ - return instanceId_; +void GetNumberLocationRequest::setNumber(const std::string &number) { + number_ = number; + setParameter(std::string("Number"), number); } -void GetNumberLocationRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetNumberLocationRequest::getInstanceId() const { + return instanceId_; +} + +void GetNumberLocationRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetRealtimeCampaignStatsRequest.cc b/ccc/src/model/GetRealtimeCampaignStatsRequest.cc new file mode 100644 index 000000000..11d28f349 --- /dev/null +++ b/ccc/src/model/GetRealtimeCampaignStatsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::GetRealtimeCampaignStatsRequest; + +GetRealtimeCampaignStatsRequest::GetRealtimeCampaignStatsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetRealtimeCampaignStats") { + setMethod(HttpRequest::Method::Get); +} + +GetRealtimeCampaignStatsRequest::~GetRealtimeCampaignStatsRequest() {} + +std::string GetRealtimeCampaignStatsRequest::getQueueId() const { + return queueId_; +} + +void GetRealtimeCampaignStatsRequest::setQueueId(const std::string &queueId) { + queueId_ = queueId; + setParameter(std::string("QueueId"), queueId); +} + +std::string GetRealtimeCampaignStatsRequest::getInstanceId() const { + return instanceId_; +} + +void GetRealtimeCampaignStatsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/GetRealtimeCampaignStatsResult.cc b/ccc/src/model/GetRealtimeCampaignStatsResult.cc new file mode 100644 index 000000000..7d1f3ac28 --- /dev/null +++ b/ccc/src/model/GetRealtimeCampaignStatsResult.cc @@ -0,0 +1,85 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +GetRealtimeCampaignStatsResult::GetRealtimeCampaignStatsResult() : + ServiceResult() +{} + +GetRealtimeCampaignStatsResult::GetRealtimeCampaignStatsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetRealtimeCampaignStatsResult::~GetRealtimeCampaignStatsResult() +{} + +void GetRealtimeCampaignStatsResult::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["LoggedInAgents"].isNull()) + data_.loggedInAgents = std::stol(dataNode["LoggedInAgents"].asString()); + if(!dataNode["ReadyAgents"].isNull()) + data_.readyAgents = std::stol(dataNode["ReadyAgents"].asString()); + if(!dataNode["BreakingAgents"].isNull()) + data_.breakingAgents = std::stol(dataNode["BreakingAgents"].asString()); + if(!dataNode["TalkingAgents"].isNull()) + data_.talkingAgents = std::stol(dataNode["TalkingAgents"].asString()); + if(!dataNode["WorkingAgents"].isNull()) + data_.workingAgents = std::stol(dataNode["WorkingAgents"].asString()); + if(!dataNode["Caps"].isNull()) + data_.caps = std::stol(dataNode["Caps"].asString()); + if(!dataNode["TotalAgents"].isNull()) + data_.totalAgents = std::stol(dataNode["TotalAgents"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetRealtimeCampaignStatsResult::getMessage()const +{ + return message_; +} + +int GetRealtimeCampaignStatsResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +GetRealtimeCampaignStatsResult::Data GetRealtimeCampaignStatsResult::getData()const +{ + return data_; +} + +std::string GetRealtimeCampaignStatsResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/GetRealtimeInstanceStatesRequest.cc b/ccc/src/model/GetRealtimeInstanceStatesRequest.cc index 8d2ef37d3..842a3ee4f 100644 --- a/ccc/src/model/GetRealtimeInstanceStatesRequest.cc +++ b/ccc/src/model/GetRealtimeInstanceStatesRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetRealtimeInstanceStatesRequest; - -GetRealtimeInstanceStatesRequest::GetRealtimeInstanceStatesRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetRealtimeInstanceStates") -{ - setMethod(HttpRequest::Method::Post); -} - -GetRealtimeInstanceStatesRequest::~GetRealtimeInstanceStatesRequest() -{} - -std::string GetRealtimeInstanceStatesRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetRealtimeInstanceStatesRequest; + +GetRealtimeInstanceStatesRequest::GetRealtimeInstanceStatesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetRealtimeInstanceStates") { + setMethod(HttpRequest::Method::Post); } -void GetRealtimeInstanceStatesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +GetRealtimeInstanceStatesRequest::~GetRealtimeInstanceStatesRequest() {} + +std::string GetRealtimeInstanceStatesRequest::getInstanceId() const { + return instanceId_; +} + +void GetRealtimeInstanceStatesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetSkillGroupRequest.cc b/ccc/src/model/GetSkillGroupRequest.cc new file mode 100644 index 000000000..d690abe60 --- /dev/null +++ b/ccc/src/model/GetSkillGroupRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::GetSkillGroupRequest; + +GetSkillGroupRequest::GetSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetSkillGroup") { + setMethod(HttpRequest::Method::Post); +} + +GetSkillGroupRequest::~GetSkillGroupRequest() {} + +std::string GetSkillGroupRequest::getInstanceId() const { + return instanceId_; +} + +void GetSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string GetSkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void GetSkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); +} + diff --git a/ccc/src/model/GetSkillGroupResult.cc b/ccc/src/model/GetSkillGroupResult.cc new file mode 100644 index 000000000..7f42e82b6 --- /dev/null +++ b/ccc/src/model/GetSkillGroupResult.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +GetSkillGroupResult::GetSkillGroupResult() : + ServiceResult() +{} + +GetSkillGroupResult::GetSkillGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GetSkillGroupResult::~GetSkillGroupResult() +{} + +void GetSkillGroupResult::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["DisplayName"].isNull()) + data_.displayName = dataNode["DisplayName"].asString(); + if(!dataNode["InstanceId"].isNull()) + data_.instanceId = dataNode["InstanceId"].asString(); + if(!dataNode["Name"].isNull()) + data_.name = dataNode["Name"].asString(); + if(!dataNode["Description"].isNull()) + data_.description = dataNode["Description"].asString(); + if(!dataNode["SkillGroupId"].isNull()) + data_.skillGroupId = dataNode["SkillGroupId"].asString(); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string GetSkillGroupResult::getMessage()const +{ + return message_; +} + +int GetSkillGroupResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +GetSkillGroupResult::Data GetSkillGroupResult::getData()const +{ + return data_; +} + +std::string GetSkillGroupResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/GetTurnCredentialsRequest.cc b/ccc/src/model/GetTurnCredentialsRequest.cc index fc15d1b39..0b6b0f0ca 100644 --- a/ccc/src/model/GetTurnCredentialsRequest.cc +++ b/ccc/src/model/GetTurnCredentialsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetTurnCredentialsRequest; - -GetTurnCredentialsRequest::GetTurnCredentialsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetTurnCredentials") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTurnCredentialsRequest::~GetTurnCredentialsRequest() -{} - -std::string GetTurnCredentialsRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetTurnCredentialsRequest; + +GetTurnCredentialsRequest::GetTurnCredentialsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetTurnCredentials") { + setMethod(HttpRequest::Method::Post); } -void GetTurnCredentialsRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +GetTurnCredentialsRequest::~GetTurnCredentialsRequest() {} + +std::string GetTurnCredentialsRequest::getUserId() const { + return userId_; } -std::string GetTurnCredentialsRequest::getInstanceId()const -{ - return instanceId_; +void GetTurnCredentialsRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void GetTurnCredentialsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetTurnCredentialsRequest::getInstanceId() const { + return instanceId_; +} + +void GetTurnCredentialsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetTurnServerListRequest.cc b/ccc/src/model/GetTurnServerListRequest.cc index ca67d9618..8d8a917d1 100644 --- a/ccc/src/model/GetTurnServerListRequest.cc +++ b/ccc/src/model/GetTurnServerListRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::GetTurnServerListRequest; - -GetTurnServerListRequest::GetTurnServerListRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetTurnServerList") -{ - setMethod(HttpRequest::Method::Post); -} - -GetTurnServerListRequest::~GetTurnServerListRequest() -{} - -std::string GetTurnServerListRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetTurnServerListRequest; + +GetTurnServerListRequest::GetTurnServerListRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetTurnServerList") { + setMethod(HttpRequest::Method::Post); } -void GetTurnServerListRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +GetTurnServerListRequest::~GetTurnServerListRequest() {} + +std::string GetTurnServerListRequest::getInstanceId() const { + return instanceId_; +} + +void GetTurnServerListRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetUserRequest.cc b/ccc/src/model/GetUserRequest.cc index 4aba127b5..609500dec 100644 --- a/ccc/src/model/GetUserRequest.cc +++ b/ccc/src/model/GetUserRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::GetUserRequest; - -GetUserRequest::GetUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "GetUser") -{ - setMethod(HttpRequest::Method::Post); -} - -GetUserRequest::~GetUserRequest() -{} - -std::string GetUserRequest::getExtension()const -{ - return extension_; + */ + +#include + +using AlibabaCloud::CCC::Model::GetUserRequest; + +GetUserRequest::GetUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "GetUser") { + setMethod(HttpRequest::Method::Post); } -void GetUserRequest::setExtension(const std::string& extension) -{ - extension_ = extension; - setParameter("Extension", extension); +GetUserRequest::~GetUserRequest() {} + +std::string GetUserRequest::getExtension() const { + return extension_; } -std::string GetUserRequest::getUserId()const -{ - return userId_; +void GetUserRequest::setExtension(const std::string &extension) { + extension_ = extension; + setParameter(std::string("Extension"), extension); } -void GetUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string GetUserRequest::getUserId() const { + return userId_; } -std::string GetUserRequest::getInstanceId()const -{ - return instanceId_; +void GetUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void GetUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string GetUserRequest::getInstanceId() const { + return instanceId_; +} + +void GetUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/GetUserResult.cc b/ccc/src/model/GetUserResult.cc index cab1430ba..492d73d01 100644 --- a/ccc/src/model/GetUserResult.cc +++ b/ccc/src/model/GetUserResult.cc @@ -42,6 +42,8 @@ void GetUserResult::parse(const std::string &payload) auto dataNode = value["Data"]; if(!dataNode["DisplayName"].isNull()) data_.displayName = dataNode["DisplayName"].asString(); + if(!dataNode["DisplayId"].isNull()) + data_.displayId = dataNode["DisplayId"].asString(); if(!dataNode["Extension"].isNull()) data_.extension = dataNode["Extension"].asString(); if(!dataNode["LoginName"].isNull()) diff --git a/ccc/src/model/HoldCallRequest.cc b/ccc/src/model/HoldCallRequest.cc index 421c3daa2..dcf7141b6 100644 --- a/ccc/src/model/HoldCallRequest.cc +++ b/ccc/src/model/HoldCallRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::HoldCallRequest; - -HoldCallRequest::HoldCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "HoldCall") -{ - setMethod(HttpRequest::Method::Post); -} - -HoldCallRequest::~HoldCallRequest() -{} - -std::string HoldCallRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::HoldCallRequest; + +HoldCallRequest::HoldCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "HoldCall") { + setMethod(HttpRequest::Method::Post); } -void HoldCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +HoldCallRequest::~HoldCallRequest() {} + +std::string HoldCallRequest::getUserId() const { + return userId_; } -std::string HoldCallRequest::getDeviceId()const -{ - return deviceId_; +void HoldCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void HoldCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string HoldCallRequest::getDeviceId() const { + return deviceId_; } -std::string HoldCallRequest::getJobId()const -{ - return jobId_; +void HoldCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void HoldCallRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string HoldCallRequest::getJobId() const { + return jobId_; } -std::string HoldCallRequest::getInstanceId()const -{ - return instanceId_; +void HoldCallRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void HoldCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string HoldCallRequest::getInstanceId() const { + return instanceId_; } -std::string HoldCallRequest::getMusic()const -{ - return music_; +void HoldCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void HoldCallRequest::setMusic(const std::string& music) -{ - music_ = music; - setParameter("Music", music); +std::string HoldCallRequest::getMusic() const { + return music_; } -std::string HoldCallRequest::getChannelId()const -{ - return channelId_; +void HoldCallRequest::setMusic(const std::string &music) { + music_ = music; + setParameter(std::string("Music"), music); } -void HoldCallRequest::setChannelId(const std::string& channelId) -{ - channelId_ = channelId; - setParameter("ChannelId", channelId); +std::string HoldCallRequest::getChannelId() const { + return channelId_; +} + +void HoldCallRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); } diff --git a/ccc/src/model/ImportAdminsRequest.cc b/ccc/src/model/ImportAdminsRequest.cc new file mode 100644 index 000000000..5dddc9464 --- /dev/null +++ b/ccc/src/model/ImportAdminsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::ImportAdminsRequest; + +ImportAdminsRequest::ImportAdminsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ImportAdmins") { + setMethod(HttpRequest::Method::Post); +} + +ImportAdminsRequest::~ImportAdminsRequest() {} + +std::string ImportAdminsRequest::getRamIdList() const { + return ramIdList_; +} + +void ImportAdminsRequest::setRamIdList(const std::string &ramIdList) { + ramIdList_ = ramIdList; + setParameter(std::string("RamIdList"), ramIdList); +} + +std::string ImportAdminsRequest::getInstanceId() const { + return instanceId_; +} + +void ImportAdminsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/ImportAdminsResult.cc b/ccc/src/model/ImportAdminsResult.cc new file mode 100644 index 000000000..71ee18d19 --- /dev/null +++ b/ccc/src/model/ImportAdminsResult.cc @@ -0,0 +1,86 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ImportAdminsResult::ImportAdminsResult() : + ServiceResult() +{} + +ImportAdminsResult::ImportAdminsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImportAdminsResult::~ImportAdminsResult() +{} + +void ImportAdminsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["User"]; + for (auto valueDataUser : allDataNode) + { + User dataObject; + if(!valueDataUser["InstanceId"].isNull()) + dataObject.instanceId = valueDataUser["InstanceId"].asString(); + if(!valueDataUser["UserId"].isNull()) + dataObject.userId = valueDataUser["UserId"].asString(); + if(!valueDataUser["RoleId"].isNull()) + dataObject.roleId = valueDataUser["RoleId"].asString(); + if(!valueDataUser["Extension"].isNull()) + dataObject.extension = valueDataUser["Extension"].asString(); + if(!valueDataUser["RamId"].isNull()) + dataObject.ramId = valueDataUser["RamId"].asString(); + data_.push_back(dataObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ImportAdminsResult::getMessage()const +{ + return message_; +} + +int ImportAdminsResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ImportAdminsResult::getData()const +{ + return data_; +} + +std::string ImportAdminsResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/ImportCustomCallTaggingRequest.cc b/ccc/src/model/ImportCustomCallTaggingRequest.cc new file mode 100644 index 000000000..ae807e21d --- /dev/null +++ b/ccc/src/model/ImportCustomCallTaggingRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::ImportCustomCallTaggingRequest; + +ImportCustomCallTaggingRequest::ImportCustomCallTaggingRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ImportCustomCallTagging") { + setMethod(HttpRequest::Method::Post); +} + +ImportCustomCallTaggingRequest::~ImportCustomCallTaggingRequest() {} + +std::string ImportCustomCallTaggingRequest::getInstanceId() const { + return instanceId_; +} + +void ImportCustomCallTaggingRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ImportCustomCallTaggingRequest::getFilePath() const { + return filePath_; +} + +void ImportCustomCallTaggingRequest::setFilePath(const std::string &filePath) { + filePath_ = filePath; + setParameter(std::string("FilePath"), filePath); +} + diff --git a/ccc/src/model/ImportCustomCallTaggingResult.cc b/ccc/src/model/ImportCustomCallTaggingResult.cc new file mode 100644 index 000000000..493e28bf4 --- /dev/null +++ b/ccc/src/model/ImportCustomCallTaggingResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ImportCustomCallTaggingResult::ImportCustomCallTaggingResult() : + ServiceResult() +{} + +ImportCustomCallTaggingResult::ImportCustomCallTaggingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImportCustomCallTaggingResult::~ImportCustomCallTaggingResult() +{} + +void ImportCustomCallTaggingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["FailureItem"]; + for (auto valueDataFailureItem : allDataNode) + { + FailureItem dataObject; + if(!valueDataFailureItem["Item"].isNull()) + dataObject.item = valueDataFailureItem["Item"].asString(); + if(!valueDataFailureItem["Reason"].isNull()) + dataObject.reason = valueDataFailureItem["Reason"].asString(); + data_.push_back(dataObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ImportCustomCallTaggingResult::getMessage()const +{ + return message_; +} + +int ImportCustomCallTaggingResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ImportCustomCallTaggingResult::getData()const +{ + return data_; +} + +std::string ImportCustomCallTaggingResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/ImportDoNotCallNumbersRequest.cc b/ccc/src/model/ImportDoNotCallNumbersRequest.cc new file mode 100644 index 000000000..742dda686 --- /dev/null +++ b/ccc/src/model/ImportDoNotCallNumbersRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CCC::Model::ImportDoNotCallNumbersRequest; + +ImportDoNotCallNumbersRequest::ImportDoNotCallNumbersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ImportDoNotCallNumbers") { + setMethod(HttpRequest::Method::Post); +} + +ImportDoNotCallNumbersRequest::~ImportDoNotCallNumbersRequest() {} + +std::string ImportDoNotCallNumbersRequest::getRemark() const { + return remark_; +} + +void ImportDoNotCallNumbersRequest::setRemark(const std::string &remark) { + remark_ = remark; + setParameter(std::string("Remark"), remark); +} + +std::string ImportDoNotCallNumbersRequest::getNumberList() const { + return numberList_; +} + +void ImportDoNotCallNumbersRequest::setNumberList(const std::string &numberList) { + numberList_ = numberList; + setParameter(std::string("NumberList"), numberList); +} + +std::string ImportDoNotCallNumbersRequest::getInstanceId() const { + return instanceId_; +} + +void ImportDoNotCallNumbersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ImportDoNotCallNumbersRequest::getFilePath() const { + return filePath_; +} + +void ImportDoNotCallNumbersRequest::setFilePath(const std::string &filePath) { + filePath_ = filePath; + setParameter(std::string("FilePath"), filePath); +} + diff --git a/ccc/src/model/ImportDoNotCallNumbersResult.cc b/ccc/src/model/ImportDoNotCallNumbersResult.cc new file mode 100644 index 000000000..4312212eb --- /dev/null +++ b/ccc/src/model/ImportDoNotCallNumbersResult.cc @@ -0,0 +1,73 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ImportDoNotCallNumbersResult::ImportDoNotCallNumbersResult() : + ServiceResult() +{} + +ImportDoNotCallNumbersResult::ImportDoNotCallNumbersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ImportDoNotCallNumbersResult::~ImportDoNotCallNumbersResult() +{} + +void ImportDoNotCallNumbersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allParams = value["Params"]["Param"]; + for (const auto &item : allParams) + params_.push_back(item.asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ImportDoNotCallNumbersResult::getMessage()const +{ + return message_; +} + +int ImportDoNotCallNumbersResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ImportDoNotCallNumbersResult::getParams()const +{ + return params_; +} + +std::string ImportDoNotCallNumbersResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/InitiateAttendedTransferRequest.cc b/ccc/src/model/InitiateAttendedTransferRequest.cc index 7d0e4f0d4..16e14af1e 100644 --- a/ccc/src/model/InitiateAttendedTransferRequest.cc +++ b/ccc/src/model/InitiateAttendedTransferRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::InitiateAttendedTransferRequest; - -InitiateAttendedTransferRequest::InitiateAttendedTransferRequest() : - RpcServiceRequest("ccc", "2020-07-01", "InitiateAttendedTransfer") -{ - setMethod(HttpRequest::Method::Post); -} - -InitiateAttendedTransferRequest::~InitiateAttendedTransferRequest() -{} - -std::string InitiateAttendedTransferRequest::getTransferee()const -{ - return transferee_; + */ + +#include + +using AlibabaCloud::CCC::Model::InitiateAttendedTransferRequest; + +InitiateAttendedTransferRequest::InitiateAttendedTransferRequest() + : RpcServiceRequest("ccc", "2020-07-01", "InitiateAttendedTransfer") { + setMethod(HttpRequest::Method::Post); } -void InitiateAttendedTransferRequest::setTransferee(const std::string& transferee) -{ - transferee_ = transferee; - setParameter("Transferee", transferee); +InitiateAttendedTransferRequest::~InitiateAttendedTransferRequest() {} + +std::string InitiateAttendedTransferRequest::getTransferee() const { + return transferee_; } -std::string InitiateAttendedTransferRequest::getTransferor()const -{ - return transferor_; +void InitiateAttendedTransferRequest::setTransferee(const std::string &transferee) { + transferee_ = transferee; + setParameter(std::string("Transferee"), transferee); } -void InitiateAttendedTransferRequest::setTransferor(const std::string& transferor) -{ - transferor_ = transferor; - setParameter("Transferor", transferor); +std::string InitiateAttendedTransferRequest::getTransferor() const { + return transferor_; } -std::string InitiateAttendedTransferRequest::getUserId()const -{ - return userId_; +void InitiateAttendedTransferRequest::setTransferor(const std::string &transferor) { + transferor_ = transferor; + setParameter(std::string("Transferor"), transferor); } -void InitiateAttendedTransferRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string InitiateAttendedTransferRequest::getUserId() const { + return userId_; } -std::string InitiateAttendedTransferRequest::getDeviceId()const -{ - return deviceId_; +void InitiateAttendedTransferRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void InitiateAttendedTransferRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string InitiateAttendedTransferRequest::getDeviceId() const { + return deviceId_; } -int InitiateAttendedTransferRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; +void InitiateAttendedTransferRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void InitiateAttendedTransferRequest::setTimeoutSeconds(int timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +int InitiateAttendedTransferRequest::getTimeoutSeconds() const { + return timeoutSeconds_; } -std::string InitiateAttendedTransferRequest::getJobId()const -{ - return jobId_; +void InitiateAttendedTransferRequest::setTimeoutSeconds(int timeoutSeconds) { + timeoutSeconds_ = timeoutSeconds; + setParameter(std::string("TimeoutSeconds"), std::to_string(timeoutSeconds)); } -void InitiateAttendedTransferRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string InitiateAttendedTransferRequest::getJobId() const { + return jobId_; } -std::string InitiateAttendedTransferRequest::getInstanceId()const -{ - return instanceId_; +void InitiateAttendedTransferRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void InitiateAttendedTransferRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string InitiateAttendedTransferRequest::getInstanceId() const { + return instanceId_; +} + +void InitiateAttendedTransferRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/InterceptCallRequest.cc b/ccc/src/model/InterceptCallRequest.cc index b830822fc..d324712c5 100644 --- a/ccc/src/model/InterceptCallRequest.cc +++ b/ccc/src/model/InterceptCallRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::InterceptCallRequest; - -InterceptCallRequest::InterceptCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "InterceptCall") -{ - setMethod(HttpRequest::Method::Post); -} - -InterceptCallRequest::~InterceptCallRequest() -{} - -std::string InterceptCallRequest::getInterceptedUserId()const -{ - return interceptedUserId_; + */ + +#include + +using AlibabaCloud::CCC::Model::InterceptCallRequest; + +InterceptCallRequest::InterceptCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "InterceptCall") { + setMethod(HttpRequest::Method::Post); } -void InterceptCallRequest::setInterceptedUserId(const std::string& interceptedUserId) -{ - interceptedUserId_ = interceptedUserId; - setParameter("InterceptedUserId", interceptedUserId); +InterceptCallRequest::~InterceptCallRequest() {} + +std::string InterceptCallRequest::getInterceptedUserId() const { + return interceptedUserId_; } -std::string InterceptCallRequest::getUserId()const -{ - return userId_; +void InterceptCallRequest::setInterceptedUserId(const std::string &interceptedUserId) { + interceptedUserId_ = interceptedUserId; + setParameter(std::string("InterceptedUserId"), interceptedUserId); } -void InterceptCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string InterceptCallRequest::getUserId() const { + return userId_; } -std::string InterceptCallRequest::getDeviceId()const -{ - return deviceId_; +void InterceptCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void InterceptCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string InterceptCallRequest::getDeviceId() const { + return deviceId_; } -std::string InterceptCallRequest::getJobId()const -{ - return jobId_; +void InterceptCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void InterceptCallRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string InterceptCallRequest::getJobId() const { + return jobId_; } -int InterceptCallRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; +void InterceptCallRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void InterceptCallRequest::setTimeoutSeconds(int timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +int InterceptCallRequest::getTimeoutSeconds() const { + return timeoutSeconds_; } -std::string InterceptCallRequest::getInstanceId()const -{ - return instanceId_; +void InterceptCallRequest::setTimeoutSeconds(int timeoutSeconds) { + timeoutSeconds_ = timeoutSeconds; + setParameter(std::string("TimeoutSeconds"), std::to_string(timeoutSeconds)); } -void InterceptCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string InterceptCallRequest::getInstanceId() const { + return instanceId_; +} + +void InterceptCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/LaunchAuthenticationRequest.cc b/ccc/src/model/LaunchAuthenticationRequest.cc index b20a95064..6e7e27b57 100644 --- a/ccc/src/model/LaunchAuthenticationRequest.cc +++ b/ccc/src/model/LaunchAuthenticationRequest.cc @@ -1,84 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::LaunchAuthenticationRequest; - -LaunchAuthenticationRequest::LaunchAuthenticationRequest() : - RpcServiceRequest("ccc", "2020-07-01", "LaunchAuthentication") -{ - setMethod(HttpRequest::Method::Post); -} - -LaunchAuthenticationRequest::~LaunchAuthenticationRequest() -{} - -std::string LaunchAuthenticationRequest::getContactFlowId()const -{ - return contactFlowId_; + */ + +#include + +using AlibabaCloud::CCC::Model::LaunchAuthenticationRequest; + +LaunchAuthenticationRequest::LaunchAuthenticationRequest() + : RpcServiceRequest("ccc", "2020-07-01", "LaunchAuthentication") { + setMethod(HttpRequest::Method::Post); } -void LaunchAuthenticationRequest::setContactFlowId(const std::string& contactFlowId) -{ - contactFlowId_ = contactFlowId; - setParameter("ContactFlowId", contactFlowId); +LaunchAuthenticationRequest::~LaunchAuthenticationRequest() {} + +std::string LaunchAuthenticationRequest::getContactFlowId() const { + return contactFlowId_; } -std::string LaunchAuthenticationRequest::getUserId()const -{ - return userId_; +void LaunchAuthenticationRequest::setContactFlowId(const std::string &contactFlowId) { + contactFlowId_ = contactFlowId; + setParameter(std::string("ContactFlowId"), contactFlowId); } -void LaunchAuthenticationRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string LaunchAuthenticationRequest::getContactFlowVariables() const { + return contactFlowVariables_; } -std::string LaunchAuthenticationRequest::getDeviceId()const -{ - return deviceId_; +void LaunchAuthenticationRequest::setContactFlowVariables(const std::string &contactFlowVariables) { + contactFlowVariables_ = contactFlowVariables; + setParameter(std::string("ContactFlowVariables"), contactFlowVariables); } -void LaunchAuthenticationRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string LaunchAuthenticationRequest::getUserId() const { + return userId_; } -std::string LaunchAuthenticationRequest::getJobId()const -{ - return jobId_; +void LaunchAuthenticationRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void LaunchAuthenticationRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string LaunchAuthenticationRequest::getDeviceId() const { + return deviceId_; } -std::string LaunchAuthenticationRequest::getInstanceId()const -{ - return instanceId_; +void LaunchAuthenticationRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void LaunchAuthenticationRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string LaunchAuthenticationRequest::getJobId() const { + return jobId_; +} + +void LaunchAuthenticationRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + +std::string LaunchAuthenticationRequest::getInstanceId() const { + return instanceId_; +} + +void LaunchAuthenticationRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/LaunchSurveyRequest.cc b/ccc/src/model/LaunchSurveyRequest.cc index 2d7a46942..af0dc6a3b 100644 --- a/ccc/src/model/LaunchSurveyRequest.cc +++ b/ccc/src/model/LaunchSurveyRequest.cc @@ -1,84 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::LaunchSurveyRequest; - -LaunchSurveyRequest::LaunchSurveyRequest() : - RpcServiceRequest("ccc", "2020-07-01", "LaunchSurvey") -{ - setMethod(HttpRequest::Method::Post); -} - -LaunchSurveyRequest::~LaunchSurveyRequest() -{} - -std::string LaunchSurveyRequest::getContactFlowId()const -{ - return contactFlowId_; + */ + +#include + +using AlibabaCloud::CCC::Model::LaunchSurveyRequest; + +LaunchSurveyRequest::LaunchSurveyRequest() + : RpcServiceRequest("ccc", "2020-07-01", "LaunchSurvey") { + setMethod(HttpRequest::Method::Post); } -void LaunchSurveyRequest::setContactFlowId(const std::string& contactFlowId) -{ - contactFlowId_ = contactFlowId; - setParameter("ContactFlowId", contactFlowId); +LaunchSurveyRequest::~LaunchSurveyRequest() {} + +std::string LaunchSurveyRequest::getContactFlowId() const { + return contactFlowId_; } -std::string LaunchSurveyRequest::getUserId()const -{ - return userId_; +void LaunchSurveyRequest::setContactFlowId(const std::string &contactFlowId) { + contactFlowId_ = contactFlowId; + setParameter(std::string("ContactFlowId"), contactFlowId); } -void LaunchSurveyRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string LaunchSurveyRequest::getContactFlowVariables() const { + return contactFlowVariables_; } -std::string LaunchSurveyRequest::getDeviceId()const -{ - return deviceId_; +void LaunchSurveyRequest::setContactFlowVariables(const std::string &contactFlowVariables) { + contactFlowVariables_ = contactFlowVariables; + setParameter(std::string("ContactFlowVariables"), contactFlowVariables); } -void LaunchSurveyRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string LaunchSurveyRequest::getUserId() const { + return userId_; } -std::string LaunchSurveyRequest::getJobId()const -{ - return jobId_; +void LaunchSurveyRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void LaunchSurveyRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string LaunchSurveyRequest::getDeviceId() const { + return deviceId_; } -std::string LaunchSurveyRequest::getInstanceId()const -{ - return instanceId_; +void LaunchSurveyRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void LaunchSurveyRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string LaunchSurveyRequest::getJobId() const { + return jobId_; +} + +void LaunchSurveyRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); +} + +std::string LaunchSurveyRequest::getInstanceId() const { + return instanceId_; +} + +void LaunchSurveyRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string LaunchSurveyRequest::getSmsMetadataId() const { + return smsMetadataId_; +} + +void LaunchSurveyRequest::setSmsMetadataId(const std::string &smsMetadataId) { + smsMetadataId_ = smsMetadataId; + setParameter(std::string("SmsMetadataId"), smsMetadataId); +} + +std::string LaunchSurveyRequest::getSurveyChannel() const { + return surveyChannel_; +} + +void LaunchSurveyRequest::setSurveyChannel(const std::string &surveyChannel) { + surveyChannel_ = surveyChannel; + setParameter(std::string("SurveyChannel"), surveyChannel); } diff --git a/ccc/src/model/LaunchSurveyResult.cc b/ccc/src/model/LaunchSurveyResult.cc index 9c91e0e67..fbffd8f35 100644 --- a/ccc/src/model/LaunchSurveyResult.cc +++ b/ccc/src/model/LaunchSurveyResult.cc @@ -40,6 +40,8 @@ void LaunchSurveyResult::parse(const std::string &payload) reader.parse(payload, value); setRequestId(value["RequestId"].asString()); auto dataNode = value["Data"]; + if(!dataNode["ContextId"].isNull()) + data_.contextId = std::stol(dataNode["ContextId"].asString()); auto callContextNode = dataNode["CallContext"]; if(!callContextNode["CallType"].isNull()) data_.callContext.callType = callContextNode["CallType"].asString(); diff --git a/ccc/src/model/ListAgentStateLogsRequest.cc b/ccc/src/model/ListAgentStateLogsRequest.cc index 9a661e9ad..da5d900f8 100644 --- a/ccc/src/model/ListAgentStateLogsRequest.cc +++ b/ccc/src/model/ListAgentStateLogsRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListAgentStateLogsRequest; - -ListAgentStateLogsRequest::ListAgentStateLogsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListAgentStateLogs") -{ - setMethod(HttpRequest::Method::Post); -} - -ListAgentStateLogsRequest::~ListAgentStateLogsRequest() -{} - -std::string ListAgentStateLogsRequest::getAgentId()const -{ - return agentId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListAgentStateLogsRequest; + +ListAgentStateLogsRequest::ListAgentStateLogsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListAgentStateLogs") { + setMethod(HttpRequest::Method::Post); } -void ListAgentStateLogsRequest::setAgentId(const std::string& agentId) -{ - agentId_ = agentId; - setParameter("AgentId", agentId); +ListAgentStateLogsRequest::~ListAgentStateLogsRequest() {} + +std::string ListAgentStateLogsRequest::getAgentId() const { + return agentId_; } -long ListAgentStateLogsRequest::getEndTime()const -{ - return endTime_; +void ListAgentStateLogsRequest::setAgentId(const std::string &agentId) { + agentId_ = agentId; + setParameter(std::string("AgentId"), agentId); } -void ListAgentStateLogsRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +long ListAgentStateLogsRequest::getEndTime() const { + return endTime_; } -long ListAgentStateLogsRequest::getStartTime()const -{ - return startTime_; +void ListAgentStateLogsRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListAgentStateLogsRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long ListAgentStateLogsRequest::getStartTime() const { + return startTime_; } -std::string ListAgentStateLogsRequest::getInstanceId()const -{ - return instanceId_; +void ListAgentStateLogsRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListAgentStateLogsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListAgentStateLogsRequest::getInstanceId() const { + return instanceId_; +} + +void ListAgentStateLogsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ListAgentStateLogsResult.cc b/ccc/src/model/ListAgentStateLogsResult.cc index a9d0a96da..72965d3ae 100644 --- a/ccc/src/model/ListAgentStateLogsResult.cc +++ b/ccc/src/model/ListAgentStateLogsResult.cc @@ -51,6 +51,8 @@ void ListAgentStateLogsResult::parse(const std::string &payload) dataObject.duration = std::stol(valueDataDataItem["Duration"].asString()); if(!valueDataDataItem["State"].isNull()) dataObject.state = valueDataDataItem["State"].asString(); + if(!valueDataDataItem["OutboundScenario"].isNull()) + dataObject.outboundScenario = valueDataDataItem["OutboundScenario"].asString() == "true"; data_.push_back(dataObject); } if(!value["Code"].isNull()) diff --git a/ccc/src/model/ListAgentStatesRequest.cc b/ccc/src/model/ListAgentStatesRequest.cc new file mode 100644 index 000000000..f83197da6 --- /dev/null +++ b/ccc/src/model/ListAgentStatesRequest.cc @@ -0,0 +1,90 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CCC::Model::ListAgentStatesRequest; + +ListAgentStatesRequest::ListAgentStatesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListAgentStates") { + setMethod(HttpRequest::Method::Post); +} + +ListAgentStatesRequest::~ListAgentStatesRequest() {} + +std::string ListAgentStatesRequest::getAgentIds() const { + return agentIds_; +} + +void ListAgentStatesRequest::setAgentIds(const std::string &agentIds) { + agentIds_ = agentIds; + setParameter(std::string("AgentIds"), agentIds); +} + +int ListAgentStatesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListAgentStatesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListAgentStatesRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ListAgentStatesRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string ListAgentStatesRequest::getInstanceId() const { + return instanceId_; +} + +void ListAgentStatesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListAgentStatesRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void ListAgentStatesRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); +} + +int ListAgentStatesRequest::getPageSize() const { + return pageSize_; +} + +void ListAgentStatesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListAgentStatesRequest::getState() const { + return state_; +} + +void ListAgentStatesRequest::setState(const std::string &state) { + state_ = state; + setParameter(std::string("State"), state); +} + diff --git a/ccc/src/model/ListAgentStatesResult.cc b/ccc/src/model/ListAgentStatesResult.cc new file mode 100644 index 000000000..a17b7fde2 --- /dev/null +++ b/ccc/src/model/ListAgentStatesResult.cc @@ -0,0 +1,104 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ListAgentStatesResult::ListAgentStatesResult() : + ServiceResult() +{} + +ListAgentStatesResult::ListAgentStatesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAgentStatesResult::~ListAgentStatesResult() +{} + +void ListAgentStatesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["RealTimeAgentState"]; + for (auto dataNodeListRealTimeAgentState : allListNode) + { + Data::RealTimeAgentState realTimeAgentStateObject; + if(!dataNodeListRealTimeAgentState["LoginName"].isNull()) + realTimeAgentStateObject.loginName = dataNodeListRealTimeAgentState["LoginName"].asString(); + if(!dataNodeListRealTimeAgentState["Dn"].isNull()) + realTimeAgentStateObject.dn = dataNodeListRealTimeAgentState["Dn"].asString(); + if(!dataNodeListRealTimeAgentState["StateDuration"].isNull()) + realTimeAgentStateObject.stateDuration = dataNodeListRealTimeAgentState["StateDuration"].asString(); + if(!dataNodeListRealTimeAgentState["State"].isNull()) + realTimeAgentStateObject.state = dataNodeListRealTimeAgentState["State"].asString(); + if(!dataNodeListRealTimeAgentState["AgentId"].isNull()) + realTimeAgentStateObject.agentId = dataNodeListRealTimeAgentState["AgentId"].asString(); + if(!dataNodeListRealTimeAgentState["AgentName"].isNull()) + realTimeAgentStateObject.agentName = dataNodeListRealTimeAgentState["AgentName"].asString(); + if(!dataNodeListRealTimeAgentState["InstanceId"].isNull()) + realTimeAgentStateObject.instanceId = dataNodeListRealTimeAgentState["InstanceId"].asString(); + data_.list.push_back(realTimeAgentStateObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAgentStatesResult::getMessage()const +{ + return message_; +} + +int ListAgentStatesResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListAgentStatesResult::Data ListAgentStatesResult::getData()const +{ + return data_; +} + +std::string ListAgentStatesResult::getCode()const +{ + return code_; +} + +bool ListAgentStatesResult::getSuccess()const +{ + return success_; +} + diff --git a/ccc/src/model/ListAgentSummaryReportsSinceMidnightRequest.cc b/ccc/src/model/ListAgentSummaryReportsSinceMidnightRequest.cc new file mode 100644 index 000000000..c52ca23ec --- /dev/null +++ b/ccc/src/model/ListAgentSummaryReportsSinceMidnightRequest.cc @@ -0,0 +1,81 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::ListAgentSummaryReportsSinceMidnightRequest; + +ListAgentSummaryReportsSinceMidnightRequest::ListAgentSummaryReportsSinceMidnightRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListAgentSummaryReportsSinceMidnight") { + setMethod(HttpRequest::Method::Get); +} + +ListAgentSummaryReportsSinceMidnightRequest::~ListAgentSummaryReportsSinceMidnightRequest() {} + +std::string ListAgentSummaryReportsSinceMidnightRequest::getAgentIds() const { + return agentIds_; +} + +void ListAgentSummaryReportsSinceMidnightRequest::setAgentIds(const std::string &agentIds) { + agentIds_ = agentIds; + setParameter(std::string("AgentIds"), agentIds); +} + +int ListAgentSummaryReportsSinceMidnightRequest::getPageNumber() const { + return pageNumber_; +} + +void ListAgentSummaryReportsSinceMidnightRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListAgentSummaryReportsSinceMidnightRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ListAgentSummaryReportsSinceMidnightRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string ListAgentSummaryReportsSinceMidnightRequest::getInstanceId() const { + return instanceId_; +} + +void ListAgentSummaryReportsSinceMidnightRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListAgentSummaryReportsSinceMidnightRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void ListAgentSummaryReportsSinceMidnightRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); +} + +int ListAgentSummaryReportsSinceMidnightRequest::getPageSize() const { + return pageSize_; +} + +void ListAgentSummaryReportsSinceMidnightRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/ccc/src/model/ListAgentSummaryReportsSinceMidnightResult.cc b/ccc/src/model/ListAgentSummaryReportsSinceMidnightResult.cc new file mode 100644 index 000000000..b5f0a8e20 --- /dev/null +++ b/ccc/src/model/ListAgentSummaryReportsSinceMidnightResult.cc @@ -0,0 +1,203 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ListAgentSummaryReportsSinceMidnightResult::ListAgentSummaryReportsSinceMidnightResult() : + ServiceResult() +{} + +ListAgentSummaryReportsSinceMidnightResult::ListAgentSummaryReportsSinceMidnightResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListAgentSummaryReportsSinceMidnightResult::~ListAgentSummaryReportsSinceMidnightResult() +{} + +void ListAgentSummaryReportsSinceMidnightResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto pagedAgentSummaryReportNode = value["PagedAgentSummaryReport"]; + if(!pagedAgentSummaryReportNode["PageNumber"].isNull()) + pagedAgentSummaryReport_.pageNumber = std::stoi(pagedAgentSummaryReportNode["PageNumber"].asString()); + if(!pagedAgentSummaryReportNode["PageSize"].isNull()) + pagedAgentSummaryReport_.pageSize = std::stoi(pagedAgentSummaryReportNode["PageSize"].asString()); + if(!pagedAgentSummaryReportNode["TotalCount"].isNull()) + pagedAgentSummaryReport_.totalCount = std::stoi(pagedAgentSummaryReportNode["TotalCount"].asString()); + auto allListNode = pagedAgentSummaryReportNode["List"]["AgentSummaryReport"]; + for (auto pagedAgentSummaryReportNodeListAgentSummaryReport : allListNode) + { + PagedAgentSummaryReport::AgentSummaryReport agentSummaryReportObject; + if(!pagedAgentSummaryReportNodeListAgentSummaryReport["LoginName"].isNull()) + agentSummaryReportObject.loginName = pagedAgentSummaryReportNodeListAgentSummaryReport["LoginName"].asString(); + if(!pagedAgentSummaryReportNodeListAgentSummaryReport["AgentId"].isNull()) + agentSummaryReportObject.agentId = pagedAgentSummaryReportNodeListAgentSummaryReport["AgentId"].asString(); + if(!pagedAgentSummaryReportNodeListAgentSummaryReport["AgentName"].isNull()) + agentSummaryReportObject.agentName = pagedAgentSummaryReportNodeListAgentSummaryReport["AgentName"].asString(); + if(!pagedAgentSummaryReportNodeListAgentSummaryReport["SkillGroupNames"].isNull()) + agentSummaryReportObject.skillGroupNames = pagedAgentSummaryReportNodeListAgentSummaryReport["SkillGroupNames"].asString(); + if(!pagedAgentSummaryReportNodeListAgentSummaryReport["Timestamp"].isNull()) + agentSummaryReportObject.timestamp = pagedAgentSummaryReportNodeListAgentSummaryReport["Timestamp"].asString(); + if(!pagedAgentSummaryReportNodeListAgentSummaryReport["InstanceId"].isNull()) + agentSummaryReportObject.instanceId = pagedAgentSummaryReportNodeListAgentSummaryReport["InstanceId"].asString(); + if(!pagedAgentSummaryReportNodeListAgentSummaryReport["SkillGroupIds"].isNull()) + agentSummaryReportObject.skillGroupIds = pagedAgentSummaryReportNodeListAgentSummaryReport["SkillGroupIds"].asString(); + auto overallNode = value["Overall"]; + if(!overallNode["TotalTalkTime"].isNull()) + agentSummaryReportObject.overall.totalTalkTime = std::stol(overallNode["TotalTalkTime"].asString()); + if(!overallNode["TotalLoggedInTime"].isNull()) + agentSummaryReportObject.overall.totalLoggedInTime = std::stol(overallNode["TotalLoggedInTime"].asString()); + if(!overallNode["OccupancyRate"].isNull()) + agentSummaryReportObject.overall.occupancyRate = std::stof(overallNode["OccupancyRate"].asString()); + if(!overallNode["TotalWorkTime"].isNull()) + agentSummaryReportObject.overall.totalWorkTime = std::stol(overallNode["TotalWorkTime"].asString()); + if(!overallNode["MaxWorkTime"].isNull()) + agentSummaryReportObject.overall.maxWorkTime = std::stol(overallNode["MaxWorkTime"].asString()); + if(!overallNode["AverageWorkTime"].isNull()) + agentSummaryReportObject.overall.averageWorkTime = std::stol(overallNode["AverageWorkTime"].asString()); + if(!overallNode["AverageTalkTime"].isNull()) + agentSummaryReportObject.overall.averageTalkTime = std::stol(overallNode["AverageTalkTime"].asString()); + if(!overallNode["SatisfactionIndex"].isNull()) + agentSummaryReportObject.overall.satisfactionIndex = std::stof(overallNode["SatisfactionIndex"].asString()); + if(!overallNode["SatisfactionSurveysOffered"].isNull()) + agentSummaryReportObject.overall.satisfactionSurveysOffered = std::stol(overallNode["SatisfactionSurveysOffered"].asString()); + if(!overallNode["SatisfactionSurveysResponded"].isNull()) + agentSummaryReportObject.overall.satisfactionSurveysResponded = std::stol(overallNode["SatisfactionSurveysResponded"].asString()); + if(!overallNode["AverageReadyTime"].isNull()) + agentSummaryReportObject.overall.averageReadyTime = std::stol(overallNode["AverageReadyTime"].asString()); + if(!overallNode["MaxReadyTime"].isNull()) + agentSummaryReportObject.overall.maxReadyTime = std::stol(overallNode["MaxReadyTime"].asString()); + if(!overallNode["OneTransferCalls"].isNull()) + agentSummaryReportObject.overall.oneTransferCalls = std::stol(overallNode["OneTransferCalls"].asString()); + if(!overallNode["MaxTalkTime"].isNull()) + agentSummaryReportObject.overall.maxTalkTime = std::stol(overallNode["MaxTalkTime"].asString()); + if(!overallNode["TotalReadyTime"].isNull()) + agentSummaryReportObject.overall.totalReadyTime = std::stol(overallNode["TotalReadyTime"].asString()); + if(!overallNode["TotalBreakTime"].isNull()) + agentSummaryReportObject.overall.totalBreakTime = std::stol(overallNode["TotalBreakTime"].asString()); + if(!overallNode["TotalCalls"].isNull()) + agentSummaryReportObject.overall.totalCalls = std::stol(overallNode["TotalCalls"].asString()); + auto inboundNode = value["Inbound"]; + if(!inboundNode["TotalTalkTime"].isNull()) + agentSummaryReportObject.inbound.totalTalkTime = std::stol(inboundNode["TotalTalkTime"].asString()); + if(!inboundNode["CallsOffered"].isNull()) + agentSummaryReportObject.inbound.callsOffered = std::stol(inboundNode["CallsOffered"].asString()); + if(!inboundNode["AverageRingTime"].isNull()) + agentSummaryReportObject.inbound.averageRingTime = std::stol(inboundNode["AverageRingTime"].asString()); + if(!inboundNode["CallsHandled"].isNull()) + agentSummaryReportObject.inbound.callsHandled = std::stol(inboundNode["CallsHandled"].asString()); + if(!inboundNode["ServiceLevel20"].isNull()) + agentSummaryReportObject.inbound.serviceLevel20 = std::stof(inboundNode["ServiceLevel20"].asString()); + if(!inboundNode["TotalWorkTime"].isNull()) + agentSummaryReportObject.inbound.totalWorkTime = std::stol(inboundNode["TotalWorkTime"].asString()); + if(!inboundNode["MaxWorkTime"].isNull()) + agentSummaryReportObject.inbound.maxWorkTime = std::stol(inboundNode["MaxWorkTime"].asString()); + if(!inboundNode["AverageWorkTime"].isNull()) + agentSummaryReportObject.inbound.averageWorkTime = std::stol(inboundNode["AverageWorkTime"].asString()); + if(!inboundNode["AverageTalkTime"].isNull()) + agentSummaryReportObject.inbound.averageTalkTime = std::stol(inboundNode["AverageTalkTime"].asString()); + if(!inboundNode["SatisfactionIndex"].isNull()) + agentSummaryReportObject.inbound.satisfactionIndex = std::stof(inboundNode["SatisfactionIndex"].asString()); + if(!inboundNode["SatisfactionSurveysOffered"].isNull()) + agentSummaryReportObject.inbound.satisfactionSurveysOffered = std::stol(inboundNode["SatisfactionSurveysOffered"].asString()); + if(!inboundNode["HandleRate"].isNull()) + agentSummaryReportObject.inbound.handleRate = std::stof(inboundNode["HandleRate"].asString()); + if(!inboundNode["SatisfactionSurveysResponded"].isNull()) + agentSummaryReportObject.inbound.satisfactionSurveysResponded = std::stol(inboundNode["SatisfactionSurveysResponded"].asString()); + if(!inboundNode["TotalRingTime"].isNull()) + agentSummaryReportObject.inbound.totalRingTime = std::stol(inboundNode["TotalRingTime"].asString()); + if(!inboundNode["MaxTalkTime"].isNull()) + agentSummaryReportObject.inbound.maxTalkTime = std::stol(inboundNode["MaxTalkTime"].asString()); + if(!inboundNode["MaxRingTime"].isNull()) + agentSummaryReportObject.inbound.maxRingTime = std::stol(inboundNode["MaxRingTime"].asString()); + auto outboundNode = value["Outbound"]; + if(!outboundNode["TotalTalkTime"].isNull()) + agentSummaryReportObject.outbound.totalTalkTime = std::stol(outboundNode["TotalTalkTime"].asString()); + if(!outboundNode["MaxDialingTime"].isNull()) + agentSummaryReportObject.outbound.maxDialingTime = std::stol(outboundNode["MaxDialingTime"].asString()); + if(!outboundNode["CallsDialed"].isNull()) + agentSummaryReportObject.outbound.callsDialed = std::stol(outboundNode["CallsDialed"].asString()); + if(!outboundNode["CallsAnswered"].isNull()) + agentSummaryReportObject.outbound.callsAnswered = std::stol(outboundNode["CallsAnswered"].asString()); + if(!outboundNode["AnswerRate"].isNull()) + agentSummaryReportObject.outbound.answerRate = std::stof(outboundNode["AnswerRate"].asString()); + if(!outboundNode["TotalWorkTime"].isNull()) + agentSummaryReportObject.outbound.totalWorkTime = std::stol(outboundNode["TotalWorkTime"].asString()); + if(!outboundNode["MaxWorkTime"].isNull()) + agentSummaryReportObject.outbound.maxWorkTime = outboundNode["MaxWorkTime"].asString(); + if(!outboundNode["TotalDialingTime"].isNull()) + agentSummaryReportObject.outbound.totalDialingTime = std::stol(outboundNode["TotalDialingTime"].asString()); + if(!outboundNode["AverageTalkTime"].isNull()) + agentSummaryReportObject.outbound.averageTalkTime = std::stol(outboundNode["AverageTalkTime"].asString()); + if(!outboundNode["AverageWorkTime"].isNull()) + agentSummaryReportObject.outbound.averageWorkTime = std::stol(outboundNode["AverageWorkTime"].asString()); + if(!outboundNode["SatisfactionIndex"].isNull()) + agentSummaryReportObject.outbound.satisfactionIndex = std::stof(outboundNode["SatisfactionIndex"].asString()); + if(!outboundNode["SatisfactionSurveysOffered"].isNull()) + agentSummaryReportObject.outbound.satisfactionSurveysOffered = std::stol(outboundNode["SatisfactionSurveysOffered"].asString()); + if(!outboundNode["SatisfactionSurveysResponded"].isNull()) + agentSummaryReportObject.outbound.satisfactionSurveysResponded = std::stol(outboundNode["SatisfactionSurveysResponded"].asString()); + if(!outboundNode["MaxTalkTime"].isNull()) + agentSummaryReportObject.outbound.maxTalkTime = std::stol(outboundNode["MaxTalkTime"].asString()); + if(!outboundNode["AverageDialingTime"].isNull()) + agentSummaryReportObject.outbound.averageDialingTime = std::stol(outboundNode["AverageDialingTime"].asString()); + pagedAgentSummaryReport_.list.push_back(agentSummaryReportObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListAgentSummaryReportsSinceMidnightResult::getMessage()const +{ + return message_; +} + +ListAgentSummaryReportsSinceMidnightResult::PagedAgentSummaryReport ListAgentSummaryReportsSinceMidnightResult::getPagedAgentSummaryReport()const +{ + return pagedAgentSummaryReport_; +} + +int ListAgentSummaryReportsSinceMidnightResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string ListAgentSummaryReportsSinceMidnightResult::getCode()const +{ + return code_; +} + +bool ListAgentSummaryReportsSinceMidnightResult::getSuccess()const +{ + return success_; +} + diff --git a/ccc/src/model/ListAttemptsRequest.cc b/ccc/src/model/ListAttemptsRequest.cc index d2843b79a..727f986d4 100644 --- a/ccc/src/model/ListAttemptsRequest.cc +++ b/ccc/src/model/ListAttemptsRequest.cc @@ -1,172 +1,144 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListAttemptsRequest; - -ListAttemptsRequest::ListAttemptsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListAttempts") -{ - setMethod(HttpRequest::Method::Get); -} - -ListAttemptsRequest::~ListAttemptsRequest() -{} - -std::string ListAttemptsRequest::getContactId()const -{ - return contactId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListAttemptsRequest; + +ListAttemptsRequest::ListAttemptsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListAttempts") { + setMethod(HttpRequest::Method::Get); } -void ListAttemptsRequest::setContactId(const std::string& contactId) -{ - contactId_ = contactId; - setParameter("ContactId", contactId); +ListAttemptsRequest::~ListAttemptsRequest() {} + +std::string ListAttemptsRequest::getContactId() const { + return contactId_; } -std::string ListAttemptsRequest::getCampaignId()const -{ - return campaignId_; +void ListAttemptsRequest::setContactId(const std::string &contactId) { + contactId_ = contactId; + setParameter(std::string("ContactId"), contactId); } -void ListAttemptsRequest::setCampaignId(const std::string& campaignId) -{ - campaignId_ = campaignId; - setParameter("CampaignId", campaignId); +std::string ListAttemptsRequest::getCampaignId() const { + return campaignId_; } -std::string ListAttemptsRequest::getCallee()const -{ - return callee_; +void ListAttemptsRequest::setCampaignId(const std::string &campaignId) { + campaignId_ = campaignId; + setParameter(std::string("CampaignId"), campaignId); } -void ListAttemptsRequest::setCallee(const std::string& callee) -{ - callee_ = callee; - setParameter("Callee", callee); +std::string ListAttemptsRequest::getCallee() const { + return callee_; } -long ListAttemptsRequest::getStartTime()const -{ - return startTime_; +void ListAttemptsRequest::setCallee(const std::string &callee) { + callee_ = callee; + setParameter(std::string("Callee"), callee); } -void ListAttemptsRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long ListAttemptsRequest::getStartTime() const { + return startTime_; } -int ListAttemptsRequest::getPageNumber()const -{ - return pageNumber_; +void ListAttemptsRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListAttemptsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListAttemptsRequest::getPageNumber() const { + return pageNumber_; } -int ListAttemptsRequest::getPageSize()const -{ - return pageSize_; +void ListAttemptsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListAttemptsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListAttemptsRequest::getPageSize() const { + return pageSize_; } -std::string ListAttemptsRequest::getQueueId()const -{ - return queueId_; +void ListAttemptsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListAttemptsRequest::setQueueId(const std::string& queueId) -{ - queueId_ = queueId; - setParameter("QueueId", queueId); +std::string ListAttemptsRequest::getQueueId() const { + return queueId_; } -std::string ListAttemptsRequest::getAgentId()const -{ - return agentId_; +void ListAttemptsRequest::setQueueId(const std::string &queueId) { + queueId_ = queueId; + setParameter(std::string("QueueId"), queueId); } -void ListAttemptsRequest::setAgentId(const std::string& agentId) -{ - agentId_ = agentId; - setParameter("AgentId", agentId); +std::string ListAttemptsRequest::getAgentId() const { + return agentId_; } -long ListAttemptsRequest::getEndTime()const -{ - return endTime_; +void ListAttemptsRequest::setAgentId(const std::string &agentId) { + agentId_ = agentId; + setParameter(std::string("AgentId"), agentId); } -void ListAttemptsRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +long ListAttemptsRequest::getEndTime() const { + return endTime_; } -std::string ListAttemptsRequest::getCaller()const -{ - return caller_; +void ListAttemptsRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListAttemptsRequest::setCaller(const std::string& caller) -{ - caller_ = caller; - setParameter("Caller", caller); +std::string ListAttemptsRequest::getCaller() const { + return caller_; } -std::string ListAttemptsRequest::getInstanceId()const -{ - return instanceId_; +void ListAttemptsRequest::setCaller(const std::string &caller) { + caller_ = caller; + setParameter(std::string("Caller"), caller); } -void ListAttemptsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListAttemptsRequest::getInstanceId() const { + return instanceId_; } -std::string ListAttemptsRequest::getCaseId()const -{ - return caseId_; +void ListAttemptsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListAttemptsRequest::setCaseId(const std::string& caseId) -{ - caseId_ = caseId; - setParameter("CaseId", caseId); +std::string ListAttemptsRequest::getCaseId() const { + return caseId_; } -std::string ListAttemptsRequest::getAttemptId()const -{ - return attemptId_; +void ListAttemptsRequest::setCaseId(const std::string &caseId) { + caseId_ = caseId; + setParameter(std::string("CaseId"), caseId); } -void ListAttemptsRequest::setAttemptId(const std::string& attemptId) -{ - attemptId_ = attemptId; - setParameter("AttemptId", attemptId); +std::string ListAttemptsRequest::getAttemptId() const { + return attemptId_; +} + +void ListAttemptsRequest::setAttemptId(const std::string &attemptId) { + attemptId_ = attemptId; + setParameter(std::string("AttemptId"), attemptId); } diff --git a/ccc/src/model/ListBriefSkillGroupsRequest.cc b/ccc/src/model/ListBriefSkillGroupsRequest.cc index 51292e702..932e65f62 100644 --- a/ccc/src/model/ListBriefSkillGroupsRequest.cc +++ b/ccc/src/model/ListBriefSkillGroupsRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListBriefSkillGroupsRequest; - -ListBriefSkillGroupsRequest::ListBriefSkillGroupsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListBriefSkillGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -ListBriefSkillGroupsRequest::~ListBriefSkillGroupsRequest() -{} - -int ListBriefSkillGroupsRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListBriefSkillGroupsRequest; + +ListBriefSkillGroupsRequest::ListBriefSkillGroupsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListBriefSkillGroups") { + setMethod(HttpRequest::Method::Post); } -void ListBriefSkillGroupsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListBriefSkillGroupsRequest::~ListBriefSkillGroupsRequest() {} + +int ListBriefSkillGroupsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListBriefSkillGroupsRequest::getSearchPattern()const -{ - return searchPattern_; +void ListBriefSkillGroupsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListBriefSkillGroupsRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListBriefSkillGroupsRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListBriefSkillGroupsRequest::getInstanceId()const -{ - return instanceId_; +void ListBriefSkillGroupsRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListBriefSkillGroupsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListBriefSkillGroupsRequest::getInstanceId() const { + return instanceId_; } -int ListBriefSkillGroupsRequest::getPageSize()const -{ - return pageSize_; +void ListBriefSkillGroupsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListBriefSkillGroupsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListBriefSkillGroupsRequest::getPageSize() const { + return pageSize_; +} + +void ListBriefSkillGroupsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListCallDetailRecordsRequest.cc b/ccc/src/model/ListCallDetailRecordsRequest.cc index 3bf4a3f0d..c481ef94f 100644 --- a/ccc/src/model/ListCallDetailRecordsRequest.cc +++ b/ccc/src/model/ListCallDetailRecordsRequest.cc @@ -1,238 +1,216 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListCallDetailRecordsRequest; - -ListCallDetailRecordsRequest::ListCallDetailRecordsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListCallDetailRecords") -{ - setMethod(HttpRequest::Method::Post); -} - -ListCallDetailRecordsRequest::~ListCallDetailRecordsRequest() -{} - -std::string ListCallDetailRecordsRequest::getContactId()const -{ - return contactId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListCallDetailRecordsRequest; + +ListCallDetailRecordsRequest::ListCallDetailRecordsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListCallDetailRecords") { + setMethod(HttpRequest::Method::Post); } -void ListCallDetailRecordsRequest::setContactId(const std::string& contactId) -{ - contactId_ = contactId; - setParameter("ContactId", contactId); +ListCallDetailRecordsRequest::~ListCallDetailRecordsRequest() {} + +std::string ListCallDetailRecordsRequest::getContactId() const { + return contactId_; } -std::string ListCallDetailRecordsRequest::getCriteria()const -{ - return criteria_; +void ListCallDetailRecordsRequest::setContactId(const std::string &contactId) { + contactId_ = contactId; + setParameter(std::string("ContactId"), contactId); } -void ListCallDetailRecordsRequest::setCriteria(const std::string& criteria) -{ - criteria_ = criteria; - setParameter("Criteria", criteria); +std::string ListCallDetailRecordsRequest::getCriteria() const { + return criteria_; } -std::string ListCallDetailRecordsRequest::getOrderByField()const -{ - return orderByField_; +void ListCallDetailRecordsRequest::setCriteria(const std::string &criteria) { + criteria_ = criteria; + setParameter(std::string("Criteria"), criteria); } -void ListCallDetailRecordsRequest::setOrderByField(const std::string& orderByField) -{ - orderByField_ = orderByField; - setParameter("OrderByField", orderByField); +std::string ListCallDetailRecordsRequest::getContactDispositionList() const { + return contactDispositionList_; } -long ListCallDetailRecordsRequest::getStartTime()const -{ - return startTime_; +void ListCallDetailRecordsRequest::setContactDispositionList(const std::string &contactDispositionList) { + contactDispositionList_ = contactDispositionList; + setParameter(std::string("ContactDispositionList"), contactDispositionList); } -void ListCallDetailRecordsRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +std::string ListCallDetailRecordsRequest::getOrderByField() const { + return orderByField_; } -int ListCallDetailRecordsRequest::getPageNumber()const -{ - return pageNumber_; +void ListCallDetailRecordsRequest::setOrderByField(const std::string &orderByField) { + orderByField_ = orderByField; + setParameter(std::string("OrderByField"), orderByField); } -void ListCallDetailRecordsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +long ListCallDetailRecordsRequest::getStartTime() const { + return startTime_; } -std::string ListCallDetailRecordsRequest::getEarlyMediaStateList()const -{ - return earlyMediaStateList_; +void ListCallDetailRecordsRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListCallDetailRecordsRequest::setEarlyMediaStateList(const std::string& earlyMediaStateList) -{ - earlyMediaStateList_ = earlyMediaStateList; - setParameter("EarlyMediaStateList", earlyMediaStateList); +int ListCallDetailRecordsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListCallDetailRecordsRequest::getCalledNumber()const -{ - return calledNumber_; +void ListCallDetailRecordsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListCallDetailRecordsRequest::setCalledNumber(const std::string& calledNumber) -{ - calledNumber_ = calledNumber; - setParameter("CalledNumber", calledNumber); +std::string ListCallDetailRecordsRequest::getEarlyMediaStateList() const { + return earlyMediaStateList_; } -std::string ListCallDetailRecordsRequest::getSatisfactionList()const -{ - return satisfactionList_; +void ListCallDetailRecordsRequest::setEarlyMediaStateList(const std::string &earlyMediaStateList) { + earlyMediaStateList_ = earlyMediaStateList; + setParameter(std::string("EarlyMediaStateList"), earlyMediaStateList); } -void ListCallDetailRecordsRequest::setSatisfactionList(const std::string& satisfactionList) -{ - satisfactionList_ = satisfactionList; - setParameter("SatisfactionList", satisfactionList); +std::string ListCallDetailRecordsRequest::getCalledNumber() const { + return calledNumber_; } -int ListCallDetailRecordsRequest::getPageSize()const -{ - return pageSize_; +void ListCallDetailRecordsRequest::setCalledNumber(const std::string &calledNumber) { + calledNumber_ = calledNumber; + setParameter(std::string("CalledNumber"), calledNumber); } -void ListCallDetailRecordsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +std::string ListCallDetailRecordsRequest::getSatisfactionList() const { + return satisfactionList_; } -std::string ListCallDetailRecordsRequest::getSortOrder()const -{ - return sortOrder_; +void ListCallDetailRecordsRequest::setSatisfactionList(const std::string &satisfactionList) { + satisfactionList_ = satisfactionList; + setParameter(std::string("SatisfactionList"), satisfactionList); } -void ListCallDetailRecordsRequest::setSortOrder(const std::string& sortOrder) -{ - sortOrder_ = sortOrder; - setParameter("SortOrder", sortOrder); +int ListCallDetailRecordsRequest::getPageSize() const { + return pageSize_; } -std::string ListCallDetailRecordsRequest::getSatisfactionDescriptionList()const -{ - return satisfactionDescriptionList_; +void ListCallDetailRecordsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListCallDetailRecordsRequest::setSatisfactionDescriptionList(const std::string& satisfactionDescriptionList) -{ - satisfactionDescriptionList_ = satisfactionDescriptionList; - setParameter("SatisfactionDescriptionList", satisfactionDescriptionList); +std::string ListCallDetailRecordsRequest::getSortOrder() const { + return sortOrder_; } -std::string ListCallDetailRecordsRequest::getAgentId()const -{ - return agentId_; +void ListCallDetailRecordsRequest::setSortOrder(const std::string &sortOrder) { + sortOrder_ = sortOrder; + setParameter(std::string("SortOrder"), sortOrder); } -void ListCallDetailRecordsRequest::setAgentId(const std::string& agentId) -{ - agentId_ = agentId; - setParameter("AgentId", agentId); +std::string ListCallDetailRecordsRequest::getSatisfactionDescriptionList() const { + return satisfactionDescriptionList_; } -std::string ListCallDetailRecordsRequest::getContactType()const -{ - return contactType_; +void ListCallDetailRecordsRequest::setSatisfactionDescriptionList(const std::string &satisfactionDescriptionList) { + satisfactionDescriptionList_ = satisfactionDescriptionList; + setParameter(std::string("SatisfactionDescriptionList"), satisfactionDescriptionList); } -void ListCallDetailRecordsRequest::setContactType(const std::string& contactType) -{ - contactType_ = contactType; - setParameter("ContactType", contactType); +std::string ListCallDetailRecordsRequest::getAgentId() const { + return agentId_; } -std::string ListCallDetailRecordsRequest::getSatisfactionSurveyChannel()const -{ - return satisfactionSurveyChannel_; +void ListCallDetailRecordsRequest::setAgentId(const std::string &agentId) { + agentId_ = agentId; + setParameter(std::string("AgentId"), agentId); } -void ListCallDetailRecordsRequest::setSatisfactionSurveyChannel(const std::string& satisfactionSurveyChannel) -{ - satisfactionSurveyChannel_ = satisfactionSurveyChannel; - setParameter("SatisfactionSurveyChannel", satisfactionSurveyChannel); +std::string ListCallDetailRecordsRequest::getContactType() const { + return contactType_; } -long ListCallDetailRecordsRequest::getEndTime()const -{ - return endTime_; +void ListCallDetailRecordsRequest::setContactType(const std::string &contactType) { + contactType_ = contactType; + setParameter(std::string("ContactType"), contactType); } -void ListCallDetailRecordsRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +std::string ListCallDetailRecordsRequest::getContactTypeList() const { + return contactTypeList_; } -std::string ListCallDetailRecordsRequest::getCallingNumber()const -{ - return callingNumber_; +void ListCallDetailRecordsRequest::setContactTypeList(const std::string &contactTypeList) { + contactTypeList_ = contactTypeList; + setParameter(std::string("ContactTypeList"), contactTypeList); } -void ListCallDetailRecordsRequest::setCallingNumber(const std::string& callingNumber) -{ - callingNumber_ = callingNumber; - setParameter("CallingNumber", callingNumber); +std::string ListCallDetailRecordsRequest::getSatisfactionSurveyChannel() const { + return satisfactionSurveyChannel_; } -std::string ListCallDetailRecordsRequest::getContactDisposition()const -{ - return contactDisposition_; +void ListCallDetailRecordsRequest::setSatisfactionSurveyChannel(const std::string &satisfactionSurveyChannel) { + satisfactionSurveyChannel_ = satisfactionSurveyChannel; + setParameter(std::string("SatisfactionSurveyChannel"), satisfactionSurveyChannel); } -void ListCallDetailRecordsRequest::setContactDisposition(const std::string& contactDisposition) -{ - contactDisposition_ = contactDisposition; - setParameter("ContactDisposition", contactDisposition); +long ListCallDetailRecordsRequest::getEndTime() const { + return endTime_; } -std::string ListCallDetailRecordsRequest::getInstanceId()const -{ - return instanceId_; +void ListCallDetailRecordsRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListCallDetailRecordsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListCallDetailRecordsRequest::getCallingNumber() const { + return callingNumber_; } -std::string ListCallDetailRecordsRequest::getSkillGroupId()const -{ - return skillGroupId_; +void ListCallDetailRecordsRequest::setCallingNumber(const std::string &callingNumber) { + callingNumber_ = callingNumber; + setParameter(std::string("CallingNumber"), callingNumber); } -void ListCallDetailRecordsRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string ListCallDetailRecordsRequest::getContactDisposition() const { + return contactDisposition_; +} + +void ListCallDetailRecordsRequest::setContactDisposition(const std::string &contactDisposition) { + contactDisposition_ = contactDisposition; + setParameter(std::string("ContactDisposition"), contactDisposition); +} + +std::string ListCallDetailRecordsRequest::getInstanceId() const { + return instanceId_; +} + +void ListCallDetailRecordsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListCallDetailRecordsRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void ListCallDetailRecordsRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } diff --git a/ccc/src/model/ListCallTagsRequest.cc b/ccc/src/model/ListCallTagsRequest.cc new file mode 100644 index 000000000..20ed9e5f9 --- /dev/null +++ b/ccc/src/model/ListCallTagsRequest.cc @@ -0,0 +1,54 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CCC::Model::ListCallTagsRequest; + +ListCallTagsRequest::ListCallTagsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListCallTags") { + setMethod(HttpRequest::Method::Post); +} + +ListCallTagsRequest::~ListCallTagsRequest() {} + +int ListCallTagsRequest::getPageNumber() const { + return pageNumber_; +} + +void ListCallTagsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListCallTagsRequest::getInstanceId() const { + return instanceId_; +} + +void ListCallTagsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +int ListCallTagsRequest::getPageSize() const { + return pageSize_; +} + +void ListCallTagsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/ccc/src/model/ListCallTagsResult.cc b/ccc/src/model/ListCallTagsResult.cc new file mode 100644 index 000000000..c7815c609 --- /dev/null +++ b/ccc/src/model/ListCallTagsResult.cc @@ -0,0 +1,87 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ListCallTagsResult::ListCallTagsResult() : + ServiceResult() +{} + +ListCallTagsResult::ListCallTagsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCallTagsResult::~ListCallTagsResult() +{} + +void ListCallTagsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["CallTag"]; + for (auto dataNodeListCallTag : allListNode) + { + Data::CallTag callTagObject; + if(!dataNodeListCallTag["InstanceId"].isNull()) + callTagObject.instanceId = dataNodeListCallTag["InstanceId"].asString(); + if(!dataNodeListCallTag["TagName"].isNull()) + callTagObject.tagName = dataNodeListCallTag["TagName"].asString(); + data_.list.push_back(callTagObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListCallTagsResult::getMessage()const +{ + return message_; +} + +int ListCallTagsResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListCallTagsResult::Data ListCallTagsResult::getData()const +{ + return data_; +} + +std::string ListCallTagsResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/ListCampaignTrendingReportRequest.cc b/ccc/src/model/ListCampaignTrendingReportRequest.cc index 545aff700..8485be6b4 100644 --- a/ccc/src/model/ListCampaignTrendingReportRequest.cc +++ b/ccc/src/model/ListCampaignTrendingReportRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListCampaignTrendingReportRequest; - -ListCampaignTrendingReportRequest::ListCampaignTrendingReportRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListCampaignTrendingReport") -{ - setMethod(HttpRequest::Method::Get); -} - -ListCampaignTrendingReportRequest::~ListCampaignTrendingReportRequest() -{} - -std::string ListCampaignTrendingReportRequest::getCampaignId()const -{ - return campaignId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListCampaignTrendingReportRequest; + +ListCampaignTrendingReportRequest::ListCampaignTrendingReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListCampaignTrendingReport") { + setMethod(HttpRequest::Method::Get); } -void ListCampaignTrendingReportRequest::setCampaignId(const std::string& campaignId) -{ - campaignId_ = campaignId; - setParameter("CampaignId", campaignId); +ListCampaignTrendingReportRequest::~ListCampaignTrendingReportRequest() {} + +std::string ListCampaignTrendingReportRequest::getCampaignId() const { + return campaignId_; } -long ListCampaignTrendingReportRequest::getEndTime()const -{ - return endTime_; +void ListCampaignTrendingReportRequest::setCampaignId(const std::string &campaignId) { + campaignId_ = campaignId; + setParameter(std::string("CampaignId"), campaignId); } -void ListCampaignTrendingReportRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +long ListCampaignTrendingReportRequest::getEndTime() const { + return endTime_; } -long ListCampaignTrendingReportRequest::getStartTime()const -{ - return startTime_; +void ListCampaignTrendingReportRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListCampaignTrendingReportRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long ListCampaignTrendingReportRequest::getStartTime() const { + return startTime_; } -std::string ListCampaignTrendingReportRequest::getInstanceId()const -{ - return instanceId_; +void ListCampaignTrendingReportRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListCampaignTrendingReportRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListCampaignTrendingReportRequest::getInstanceId() const { + return instanceId_; +} + +void ListCampaignTrendingReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ListCampaignsRequest.cc b/ccc/src/model/ListCampaignsRequest.cc index 433107499..875e11be0 100644 --- a/ccc/src/model/ListCampaignsRequest.cc +++ b/ccc/src/model/ListCampaignsRequest.cc @@ -1,139 +1,117 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListCampaignsRequest; - -ListCampaignsRequest::ListCampaignsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListCampaigns") -{ - setMethod(HttpRequest::Method::Post); -} - -ListCampaignsRequest::~ListCampaignsRequest() -{} - -std::string ListCampaignsRequest::getActualStartTimeTo()const -{ - return actualStartTimeTo_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListCampaignsRequest; + +ListCampaignsRequest::ListCampaignsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListCampaigns") { + setMethod(HttpRequest::Method::Post); } -void ListCampaignsRequest::setActualStartTimeTo(const std::string& actualStartTimeTo) -{ - actualStartTimeTo_ = actualStartTimeTo; - setParameter("ActualStartTimeTo", actualStartTimeTo); +ListCampaignsRequest::~ListCampaignsRequest() {} + +std::string ListCampaignsRequest::getActualStartTimeTo() const { + return actualStartTimeTo_; } -std::string ListCampaignsRequest::getQueueId()const -{ - return queueId_; +void ListCampaignsRequest::setActualStartTimeTo(const std::string &actualStartTimeTo) { + actualStartTimeTo_ = actualStartTimeTo; + setParameter(std::string("ActualStartTimeTo"), actualStartTimeTo); } -void ListCampaignsRequest::setQueueId(const std::string& queueId) -{ - queueId_ = queueId; - setParameter("QueueId", queueId); +std::string ListCampaignsRequest::getQueueId() const { + return queueId_; } -std::string ListCampaignsRequest::getActualStartTimeFrom()const -{ - return actualStartTimeFrom_; +void ListCampaignsRequest::setQueueId(const std::string &queueId) { + queueId_ = queueId; + setParameter(std::string("QueueId"), queueId); } -void ListCampaignsRequest::setActualStartTimeFrom(const std::string& actualStartTimeFrom) -{ - actualStartTimeFrom_ = actualStartTimeFrom; - setParameter("ActualStartTimeFrom", actualStartTimeFrom); +std::string ListCampaignsRequest::getActualStartTimeFrom() const { + return actualStartTimeFrom_; } -long ListCampaignsRequest::getPageNumber()const -{ - return pageNumber_; +void ListCampaignsRequest::setActualStartTimeFrom(const std::string &actualStartTimeFrom) { + actualStartTimeFrom_ = actualStartTimeFrom; + setParameter(std::string("ActualStartTimeFrom"), actualStartTimeFrom); } -void ListCampaignsRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +long ListCampaignsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListCampaignsRequest::getPlanedStartTimeFrom()const -{ - return planedStartTimeFrom_; +void ListCampaignsRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListCampaignsRequest::setPlanedStartTimeFrom(const std::string& planedStartTimeFrom) -{ - planedStartTimeFrom_ = planedStartTimeFrom; - setParameter("PlanedStartTimeFrom", planedStartTimeFrom); +std::string ListCampaignsRequest::getPlanedStartTimeFrom() const { + return planedStartTimeFrom_; } -std::string ListCampaignsRequest::getInstanceId()const -{ - return instanceId_; +void ListCampaignsRequest::setPlanedStartTimeFrom(const std::string &planedStartTimeFrom) { + planedStartTimeFrom_ = planedStartTimeFrom; + setParameter(std::string("PlanedStartTimeFrom"), planedStartTimeFrom); } -void ListCampaignsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListCampaignsRequest::getInstanceId() const { + return instanceId_; } -std::string ListCampaignsRequest::getName()const -{ - return name_; +void ListCampaignsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListCampaignsRequest::setName(const std::string& name) -{ - name_ = name; - setParameter("Name", name); +std::string ListCampaignsRequest::getName() const { + return name_; } -long ListCampaignsRequest::getPageSize()const -{ - return pageSize_; +void ListCampaignsRequest::setName(const std::string &name) { + name_ = name; + setParameter(std::string("Name"), name); } -void ListCampaignsRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +long ListCampaignsRequest::getPageSize() const { + return pageSize_; } -std::string ListCampaignsRequest::getPlanedStartTimeTo()const -{ - return planedStartTimeTo_; +void ListCampaignsRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListCampaignsRequest::setPlanedStartTimeTo(const std::string& planedStartTimeTo) -{ - planedStartTimeTo_ = planedStartTimeTo; - setParameter("PlanedStartTimeTo", planedStartTimeTo); +std::string ListCampaignsRequest::getPlanedStartTimeTo() const { + return planedStartTimeTo_; } -std::string ListCampaignsRequest::getState()const -{ - return state_; +void ListCampaignsRequest::setPlanedStartTimeTo(const std::string &planedStartTimeTo) { + planedStartTimeTo_ = planedStartTimeTo; + setParameter(std::string("PlanedStartTimeTo"), planedStartTimeTo); } -void ListCampaignsRequest::setState(const std::string& state) -{ - state_ = state; - setParameter("State", state); +std::string ListCampaignsRequest::getState() const { + return state_; +} + +void ListCampaignsRequest::setState(const std::string &state) { + state_ = state; + setParameter(std::string("State"), state); } diff --git a/ccc/src/model/ListCasesRequest.cc b/ccc/src/model/ListCasesRequest.cc index 1ed023765..d8502abae 100644 --- a/ccc/src/model/ListCasesRequest.cc +++ b/ccc/src/model/ListCasesRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListCasesRequest; - -ListCasesRequest::ListCasesRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListCases") -{ - setMethod(HttpRequest::Method::Post); -} - -ListCasesRequest::~ListCasesRequest() -{} - -std::string ListCasesRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListCasesRequest; + +ListCasesRequest::ListCasesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListCases") { + setMethod(HttpRequest::Method::Post); } -void ListCasesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +ListCasesRequest::~ListCasesRequest() {} + +std::string ListCasesRequest::getInstanceId() const { + return instanceId_; } -std::string ListCasesRequest::getCampaignId()const -{ - return campaignId_; +void ListCasesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListCasesRequest::setCampaignId(const std::string& campaignId) -{ - campaignId_ = campaignId; - setParameter("CampaignId", campaignId); +std::string ListCasesRequest::getCampaignId() const { + return campaignId_; } -std::string ListCasesRequest::getPhoneNumber()const -{ - return phoneNumber_; +void ListCasesRequest::setCampaignId(const std::string &campaignId) { + campaignId_ = campaignId; + setParameter(std::string("CampaignId"), campaignId); } -void ListCasesRequest::setPhoneNumber(const std::string& phoneNumber) -{ - phoneNumber_ = phoneNumber; - setParameter("PhoneNumber", phoneNumber); +std::string ListCasesRequest::getPhoneNumber() const { + return phoneNumber_; } -long ListCasesRequest::getPageSize()const -{ - return pageSize_; +void ListCasesRequest::setPhoneNumber(const std::string &phoneNumber) { + phoneNumber_ = phoneNumber; + setParameter(std::string("PhoneNumber"), phoneNumber); } -void ListCasesRequest::setPageSize(long pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +long ListCasesRequest::getPageSize() const { + return pageSize_; } -long ListCasesRequest::getPageNumber()const -{ - return pageNumber_; +void ListCasesRequest::setPageSize(long pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListCasesRequest::setPageNumber(long pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +long ListCasesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListCasesRequest::setPageNumber(long pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } diff --git a/ccc/src/model/ListConfigItemsRequest.cc b/ccc/src/model/ListConfigItemsRequest.cc index c06edad90..b4cabb7cb 100644 --- a/ccc/src/model/ListConfigItemsRequest.cc +++ b/ccc/src/model/ListConfigItemsRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListConfigItemsRequest; - -ListConfigItemsRequest::ListConfigItemsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListConfigItems") -{ - setMethod(HttpRequest::Method::Post); -} - -ListConfigItemsRequest::~ListConfigItemsRequest() -{} - -std::string ListConfigItemsRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListConfigItemsRequest; + +ListConfigItemsRequest::ListConfigItemsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListConfigItems") { + setMethod(HttpRequest::Method::Post); } -void ListConfigItemsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +ListConfigItemsRequest::~ListConfigItemsRequest() {} + +std::string ListConfigItemsRequest::getInstanceId() const { + return instanceId_; } -std::string ListConfigItemsRequest::getObjectType()const -{ - return objectType_; +void ListConfigItemsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListConfigItemsRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setParameter("ObjectType", objectType); +std::string ListConfigItemsRequest::getObjectType() const { + return objectType_; } -std::string ListConfigItemsRequest::getObjectId()const -{ - return objectId_; +void ListConfigItemsRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setParameter(std::string("ObjectType"), objectType); } -void ListConfigItemsRequest::setObjectId(const std::string& objectId) -{ - objectId_ = objectId; - setParameter("ObjectId", objectId); +std::string ListConfigItemsRequest::getObjectId() const { + return objectId_; +} + +void ListConfigItemsRequest::setObjectId(const std::string &objectId) { + objectId_ = objectId; + setParameter(std::string("ObjectId"), objectId); } diff --git a/ccc/src/model/ListContactFlowsRequest.cc b/ccc/src/model/ListContactFlowsRequest.cc index 51012251c..c7a15ed07 100644 --- a/ccc/src/model/ListContactFlowsRequest.cc +++ b/ccc/src/model/ListContactFlowsRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListContactFlowsRequest; - -ListContactFlowsRequest::ListContactFlowsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListContactFlows") -{ - setMethod(HttpRequest::Method::Post); -} - -ListContactFlowsRequest::~ListContactFlowsRequest() -{} - -std::string ListContactFlowsRequest::getType()const -{ - return type_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListContactFlowsRequest; + +ListContactFlowsRequest::ListContactFlowsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListContactFlows") { + setMethod(HttpRequest::Method::Post); } -void ListContactFlowsRequest::setType(const std::string& type) -{ - type_ = type; - setParameter("Type", type); +ListContactFlowsRequest::~ListContactFlowsRequest() {} + +std::string ListContactFlowsRequest::getType() const { + return type_; } -int ListContactFlowsRequest::getPageNumber()const -{ - return pageNumber_; +void ListContactFlowsRequest::setType(const std::string &type) { + type_ = type; + setParameter(std::string("Type"), type); } -void ListContactFlowsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListContactFlowsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListContactFlowsRequest::getInstanceId()const -{ - return instanceId_; +void ListContactFlowsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListContactFlowsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListContactFlowsRequest::getInstanceId() const { + return instanceId_; } -int ListContactFlowsRequest::getPageSize()const -{ - return pageSize_; +void ListContactFlowsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListContactFlowsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListContactFlowsRequest::getPageSize() const { + return pageSize_; +} + +void ListContactFlowsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListCustomCallTaggingRequest.cc b/ccc/src/model/ListCustomCallTaggingRequest.cc new file mode 100644 index 000000000..0f43ae13b --- /dev/null +++ b/ccc/src/model/ListCustomCallTaggingRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CCC::Model::ListCustomCallTaggingRequest; + +ListCustomCallTaggingRequest::ListCustomCallTaggingRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListCustomCallTagging") { + setMethod(HttpRequest::Method::Post); +} + +ListCustomCallTaggingRequest::~ListCustomCallTaggingRequest() {} + +int ListCustomCallTaggingRequest::getPageNumber() const { + return pageNumber_; +} + +void ListCustomCallTaggingRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListCustomCallTaggingRequest::getSearchPattern() const { + return searchPattern_; +} + +void ListCustomCallTaggingRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); +} + +std::string ListCustomCallTaggingRequest::getInstanceId() const { + return instanceId_; +} + +void ListCustomCallTaggingRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +int ListCustomCallTaggingRequest::getPageSize() const { + return pageSize_; +} + +void ListCustomCallTaggingRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + +std::string ListCustomCallTaggingRequest::getCallTagNameList() const { + return callTagNameList_; +} + +void ListCustomCallTaggingRequest::setCallTagNameList(const std::string &callTagNameList) { + callTagNameList_ = callTagNameList; + setParameter(std::string("CallTagNameList"), callTagNameList); +} + diff --git a/ccc/src/model/ListCustomCallTaggingResult.cc b/ccc/src/model/ListCustomCallTaggingResult.cc new file mode 100644 index 000000000..569170338 --- /dev/null +++ b/ccc/src/model/ListCustomCallTaggingResult.cc @@ -0,0 +1,103 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ListCustomCallTaggingResult::ListCustomCallTaggingResult() : + ServiceResult() +{} + +ListCustomCallTaggingResult::ListCustomCallTaggingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListCustomCallTaggingResult::~ListCustomCallTaggingResult() +{} + +void ListCustomCallTaggingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["CustomCallTagging"]; + for (auto dataNodeListCustomCallTagging : allListNode) + { + Data::CustomCallTagging customCallTaggingObject; + if(!dataNodeListCustomCallTagging["InstanceId"].isNull()) + customCallTaggingObject.instanceId = dataNodeListCustomCallTagging["InstanceId"].asString(); + if(!dataNodeListCustomCallTagging["Number"].isNull()) + customCallTaggingObject.number = dataNodeListCustomCallTagging["Number"].asString(); + if(!dataNodeListCustomCallTagging["Description"].isNull()) + customCallTaggingObject.description = dataNodeListCustomCallTagging["Description"].asString(); + if(!dataNodeListCustomCallTagging["Creator"].isNull()) + customCallTaggingObject.creator = dataNodeListCustomCallTagging["Creator"].asString(); + if(!dataNodeListCustomCallTagging["UpdateTime"].isNull()) + customCallTaggingObject.updateTime = dataNodeListCustomCallTagging["UpdateTime"].asString(); + auto allCallTagListNode = dataNodeListCustomCallTagging["CallTagList"]["CallTag"]; + for (auto dataNodeListCustomCallTaggingCallTagListCallTag : allCallTagListNode) + { + Data::CustomCallTagging::CallTag callTagListObject; + if(!dataNodeListCustomCallTaggingCallTagListCallTag["InstanceId"].isNull()) + callTagListObject.instanceId = dataNodeListCustomCallTaggingCallTagListCallTag["InstanceId"].asString(); + if(!dataNodeListCustomCallTaggingCallTagListCallTag["TagName"].isNull()) + callTagListObject.tagName = dataNodeListCustomCallTaggingCallTagListCallTag["TagName"].asString(); + customCallTaggingObject.callTagList.push_back(callTagListObject); + } + data_.list.push_back(customCallTaggingObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListCustomCallTaggingResult::getMessage()const +{ + return message_; +} + +int ListCustomCallTaggingResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListCustomCallTaggingResult::Data ListCustomCallTaggingResult::getData()const +{ + return data_; +} + +std::string ListCustomCallTaggingResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/ListDevicesRequest.cc b/ccc/src/model/ListDevicesRequest.cc index ed2b91818..10f6e33d9 100644 --- a/ccc/src/model/ListDevicesRequest.cc +++ b/ccc/src/model/ListDevicesRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListDevicesRequest; - -ListDevicesRequest::ListDevicesRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListDevices") -{ - setMethod(HttpRequest::Method::Post); -} - -ListDevicesRequest::~ListDevicesRequest() -{} - -std::string ListDevicesRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListDevicesRequest; + +ListDevicesRequest::ListDevicesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListDevices") { + setMethod(HttpRequest::Method::Post); } -void ListDevicesRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +ListDevicesRequest::~ListDevicesRequest() {} + +std::string ListDevicesRequest::getUserId() const { + return userId_; } -std::string ListDevicesRequest::getInstanceId()const -{ - return instanceId_; +void ListDevicesRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ListDevicesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListDevicesRequest::getInstanceId() const { + return instanceId_; +} + +void ListDevicesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ListDoNotCallNumbersRequest.cc b/ccc/src/model/ListDoNotCallNumbersRequest.cc new file mode 100644 index 000000000..b4e57be94 --- /dev/null +++ b/ccc/src/model/ListDoNotCallNumbersRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CCC::Model::ListDoNotCallNumbersRequest; + +ListDoNotCallNumbersRequest::ListDoNotCallNumbersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListDoNotCallNumbers") { + setMethod(HttpRequest::Method::Post); +} + +ListDoNotCallNumbersRequest::~ListDoNotCallNumbersRequest() {} + +int ListDoNotCallNumbersRequest::getPageNumber() const { + return pageNumber_; +} + +void ListDoNotCallNumbersRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListDoNotCallNumbersRequest::getSearchPattern() const { + return searchPattern_; +} + +void ListDoNotCallNumbersRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); +} + +std::string ListDoNotCallNumbersRequest::getInstanceId() const { + return instanceId_; +} + +void ListDoNotCallNumbersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListDoNotCallNumbersRequest::getScope() const { + return scope_; +} + +void ListDoNotCallNumbersRequest::setScope(const std::string &scope) { + scope_ = scope; + setParameter(std::string("Scope"), scope); +} + +int ListDoNotCallNumbersRequest::getPageSize() const { + return pageSize_; +} + +void ListDoNotCallNumbersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/ccc/src/model/ListDoNotCallNumbersResult.cc b/ccc/src/model/ListDoNotCallNumbersResult.cc new file mode 100644 index 000000000..e6b3dce04 --- /dev/null +++ b/ccc/src/model/ListDoNotCallNumbersResult.cc @@ -0,0 +1,101 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ListDoNotCallNumbersResult::ListDoNotCallNumbersResult() : + ServiceResult() +{} + +ListDoNotCallNumbersResult::ListDoNotCallNumbersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListDoNotCallNumbersResult::~ListDoNotCallNumbersResult() +{} + +void ListDoNotCallNumbersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["BlockedNumber"]; + for (auto dataNodeListBlockedNumber : allListNode) + { + Data::BlockedNumber blockedNumberObject; + if(!dataNodeListBlockedNumber["Number"].isNull()) + blockedNumberObject.number = dataNodeListBlockedNumber["Number"].asString(); + if(!dataNodeListBlockedNumber["Scope"].isNull()) + blockedNumberObject.scope = dataNodeListBlockedNumber["Scope"].asString(); + if(!dataNodeListBlockedNumber["Remark"].isNull()) + blockedNumberObject.remark = dataNodeListBlockedNumber["Remark"].asString(); + if(!dataNodeListBlockedNumber["CreateTime"].isNull()) + blockedNumberObject.createTime = std::stol(dataNodeListBlockedNumber["CreateTime"].asString()); + if(!dataNodeListBlockedNumber["Creator"].isNull()) + blockedNumberObject.creator = dataNodeListBlockedNumber["Creator"].asString(); + data_.list.push_back(blockedNumberObject); + } + auto allParams = value["Params"]["Param"]; + for (const auto &item : allParams) + params_.push_back(item.asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListDoNotCallNumbersResult::getMessage()const +{ + return message_; +} + +int ListDoNotCallNumbersResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListDoNotCallNumbersResult::getParams()const +{ + return params_; +} + +ListDoNotCallNumbersResult::Data ListDoNotCallNumbersResult::getData()const +{ + return data_; +} + +std::string ListDoNotCallNumbersResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/ListHistoricalAgentReportRequest.cc b/ccc/src/model/ListHistoricalAgentReportRequest.cc index 18ee6d7df..4f10e92ca 100644 --- a/ccc/src/model/ListHistoricalAgentReportRequest.cc +++ b/ccc/src/model/ListHistoricalAgentReportRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListHistoricalAgentReportRequest; - -ListHistoricalAgentReportRequest::ListHistoricalAgentReportRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListHistoricalAgentReport") -{ - setMethod(HttpRequest::Method::Post); -} - -ListHistoricalAgentReportRequest::~ListHistoricalAgentReportRequest() -{} - -long ListHistoricalAgentReportRequest::getStartTime()const -{ - return startTime_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListHistoricalAgentReportRequest; + +ListHistoricalAgentReportRequest::ListHistoricalAgentReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListHistoricalAgentReport") { + setMethod(HttpRequest::Method::Post); } -void ListHistoricalAgentReportRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +ListHistoricalAgentReportRequest::~ListHistoricalAgentReportRequest() {} + +long ListHistoricalAgentReportRequest::getStartTime() const { + return startTime_; } -long ListHistoricalAgentReportRequest::getStopTime()const -{ - return stopTime_; +void ListHistoricalAgentReportRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListHistoricalAgentReportRequest::setStopTime(long stopTime) -{ - stopTime_ = stopTime; - setParameter("StopTime", std::to_string(stopTime)); +long ListHistoricalAgentReportRequest::getStopTime() const { + return stopTime_; } -int ListHistoricalAgentReportRequest::getPageNumber()const -{ - return pageNumber_; +void ListHistoricalAgentReportRequest::setStopTime(long stopTime) { + stopTime_ = stopTime; + setParameter(std::string("StopTime"), std::to_string(stopTime)); } -void ListHistoricalAgentReportRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListHistoricalAgentReportRequest::getPageNumber() const { + return pageNumber_; } -std::string ListHistoricalAgentReportRequest::getInstanceId()const -{ - return instanceId_; +void ListHistoricalAgentReportRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListHistoricalAgentReportRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListHistoricalAgentReportRequest::getInstanceId() const { + return instanceId_; } -std::string ListHistoricalAgentReportRequest::getAgentIdList()const -{ - return agentIdList_; +void ListHistoricalAgentReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListHistoricalAgentReportRequest::setAgentIdList(const std::string& agentIdList) -{ - agentIdList_ = agentIdList; - setBodyParameter("AgentIdList", agentIdList); +std::string ListHistoricalAgentReportRequest::getAgentIdList() const { + return agentIdList_; } -int ListHistoricalAgentReportRequest::getPageSize()const -{ - return pageSize_; +void ListHistoricalAgentReportRequest::setAgentIdList(const std::string &agentIdList) { + agentIdList_ = agentIdList; + setBodyParameter(std::string("AgentIdList"), agentIdList); } -void ListHistoricalAgentReportRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListHistoricalAgentReportRequest::getPageSize() const { + return pageSize_; +} + +void ListHistoricalAgentReportRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListHistoricalSkillGroupReportRequest.cc b/ccc/src/model/ListHistoricalSkillGroupReportRequest.cc index abf5790da..8c8a1024c 100644 --- a/ccc/src/model/ListHistoricalSkillGroupReportRequest.cc +++ b/ccc/src/model/ListHistoricalSkillGroupReportRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListHistoricalSkillGroupReportRequest; - -ListHistoricalSkillGroupReportRequest::ListHistoricalSkillGroupReportRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListHistoricalSkillGroupReport") -{ - setMethod(HttpRequest::Method::Post); -} - -ListHistoricalSkillGroupReportRequest::~ListHistoricalSkillGroupReportRequest() -{} - -long ListHistoricalSkillGroupReportRequest::getEndTime()const -{ - return endTime_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListHistoricalSkillGroupReportRequest; + +ListHistoricalSkillGroupReportRequest::ListHistoricalSkillGroupReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListHistoricalSkillGroupReport") { + setMethod(HttpRequest::Method::Post); } -void ListHistoricalSkillGroupReportRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +ListHistoricalSkillGroupReportRequest::~ListHistoricalSkillGroupReportRequest() {} + +long ListHistoricalSkillGroupReportRequest::getEndTime() const { + return endTime_; } -long ListHistoricalSkillGroupReportRequest::getStartTime()const -{ - return startTime_; +void ListHistoricalSkillGroupReportRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListHistoricalSkillGroupReportRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long ListHistoricalSkillGroupReportRequest::getStartTime() const { + return startTime_; } -int ListHistoricalSkillGroupReportRequest::getPageNumber()const -{ - return pageNumber_; +void ListHistoricalSkillGroupReportRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListHistoricalSkillGroupReportRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListHistoricalSkillGroupReportRequest::getPageNumber() const { + return pageNumber_; } -std::string ListHistoricalSkillGroupReportRequest::getSkillGroupIdList()const -{ - return skillGroupIdList_; +void ListHistoricalSkillGroupReportRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListHistoricalSkillGroupReportRequest::setSkillGroupIdList(const std::string& skillGroupIdList) -{ - skillGroupIdList_ = skillGroupIdList; - setBodyParameter("SkillGroupIdList", skillGroupIdList); +std::string ListHistoricalSkillGroupReportRequest::getSkillGroupIdList() const { + return skillGroupIdList_; } -std::string ListHistoricalSkillGroupReportRequest::getInstanceId()const -{ - return instanceId_; +void ListHistoricalSkillGroupReportRequest::setSkillGroupIdList(const std::string &skillGroupIdList) { + skillGroupIdList_ = skillGroupIdList; + setBodyParameter(std::string("SkillGroupIdList"), skillGroupIdList); } -void ListHistoricalSkillGroupReportRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListHistoricalSkillGroupReportRequest::getInstanceId() const { + return instanceId_; } -int ListHistoricalSkillGroupReportRequest::getPageSize()const -{ - return pageSize_; +void ListHistoricalSkillGroupReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListHistoricalSkillGroupReportRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListHistoricalSkillGroupReportRequest::getPageSize() const { + return pageSize_; +} + +void ListHistoricalSkillGroupReportRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListInstancesOfUserRequest.cc b/ccc/src/model/ListInstancesOfUserRequest.cc index b14d7ee38..af88d650e 100644 --- a/ccc/src/model/ListInstancesOfUserRequest.cc +++ b/ccc/src/model/ListInstancesOfUserRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListInstancesOfUserRequest; - -ListInstancesOfUserRequest::ListInstancesOfUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListInstancesOfUser") -{ - setMethod(HttpRequest::Method::Post); -} - -ListInstancesOfUserRequest::~ListInstancesOfUserRequest() -{} - -int ListInstancesOfUserRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListInstancesOfUserRequest; + +ListInstancesOfUserRequest::ListInstancesOfUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListInstancesOfUser") { + setMethod(HttpRequest::Method::Post); } -void ListInstancesOfUserRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListInstancesOfUserRequest::~ListInstancesOfUserRequest() {} + +int ListInstancesOfUserRequest::getPageNumber() const { + return pageNumber_; } -int ListInstancesOfUserRequest::getPageSize()const -{ - return pageSize_; +void ListInstancesOfUserRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListInstancesOfUserRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListInstancesOfUserRequest::getPageSize() const { + return pageSize_; +} + +void ListInstancesOfUserRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListInstancesRequest.cc b/ccc/src/model/ListInstancesRequest.cc index edd8406e8..16a1f07fa 100644 --- a/ccc/src/model/ListInstancesRequest.cc +++ b/ccc/src/model/ListInstancesRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListInstancesRequest; - -ListInstancesRequest::ListInstancesRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListInstances") -{ - setMethod(HttpRequest::Method::Post); -} - -ListInstancesRequest::~ListInstancesRequest() -{} - -int ListInstancesRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListInstancesRequest; + +ListInstancesRequest::ListInstancesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListInstances") { + setMethod(HttpRequest::Method::Post); } -void ListInstancesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListInstancesRequest::~ListInstancesRequest() {} + +int ListInstancesRequest::getPageNumber() const { + return pageNumber_; } -int ListInstancesRequest::getPageSize()const -{ - return pageSize_; +void ListInstancesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListInstancesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListInstancesRequest::getPageSize() const { + return pageSize_; +} + +void ListInstancesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListIntervalAgentReportRequest.cc b/ccc/src/model/ListIntervalAgentReportRequest.cc index d38a60a64..9d2dbe05d 100644 --- a/ccc/src/model/ListIntervalAgentReportRequest.cc +++ b/ccc/src/model/ListIntervalAgentReportRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListIntervalAgentReportRequest; - -ListIntervalAgentReportRequest::ListIntervalAgentReportRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListIntervalAgentReport") -{ - setMethod(HttpRequest::Method::Post); -} - -ListIntervalAgentReportRequest::~ListIntervalAgentReportRequest() -{} - -std::string ListIntervalAgentReportRequest::getAgentId()const -{ - return agentId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListIntervalAgentReportRequest; + +ListIntervalAgentReportRequest::ListIntervalAgentReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListIntervalAgentReport") { + setMethod(HttpRequest::Method::Post); } -void ListIntervalAgentReportRequest::setAgentId(const std::string& agentId) -{ - agentId_ = agentId; - setParameter("AgentId", agentId); +ListIntervalAgentReportRequest::~ListIntervalAgentReportRequest() {} + +std::string ListIntervalAgentReportRequest::getAgentId() const { + return agentId_; } -long ListIntervalAgentReportRequest::getEndTime()const -{ - return endTime_; +void ListIntervalAgentReportRequest::setAgentId(const std::string &agentId) { + agentId_ = agentId; + setParameter(std::string("AgentId"), agentId); } -void ListIntervalAgentReportRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +long ListIntervalAgentReportRequest::getEndTime() const { + return endTime_; } -long ListIntervalAgentReportRequest::getStartTime()const -{ - return startTime_; +void ListIntervalAgentReportRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListIntervalAgentReportRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long ListIntervalAgentReportRequest::getStartTime() const { + return startTime_; } -std::string ListIntervalAgentReportRequest::getInstanceId()const -{ - return instanceId_; +void ListIntervalAgentReportRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListIntervalAgentReportRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListIntervalAgentReportRequest::getInstanceId() const { + return instanceId_; } -std::string ListIntervalAgentReportRequest::getInterval()const -{ - return interval_; +void ListIntervalAgentReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListIntervalAgentReportRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string ListIntervalAgentReportRequest::getInterval() const { + return interval_; +} + +void ListIntervalAgentReportRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/ccc/src/model/ListIntervalInstanceReportRequest.cc b/ccc/src/model/ListIntervalInstanceReportRequest.cc index 92c36e751..e627cdd33 100644 --- a/ccc/src/model/ListIntervalInstanceReportRequest.cc +++ b/ccc/src/model/ListIntervalInstanceReportRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListIntervalInstanceReportRequest; - -ListIntervalInstanceReportRequest::ListIntervalInstanceReportRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListIntervalInstanceReport") -{ - setMethod(HttpRequest::Method::Post); -} - -ListIntervalInstanceReportRequest::~ListIntervalInstanceReportRequest() -{} - -long ListIntervalInstanceReportRequest::getEndTime()const -{ - return endTime_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListIntervalInstanceReportRequest; + +ListIntervalInstanceReportRequest::ListIntervalInstanceReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListIntervalInstanceReport") { + setMethod(HttpRequest::Method::Post); } -void ListIntervalInstanceReportRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +ListIntervalInstanceReportRequest::~ListIntervalInstanceReportRequest() {} + +long ListIntervalInstanceReportRequest::getEndTime() const { + return endTime_; } -long ListIntervalInstanceReportRequest::getStartTime()const -{ - return startTime_; +void ListIntervalInstanceReportRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListIntervalInstanceReportRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long ListIntervalInstanceReportRequest::getStartTime() const { + return startTime_; } -std::string ListIntervalInstanceReportRequest::getInstanceId()const -{ - return instanceId_; +void ListIntervalInstanceReportRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListIntervalInstanceReportRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListIntervalInstanceReportRequest::getInstanceId() const { + return instanceId_; } -std::string ListIntervalInstanceReportRequest::getInterval()const -{ - return interval_; +void ListIntervalInstanceReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListIntervalInstanceReportRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string ListIntervalInstanceReportRequest::getInterval() const { + return interval_; +} + +void ListIntervalInstanceReportRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/ccc/src/model/ListIntervalSkillGroupReportRequest.cc b/ccc/src/model/ListIntervalSkillGroupReportRequest.cc index 131793f71..e18c694af 100644 --- a/ccc/src/model/ListIntervalSkillGroupReportRequest.cc +++ b/ccc/src/model/ListIntervalSkillGroupReportRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListIntervalSkillGroupReportRequest; - -ListIntervalSkillGroupReportRequest::ListIntervalSkillGroupReportRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListIntervalSkillGroupReport") -{ - setMethod(HttpRequest::Method::Post); -} - -ListIntervalSkillGroupReportRequest::~ListIntervalSkillGroupReportRequest() -{} - -long ListIntervalSkillGroupReportRequest::getEndTime()const -{ - return endTime_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListIntervalSkillGroupReportRequest; + +ListIntervalSkillGroupReportRequest::ListIntervalSkillGroupReportRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListIntervalSkillGroupReport") { + setMethod(HttpRequest::Method::Post); } -void ListIntervalSkillGroupReportRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +ListIntervalSkillGroupReportRequest::~ListIntervalSkillGroupReportRequest() {} + +long ListIntervalSkillGroupReportRequest::getEndTime() const { + return endTime_; } -long ListIntervalSkillGroupReportRequest::getStartTime()const -{ - return startTime_; +void ListIntervalSkillGroupReportRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListIntervalSkillGroupReportRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setParameter("StartTime", std::to_string(startTime)); +long ListIntervalSkillGroupReportRequest::getStartTime() const { + return startTime_; } -std::string ListIntervalSkillGroupReportRequest::getInstanceId()const -{ - return instanceId_; +void ListIntervalSkillGroupReportRequest::setStartTime(long startTime) { + startTime_ = startTime; + setParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListIntervalSkillGroupReportRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListIntervalSkillGroupReportRequest::getInstanceId() const { + return instanceId_; } -std::string ListIntervalSkillGroupReportRequest::getSkillGroupId()const -{ - return skillGroupId_; +void ListIntervalSkillGroupReportRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListIntervalSkillGroupReportRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string ListIntervalSkillGroupReportRequest::getSkillGroupId() const { + return skillGroupId_; } -std::string ListIntervalSkillGroupReportRequest::getInterval()const -{ - return interval_; +void ListIntervalSkillGroupReportRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } -void ListIntervalSkillGroupReportRequest::setInterval(const std::string& interval) -{ - interval_ = interval; - setParameter("Interval", interval); +std::string ListIntervalSkillGroupReportRequest::getInterval() const { + return interval_; +} + +void ListIntervalSkillGroupReportRequest::setInterval(const std::string &interval) { + interval_ = interval; + setParameter(std::string("Interval"), interval); } diff --git a/ccc/src/model/ListIvrTrackingDetailsRequest.cc b/ccc/src/model/ListIvrTrackingDetailsRequest.cc index a1d4b06a5..96149ce46 100644 --- a/ccc/src/model/ListIvrTrackingDetailsRequest.cc +++ b/ccc/src/model/ListIvrTrackingDetailsRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListIvrTrackingDetailsRequest; - -ListIvrTrackingDetailsRequest::ListIvrTrackingDetailsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListIvrTrackingDetails") -{ - setMethod(HttpRequest::Method::Post); -} - -ListIvrTrackingDetailsRequest::~ListIvrTrackingDetailsRequest() -{} - -std::string ListIvrTrackingDetailsRequest::getContactId()const -{ - return contactId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListIvrTrackingDetailsRequest; + +ListIvrTrackingDetailsRequest::ListIvrTrackingDetailsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListIvrTrackingDetails") { + setMethod(HttpRequest::Method::Post); } -void ListIvrTrackingDetailsRequest::setContactId(const std::string& contactId) -{ - contactId_ = contactId; - setParameter("ContactId", contactId); +ListIvrTrackingDetailsRequest::~ListIvrTrackingDetailsRequest() {} + +std::string ListIvrTrackingDetailsRequest::getContactId() const { + return contactId_; } -int ListIvrTrackingDetailsRequest::getPageNumber()const -{ - return pageNumber_; +void ListIvrTrackingDetailsRequest::setContactId(const std::string &contactId) { + contactId_ = contactId; + setParameter(std::string("ContactId"), contactId); } -void ListIvrTrackingDetailsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListIvrTrackingDetailsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListIvrTrackingDetailsRequest::getInstanceId()const -{ - return instanceId_; +void ListIvrTrackingDetailsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListIvrTrackingDetailsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListIvrTrackingDetailsRequest::getInstanceId() const { + return instanceId_; } -int ListIvrTrackingDetailsRequest::getPageSize()const -{ - return pageSize_; +void ListIvrTrackingDetailsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListIvrTrackingDetailsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListIvrTrackingDetailsRequest::getPageSize() const { + return pageSize_; +} + +void ListIvrTrackingDetailsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListMonoRecordingsRequest.cc b/ccc/src/model/ListMonoRecordingsRequest.cc new file mode 100644 index 000000000..4fb2fb46f --- /dev/null +++ b/ccc/src/model/ListMonoRecordingsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::ListMonoRecordingsRequest; + +ListMonoRecordingsRequest::ListMonoRecordingsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListMonoRecordings") { + setMethod(HttpRequest::Method::Post); +} + +ListMonoRecordingsRequest::~ListMonoRecordingsRequest() {} + +std::string ListMonoRecordingsRequest::getContactId() const { + return contactId_; +} + +void ListMonoRecordingsRequest::setContactId(const std::string &contactId) { + contactId_ = contactId; + setParameter(std::string("ContactId"), contactId); +} + +std::string ListMonoRecordingsRequest::getInstanceId() const { + return instanceId_; +} + +void ListMonoRecordingsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/ListMonoRecordingsResult.cc b/ccc/src/model/ListMonoRecordingsResult.cc new file mode 100644 index 000000000..32ed2b6c8 --- /dev/null +++ b/ccc/src/model/ListMonoRecordingsResult.cc @@ -0,0 +1,94 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ListMonoRecordingsResult::ListMonoRecordingsResult() : + ServiceResult() +{} + +ListMonoRecordingsResult::ListMonoRecordingsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMonoRecordingsResult::~ListMonoRecordingsResult() +{} + +void ListMonoRecordingsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["RecordingDTO"]; + for (auto valueDataRecordingDTO : allDataNode) + { + RecordingDTO dataObject; + if(!valueDataRecordingDTO["FileName"].isNull()) + dataObject.fileName = valueDataRecordingDTO["FileName"].asString(); + if(!valueDataRecordingDTO["FileUrl"].isNull()) + dataObject.fileUrl = valueDataRecordingDTO["FileUrl"].asString(); + if(!valueDataRecordingDTO["AgentId"].isNull()) + dataObject.agentId = valueDataRecordingDTO["AgentId"].asString(); + if(!valueDataRecordingDTO["AgentName"].isNull()) + dataObject.agentName = valueDataRecordingDTO["AgentName"].asString(); + if(!valueDataRecordingDTO["StartTime"].isNull()) + dataObject.startTime = valueDataRecordingDTO["StartTime"].asString(); + if(!valueDataRecordingDTO["ContactId"].isNull()) + dataObject.contactId = valueDataRecordingDTO["ContactId"].asString(); + if(!valueDataRecordingDTO["Duration"].isNull()) + dataObject.duration = valueDataRecordingDTO["Duration"].asString(); + if(!valueDataRecordingDTO["SkillGroupId"].isNull()) + dataObject.skillGroupId = valueDataRecordingDTO["SkillGroupId"].asString(); + if(!valueDataRecordingDTO["RamId"].isNull()) + dataObject.ramId = valueDataRecordingDTO["RamId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListMonoRecordingsResult::getMessage()const +{ + return message_; +} + +int ListMonoRecordingsResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListMonoRecordingsResult::getData()const +{ + return data_; +} + +std::string ListMonoRecordingsResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/ListMultiChannelRecordingsRequest.cc b/ccc/src/model/ListMultiChannelRecordingsRequest.cc new file mode 100644 index 000000000..15db31b7d --- /dev/null +++ b/ccc/src/model/ListMultiChannelRecordingsRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::ListMultiChannelRecordingsRequest; + +ListMultiChannelRecordingsRequest::ListMultiChannelRecordingsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListMultiChannelRecordings") { + setMethod(HttpRequest::Method::Post); +} + +ListMultiChannelRecordingsRequest::~ListMultiChannelRecordingsRequest() {} + +std::string ListMultiChannelRecordingsRequest::getContactId() const { + return contactId_; +} + +void ListMultiChannelRecordingsRequest::setContactId(const std::string &contactId) { + contactId_ = contactId; + setParameter(std::string("ContactId"), contactId); +} + +std::string ListMultiChannelRecordingsRequest::getInstanceId() const { + return instanceId_; +} + +void ListMultiChannelRecordingsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/ListMultiChannelRecordingsResult.cc b/ccc/src/model/ListMultiChannelRecordingsResult.cc new file mode 100644 index 000000000..da7ddcbe7 --- /dev/null +++ b/ccc/src/model/ListMultiChannelRecordingsResult.cc @@ -0,0 +1,96 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ListMultiChannelRecordingsResult::ListMultiChannelRecordingsResult() : + ServiceResult() +{} + +ListMultiChannelRecordingsResult::ListMultiChannelRecordingsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListMultiChannelRecordingsResult::~ListMultiChannelRecordingsResult() +{} + +void ListMultiChannelRecordingsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDataNode = value["Data"]["RecordingDTO"]; + for (auto valueDataRecordingDTO : allDataNode) + { + RecordingDTO dataObject; + if(!valueDataRecordingDTO["FileName"].isNull()) + dataObject.fileName = valueDataRecordingDTO["FileName"].asString(); + if(!valueDataRecordingDTO["FileUrl"].isNull()) + dataObject.fileUrl = valueDataRecordingDTO["FileUrl"].asString(); + if(!valueDataRecordingDTO["AgentId"].isNull()) + dataObject.agentId = valueDataRecordingDTO["AgentId"].asString(); + if(!valueDataRecordingDTO["AgentName"].isNull()) + dataObject.agentName = valueDataRecordingDTO["AgentName"].asString(); + if(!valueDataRecordingDTO["StartTime"].isNull()) + dataObject.startTime = std::stol(valueDataRecordingDTO["StartTime"].asString()); + if(!valueDataRecordingDTO["ContactId"].isNull()) + dataObject.contactId = valueDataRecordingDTO["ContactId"].asString(); + if(!valueDataRecordingDTO["Duration"].isNull()) + dataObject.duration = valueDataRecordingDTO["Duration"].asString(); + if(!valueDataRecordingDTO["SkillGroupId"].isNull()) + dataObject.skillGroupId = valueDataRecordingDTO["SkillGroupId"].asString(); + if(!valueDataRecordingDTO["RamId"].isNull()) + dataObject.ramId = valueDataRecordingDTO["RamId"].asString(); + if(!valueDataRecordingDTO["AgentChannelId"].isNull()) + dataObject.agentChannelId = valueDataRecordingDTO["AgentChannelId"].asString(); + data_.push_back(dataObject); + } + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ListMultiChannelRecordingsResult::getMessage()const +{ + return message_; +} + +int ListMultiChannelRecordingsResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector ListMultiChannelRecordingsResult::getData()const +{ + return data_; +} + +std::string ListMultiChannelRecordingsResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/ListOutboundNumbersOfUserRequest.cc b/ccc/src/model/ListOutboundNumbersOfUserRequest.cc index 93d24dc7f..323a5cf24 100644 --- a/ccc/src/model/ListOutboundNumbersOfUserRequest.cc +++ b/ccc/src/model/ListOutboundNumbersOfUserRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListOutboundNumbersOfUserRequest; - -ListOutboundNumbersOfUserRequest::ListOutboundNumbersOfUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListOutboundNumbersOfUser") -{ - setMethod(HttpRequest::Method::Post); -} - -ListOutboundNumbersOfUserRequest::~ListOutboundNumbersOfUserRequest() -{} - -std::string ListOutboundNumbersOfUserRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListOutboundNumbersOfUserRequest; + +ListOutboundNumbersOfUserRequest::ListOutboundNumbersOfUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListOutboundNumbersOfUser") { + setMethod(HttpRequest::Method::Post); } -void ListOutboundNumbersOfUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +ListOutboundNumbersOfUserRequest::~ListOutboundNumbersOfUserRequest() {} + +std::string ListOutboundNumbersOfUserRequest::getUserId() const { + return userId_; } -int ListOutboundNumbersOfUserRequest::getPageNumber()const -{ - return pageNumber_; +void ListOutboundNumbersOfUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ListOutboundNumbersOfUserRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListOutboundNumbersOfUserRequest::getPageNumber() const { + return pageNumber_; } -std::string ListOutboundNumbersOfUserRequest::getInstanceId()const -{ - return instanceId_; +void ListOutboundNumbersOfUserRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListOutboundNumbersOfUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListOutboundNumbersOfUserRequest::getInstanceId() const { + return instanceId_; } -std::string ListOutboundNumbersOfUserRequest::getSkillGroupIdList()const -{ - return skillGroupIdList_; +void ListOutboundNumbersOfUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListOutboundNumbersOfUserRequest::setSkillGroupIdList(const std::string& skillGroupIdList) -{ - skillGroupIdList_ = skillGroupIdList; - setParameter("SkillGroupIdList", skillGroupIdList); +std::string ListOutboundNumbersOfUserRequest::getSkillGroupIdList() const { + return skillGroupIdList_; } -int ListOutboundNumbersOfUserRequest::getPageSize()const -{ - return pageSize_; +void ListOutboundNumbersOfUserRequest::setSkillGroupIdList(const std::string &skillGroupIdList) { + skillGroupIdList_ = skillGroupIdList; + setParameter(std::string("SkillGroupIdList"), skillGroupIdList); } -void ListOutboundNumbersOfUserRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListOutboundNumbersOfUserRequest::getPageSize() const { + return pageSize_; +} + +void ListOutboundNumbersOfUserRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListPersonalNumbersOfUserRequest.cc b/ccc/src/model/ListPersonalNumbersOfUserRequest.cc index 669869b92..a0c383706 100644 --- a/ccc/src/model/ListPersonalNumbersOfUserRequest.cc +++ b/ccc/src/model/ListPersonalNumbersOfUserRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListPersonalNumbersOfUserRequest; - -ListPersonalNumbersOfUserRequest::ListPersonalNumbersOfUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListPersonalNumbersOfUser") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPersonalNumbersOfUserRequest::~ListPersonalNumbersOfUserRequest() -{} - -std::string ListPersonalNumbersOfUserRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListPersonalNumbersOfUserRequest; + +ListPersonalNumbersOfUserRequest::ListPersonalNumbersOfUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListPersonalNumbersOfUser") { + setMethod(HttpRequest::Method::Post); } -void ListPersonalNumbersOfUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +ListPersonalNumbersOfUserRequest::~ListPersonalNumbersOfUserRequest() {} + +std::string ListPersonalNumbersOfUserRequest::getUserId() const { + return userId_; } -int ListPersonalNumbersOfUserRequest::getPageNumber()const -{ - return pageNumber_; +void ListPersonalNumbersOfUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ListPersonalNumbersOfUserRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListPersonalNumbersOfUserRequest::getPageNumber() const { + return pageNumber_; } -bool ListPersonalNumbersOfUserRequest::getIsMember()const -{ - return isMember_; +void ListPersonalNumbersOfUserRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListPersonalNumbersOfUserRequest::setIsMember(bool isMember) -{ - isMember_ = isMember; - setParameter("IsMember", isMember ? "true" : "false"); +bool ListPersonalNumbersOfUserRequest::getIsMember() const { + return isMember_; } -std::string ListPersonalNumbersOfUserRequest::getSearchPattern()const -{ - return searchPattern_; +void ListPersonalNumbersOfUserRequest::setIsMember(bool isMember) { + isMember_ = isMember; + setParameter(std::string("IsMember"), isMember ? "true" : "false"); } -void ListPersonalNumbersOfUserRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListPersonalNumbersOfUserRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListPersonalNumbersOfUserRequest::getInstanceId()const -{ - return instanceId_; +void ListPersonalNumbersOfUserRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListPersonalNumbersOfUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListPersonalNumbersOfUserRequest::getInstanceId() const { + return instanceId_; } -int ListPersonalNumbersOfUserRequest::getPageSize()const -{ - return pageSize_; +void ListPersonalNumbersOfUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListPersonalNumbersOfUserRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListPersonalNumbersOfUserRequest::getPageSize() const { + return pageSize_; +} + +void ListPersonalNumbersOfUserRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListPhoneNumbersOfSkillGroupRequest.cc b/ccc/src/model/ListPhoneNumbersOfSkillGroupRequest.cc index 59724042a..ea81e6187 100644 --- a/ccc/src/model/ListPhoneNumbersOfSkillGroupRequest.cc +++ b/ccc/src/model/ListPhoneNumbersOfSkillGroupRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListPhoneNumbersOfSkillGroupRequest; - -ListPhoneNumbersOfSkillGroupRequest::ListPhoneNumbersOfSkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListPhoneNumbersOfSkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPhoneNumbersOfSkillGroupRequest::~ListPhoneNumbersOfSkillGroupRequest() -{} - -bool ListPhoneNumbersOfSkillGroupRequest::getActive()const -{ - return active_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListPhoneNumbersOfSkillGroupRequest; + +ListPhoneNumbersOfSkillGroupRequest::ListPhoneNumbersOfSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListPhoneNumbersOfSkillGroup") { + setMethod(HttpRequest::Method::Post); } -void ListPhoneNumbersOfSkillGroupRequest::setActive(bool active) -{ - active_ = active; - setParameter("Active", active ? "true" : "false"); +ListPhoneNumbersOfSkillGroupRequest::~ListPhoneNumbersOfSkillGroupRequest() {} + +bool ListPhoneNumbersOfSkillGroupRequest::getActive() const { + return active_; } -int ListPhoneNumbersOfSkillGroupRequest::getPageNumber()const -{ - return pageNumber_; +void ListPhoneNumbersOfSkillGroupRequest::setActive(bool active) { + active_ = active; + setParameter(std::string("Active"), active ? "true" : "false"); } -void ListPhoneNumbersOfSkillGroupRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListPhoneNumbersOfSkillGroupRequest::getPageNumber() const { + return pageNumber_; } -bool ListPhoneNumbersOfSkillGroupRequest::getIsMember()const -{ - return isMember_; +void ListPhoneNumbersOfSkillGroupRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListPhoneNumbersOfSkillGroupRequest::setIsMember(bool isMember) -{ - isMember_ = isMember; - setParameter("IsMember", isMember ? "true" : "false"); +bool ListPhoneNumbersOfSkillGroupRequest::getIsMember() const { + return isMember_; } -std::string ListPhoneNumbersOfSkillGroupRequest::getSearchPattern()const -{ - return searchPattern_; +void ListPhoneNumbersOfSkillGroupRequest::setIsMember(bool isMember) { + isMember_ = isMember; + setParameter(std::string("IsMember"), isMember ? "true" : "false"); } -void ListPhoneNumbersOfSkillGroupRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListPhoneNumbersOfSkillGroupRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListPhoneNumbersOfSkillGroupRequest::getInstanceId()const -{ - return instanceId_; +void ListPhoneNumbersOfSkillGroupRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListPhoneNumbersOfSkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListPhoneNumbersOfSkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string ListPhoneNumbersOfSkillGroupRequest::getSkillGroupId()const -{ - return skillGroupId_; +void ListPhoneNumbersOfSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListPhoneNumbersOfSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string ListPhoneNumbersOfSkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; } -int ListPhoneNumbersOfSkillGroupRequest::getPageSize()const -{ - return pageSize_; +void ListPhoneNumbersOfSkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } -void ListPhoneNumbersOfSkillGroupRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListPhoneNumbersOfSkillGroupRequest::getPageSize() const { + return pageSize_; +} + +void ListPhoneNumbersOfSkillGroupRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListPhoneNumbersRequest.cc b/ccc/src/model/ListPhoneNumbersRequest.cc index c7dc3ec1d..acf89c10a 100644 --- a/ccc/src/model/ListPhoneNumbersRequest.cc +++ b/ccc/src/model/ListPhoneNumbersRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListPhoneNumbersRequest; - -ListPhoneNumbersRequest::ListPhoneNumbersRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListPhoneNumbers") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPhoneNumbersRequest::~ListPhoneNumbersRequest() -{} - -std::string ListPhoneNumbersRequest::getUsage()const -{ - return usage_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListPhoneNumbersRequest; + +ListPhoneNumbersRequest::ListPhoneNumbersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListPhoneNumbers") { + setMethod(HttpRequest::Method::Post); } -void ListPhoneNumbersRequest::setUsage(const std::string& usage) -{ - usage_ = usage; - setParameter("Usage", usage); +ListPhoneNumbersRequest::~ListPhoneNumbersRequest() {} + +std::string ListPhoneNumbersRequest::getUsage() const { + return usage_; } -bool ListPhoneNumbersRequest::getActive()const -{ - return active_; +void ListPhoneNumbersRequest::setUsage(const std::string &usage) { + usage_ = usage; + setParameter(std::string("Usage"), usage); } -void ListPhoneNumbersRequest::setActive(bool active) -{ - active_ = active; - setParameter("Active", active ? "true" : "false"); +bool ListPhoneNumbersRequest::getActive() const { + return active_; } -int ListPhoneNumbersRequest::getPageNumber()const -{ - return pageNumber_; +void ListPhoneNumbersRequest::setActive(bool active) { + active_ = active; + setParameter(std::string("Active"), active ? "true" : "false"); } -void ListPhoneNumbersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListPhoneNumbersRequest::getPageNumber() const { + return pageNumber_; } -std::string ListPhoneNumbersRequest::getSearchPattern()const -{ - return searchPattern_; +void ListPhoneNumbersRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListPhoneNumbersRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListPhoneNumbersRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListPhoneNumbersRequest::getInstanceId()const -{ - return instanceId_; +void ListPhoneNumbersRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListPhoneNumbersRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListPhoneNumbersRequest::getInstanceId() const { + return instanceId_; } -int ListPhoneNumbersRequest::getPageSize()const -{ - return pageSize_; +void ListPhoneNumbersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListPhoneNumbersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListPhoneNumbersRequest::getPageSize() const { + return pageSize_; +} + +void ListPhoneNumbersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListPrivilegesOfUserRequest.cc b/ccc/src/model/ListPrivilegesOfUserRequest.cc index 6fcdda764..ad530b4aa 100644 --- a/ccc/src/model/ListPrivilegesOfUserRequest.cc +++ b/ccc/src/model/ListPrivilegesOfUserRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListPrivilegesOfUserRequest; - -ListPrivilegesOfUserRequest::ListPrivilegesOfUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListPrivilegesOfUser") -{ - setMethod(HttpRequest::Method::Post); -} - -ListPrivilegesOfUserRequest::~ListPrivilegesOfUserRequest() -{} - -std::string ListPrivilegesOfUserRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListPrivilegesOfUserRequest; + +ListPrivilegesOfUserRequest::ListPrivilegesOfUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListPrivilegesOfUser") { + setMethod(HttpRequest::Method::Post); } -void ListPrivilegesOfUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +ListPrivilegesOfUserRequest::~ListPrivilegesOfUserRequest() {} + +std::string ListPrivilegesOfUserRequest::getInstanceId() const { + return instanceId_; +} + +void ListPrivilegesOfUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ListRamUsersRequest.cc b/ccc/src/model/ListRamUsersRequest.cc index fee45ab77..fa8b45b60 100644 --- a/ccc/src/model/ListRamUsersRequest.cc +++ b/ccc/src/model/ListRamUsersRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListRamUsersRequest; - -ListRamUsersRequest::ListRamUsersRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListRamUsers") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRamUsersRequest::~ListRamUsersRequest() -{} - -int ListRamUsersRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListRamUsersRequest; + +ListRamUsersRequest::ListRamUsersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListRamUsers") { + setMethod(HttpRequest::Method::Post); } -void ListRamUsersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListRamUsersRequest::~ListRamUsersRequest() {} + +int ListRamUsersRequest::getPageNumber() const { + return pageNumber_; } -std::string ListRamUsersRequest::getSearchPattern()const -{ - return searchPattern_; +void ListRamUsersRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListRamUsersRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListRamUsersRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListRamUsersRequest::getInstanceId()const -{ - return instanceId_; +void ListRamUsersRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListRamUsersRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListRamUsersRequest::getInstanceId() const { + return instanceId_; } -int ListRamUsersRequest::getPageSize()const -{ - return pageSize_; +void ListRamUsersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListRamUsersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListRamUsersRequest::getPageSize() const { + return pageSize_; +} + +void ListRamUsersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListRealtimeAgentStatesRequest.cc b/ccc/src/model/ListRealtimeAgentStatesRequest.cc index 1ef3358c8..47f08ece6 100644 --- a/ccc/src/model/ListRealtimeAgentStatesRequest.cc +++ b/ccc/src/model/ListRealtimeAgentStatesRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListRealtimeAgentStatesRequest; - -ListRealtimeAgentStatesRequest::ListRealtimeAgentStatesRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListRealtimeAgentStates") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRealtimeAgentStatesRequest::~ListRealtimeAgentStatesRequest() -{} - -int ListRealtimeAgentStatesRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListRealtimeAgentStatesRequest; + +ListRealtimeAgentStatesRequest::ListRealtimeAgentStatesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListRealtimeAgentStates") { + setMethod(HttpRequest::Method::Post); } -void ListRealtimeAgentStatesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListRealtimeAgentStatesRequest::~ListRealtimeAgentStatesRequest() {} + +int ListRealtimeAgentStatesRequest::getPageNumber() const { + return pageNumber_; } -std::string ListRealtimeAgentStatesRequest::getInstanceId()const -{ - return instanceId_; +void ListRealtimeAgentStatesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListRealtimeAgentStatesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListRealtimeAgentStatesRequest::getInstanceId() const { + return instanceId_; } -std::string ListRealtimeAgentStatesRequest::getAgentIdList()const -{ - return agentIdList_; +void ListRealtimeAgentStatesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListRealtimeAgentStatesRequest::setAgentIdList(const std::string& agentIdList) -{ - agentIdList_ = agentIdList; - setBodyParameter("AgentIdList", agentIdList); +std::string ListRealtimeAgentStatesRequest::getAgentIdList() const { + return agentIdList_; } -std::string ListRealtimeAgentStatesRequest::getSkillGroupId()const -{ - return skillGroupId_; +void ListRealtimeAgentStatesRequest::setAgentIdList(const std::string &agentIdList) { + agentIdList_ = agentIdList; + setBodyParameter(std::string("AgentIdList"), agentIdList); } -void ListRealtimeAgentStatesRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string ListRealtimeAgentStatesRequest::getSkillGroupId() const { + return skillGroupId_; } -std::string ListRealtimeAgentStatesRequest::getAgentName()const -{ - return agentName_; +void ListRealtimeAgentStatesRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } -void ListRealtimeAgentStatesRequest::setAgentName(const std::string& agentName) -{ - agentName_ = agentName; - setParameter("AgentName", agentName); +std::string ListRealtimeAgentStatesRequest::getAgentName() const { + return agentName_; } -int ListRealtimeAgentStatesRequest::getPageSize()const -{ - return pageSize_; +void ListRealtimeAgentStatesRequest::setAgentName(const std::string &agentName) { + agentName_ = agentName; + setParameter(std::string("AgentName"), agentName); } -void ListRealtimeAgentStatesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListRealtimeAgentStatesRequest::getPageSize() const { + return pageSize_; } -std::string ListRealtimeAgentStatesRequest::getStateList()const -{ - return stateList_; +void ListRealtimeAgentStatesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } -void ListRealtimeAgentStatesRequest::setStateList(const std::string& stateList) -{ - stateList_ = stateList; - setBodyParameter("StateList", stateList); +std::string ListRealtimeAgentStatesRequest::getStateList() const { + return stateList_; +} + +void ListRealtimeAgentStatesRequest::setStateList(const std::string &stateList) { + stateList_ = stateList; + setBodyParameter(std::string("StateList"), stateList); } diff --git a/ccc/src/model/ListRealtimeAgentStatesResult.cc b/ccc/src/model/ListRealtimeAgentStatesResult.cc index ececf1eb5..e91aae77d 100644 --- a/ccc/src/model/ListRealtimeAgentStatesResult.cc +++ b/ccc/src/model/ListRealtimeAgentStatesResult.cc @@ -69,6 +69,9 @@ void ListRealtimeAgentStatesResult::parse(const std::string &payload) auto allSkillGroupIdList = value["SkillGroupIdList"]["SkillGroupId"]; for (auto value : allSkillGroupIdList) agentStateObject.skillGroupIdList.push_back(value.asString()); + auto allSkillGroupNameList = value["SkillGroupNameList"]["SkillGroupId"]; + for (auto value : allSkillGroupNameList) + agentStateObject.skillGroupNameList.push_back(value.asString()); data_.list.push_back(agentStateObject); } if(!value["Code"].isNull()) diff --git a/ccc/src/model/ListRealtimeSkillGroupStatesRequest.cc b/ccc/src/model/ListRealtimeSkillGroupStatesRequest.cc index e6e4ae132..8fa05571a 100644 --- a/ccc/src/model/ListRealtimeSkillGroupStatesRequest.cc +++ b/ccc/src/model/ListRealtimeSkillGroupStatesRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListRealtimeSkillGroupStatesRequest; - -ListRealtimeSkillGroupStatesRequest::ListRealtimeSkillGroupStatesRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListRealtimeSkillGroupStates") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRealtimeSkillGroupStatesRequest::~ListRealtimeSkillGroupStatesRequest() -{} - -int ListRealtimeSkillGroupStatesRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListRealtimeSkillGroupStatesRequest; + +ListRealtimeSkillGroupStatesRequest::ListRealtimeSkillGroupStatesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListRealtimeSkillGroupStates") { + setMethod(HttpRequest::Method::Post); } -void ListRealtimeSkillGroupStatesRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListRealtimeSkillGroupStatesRequest::~ListRealtimeSkillGroupStatesRequest() {} + +int ListRealtimeSkillGroupStatesRequest::getPageNumber() const { + return pageNumber_; } -std::string ListRealtimeSkillGroupStatesRequest::getSkillGroupIdList()const -{ - return skillGroupIdList_; +void ListRealtimeSkillGroupStatesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListRealtimeSkillGroupStatesRequest::setSkillGroupIdList(const std::string& skillGroupIdList) -{ - skillGroupIdList_ = skillGroupIdList; - setBodyParameter("SkillGroupIdList", skillGroupIdList); +std::string ListRealtimeSkillGroupStatesRequest::getSkillGroupIdList() const { + return skillGroupIdList_; } -std::string ListRealtimeSkillGroupStatesRequest::getInstanceId()const -{ - return instanceId_; +void ListRealtimeSkillGroupStatesRequest::setSkillGroupIdList(const std::string &skillGroupIdList) { + skillGroupIdList_ = skillGroupIdList; + setBodyParameter(std::string("SkillGroupIdList"), skillGroupIdList); } -void ListRealtimeSkillGroupStatesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListRealtimeSkillGroupStatesRequest::getInstanceId() const { + return instanceId_; } -int ListRealtimeSkillGroupStatesRequest::getPageSize()const -{ - return pageSize_; +void ListRealtimeSkillGroupStatesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListRealtimeSkillGroupStatesRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListRealtimeSkillGroupStatesRequest::getPageSize() const { + return pageSize_; +} + +void ListRealtimeSkillGroupStatesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListRecentCallDetailRecordsRequest.cc b/ccc/src/model/ListRecentCallDetailRecordsRequest.cc index 024befbc1..3d5378ae1 100644 --- a/ccc/src/model/ListRecentCallDetailRecordsRequest.cc +++ b/ccc/src/model/ListRecentCallDetailRecordsRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListRecentCallDetailRecordsRequest; - -ListRecentCallDetailRecordsRequest::ListRecentCallDetailRecordsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListRecentCallDetailRecords") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRecentCallDetailRecordsRequest::~ListRecentCallDetailRecordsRequest() -{} - -std::string ListRecentCallDetailRecordsRequest::getCriteria()const -{ - return criteria_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListRecentCallDetailRecordsRequest; + +ListRecentCallDetailRecordsRequest::ListRecentCallDetailRecordsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListRecentCallDetailRecords") { + setMethod(HttpRequest::Method::Post); } -void ListRecentCallDetailRecordsRequest::setCriteria(const std::string& criteria) -{ - criteria_ = criteria; - setParameter("Criteria", criteria); +ListRecentCallDetailRecordsRequest::~ListRecentCallDetailRecordsRequest() {} + +std::string ListRecentCallDetailRecordsRequest::getCriteria() const { + return criteria_; } -long ListRecentCallDetailRecordsRequest::getEndTime()const -{ - return endTime_; +void ListRecentCallDetailRecordsRequest::setCriteria(const std::string &criteria) { + criteria_ = criteria; + setParameter(std::string("Criteria"), criteria); } -void ListRecentCallDetailRecordsRequest::setEndTime(long endTime) -{ - endTime_ = endTime; - setParameter("EndTime", std::to_string(endTime)); +long ListRecentCallDetailRecordsRequest::getEndTime() const { + return endTime_; } -long ListRecentCallDetailRecordsRequest::getStartTime()const -{ - return startTime_; +void ListRecentCallDetailRecordsRequest::setEndTime(long endTime) { + endTime_ = endTime; + setParameter(std::string("EndTime"), std::to_string(endTime)); } -void ListRecentCallDetailRecordsRequest::setStartTime(long startTime) -{ - startTime_ = startTime; - setBodyParameter("StartTime", std::to_string(startTime)); +long ListRecentCallDetailRecordsRequest::getStartTime() const { + return startTime_; } -int ListRecentCallDetailRecordsRequest::getPageNumber()const -{ - return pageNumber_; +void ListRecentCallDetailRecordsRequest::setStartTime(long startTime) { + startTime_ = startTime; + setBodyParameter(std::string("StartTime"), std::to_string(startTime)); } -void ListRecentCallDetailRecordsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListRecentCallDetailRecordsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListRecentCallDetailRecordsRequest::getInstanceId()const -{ - return instanceId_; +void ListRecentCallDetailRecordsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListRecentCallDetailRecordsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListRecentCallDetailRecordsRequest::getInstanceId() const { + return instanceId_; } -int ListRecentCallDetailRecordsRequest::getPageSize()const -{ - return pageSize_; +void ListRecentCallDetailRecordsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListRecentCallDetailRecordsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListRecentCallDetailRecordsRequest::getPageSize() const { + return pageSize_; +} + +void ListRecentCallDetailRecordsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListRolesRequest.cc b/ccc/src/model/ListRolesRequest.cc index 9c18267eb..1dc52a070 100644 --- a/ccc/src/model/ListRolesRequest.cc +++ b/ccc/src/model/ListRolesRequest.cc @@ -1,40 +1,36 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListRolesRequest; - -ListRolesRequest::ListRolesRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListRoles") -{ - setMethod(HttpRequest::Method::Post); -} - -ListRolesRequest::~ListRolesRequest() -{} - -std::string ListRolesRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListRolesRequest; + +ListRolesRequest::ListRolesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListRoles") { + setMethod(HttpRequest::Method::Post); } -void ListRolesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +ListRolesRequest::~ListRolesRequest() {} + +std::string ListRolesRequest::getInstanceId() const { + return instanceId_; +} + +void ListRolesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ListSipCallRecordsRequest.cc b/ccc/src/model/ListSipCallRecordsRequest.cc index 51cc08d05..6743cf019 100644 --- a/ccc/src/model/ListSipCallRecordsRequest.cc +++ b/ccc/src/model/ListSipCallRecordsRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListSipCallRecordsRequest; - -ListSipCallRecordsRequest::ListSipCallRecordsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListSipCallRecords") -{ - setMethod(HttpRequest::Method::Post); -} - -ListSipCallRecordsRequest::~ListSipCallRecordsRequest() -{} - -std::string ListSipCallRecordsRequest::getContactIdList()const -{ - return contactIdList_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListSipCallRecordsRequest; + +ListSipCallRecordsRequest::ListSipCallRecordsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListSipCallRecords") { + setMethod(HttpRequest::Method::Post); } -void ListSipCallRecordsRequest::setContactIdList(const std::string& contactIdList) -{ - contactIdList_ = contactIdList; - setParameter("ContactIdList", contactIdList); +ListSipCallRecordsRequest::~ListSipCallRecordsRequest() {} + +std::string ListSipCallRecordsRequest::getContactIdList() const { + return contactIdList_; } -std::string ListSipCallRecordsRequest::getInstanceId()const -{ - return instanceId_; +void ListSipCallRecordsRequest::setContactIdList(const std::string &contactIdList) { + contactIdList_ = contactIdList; + setParameter(std::string("ContactIdList"), contactIdList); } -void ListSipCallRecordsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListSipCallRecordsRequest::getInstanceId() const { + return instanceId_; +} + +void ListSipCallRecordsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ListSipTracesRequest.cc b/ccc/src/model/ListSipTracesRequest.cc index 6ad8d156b..54c65b3d6 100644 --- a/ccc/src/model/ListSipTracesRequest.cc +++ b/ccc/src/model/ListSipTracesRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListSipTracesRequest; - -ListSipTracesRequest::ListSipTracesRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListSipTraces") -{ - setMethod(HttpRequest::Method::Post); -} - -ListSipTracesRequest::~ListSipTracesRequest() -{} - -std::string ListSipTracesRequest::getCallId()const -{ - return callId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListSipTracesRequest; + +ListSipTracesRequest::ListSipTracesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListSipTraces") { + setMethod(HttpRequest::Method::Post); } -void ListSipTracesRequest::setCallId(const std::string& callId) -{ - callId_ = callId; - setParameter("CallId", callId); +ListSipTracesRequest::~ListSipTracesRequest() {} + +std::string ListSipTracesRequest::getCallId() const { + return callId_; } -std::string ListSipTracesRequest::getInstanceId()const -{ - return instanceId_; +void ListSipTracesRequest::setCallId(const std::string &callId) { + callId_ = callId; + setParameter(std::string("CallId"), callId); } -void ListSipTracesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListSipTracesRequest::getInstanceId() const { + return instanceId_; +} + +void ListSipTracesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ListSkillGroupStatesRequest.cc b/ccc/src/model/ListSkillGroupStatesRequest.cc new file mode 100644 index 000000000..80286d9cb --- /dev/null +++ b/ccc/src/model/ListSkillGroupStatesRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CCC::Model::ListSkillGroupStatesRequest; + +ListSkillGroupStatesRequest::ListSkillGroupStatesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListSkillGroupStates") { + setMethod(HttpRequest::Method::Get); +} + +ListSkillGroupStatesRequest::~ListSkillGroupStatesRequest() {} + +int ListSkillGroupStatesRequest::getPageNumber() const { + return pageNumber_; +} + +void ListSkillGroupStatesRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListSkillGroupStatesRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ListSkillGroupStatesRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string ListSkillGroupStatesRequest::getInstanceId() const { + return instanceId_; +} + +void ListSkillGroupStatesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListSkillGroupStatesRequest::getSkillGroupIds() const { + return skillGroupIds_; +} + +void ListSkillGroupStatesRequest::setSkillGroupIds(const std::string &skillGroupIds) { + skillGroupIds_ = skillGroupIds; + setParameter(std::string("SkillGroupIds"), skillGroupIds); +} + +int ListSkillGroupStatesRequest::getPageSize() const { + return pageSize_; +} + +void ListSkillGroupStatesRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/ccc/src/model/ListSkillGroupStatesResult.cc b/ccc/src/model/ListSkillGroupStatesResult.cc new file mode 100644 index 000000000..eac41413c --- /dev/null +++ b/ccc/src/model/ListSkillGroupStatesResult.cc @@ -0,0 +1,110 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ListSkillGroupStatesResult::ListSkillGroupStatesResult() : + ServiceResult() +{} + +ListSkillGroupStatesResult::ListSkillGroupStatesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSkillGroupStatesResult::~ListSkillGroupStatesResult() +{} + +void ListSkillGroupStatesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto dataNode = value["Data"]; + if(!dataNode["PageNumber"].isNull()) + data_.pageNumber = std::stoi(dataNode["PageNumber"].asString()); + if(!dataNode["PageSize"].isNull()) + data_.pageSize = std::stoi(dataNode["PageSize"].asString()); + if(!dataNode["TotalCount"].isNull()) + data_.totalCount = std::stoi(dataNode["TotalCount"].asString()); + auto allListNode = dataNode["List"]["RealTimeSkillGroupState"]; + for (auto dataNodeListRealTimeSkillGroupState : allListNode) + { + Data::RealTimeSkillGroupState realTimeSkillGroupStateObject; + if(!dataNodeListRealTimeSkillGroupState["WorkingAgents"].isNull()) + realTimeSkillGroupStateObject.workingAgents = std::stol(dataNodeListRealTimeSkillGroupState["WorkingAgents"].asString()); + if(!dataNodeListRealTimeSkillGroupState["LoggedInAgents"].isNull()) + realTimeSkillGroupStateObject.loggedInAgents = std::stol(dataNodeListRealTimeSkillGroupState["LoggedInAgents"].asString()); + if(!dataNodeListRealTimeSkillGroupState["BreakingAgents"].isNull()) + realTimeSkillGroupStateObject.breakingAgents = std::stol(dataNodeListRealTimeSkillGroupState["BreakingAgents"].asString()); + if(!dataNodeListRealTimeSkillGroupState["LongestCall"].isNull()) + realTimeSkillGroupStateObject.longestCall = std::stol(dataNodeListRealTimeSkillGroupState["LongestCall"].asString()); + if(!dataNodeListRealTimeSkillGroupState["WaitingCalls"].isNull()) + realTimeSkillGroupStateObject.waitingCalls = std::stol(dataNodeListRealTimeSkillGroupState["WaitingCalls"].asString()); + if(!dataNodeListRealTimeSkillGroupState["TalkingAgents"].isNull()) + realTimeSkillGroupStateObject.talkingAgents = std::stol(dataNodeListRealTimeSkillGroupState["TalkingAgents"].asString()); + if(!dataNodeListRealTimeSkillGroupState["SkillGroupName"].isNull()) + realTimeSkillGroupStateObject.skillGroupName = dataNodeListRealTimeSkillGroupState["SkillGroupName"].asString(); + if(!dataNodeListRealTimeSkillGroupState["SkillGroupId"].isNull()) + realTimeSkillGroupStateObject.skillGroupId = dataNodeListRealTimeSkillGroupState["SkillGroupId"].asString(); + if(!dataNodeListRealTimeSkillGroupState["ReadyAgents"].isNull()) + realTimeSkillGroupStateObject.readyAgents = std::stol(dataNodeListRealTimeSkillGroupState["ReadyAgents"].asString()); + if(!dataNodeListRealTimeSkillGroupState["InstanceId"].isNull()) + realTimeSkillGroupStateObject.instanceId = dataNodeListRealTimeSkillGroupState["InstanceId"].asString(); + data_.list.push_back(realTimeSkillGroupStateObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +std::string ListSkillGroupStatesResult::getMessage()const +{ + return message_; +} + +int ListSkillGroupStatesResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +ListSkillGroupStatesResult::Data ListSkillGroupStatesResult::getData()const +{ + return data_; +} + +std::string ListSkillGroupStatesResult::getCode()const +{ + return code_; +} + +bool ListSkillGroupStatesResult::getSuccess()const +{ + return success_; +} + diff --git a/ccc/src/model/ListSkillGroupSummaryReportsSinceMidnightRequest.cc b/ccc/src/model/ListSkillGroupSummaryReportsSinceMidnightRequest.cc new file mode 100644 index 000000000..b94a951a9 --- /dev/null +++ b/ccc/src/model/ListSkillGroupSummaryReportsSinceMidnightRequest.cc @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CCC::Model::ListSkillGroupSummaryReportsSinceMidnightRequest; + +ListSkillGroupSummaryReportsSinceMidnightRequest::ListSkillGroupSummaryReportsSinceMidnightRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListSkillGroupSummaryReportsSinceMidnight") { + setMethod(HttpRequest::Method::Get); +} + +ListSkillGroupSummaryReportsSinceMidnightRequest::~ListSkillGroupSummaryReportsSinceMidnightRequest() {} + +int ListSkillGroupSummaryReportsSinceMidnightRequest::getPageNumber() const { + return pageNumber_; +} + +void ListSkillGroupSummaryReportsSinceMidnightRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); +} + +std::string ListSkillGroupSummaryReportsSinceMidnightRequest::getAccessKeyId() const { + return accessKeyId_; +} + +void ListSkillGroupSummaryReportsSinceMidnightRequest::setAccessKeyId(const std::string &accessKeyId) { + accessKeyId_ = accessKeyId; + setParameter(std::string("AccessKeyId"), accessKeyId); +} + +std::string ListSkillGroupSummaryReportsSinceMidnightRequest::getInstanceId() const { + return instanceId_; +} + +void ListSkillGroupSummaryReportsSinceMidnightRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ListSkillGroupSummaryReportsSinceMidnightRequest::getSkillGroups() const { + return skillGroups_; +} + +void ListSkillGroupSummaryReportsSinceMidnightRequest::setSkillGroups(const std::string &skillGroups) { + skillGroups_ = skillGroups; + setParameter(std::string("SkillGroups"), skillGroups); +} + +int ListSkillGroupSummaryReportsSinceMidnightRequest::getPageSize() const { + return pageSize_; +} + +void ListSkillGroupSummaryReportsSinceMidnightRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); +} + diff --git a/ccc/src/model/ListSkillGroupSummaryReportsSinceMidnightResult.cc b/ccc/src/model/ListSkillGroupSummaryReportsSinceMidnightResult.cc new file mode 100644 index 000000000..bf17846bd --- /dev/null +++ b/ccc/src/model/ListSkillGroupSummaryReportsSinceMidnightResult.cc @@ -0,0 +1,217 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ListSkillGroupSummaryReportsSinceMidnightResult::ListSkillGroupSummaryReportsSinceMidnightResult() : + ServiceResult() +{} + +ListSkillGroupSummaryReportsSinceMidnightResult::ListSkillGroupSummaryReportsSinceMidnightResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ListSkillGroupSummaryReportsSinceMidnightResult::~ListSkillGroupSummaryReportsSinceMidnightResult() +{} + +void ListSkillGroupSummaryReportsSinceMidnightResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto pagedSkillGroupSummaryReportNode = value["PagedSkillGroupSummaryReport"]; + if(!pagedSkillGroupSummaryReportNode["PageNumber"].isNull()) + pagedSkillGroupSummaryReport_.pageNumber = std::stoi(pagedSkillGroupSummaryReportNode["PageNumber"].asString()); + if(!pagedSkillGroupSummaryReportNode["PageSize"].isNull()) + pagedSkillGroupSummaryReport_.pageSize = std::stoi(pagedSkillGroupSummaryReportNode["PageSize"].asString()); + if(!pagedSkillGroupSummaryReportNode["TotalCount"].isNull()) + pagedSkillGroupSummaryReport_.totalCount = std::stoi(pagedSkillGroupSummaryReportNode["TotalCount"].asString()); + auto allListNode = pagedSkillGroupSummaryReportNode["List"]["SkillGroupSummaryReport"]; + for (auto pagedSkillGroupSummaryReportNodeListSkillGroupSummaryReport : allListNode) + { + PagedSkillGroupSummaryReport::SkillGroupSummaryReport skillGroupSummaryReportObject; + if(!pagedSkillGroupSummaryReportNodeListSkillGroupSummaryReport["Timestamp"].isNull()) + skillGroupSummaryReportObject.timestamp = pagedSkillGroupSummaryReportNodeListSkillGroupSummaryReport["Timestamp"].asString(); + if(!pagedSkillGroupSummaryReportNodeListSkillGroupSummaryReport["InstanceId"].isNull()) + skillGroupSummaryReportObject.instanceId = pagedSkillGroupSummaryReportNodeListSkillGroupSummaryReport["InstanceId"].asString(); + if(!pagedSkillGroupSummaryReportNodeListSkillGroupSummaryReport["SkillGroupName"].isNull()) + skillGroupSummaryReportObject.skillGroupName = pagedSkillGroupSummaryReportNodeListSkillGroupSummaryReport["SkillGroupName"].asString(); + if(!pagedSkillGroupSummaryReportNodeListSkillGroupSummaryReport["SkillGroupId"].isNull()) + skillGroupSummaryReportObject.skillGroupId = pagedSkillGroupSummaryReportNodeListSkillGroupSummaryReport["SkillGroupId"].asString(); + auto overallNode = value["Overall"]; + if(!overallNode["TotalLoggedInTime"].isNull()) + skillGroupSummaryReportObject.overall.totalLoggedInTime = std::stol(overallNode["TotalLoggedInTime"].asString()); + if(!overallNode["TotalTalkTime"].isNull()) + skillGroupSummaryReportObject.overall.totalTalkTime = std::stol(overallNode["TotalTalkTime"].asString()); + if(!overallNode["OccupancyRate"].isNull()) + skillGroupSummaryReportObject.overall.occupancyRate = std::stof(overallNode["OccupancyRate"].asString()); + if(!overallNode["TotalWorkTime"].isNull()) + skillGroupSummaryReportObject.overall.totalWorkTime = std::stol(overallNode["TotalWorkTime"].asString()); + if(!overallNode["MaxWorkTime"].isNull()) + skillGroupSummaryReportObject.overall.maxWorkTime = std::stol(overallNode["MaxWorkTime"].asString()); + if(!overallNode["AverageWorkTime"].isNull()) + skillGroupSummaryReportObject.overall.averageWorkTime = std::stol(overallNode["AverageWorkTime"].asString()); + if(!overallNode["AverageTalkTime"].isNull()) + skillGroupSummaryReportObject.overall.averageTalkTime = std::stol(overallNode["AverageTalkTime"].asString()); + if(!overallNode["SatisfactionIndex"].isNull()) + skillGroupSummaryReportObject.overall.satisfactionIndex = std::stof(overallNode["SatisfactionIndex"].asString()); + if(!overallNode["SatisfactionSurveysOffered"].isNull()) + skillGroupSummaryReportObject.overall.satisfactionSurveysOffered = std::stol(overallNode["SatisfactionSurveysOffered"].asString()); + if(!overallNode["SatisfactionSurveysResponded"].isNull()) + skillGroupSummaryReportObject.overall.satisfactionSurveysResponded = std::stol(overallNode["SatisfactionSurveysResponded"].asString()); + if(!overallNode["MaxReadyTime"].isNull()) + skillGroupSummaryReportObject.overall.maxReadyTime = std::stol(overallNode["MaxReadyTime"].asString()); + if(!overallNode["AverageReadyTime"].isNull()) + skillGroupSummaryReportObject.overall.averageReadyTime = std::stol(overallNode["AverageReadyTime"].asString()); + if(!overallNode["TotalBreakTime"].isNull()) + skillGroupSummaryReportObject.overall.totalBreakTime = std::stol(overallNode["TotalBreakTime"].asString()); + if(!overallNode["TotalReadyTime"].isNull()) + skillGroupSummaryReportObject.overall.totalReadyTime = std::stol(overallNode["TotalReadyTime"].asString()); + if(!overallNode["MaxTalkTime"].isNull()) + skillGroupSummaryReportObject.overall.maxTalkTime = std::stol(overallNode["MaxTalkTime"].asString()); + if(!overallNode["TotalCalls"].isNull()) + skillGroupSummaryReportObject.overall.totalCalls = std::stol(overallNode["TotalCalls"].asString()); + auto inboundNode = value["Inbound"]; + if(!inboundNode["AverageRingTime"].isNull()) + skillGroupSummaryReportObject.inbound.averageRingTime = std::stol(inboundNode["AverageRingTime"].asString()); + if(!inboundNode["CallsHandled"].isNull()) + skillGroupSummaryReportObject.inbound.callsHandled = std::stol(inboundNode["CallsHandled"].asString()); + if(!inboundNode["TotalWorkTime"].isNull()) + skillGroupSummaryReportObject.inbound.totalWorkTime = std::stol(inboundNode["TotalWorkTime"].asString()); + if(!inboundNode["MaxWorkTime"].isNull()) + skillGroupSummaryReportObject.inbound.maxWorkTime = std::stol(inboundNode["MaxWorkTime"].asString()); + if(!inboundNode["QueueMaxWaitTimeDuration"].isNull()) + skillGroupSummaryReportObject.inbound.queueMaxWaitTimeDuration = std::stol(inboundNode["QueueMaxWaitTimeDuration"].asString()); + if(!inboundNode["AverageWorkTime"].isNull()) + skillGroupSummaryReportObject.inbound.averageWorkTime = std::stol(inboundNode["AverageWorkTime"].asString()); + if(!inboundNode["SatisfactionIndex"].isNull()) + skillGroupSummaryReportObject.inbound.satisfactionIndex = std::stof(inboundNode["SatisfactionIndex"].asString()); + if(!inboundNode["AnsweredByAgentOfQueueWaitTimeDuration"].isNull()) + skillGroupSummaryReportObject.inbound.answeredByAgentOfQueueWaitTimeDuration = std::stol(inboundNode["AnsweredByAgentOfQueueWaitTimeDuration"].asString()); + if(!inboundNode["TotalRingTime"].isNull()) + skillGroupSummaryReportObject.inbound.totalRingTime = std::stol(inboundNode["TotalRingTime"].asString()); + if(!inboundNode["InComingQueueOfQueueCount"].isNull()) + skillGroupSummaryReportObject.inbound.inComingQueueOfQueueCount = std::stol(inboundNode["InComingQueueOfQueueCount"].asString()); + if(!inboundNode["MaxTalkTime"].isNull()) + skillGroupSummaryReportObject.inbound.maxTalkTime = inboundNode["MaxTalkTime"].asString(); + if(!inboundNode["MaxRingTime"].isNull()) + skillGroupSummaryReportObject.inbound.maxRingTime = std::stol(inboundNode["MaxRingTime"].asString()); + if(!inboundNode["TotalTalkTime"].isNull()) + skillGroupSummaryReportObject.inbound.totalTalkTime = std::stol(inboundNode["TotalTalkTime"].asString()); + if(!inboundNode["CallsOffered"].isNull()) + skillGroupSummaryReportObject.inbound.callsOffered = std::stol(inboundNode["CallsOffered"].asString()); + if(!inboundNode["AbandonedInQueueOfQueueCount"].isNull()) + skillGroupSummaryReportObject.inbound.abandonedInQueueOfQueueCount = std::stol(inboundNode["AbandonedInQueueOfQueueCount"].asString()); + if(!inboundNode["OverFlowInQueueOfQueueCount"].isNull()) + skillGroupSummaryReportObject.inbound.overFlowInQueueOfQueueCount = std::stol(inboundNode["OverFlowInQueueOfQueueCount"].asString()); + if(!inboundNode["AnsweredByAgentOfQueueMaxWaitTimeDuration"].isNull()) + skillGroupSummaryReportObject.inbound.answeredByAgentOfQueueMaxWaitTimeDuration = std::stol(inboundNode["AnsweredByAgentOfQueueMaxWaitTimeDuration"].asString()); + if(!inboundNode["ServiceLevel20"].isNull()) + skillGroupSummaryReportObject.inbound.serviceLevel20 = std::stof(inboundNode["ServiceLevel20"].asString()); + if(!inboundNode["AverageTalkTime"].isNull()) + skillGroupSummaryReportObject.inbound.averageTalkTime = std::stol(inboundNode["AverageTalkTime"].asString()); + if(!inboundNode["AnsweredByAgentOfQueueCount"].isNull()) + skillGroupSummaryReportObject.inbound.answeredByAgentOfQueueCount = std::stol(inboundNode["AnsweredByAgentOfQueueCount"].asString()); + if(!inboundNode["SatisfactionSurveysOffered"].isNull()) + skillGroupSummaryReportObject.inbound.satisfactionSurveysOffered = std::stol(inboundNode["SatisfactionSurveysOffered"].asString()); + if(!inboundNode["HandleRate"].isNull()) + skillGroupSummaryReportObject.inbound.handleRate = std::stof(inboundNode["HandleRate"].asString()); + if(!inboundNode["SatisfactionSurveysResponded"].isNull()) + skillGroupSummaryReportObject.inbound.satisfactionSurveysResponded = std::stol(inboundNode["SatisfactionSurveysResponded"].asString()); + if(!inboundNode["GiveUpByAgentOfQueueCount"].isNull()) + skillGroupSummaryReportObject.inbound.giveUpByAgentOfQueueCount = std::stol(inboundNode["GiveUpByAgentOfQueueCount"].asString()); + if(!inboundNode["QueueWaitTimeDuration"].isNull()) + skillGroupSummaryReportObject.inbound.queueWaitTimeDuration = std::stol(inboundNode["QueueWaitTimeDuration"].asString()); + if(!inboundNode["CallsServiceLevel20"].isNull()) + skillGroupSummaryReportObject.inbound.callsServiceLevel20 = std::stol(inboundNode["CallsServiceLevel20"].asString()); + if(!inboundNode["CallsServiceLevel30"].isNull()) + skillGroupSummaryReportObject.inbound.callsServiceLevel30 = std::stol(inboundNode["CallsServiceLevel30"].asString()); + auto outboundNode = value["Outbound"]; + if(!outboundNode["TotalTalkTime"].isNull()) + skillGroupSummaryReportObject.outbound.totalTalkTime = std::stol(outboundNode["TotalTalkTime"].asString()); + if(!outboundNode["MaxDialingTime"].isNull()) + skillGroupSummaryReportObject.outbound.maxDialingTime = std::stol(outboundNode["MaxDialingTime"].asString()); + if(!outboundNode["CallsDialed"].isNull()) + skillGroupSummaryReportObject.outbound.callsDialed = std::stol(outboundNode["CallsDialed"].asString()); + if(!outboundNode["CallsAnswered"].isNull()) + skillGroupSummaryReportObject.outbound.callsAnswered = std::stol(outboundNode["CallsAnswered"].asString()); + if(!outboundNode["AnswerRate"].isNull()) + skillGroupSummaryReportObject.outbound.answerRate = std::stof(outboundNode["AnswerRate"].asString()); + if(!outboundNode["TotalWorkTime"].isNull()) + skillGroupSummaryReportObject.outbound.totalWorkTime = std::stol(outboundNode["TotalWorkTime"].asString()); + if(!outboundNode["MaxWorkTime"].isNull()) + skillGroupSummaryReportObject.outbound.maxWorkTime = std::stol(outboundNode["MaxWorkTime"].asString()); + if(!outboundNode["TotalDialingTime"].isNull()) + skillGroupSummaryReportObject.outbound.totalDialingTime = std::stol(outboundNode["TotalDialingTime"].asString()); + if(!outboundNode["AverageTalkTime"].isNull()) + skillGroupSummaryReportObject.outbound.averageTalkTime = std::stol(outboundNode["AverageTalkTime"].asString()); + if(!outboundNode["AverageWorkTime"].isNull()) + skillGroupSummaryReportObject.outbound.averageWorkTime = std::stol(outboundNode["AverageWorkTime"].asString()); + if(!outboundNode["SatisfactionIndex"].isNull()) + skillGroupSummaryReportObject.outbound.satisfactionIndex = std::stof(outboundNode["SatisfactionIndex"].asString()); + if(!outboundNode["SatisfactionSurveysOffered"].isNull()) + skillGroupSummaryReportObject.outbound.satisfactionSurveysOffered = std::stol(outboundNode["SatisfactionSurveysOffered"].asString()); + if(!outboundNode["SatisfactionSurveysResponded"].isNull()) + skillGroupSummaryReportObject.outbound.satisfactionSurveysResponded = std::stol(outboundNode["SatisfactionSurveysResponded"].asString()); + if(!outboundNode["MaxTalkTime"].isNull()) + skillGroupSummaryReportObject.outbound.maxTalkTime = std::stol(outboundNode["MaxTalkTime"].asString()); + if(!outboundNode["AverageDialingTime"].isNull()) + skillGroupSummaryReportObject.outbound.averageDialingTime = std::stol(outboundNode["AverageDialingTime"].asString()); + pagedSkillGroupSummaryReport_.list.push_back(skillGroupSummaryReportObject); + } + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Success"].isNull()) + success_ = value["Success"].asString() == "true"; + +} + +ListSkillGroupSummaryReportsSinceMidnightResult::PagedSkillGroupSummaryReport ListSkillGroupSummaryReportsSinceMidnightResult::getPagedSkillGroupSummaryReport()const +{ + return pagedSkillGroupSummaryReport_; +} + +std::string ListSkillGroupSummaryReportsSinceMidnightResult::getMessage()const +{ + return message_; +} + +int ListSkillGroupSummaryReportsSinceMidnightResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string ListSkillGroupSummaryReportsSinceMidnightResult::getCode()const +{ + return code_; +} + +bool ListSkillGroupSummaryReportsSinceMidnightResult::getSuccess()const +{ + return success_; +} + diff --git a/ccc/src/model/ListSkillGroupsRequest.cc b/ccc/src/model/ListSkillGroupsRequest.cc index 0296661f7..46aa1b772 100644 --- a/ccc/src/model/ListSkillGroupsRequest.cc +++ b/ccc/src/model/ListSkillGroupsRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListSkillGroupsRequest; - -ListSkillGroupsRequest::ListSkillGroupsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListSkillGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -ListSkillGroupsRequest::~ListSkillGroupsRequest() -{} - -int ListSkillGroupsRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListSkillGroupsRequest; + +ListSkillGroupsRequest::ListSkillGroupsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListSkillGroups") { + setMethod(HttpRequest::Method::Post); } -void ListSkillGroupsRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListSkillGroupsRequest::~ListSkillGroupsRequest() {} + +int ListSkillGroupsRequest::getPageNumber() const { + return pageNumber_; } -std::string ListSkillGroupsRequest::getSearchPattern()const -{ - return searchPattern_; +void ListSkillGroupsRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListSkillGroupsRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListSkillGroupsRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListSkillGroupsRequest::getInstanceId()const -{ - return instanceId_; +void ListSkillGroupsRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListSkillGroupsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListSkillGroupsRequest::getInstanceId() const { + return instanceId_; } -int ListSkillGroupsRequest::getPageSize()const -{ - return pageSize_; +void ListSkillGroupsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListSkillGroupsRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListSkillGroupsRequest::getPageSize() const { + return pageSize_; +} + +void ListSkillGroupsRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListSkillLevelsOfUserRequest.cc b/ccc/src/model/ListSkillLevelsOfUserRequest.cc index 836d4e21e..e24e4d68c 100644 --- a/ccc/src/model/ListSkillLevelsOfUserRequest.cc +++ b/ccc/src/model/ListSkillLevelsOfUserRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListSkillLevelsOfUserRequest; - -ListSkillLevelsOfUserRequest::ListSkillLevelsOfUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListSkillLevelsOfUser") -{ - setMethod(HttpRequest::Method::Post); -} - -ListSkillLevelsOfUserRequest::~ListSkillLevelsOfUserRequest() -{} - -std::string ListSkillLevelsOfUserRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListSkillLevelsOfUserRequest; + +ListSkillLevelsOfUserRequest::ListSkillLevelsOfUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListSkillLevelsOfUser") { + setMethod(HttpRequest::Method::Post); } -void ListSkillLevelsOfUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +ListSkillLevelsOfUserRequest::~ListSkillLevelsOfUserRequest() {} + +std::string ListSkillLevelsOfUserRequest::getUserId() const { + return userId_; } -bool ListSkillLevelsOfUserRequest::getIsMember()const -{ - return isMember_; +void ListSkillLevelsOfUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ListSkillLevelsOfUserRequest::setIsMember(bool isMember) -{ - isMember_ = isMember; - setParameter("IsMember", isMember ? "true" : "false"); +bool ListSkillLevelsOfUserRequest::getIsMember() const { + return isMember_; } -int ListSkillLevelsOfUserRequest::getPageNumber()const -{ - return pageNumber_; +void ListSkillLevelsOfUserRequest::setIsMember(bool isMember) { + isMember_ = isMember; + setParameter(std::string("IsMember"), isMember ? "true" : "false"); } -void ListSkillLevelsOfUserRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListSkillLevelsOfUserRequest::getPageNumber() const { + return pageNumber_; } -std::string ListSkillLevelsOfUserRequest::getSearchPattern()const -{ - return searchPattern_; +void ListSkillLevelsOfUserRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListSkillLevelsOfUserRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListSkillLevelsOfUserRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListSkillLevelsOfUserRequest::getInstanceId()const -{ - return instanceId_; +void ListSkillLevelsOfUserRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListSkillLevelsOfUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListSkillLevelsOfUserRequest::getInstanceId() const { + return instanceId_; } -int ListSkillLevelsOfUserRequest::getPageSize()const -{ - return pageSize_; +void ListSkillLevelsOfUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListSkillLevelsOfUserRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListSkillLevelsOfUserRequest::getPageSize() const { + return pageSize_; +} + +void ListSkillLevelsOfUserRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListUnassignedNumbersRequest.cc b/ccc/src/model/ListUnassignedNumbersRequest.cc index 5f08d863f..e2204dced 100644 --- a/ccc/src/model/ListUnassignedNumbersRequest.cc +++ b/ccc/src/model/ListUnassignedNumbersRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListUnassignedNumbersRequest; - -ListUnassignedNumbersRequest::ListUnassignedNumbersRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListUnassignedNumbers") -{ - setMethod(HttpRequest::Method::Post); -} - -ListUnassignedNumbersRequest::~ListUnassignedNumbersRequest() -{} - -int ListUnassignedNumbersRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListUnassignedNumbersRequest; + +ListUnassignedNumbersRequest::ListUnassignedNumbersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListUnassignedNumbers") { + setMethod(HttpRequest::Method::Post); } -void ListUnassignedNumbersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListUnassignedNumbersRequest::~ListUnassignedNumbersRequest() {} + +int ListUnassignedNumbersRequest::getPageNumber() const { + return pageNumber_; } -std::string ListUnassignedNumbersRequest::getSearchPattern()const -{ - return searchPattern_; +void ListUnassignedNumbersRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListUnassignedNumbersRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListUnassignedNumbersRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListUnassignedNumbersRequest::getInstanceId()const -{ - return instanceId_; +void ListUnassignedNumbersRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListUnassignedNumbersRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListUnassignedNumbersRequest::getInstanceId() const { + return instanceId_; } -int ListUnassignedNumbersRequest::getPageSize()const -{ - return pageSize_; +void ListUnassignedNumbersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListUnassignedNumbersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListUnassignedNumbersRequest::getPageSize() const { + return pageSize_; +} + +void ListUnassignedNumbersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListUserLevelsOfSkillGroupRequest.cc b/ccc/src/model/ListUserLevelsOfSkillGroupRequest.cc index 5d2562836..801d3dc0b 100644 --- a/ccc/src/model/ListUserLevelsOfSkillGroupRequest.cc +++ b/ccc/src/model/ListUserLevelsOfSkillGroupRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ListUserLevelsOfSkillGroupRequest; - -ListUserLevelsOfSkillGroupRequest::ListUserLevelsOfSkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListUserLevelsOfSkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ListUserLevelsOfSkillGroupRequest::~ListUserLevelsOfSkillGroupRequest() -{} - -bool ListUserLevelsOfSkillGroupRequest::getIsMember()const -{ - return isMember_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListUserLevelsOfSkillGroupRequest; + +ListUserLevelsOfSkillGroupRequest::ListUserLevelsOfSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListUserLevelsOfSkillGroup") { + setMethod(HttpRequest::Method::Post); } -void ListUserLevelsOfSkillGroupRequest::setIsMember(bool isMember) -{ - isMember_ = isMember; - setParameter("IsMember", isMember ? "true" : "false"); +ListUserLevelsOfSkillGroupRequest::~ListUserLevelsOfSkillGroupRequest() {} + +bool ListUserLevelsOfSkillGroupRequest::getIsMember() const { + return isMember_; } -int ListUserLevelsOfSkillGroupRequest::getPageNumber()const -{ - return pageNumber_; +void ListUserLevelsOfSkillGroupRequest::setIsMember(bool isMember) { + isMember_ = isMember; + setParameter(std::string("IsMember"), isMember ? "true" : "false"); } -void ListUserLevelsOfSkillGroupRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +int ListUserLevelsOfSkillGroupRequest::getPageNumber() const { + return pageNumber_; } -std::string ListUserLevelsOfSkillGroupRequest::getSearchPattern()const -{ - return searchPattern_; +void ListUserLevelsOfSkillGroupRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListUserLevelsOfSkillGroupRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListUserLevelsOfSkillGroupRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListUserLevelsOfSkillGroupRequest::getInstanceId()const -{ - return instanceId_; +void ListUserLevelsOfSkillGroupRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListUserLevelsOfSkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListUserLevelsOfSkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string ListUserLevelsOfSkillGroupRequest::getSkillGroupId()const -{ - return skillGroupId_; +void ListUserLevelsOfSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListUserLevelsOfSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string ListUserLevelsOfSkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; } -int ListUserLevelsOfSkillGroupRequest::getPageSize()const -{ - return pageSize_; +void ListUserLevelsOfSkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } -void ListUserLevelsOfSkillGroupRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListUserLevelsOfSkillGroupRequest::getPageSize() const { + return pageSize_; +} + +void ListUserLevelsOfSkillGroupRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/ListUsersRequest.cc b/ccc/src/model/ListUsersRequest.cc index aca6292aa..b0444219a 100644 --- a/ccc/src/model/ListUsersRequest.cc +++ b/ccc/src/model/ListUsersRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ListUsersRequest; - -ListUsersRequest::ListUsersRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ListUsers") -{ - setMethod(HttpRequest::Method::Post); -} - -ListUsersRequest::~ListUsersRequest() -{} - -int ListUsersRequest::getPageNumber()const -{ - return pageNumber_; + */ + +#include + +using AlibabaCloud::CCC::Model::ListUsersRequest; + +ListUsersRequest::ListUsersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ListUsers") { + setMethod(HttpRequest::Method::Post); } -void ListUsersRequest::setPageNumber(int pageNumber) -{ - pageNumber_ = pageNumber; - setParameter("PageNumber", std::to_string(pageNumber)); +ListUsersRequest::~ListUsersRequest() {} + +int ListUsersRequest::getPageNumber() const { + return pageNumber_; } -std::string ListUsersRequest::getSearchPattern()const -{ - return searchPattern_; +void ListUsersRequest::setPageNumber(int pageNumber) { + pageNumber_ = pageNumber; + setParameter(std::string("PageNumber"), std::to_string(pageNumber)); } -void ListUsersRequest::setSearchPattern(const std::string& searchPattern) -{ - searchPattern_ = searchPattern; - setParameter("SearchPattern", searchPattern); +std::string ListUsersRequest::getSearchPattern() const { + return searchPattern_; } -std::string ListUsersRequest::getInstanceId()const -{ - return instanceId_; +void ListUsersRequest::setSearchPattern(const std::string &searchPattern) { + searchPattern_ = searchPattern; + setParameter(std::string("SearchPattern"), searchPattern); } -void ListUsersRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ListUsersRequest::getInstanceId() const { + return instanceId_; } -int ListUsersRequest::getPageSize()const -{ - return pageSize_; +void ListUsersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ListUsersRequest::setPageSize(int pageSize) -{ - pageSize_ = pageSize; - setParameter("PageSize", std::to_string(pageSize)); +int ListUsersRequest::getPageSize() const { + return pageSize_; +} + +void ListUsersRequest::setPageSize(int pageSize) { + pageSize_ = pageSize; + setParameter(std::string("PageSize"), std::to_string(pageSize)); } diff --git a/ccc/src/model/MakeCallRequest.cc b/ccc/src/model/MakeCallRequest.cc index dee31625e..55d22d1b5 100644 --- a/ccc/src/model/MakeCallRequest.cc +++ b/ccc/src/model/MakeCallRequest.cc @@ -1,117 +1,99 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::MakeCallRequest; - -MakeCallRequest::MakeCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "MakeCall") -{ - setMethod(HttpRequest::Method::Post); -} - -MakeCallRequest::~MakeCallRequest() -{} - -std::string MakeCallRequest::getCallee()const -{ - return callee_; + */ + +#include + +using AlibabaCloud::CCC::Model::MakeCallRequest; + +MakeCallRequest::MakeCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "MakeCall") { + setMethod(HttpRequest::Method::Post); } -void MakeCallRequest::setCallee(const std::string& callee) -{ - callee_ = callee; - setParameter("Callee", callee); +MakeCallRequest::~MakeCallRequest() {} + +std::string MakeCallRequest::getCallee() const { + return callee_; } -std::string MakeCallRequest::getMaskedCallee()const -{ - return maskedCallee_; +void MakeCallRequest::setCallee(const std::string &callee) { + callee_ = callee; + setParameter(std::string("Callee"), callee); } -void MakeCallRequest::setMaskedCallee(const std::string& maskedCallee) -{ - maskedCallee_ = maskedCallee; - setParameter("MaskedCallee", maskedCallee); +std::string MakeCallRequest::getMaskedCallee() const { + return maskedCallee_; } -std::string MakeCallRequest::getUserId()const -{ - return userId_; +void MakeCallRequest::setMaskedCallee(const std::string &maskedCallee) { + maskedCallee_ = maskedCallee; + setParameter(std::string("MaskedCallee"), maskedCallee); } -void MakeCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string MakeCallRequest::getUserId() const { + return userId_; } -std::string MakeCallRequest::getDeviceId()const -{ - return deviceId_; +void MakeCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void MakeCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string MakeCallRequest::getDeviceId() const { + return deviceId_; } -std::string MakeCallRequest::getTags()const -{ - return tags_; +void MakeCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void MakeCallRequest::setTags(const std::string& tags) -{ - tags_ = tags; - setParameter("Tags", tags); +std::string MakeCallRequest::getTags() const { + return tags_; } -int MakeCallRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; +void MakeCallRequest::setTags(const std::string &tags) { + tags_ = tags; + setParameter(std::string("Tags"), tags); } -void MakeCallRequest::setTimeoutSeconds(int timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +int MakeCallRequest::getTimeoutSeconds() const { + return timeoutSeconds_; } -std::string MakeCallRequest::getCaller()const -{ - return caller_; +void MakeCallRequest::setTimeoutSeconds(int timeoutSeconds) { + timeoutSeconds_ = timeoutSeconds; + setParameter(std::string("TimeoutSeconds"), std::to_string(timeoutSeconds)); } -void MakeCallRequest::setCaller(const std::string& caller) -{ - caller_ = caller; - setParameter("Caller", caller); +std::string MakeCallRequest::getCaller() const { + return caller_; } -std::string MakeCallRequest::getInstanceId()const -{ - return instanceId_; +void MakeCallRequest::setCaller(const std::string &caller) { + caller_ = caller; + setParameter(std::string("Caller"), caller); } -void MakeCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string MakeCallRequest::getInstanceId() const { + return instanceId_; +} + +void MakeCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ModifyCustomCallTaggingRequest.cc b/ccc/src/model/ModifyCustomCallTaggingRequest.cc new file mode 100644 index 000000000..e97f8bc2c --- /dev/null +++ b/ccc/src/model/ModifyCustomCallTaggingRequest.cc @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::CCC::Model::ModifyCustomCallTaggingRequest; + +ModifyCustomCallTaggingRequest::ModifyCustomCallTaggingRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ModifyCustomCallTagging") { + setMethod(HttpRequest::Method::Post); +} + +ModifyCustomCallTaggingRequest::~ModifyCustomCallTaggingRequest() {} + +std::string ModifyCustomCallTaggingRequest::getDescription() const { + return description_; +} + +void ModifyCustomCallTaggingRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); +} + +std::string ModifyCustomCallTaggingRequest::getNumber() const { + return number_; +} + +void ModifyCustomCallTaggingRequest::setNumber(const std::string &number) { + number_ = number; + setParameter(std::string("Number"), number); +} + +std::string ModifyCustomCallTaggingRequest::getInstanceId() const { + return instanceId_; +} + +void ModifyCustomCallTaggingRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ModifyCustomCallTaggingRequest::getCallTagNameList() const { + return callTagNameList_; +} + +void ModifyCustomCallTaggingRequest::setCallTagNameList(const std::string &callTagNameList) { + callTagNameList_ = callTagNameList; + setParameter(std::string("CallTagNameList"), callTagNameList); +} + diff --git a/ccc/src/model/ModifyCustomCallTaggingResult.cc b/ccc/src/model/ModifyCustomCallTaggingResult.cc new file mode 100644 index 000000000..1d6915aaa --- /dev/null +++ b/ccc/src/model/ModifyCustomCallTaggingResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +ModifyCustomCallTaggingResult::ModifyCustomCallTaggingResult() : + ServiceResult() +{} + +ModifyCustomCallTaggingResult::ModifyCustomCallTaggingResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyCustomCallTaggingResult::~ModifyCustomCallTaggingResult() +{} + +void ModifyCustomCallTaggingResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string ModifyCustomCallTaggingResult::getMessage()const +{ + return message_; +} + +int ModifyCustomCallTaggingResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string ModifyCustomCallTaggingResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/ModifyInstanceRequest.cc b/ccc/src/model/ModifyInstanceRequest.cc index 15bd91c49..40f27ad6a 100644 --- a/ccc/src/model/ModifyInstanceRequest.cc +++ b/ccc/src/model/ModifyInstanceRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ModifyInstanceRequest; - -ModifyInstanceRequest::ModifyInstanceRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ModifyInstance") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyInstanceRequest::~ModifyInstanceRequest() -{} - -std::string ModifyInstanceRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::CCC::Model::ModifyInstanceRequest; + +ModifyInstanceRequest::ModifyInstanceRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ModifyInstance") { + setMethod(HttpRequest::Method::Post); } -void ModifyInstanceRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +ModifyInstanceRequest::~ModifyInstanceRequest() {} + +std::string ModifyInstanceRequest::getDescription() const { + return description_; } -std::string ModifyInstanceRequest::getInstanceId()const -{ - return instanceId_; +void ModifyInstanceRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void ModifyInstanceRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ModifyInstanceRequest::getInstanceId() const { + return instanceId_; +} + +void ModifyInstanceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ModifyPhoneNumberRequest.cc b/ccc/src/model/ModifyPhoneNumberRequest.cc index 2d0712dc4..eb65e30e1 100644 --- a/ccc/src/model/ModifyPhoneNumberRequest.cc +++ b/ccc/src/model/ModifyPhoneNumberRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ModifyPhoneNumberRequest; - -ModifyPhoneNumberRequest::ModifyPhoneNumberRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ModifyPhoneNumber") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyPhoneNumberRequest::~ModifyPhoneNumberRequest() -{} - -std::string ModifyPhoneNumberRequest::getContactFlowId()const -{ - return contactFlowId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ModifyPhoneNumberRequest; + +ModifyPhoneNumberRequest::ModifyPhoneNumberRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ModifyPhoneNumber") { + setMethod(HttpRequest::Method::Post); } -void ModifyPhoneNumberRequest::setContactFlowId(const std::string& contactFlowId) -{ - contactFlowId_ = contactFlowId; - setParameter("ContactFlowId", contactFlowId); +ModifyPhoneNumberRequest::~ModifyPhoneNumberRequest() {} + +std::string ModifyPhoneNumberRequest::getContactFlowId() const { + return contactFlowId_; } -std::string ModifyPhoneNumberRequest::getUsage()const -{ - return usage_; +void ModifyPhoneNumberRequest::setContactFlowId(const std::string &contactFlowId) { + contactFlowId_ = contactFlowId; + setParameter(std::string("ContactFlowId"), contactFlowId); } -void ModifyPhoneNumberRequest::setUsage(const std::string& usage) -{ - usage_ = usage; - setParameter("Usage", usage); +std::string ModifyPhoneNumberRequest::getUsage() const { + return usage_; } -std::string ModifyPhoneNumberRequest::getNumber()const -{ - return number_; +void ModifyPhoneNumberRequest::setUsage(const std::string &usage) { + usage_ = usage; + setParameter(std::string("Usage"), usage); } -void ModifyPhoneNumberRequest::setNumber(const std::string& number) -{ - number_ = number; - setParameter("Number", number); +std::string ModifyPhoneNumberRequest::getNumber() const { + return number_; } -std::string ModifyPhoneNumberRequest::getInstanceId()const -{ - return instanceId_; +void ModifyPhoneNumberRequest::setNumber(const std::string &number) { + number_ = number; + setParameter(std::string("Number"), number); } -void ModifyPhoneNumberRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ModifyPhoneNumberRequest::getInstanceId() const { + return instanceId_; +} + +void ModifyPhoneNumberRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ModifySkillGroupRequest.cc b/ccc/src/model/ModifySkillGroupRequest.cc index 74e0d5be2..6a727f7bf 100644 --- a/ccc/src/model/ModifySkillGroupRequest.cc +++ b/ccc/src/model/ModifySkillGroupRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ModifySkillGroupRequest; - -ModifySkillGroupRequest::ModifySkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ModifySkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifySkillGroupRequest::~ModifySkillGroupRequest() -{} - -std::string ModifySkillGroupRequest::getDescription()const -{ - return description_; + */ + +#include + +using AlibabaCloud::CCC::Model::ModifySkillGroupRequest; + +ModifySkillGroupRequest::ModifySkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ModifySkillGroup") { + setMethod(HttpRequest::Method::Post); } -void ModifySkillGroupRequest::setDescription(const std::string& description) -{ - description_ = description; - setParameter("Description", description); +ModifySkillGroupRequest::~ModifySkillGroupRequest() {} + +std::string ModifySkillGroupRequest::getDescription() const { + return description_; } -std::string ModifySkillGroupRequest::getInstanceId()const -{ - return instanceId_; +void ModifySkillGroupRequest::setDescription(const std::string &description) { + description_ = description; + setParameter(std::string("Description"), description); } -void ModifySkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ModifySkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string ModifySkillGroupRequest::getSkillGroupId()const -{ - return skillGroupId_; +void ModifySkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ModifySkillGroupRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string ModifySkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; } -std::string ModifySkillGroupRequest::getDisplayName()const -{ - return displayName_; +void ModifySkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } -void ModifySkillGroupRequest::setDisplayName(const std::string& displayName) -{ - displayName_ = displayName; - setParameter("DisplayName", displayName); +std::string ModifySkillGroupRequest::getDisplayName() const { + return displayName_; +} + +void ModifySkillGroupRequest::setDisplayName(const std::string &displayName) { + displayName_ = displayName; + setParameter(std::string("DisplayName"), displayName); } diff --git a/ccc/src/model/ModifySkillLevelsOfUserRequest.cc b/ccc/src/model/ModifySkillLevelsOfUserRequest.cc index c15f925d3..914d5d9b0 100644 --- a/ccc/src/model/ModifySkillLevelsOfUserRequest.cc +++ b/ccc/src/model/ModifySkillLevelsOfUserRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ModifySkillLevelsOfUserRequest; - -ModifySkillLevelsOfUserRequest::ModifySkillLevelsOfUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ModifySkillLevelsOfUser") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifySkillLevelsOfUserRequest::~ModifySkillLevelsOfUserRequest() -{} - -std::string ModifySkillLevelsOfUserRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ModifySkillLevelsOfUserRequest; + +ModifySkillLevelsOfUserRequest::ModifySkillLevelsOfUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ModifySkillLevelsOfUser") { + setMethod(HttpRequest::Method::Post); } -void ModifySkillLevelsOfUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +ModifySkillLevelsOfUserRequest::~ModifySkillLevelsOfUserRequest() {} + +std::string ModifySkillLevelsOfUserRequest::getUserId() const { + return userId_; } -std::string ModifySkillLevelsOfUserRequest::getInstanceId()const -{ - return instanceId_; +void ModifySkillLevelsOfUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ModifySkillLevelsOfUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ModifySkillLevelsOfUserRequest::getInstanceId() const { + return instanceId_; } -std::string ModifySkillLevelsOfUserRequest::getSkillLevelList()const -{ - return skillLevelList_; +void ModifySkillLevelsOfUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ModifySkillLevelsOfUserRequest::setSkillLevelList(const std::string& skillLevelList) -{ - skillLevelList_ = skillLevelList; - setParameter("SkillLevelList", skillLevelList); +std::string ModifySkillLevelsOfUserRequest::getSkillLevelList() const { + return skillLevelList_; +} + +void ModifySkillLevelsOfUserRequest::setSkillLevelList(const std::string &skillLevelList) { + skillLevelList_ = skillLevelList; + setParameter(std::string("SkillLevelList"), skillLevelList); } diff --git a/ccc/src/model/ModifyUserLevelsOfSkillGroupRequest.cc b/ccc/src/model/ModifyUserLevelsOfSkillGroupRequest.cc index 6ce1f3211..5be3f930d 100644 --- a/ccc/src/model/ModifyUserLevelsOfSkillGroupRequest.cc +++ b/ccc/src/model/ModifyUserLevelsOfSkillGroupRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ModifyUserLevelsOfSkillGroupRequest; - -ModifyUserLevelsOfSkillGroupRequest::ModifyUserLevelsOfSkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ModifyUserLevelsOfSkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyUserLevelsOfSkillGroupRequest::~ModifyUserLevelsOfSkillGroupRequest() -{} - -std::string ModifyUserLevelsOfSkillGroupRequest::getUserLevelList()const -{ - return userLevelList_; + */ + +#include + +using AlibabaCloud::CCC::Model::ModifyUserLevelsOfSkillGroupRequest; + +ModifyUserLevelsOfSkillGroupRequest::ModifyUserLevelsOfSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ModifyUserLevelsOfSkillGroup") { + setMethod(HttpRequest::Method::Post); } -void ModifyUserLevelsOfSkillGroupRequest::setUserLevelList(const std::string& userLevelList) -{ - userLevelList_ = userLevelList; - setParameter("UserLevelList", userLevelList); +ModifyUserLevelsOfSkillGroupRequest::~ModifyUserLevelsOfSkillGroupRequest() {} + +std::string ModifyUserLevelsOfSkillGroupRequest::getUserLevelList() const { + return userLevelList_; } -std::string ModifyUserLevelsOfSkillGroupRequest::getInstanceId()const -{ - return instanceId_; +void ModifyUserLevelsOfSkillGroupRequest::setUserLevelList(const std::string &userLevelList) { + userLevelList_ = userLevelList; + setParameter(std::string("UserLevelList"), userLevelList); } -void ModifyUserLevelsOfSkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ModifyUserLevelsOfSkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string ModifyUserLevelsOfSkillGroupRequest::getSkillGroupId()const -{ - return skillGroupId_; +void ModifyUserLevelsOfSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ModifyUserLevelsOfSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string ModifyUserLevelsOfSkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void ModifyUserLevelsOfSkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } diff --git a/ccc/src/model/ModifyUserRequest.cc b/ccc/src/model/ModifyUserRequest.cc index 929ad1dc6..a75e1be62 100644 --- a/ccc/src/model/ModifyUserRequest.cc +++ b/ccc/src/model/ModifyUserRequest.cc @@ -1,84 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ModifyUserRequest; - -ModifyUserRequest::ModifyUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ModifyUser") -{ - setMethod(HttpRequest::Method::Post); -} - -ModifyUserRequest::~ModifyUserRequest() -{} - -std::string ModifyUserRequest::getRoleId()const -{ - return roleId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ModifyUserRequest; + +ModifyUserRequest::ModifyUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ModifyUser") { + setMethod(HttpRequest::Method::Post); } -void ModifyUserRequest::setRoleId(const std::string& roleId) -{ - roleId_ = roleId; - setParameter("RoleId", roleId); +ModifyUserRequest::~ModifyUserRequest() {} + +std::string ModifyUserRequest::getRoleId() const { + return roleId_; } -std::string ModifyUserRequest::getMobile()const -{ - return mobile_; +void ModifyUserRequest::setRoleId(const std::string &roleId) { + roleId_ = roleId; + setParameter(std::string("RoleId"), roleId); } -void ModifyUserRequest::setMobile(const std::string& mobile) -{ - mobile_ = mobile; - setParameter("Mobile", mobile); +std::string ModifyUserRequest::getMobile() const { + return mobile_; } -std::string ModifyUserRequest::getWorkMode()const -{ - return workMode_; +void ModifyUserRequest::setMobile(const std::string &mobile) { + mobile_ = mobile; + setParameter(std::string("Mobile"), mobile); } -void ModifyUserRequest::setWorkMode(const std::string& workMode) -{ - workMode_ = workMode; - setParameter("WorkMode", workMode); +std::string ModifyUserRequest::getWorkMode() const { + return workMode_; } -std::string ModifyUserRequest::getUserId()const -{ - return userId_; +void ModifyUserRequest::setWorkMode(const std::string &workMode) { + workMode_ = workMode; + setParameter(std::string("WorkMode"), workMode); } -void ModifyUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string ModifyUserRequest::getUserId() const { + return userId_; } -std::string ModifyUserRequest::getInstanceId()const -{ - return instanceId_; +void ModifyUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ModifyUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ModifyUserRequest::getInstanceId() const { + return instanceId_; +} + +void ModifyUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +std::string ModifyUserRequest::getDisplayId() const { + return displayId_; +} + +void ModifyUserRequest::setDisplayId(const std::string &displayId) { + displayId_ = displayId; + setParameter(std::string("DisplayId"), displayId); } diff --git a/ccc/src/model/MonitorCallRequest.cc b/ccc/src/model/MonitorCallRequest.cc index fc65f6221..74eff3097 100644 --- a/ccc/src/model/MonitorCallRequest.cc +++ b/ccc/src/model/MonitorCallRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::MonitorCallRequest; - -MonitorCallRequest::MonitorCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "MonitorCall") -{ - setMethod(HttpRequest::Method::Post); -} - -MonitorCallRequest::~MonitorCallRequest() -{} - -std::string MonitorCallRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::MonitorCallRequest; + +MonitorCallRequest::MonitorCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "MonitorCall") { + setMethod(HttpRequest::Method::Post); } -void MonitorCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +MonitorCallRequest::~MonitorCallRequest() {} + +std::string MonitorCallRequest::getUserId() const { + return userId_; } -std::string MonitorCallRequest::getDeviceId()const -{ - return deviceId_; +void MonitorCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void MonitorCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string MonitorCallRequest::getDeviceId() const { + return deviceId_; } -int MonitorCallRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; +void MonitorCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void MonitorCallRequest::setTimeoutSeconds(int timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +int MonitorCallRequest::getTimeoutSeconds() const { + return timeoutSeconds_; } -std::string MonitorCallRequest::getInstanceId()const -{ - return instanceId_; +void MonitorCallRequest::setTimeoutSeconds(int timeoutSeconds) { + timeoutSeconds_ = timeoutSeconds; + setParameter(std::string("TimeoutSeconds"), std::to_string(timeoutSeconds)); } -void MonitorCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string MonitorCallRequest::getInstanceId() const { + return instanceId_; } -std::string MonitorCallRequest::getMonitoredUserId()const -{ - return monitoredUserId_; +void MonitorCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void MonitorCallRequest::setMonitoredUserId(const std::string& monitoredUserId) -{ - monitoredUserId_ = monitoredUserId; - setParameter("MonitoredUserId", monitoredUserId); +std::string MonitorCallRequest::getMonitoredUserId() const { + return monitoredUserId_; +} + +void MonitorCallRequest::setMonitoredUserId(const std::string &monitoredUserId) { + monitoredUserId_ = monitoredUserId; + setParameter(std::string("MonitoredUserId"), monitoredUserId); } diff --git a/ccc/src/model/MuteCallRequest.cc b/ccc/src/model/MuteCallRequest.cc index ad06395a0..f21ca10be 100644 --- a/ccc/src/model/MuteCallRequest.cc +++ b/ccc/src/model/MuteCallRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::MuteCallRequest; - -MuteCallRequest::MuteCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "MuteCall") -{ - setMethod(HttpRequest::Method::Post); -} - -MuteCallRequest::~MuteCallRequest() -{} - -std::string MuteCallRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::MuteCallRequest; + +MuteCallRequest::MuteCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "MuteCall") { + setMethod(HttpRequest::Method::Post); } -void MuteCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +MuteCallRequest::~MuteCallRequest() {} + +std::string MuteCallRequest::getUserId() const { + return userId_; } -std::string MuteCallRequest::getDeviceId()const -{ - return deviceId_; +void MuteCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void MuteCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string MuteCallRequest::getDeviceId() const { + return deviceId_; } -std::string MuteCallRequest::getJobId()const -{ - return jobId_; +void MuteCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void MuteCallRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string MuteCallRequest::getJobId() const { + return jobId_; } -std::string MuteCallRequest::getInstanceId()const -{ - return instanceId_; +void MuteCallRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void MuteCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string MuteCallRequest::getInstanceId() const { + return instanceId_; } -std::string MuteCallRequest::getChannelId()const -{ - return channelId_; +void MuteCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void MuteCallRequest::setChannelId(const std::string& channelId) -{ - channelId_ = channelId; - setParameter("ChannelId", channelId); +std::string MuteCallRequest::getChannelId() const { + return channelId_; +} + +void MuteCallRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); } diff --git a/ccc/src/model/PauseCampaignRequest.cc b/ccc/src/model/PauseCampaignRequest.cc index 1168496f7..f3942dad4 100644 --- a/ccc/src/model/PauseCampaignRequest.cc +++ b/ccc/src/model/PauseCampaignRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::PauseCampaignRequest; - -PauseCampaignRequest::PauseCampaignRequest() : - RpcServiceRequest("ccc", "2020-07-01", "PauseCampaign") -{ - setMethod(HttpRequest::Method::Post); -} - -PauseCampaignRequest::~PauseCampaignRequest() -{} - -std::string PauseCampaignRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::PauseCampaignRequest; + +PauseCampaignRequest::PauseCampaignRequest() + : RpcServiceRequest("ccc", "2020-07-01", "PauseCampaign") { + setMethod(HttpRequest::Method::Post); } -void PauseCampaignRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +PauseCampaignRequest::~PauseCampaignRequest() {} + +std::string PauseCampaignRequest::getInstanceId() const { + return instanceId_; } -std::string PauseCampaignRequest::getCampaignId()const -{ - return campaignId_; +void PauseCampaignRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void PauseCampaignRequest::setCampaignId(const std::string& campaignId) -{ - campaignId_ = campaignId; - setParameter("CampaignId", campaignId); +std::string PauseCampaignRequest::getCampaignId() const { + return campaignId_; +} + +void PauseCampaignRequest::setCampaignId(const std::string &campaignId) { + campaignId_ = campaignId; + setParameter(std::string("CampaignId"), campaignId); } diff --git a/ccc/src/model/PickOutboundNumbersRequest.cc b/ccc/src/model/PickOutboundNumbersRequest.cc index d7f9461e1..359f35337 100644 --- a/ccc/src/model/PickOutboundNumbersRequest.cc +++ b/ccc/src/model/PickOutboundNumbersRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::PickOutboundNumbersRequest; - -PickOutboundNumbersRequest::PickOutboundNumbersRequest() : - RpcServiceRequest("ccc", "2020-07-01", "PickOutboundNumbers") -{ - setMethod(HttpRequest::Method::Post); -} - -PickOutboundNumbersRequest::~PickOutboundNumbersRequest() -{} - -int PickOutboundNumbersRequest::getCount()const -{ - return count_; + */ + +#include + +using AlibabaCloud::CCC::Model::PickOutboundNumbersRequest; + +PickOutboundNumbersRequest::PickOutboundNumbersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "PickOutboundNumbers") { + setMethod(HttpRequest::Method::Post); } -void PickOutboundNumbersRequest::setCount(int count) -{ - count_ = count; - setParameter("Count", std::to_string(count)); +PickOutboundNumbersRequest::~PickOutboundNumbersRequest() {} + +int PickOutboundNumbersRequest::getCount() const { + return count_; } -std::string PickOutboundNumbersRequest::getInstanceId()const -{ - return instanceId_; +void PickOutboundNumbersRequest::setCount(int count) { + count_ = count; + setParameter(std::string("Count"), std::to_string(count)); } -void PickOutboundNumbersRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string PickOutboundNumbersRequest::getInstanceId() const { + return instanceId_; } -std::string PickOutboundNumbersRequest::getSkillGroupIdList()const -{ - return skillGroupIdList_; +void PickOutboundNumbersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void PickOutboundNumbersRequest::setSkillGroupIdList(const std::string& skillGroupIdList) -{ - skillGroupIdList_ = skillGroupIdList; - setParameter("SkillGroupIdList", skillGroupIdList); +std::string PickOutboundNumbersRequest::getSkillGroupIdList() const { + return skillGroupIdList_; } -std::string PickOutboundNumbersRequest::getCalledNumber()const -{ - return calledNumber_; +void PickOutboundNumbersRequest::setSkillGroupIdList(const std::string &skillGroupIdList) { + skillGroupIdList_ = skillGroupIdList; + setParameter(std::string("SkillGroupIdList"), skillGroupIdList); } -void PickOutboundNumbersRequest::setCalledNumber(const std::string& calledNumber) -{ - calledNumber_ = calledNumber; - setParameter("CalledNumber", calledNumber); +std::string PickOutboundNumbersRequest::getCalledNumber() const { + return calledNumber_; +} + +void PickOutboundNumbersRequest::setCalledNumber(const std::string &calledNumber) { + calledNumber_ = calledNumber; + setParameter(std::string("CalledNumber"), calledNumber); } diff --git a/ccc/src/model/PollUserStatusRequest.cc b/ccc/src/model/PollUserStatusRequest.cc index 28b973c3c..3119f17f7 100644 --- a/ccc/src/model/PollUserStatusRequest.cc +++ b/ccc/src/model/PollUserStatusRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::PollUserStatusRequest; - -PollUserStatusRequest::PollUserStatusRequest() : - RpcServiceRequest("ccc", "2020-07-01", "PollUserStatus") -{ - setMethod(HttpRequest::Method::Post); -} - -PollUserStatusRequest::~PollUserStatusRequest() -{} - -std::string PollUserStatusRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::PollUserStatusRequest; + +PollUserStatusRequest::PollUserStatusRequest() + : RpcServiceRequest("ccc", "2020-07-01", "PollUserStatus") { + setMethod(HttpRequest::Method::Post); } -void PollUserStatusRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +PollUserStatusRequest::~PollUserStatusRequest() {} + +std::string PollUserStatusRequest::getUserId() const { + return userId_; } -std::string PollUserStatusRequest::getDeviceId()const -{ - return deviceId_; +void PollUserStatusRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void PollUserStatusRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string PollUserStatusRequest::getDeviceId() const { + return deviceId_; } -std::string PollUserStatusRequest::getInstanceId()const -{ - return instanceId_; +void PollUserStatusRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void PollUserStatusRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string PollUserStatusRequest::getInstanceId() const { + return instanceId_; +} + +void PollUserStatusRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ReadyForServiceRequest.cc b/ccc/src/model/ReadyForServiceRequest.cc index 159c0b030..707049f84 100644 --- a/ccc/src/model/ReadyForServiceRequest.cc +++ b/ccc/src/model/ReadyForServiceRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ReadyForServiceRequest; - -ReadyForServiceRequest::ReadyForServiceRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ReadyForService") -{ - setMethod(HttpRequest::Method::Post); -} - -ReadyForServiceRequest::~ReadyForServiceRequest() -{} - -bool ReadyForServiceRequest::getOutboundScenario()const -{ - return outboundScenario_; + */ + +#include + +using AlibabaCloud::CCC::Model::ReadyForServiceRequest; + +ReadyForServiceRequest::ReadyForServiceRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ReadyForService") { + setMethod(HttpRequest::Method::Post); } -void ReadyForServiceRequest::setOutboundScenario(bool outboundScenario) -{ - outboundScenario_ = outboundScenario; - setParameter("OutboundScenario", outboundScenario ? "true" : "false"); +ReadyForServiceRequest::~ReadyForServiceRequest() {} + +bool ReadyForServiceRequest::getOutboundScenario() const { + return outboundScenario_; } -std::string ReadyForServiceRequest::getUserId()const -{ - return userId_; +void ReadyForServiceRequest::setOutboundScenario(bool outboundScenario) { + outboundScenario_ = outboundScenario; + setParameter(std::string("OutboundScenario"), outboundScenario ? "true" : "false"); } -void ReadyForServiceRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string ReadyForServiceRequest::getUserId() const { + return userId_; } -std::string ReadyForServiceRequest::getDeviceId()const -{ - return deviceId_; +void ReadyForServiceRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ReadyForServiceRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string ReadyForServiceRequest::getDeviceId() const { + return deviceId_; } -std::string ReadyForServiceRequest::getInstanceId()const -{ - return instanceId_; +void ReadyForServiceRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void ReadyForServiceRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ReadyForServiceRequest::getInstanceId() const { + return instanceId_; +} + +void ReadyForServiceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/RegisterDeviceRequest.cc b/ccc/src/model/RegisterDeviceRequest.cc index 9fb7ad649..13993a610 100644 --- a/ccc/src/model/RegisterDeviceRequest.cc +++ b/ccc/src/model/RegisterDeviceRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::RegisterDeviceRequest; - -RegisterDeviceRequest::RegisterDeviceRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RegisterDevice") -{ - setMethod(HttpRequest::Method::Post); -} - -RegisterDeviceRequest::~RegisterDeviceRequest() -{} - -std::string RegisterDeviceRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::RegisterDeviceRequest; + +RegisterDeviceRequest::RegisterDeviceRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RegisterDevice") { + setMethod(HttpRequest::Method::Post); } -void RegisterDeviceRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +RegisterDeviceRequest::~RegisterDeviceRequest() {} + +std::string RegisterDeviceRequest::getUserId() const { + return userId_; } -std::string RegisterDeviceRequest::getDeviceId()const -{ - return deviceId_; +void RegisterDeviceRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void RegisterDeviceRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string RegisterDeviceRequest::getDeviceId() const { + return deviceId_; } -std::string RegisterDeviceRequest::getPassword()const -{ - return password_; +void RegisterDeviceRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void RegisterDeviceRequest::setPassword(const std::string& password) -{ - password_ = password; - setParameter("Password", password); +std::string RegisterDeviceRequest::getPassword() const { + return password_; } -std::string RegisterDeviceRequest::getInstanceId()const -{ - return instanceId_; +void RegisterDeviceRequest::setPassword(const std::string &password) { + password_ = password; + setParameter(std::string("Password"), password); } -void RegisterDeviceRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RegisterDeviceRequest::getInstanceId() const { + return instanceId_; +} + +void RegisterDeviceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/RegisterDevicesRequest.cc b/ccc/src/model/RegisterDevicesRequest.cc index cdcc7ff25..190e58d19 100644 --- a/ccc/src/model/RegisterDevicesRequest.cc +++ b/ccc/src/model/RegisterDevicesRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::RegisterDevicesRequest; - -RegisterDevicesRequest::RegisterDevicesRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RegisterDevices") -{ - setMethod(HttpRequest::Method::Post); -} - -RegisterDevicesRequest::~RegisterDevicesRequest() -{} - -std::string RegisterDevicesRequest::getUserIdListJson()const -{ - return userIdListJson_; + */ + +#include + +using AlibabaCloud::CCC::Model::RegisterDevicesRequest; + +RegisterDevicesRequest::RegisterDevicesRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RegisterDevices") { + setMethod(HttpRequest::Method::Post); } -void RegisterDevicesRequest::setUserIdListJson(const std::string& userIdListJson) -{ - userIdListJson_ = userIdListJson; - setParameter("UserIdListJson", userIdListJson); +RegisterDevicesRequest::~RegisterDevicesRequest() {} + +std::string RegisterDevicesRequest::getUserIdListJson() const { + return userIdListJson_; } -std::string RegisterDevicesRequest::getDeviceId()const -{ - return deviceId_; +void RegisterDevicesRequest::setUserIdListJson(const std::string &userIdListJson) { + userIdListJson_ = userIdListJson; + setParameter(std::string("UserIdListJson"), userIdListJson); } -void RegisterDevicesRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string RegisterDevicesRequest::getDeviceId() const { + return deviceId_; } -std::string RegisterDevicesRequest::getPassword()const -{ - return password_; +void RegisterDevicesRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void RegisterDevicesRequest::setPassword(const std::string& password) -{ - password_ = password; - setParameter("Password", password); +std::string RegisterDevicesRequest::getPassword() const { + return password_; } -std::string RegisterDevicesRequest::getInstanceId()const -{ - return instanceId_; +void RegisterDevicesRequest::setPassword(const std::string &password) { + password_ = password; + setParameter(std::string("Password"), password); } -void RegisterDevicesRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RegisterDevicesRequest::getInstanceId() const { + return instanceId_; +} + +void RegisterDevicesRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ReleaseCallRequest.cc b/ccc/src/model/ReleaseCallRequest.cc index d4b70b075..cb61c330c 100644 --- a/ccc/src/model/ReleaseCallRequest.cc +++ b/ccc/src/model/ReleaseCallRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ReleaseCallRequest; - -ReleaseCallRequest::ReleaseCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ReleaseCall") -{ - setMethod(HttpRequest::Method::Post); -} - -ReleaseCallRequest::~ReleaseCallRequest() -{} - -std::string ReleaseCallRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ReleaseCallRequest; + +ReleaseCallRequest::ReleaseCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ReleaseCall") { + setMethod(HttpRequest::Method::Post); } -void ReleaseCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +ReleaseCallRequest::~ReleaseCallRequest() {} + +std::string ReleaseCallRequest::getUserId() const { + return userId_; } -std::string ReleaseCallRequest::getDeviceId()const -{ - return deviceId_; +void ReleaseCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ReleaseCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string ReleaseCallRequest::getDeviceId() const { + return deviceId_; } -std::string ReleaseCallRequest::getJobId()const -{ - return jobId_; +void ReleaseCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void ReleaseCallRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string ReleaseCallRequest::getJobId() const { + return jobId_; } -std::string ReleaseCallRequest::getInstanceId()const -{ - return instanceId_; +void ReleaseCallRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void ReleaseCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ReleaseCallRequest::getInstanceId() const { + return instanceId_; } -std::string ReleaseCallRequest::getChannelId()const -{ - return channelId_; +void ReleaseCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ReleaseCallRequest::setChannelId(const std::string& channelId) -{ - channelId_ = channelId; - setParameter("ChannelId", channelId); +std::string ReleaseCallRequest::getChannelId() const { + return channelId_; +} + +void ReleaseCallRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); } diff --git a/ccc/src/model/RemoveDoNotCallNumbersRequest.cc b/ccc/src/model/RemoveDoNotCallNumbersRequest.cc new file mode 100644 index 000000000..a819c9295 --- /dev/null +++ b/ccc/src/model/RemoveDoNotCallNumbersRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::RemoveDoNotCallNumbersRequest; + +RemoveDoNotCallNumbersRequest::RemoveDoNotCallNumbersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RemoveDoNotCallNumbers") { + setMethod(HttpRequest::Method::Post); +} + +RemoveDoNotCallNumbersRequest::~RemoveDoNotCallNumbersRequest() {} + +std::string RemoveDoNotCallNumbersRequest::getNumberList() const { + return numberList_; +} + +void RemoveDoNotCallNumbersRequest::setNumberList(const std::string &numberList) { + numberList_ = numberList; + setParameter(std::string("NumberList"), numberList); +} + +std::string RemoveDoNotCallNumbersRequest::getInstanceId() const { + return instanceId_; +} + +void RemoveDoNotCallNumbersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/RemoveDoNotCallNumbersResult.cc b/ccc/src/model/RemoveDoNotCallNumbersResult.cc new file mode 100644 index 000000000..9cfb7e258 --- /dev/null +++ b/ccc/src/model/RemoveDoNotCallNumbersResult.cc @@ -0,0 +1,80 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +RemoveDoNotCallNumbersResult::RemoveDoNotCallNumbersResult() : + ServiceResult() +{} + +RemoveDoNotCallNumbersResult::RemoveDoNotCallNumbersResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +RemoveDoNotCallNumbersResult::~RemoveDoNotCallNumbersResult() +{} + +void RemoveDoNotCallNumbersResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allParams = value["Params"]["Param"]; + for (const auto &item : allParams) + params_.push_back(item.asString()); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + if(!value["Data"].isNull()) + data_ = value["Data"].asString(); + +} + +std::string RemoveDoNotCallNumbersResult::getMessage()const +{ + return message_; +} + +int RemoveDoNotCallNumbersResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::vector RemoveDoNotCallNumbersResult::getParams()const +{ + return params_; +} + +std::string RemoveDoNotCallNumbersResult::getData()const +{ + return data_; +} + +std::string RemoveDoNotCallNumbersResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/RemovePersonalNumbersFromUserRequest.cc b/ccc/src/model/RemovePersonalNumbersFromUserRequest.cc index f8cebdbe6..8a86f6dd9 100644 --- a/ccc/src/model/RemovePersonalNumbersFromUserRequest.cc +++ b/ccc/src/model/RemovePersonalNumbersFromUserRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::RemovePersonalNumbersFromUserRequest; - -RemovePersonalNumbersFromUserRequest::RemovePersonalNumbersFromUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RemovePersonalNumbersFromUser") -{ - setMethod(HttpRequest::Method::Post); -} - -RemovePersonalNumbersFromUserRequest::~RemovePersonalNumbersFromUserRequest() -{} - -std::string RemovePersonalNumbersFromUserRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::RemovePersonalNumbersFromUserRequest; + +RemovePersonalNumbersFromUserRequest::RemovePersonalNumbersFromUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RemovePersonalNumbersFromUser") { + setMethod(HttpRequest::Method::Post); } -void RemovePersonalNumbersFromUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +RemovePersonalNumbersFromUserRequest::~RemovePersonalNumbersFromUserRequest() {} + +std::string RemovePersonalNumbersFromUserRequest::getUserId() const { + return userId_; } -std::string RemovePersonalNumbersFromUserRequest::getNumberList()const -{ - return numberList_; +void RemovePersonalNumbersFromUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void RemovePersonalNumbersFromUserRequest::setNumberList(const std::string& numberList) -{ - numberList_ = numberList; - setParameter("NumberList", numberList); +std::string RemovePersonalNumbersFromUserRequest::getNumberList() const { + return numberList_; } -std::string RemovePersonalNumbersFromUserRequest::getInstanceId()const -{ - return instanceId_; +void RemovePersonalNumbersFromUserRequest::setNumberList(const std::string &numberList) { + numberList_ = numberList; + setParameter(std::string("NumberList"), numberList); } -void RemovePersonalNumbersFromUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RemovePersonalNumbersFromUserRequest::getInstanceId() const { + return instanceId_; +} + +void RemovePersonalNumbersFromUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/RemovePhoneNumberFromSkillGroupsRequest.cc b/ccc/src/model/RemovePhoneNumberFromSkillGroupsRequest.cc index 256fc7f63..37fe854a7 100644 --- a/ccc/src/model/RemovePhoneNumberFromSkillGroupsRequest.cc +++ b/ccc/src/model/RemovePhoneNumberFromSkillGroupsRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::RemovePhoneNumberFromSkillGroupsRequest; - -RemovePhoneNumberFromSkillGroupsRequest::RemovePhoneNumberFromSkillGroupsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RemovePhoneNumberFromSkillGroups") -{ - setMethod(HttpRequest::Method::Post); -} - -RemovePhoneNumberFromSkillGroupsRequest::~RemovePhoneNumberFromSkillGroupsRequest() -{} - -std::string RemovePhoneNumberFromSkillGroupsRequest::getNumber()const -{ - return number_; + */ + +#include + +using AlibabaCloud::CCC::Model::RemovePhoneNumberFromSkillGroupsRequest; + +RemovePhoneNumberFromSkillGroupsRequest::RemovePhoneNumberFromSkillGroupsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RemovePhoneNumberFromSkillGroups") { + setMethod(HttpRequest::Method::Post); } -void RemovePhoneNumberFromSkillGroupsRequest::setNumber(const std::string& number) -{ - number_ = number; - setParameter("Number", number); +RemovePhoneNumberFromSkillGroupsRequest::~RemovePhoneNumberFromSkillGroupsRequest() {} + +std::string RemovePhoneNumberFromSkillGroupsRequest::getNumber() const { + return number_; } -std::string RemovePhoneNumberFromSkillGroupsRequest::getInstanceId()const -{ - return instanceId_; +void RemovePhoneNumberFromSkillGroupsRequest::setNumber(const std::string &number) { + number_ = number; + setParameter(std::string("Number"), number); } -void RemovePhoneNumberFromSkillGroupsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RemovePhoneNumberFromSkillGroupsRequest::getInstanceId() const { + return instanceId_; } -std::string RemovePhoneNumberFromSkillGroupsRequest::getSkillGroupIdList()const -{ - return skillGroupIdList_; +void RemovePhoneNumberFromSkillGroupsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void RemovePhoneNumberFromSkillGroupsRequest::setSkillGroupIdList(const std::string& skillGroupIdList) -{ - skillGroupIdList_ = skillGroupIdList; - setParameter("SkillGroupIdList", skillGroupIdList); +std::string RemovePhoneNumberFromSkillGroupsRequest::getSkillGroupIdList() const { + return skillGroupIdList_; +} + +void RemovePhoneNumberFromSkillGroupsRequest::setSkillGroupIdList(const std::string &skillGroupIdList) { + skillGroupIdList_ = skillGroupIdList; + setParameter(std::string("SkillGroupIdList"), skillGroupIdList); } diff --git a/ccc/src/model/RemovePhoneNumbersFromSkillGroupRequest.cc b/ccc/src/model/RemovePhoneNumbersFromSkillGroupRequest.cc index 36a700cb9..72c575ea1 100644 --- a/ccc/src/model/RemovePhoneNumbersFromSkillGroupRequest.cc +++ b/ccc/src/model/RemovePhoneNumbersFromSkillGroupRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::RemovePhoneNumbersFromSkillGroupRequest; - -RemovePhoneNumbersFromSkillGroupRequest::RemovePhoneNumbersFromSkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RemovePhoneNumbersFromSkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -RemovePhoneNumbersFromSkillGroupRequest::~RemovePhoneNumbersFromSkillGroupRequest() -{} - -std::string RemovePhoneNumbersFromSkillGroupRequest::getNumberList()const -{ - return numberList_; + */ + +#include + +using AlibabaCloud::CCC::Model::RemovePhoneNumbersFromSkillGroupRequest; + +RemovePhoneNumbersFromSkillGroupRequest::RemovePhoneNumbersFromSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RemovePhoneNumbersFromSkillGroup") { + setMethod(HttpRequest::Method::Post); } -void RemovePhoneNumbersFromSkillGroupRequest::setNumberList(const std::string& numberList) -{ - numberList_ = numberList; - setParameter("NumberList", numberList); +RemovePhoneNumbersFromSkillGroupRequest::~RemovePhoneNumbersFromSkillGroupRequest() {} + +std::string RemovePhoneNumbersFromSkillGroupRequest::getNumberList() const { + return numberList_; } -std::string RemovePhoneNumbersFromSkillGroupRequest::getInstanceId()const -{ - return instanceId_; +void RemovePhoneNumbersFromSkillGroupRequest::setNumberList(const std::string &numberList) { + numberList_ = numberList; + setParameter(std::string("NumberList"), numberList); } -void RemovePhoneNumbersFromSkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RemovePhoneNumbersFromSkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string RemovePhoneNumbersFromSkillGroupRequest::getSkillGroupId()const -{ - return skillGroupId_; +void RemovePhoneNumbersFromSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void RemovePhoneNumbersFromSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string RemovePhoneNumbersFromSkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void RemovePhoneNumbersFromSkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } diff --git a/ccc/src/model/RemovePhoneNumbersRequest.cc b/ccc/src/model/RemovePhoneNumbersRequest.cc index 43ef324dc..13f10df9c 100644 --- a/ccc/src/model/RemovePhoneNumbersRequest.cc +++ b/ccc/src/model/RemovePhoneNumbersRequest.cc @@ -1,51 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::RemovePhoneNumbersRequest; - -RemovePhoneNumbersRequest::RemovePhoneNumbersRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RemovePhoneNumbers") -{ - setMethod(HttpRequest::Method::Post); -} - -RemovePhoneNumbersRequest::~RemovePhoneNumbersRequest() -{} - -std::string RemovePhoneNumbersRequest::getNumberList()const -{ - return numberList_; + */ + +#include + +using AlibabaCloud::CCC::Model::RemovePhoneNumbersRequest; + +RemovePhoneNumbersRequest::RemovePhoneNumbersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RemovePhoneNumbers") { + setMethod(HttpRequest::Method::Post); } -void RemovePhoneNumbersRequest::setNumberList(const std::string& numberList) -{ - numberList_ = numberList; - setParameter("NumberList", numberList); +RemovePhoneNumbersRequest::~RemovePhoneNumbersRequest() {} + +std::string RemovePhoneNumbersRequest::getNumberList() const { + return numberList_; } -std::string RemovePhoneNumbersRequest::getInstanceId()const -{ - return instanceId_; +void RemovePhoneNumbersRequest::setNumberList(const std::string &numberList) { + numberList_ = numberList; + setParameter(std::string("NumberList"), numberList); } -void RemovePhoneNumbersRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RemovePhoneNumbersRequest::getInstanceId() const { + return instanceId_; +} + +void RemovePhoneNumbersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + +bool RemovePhoneNumbersRequest::getForce() const { + return force_; +} + +void RemovePhoneNumbersRequest::setForce(bool force) { + force_ = force; + setParameter(std::string("Force"), force ? "true" : "false"); } diff --git a/ccc/src/model/RemovePhoneNumbersResult.cc b/ccc/src/model/RemovePhoneNumbersResult.cc index 01fe44022..0202d205a 100644 --- a/ccc/src/model/RemovePhoneNumbersResult.cc +++ b/ccc/src/model/RemovePhoneNumbersResult.cc @@ -39,9 +39,9 @@ void RemovePhoneNumbersResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - auto allFailureList = value["FailureList"]["Failure"]; - for (const auto &item : allFailureList) - failureList_.push_back(item.asString()); + auto allData = value["Data"]["Number"]; + for (const auto &item : allData) + data_.push_back(item.asString()); auto allParams = value["Params"]["Param"]; for (const auto &item : allParams) params_.push_back(item.asString()); @@ -51,8 +51,6 @@ void RemovePhoneNumbersResult::parse(const std::string &payload) code_ = value["Code"].asString(); if(!value["Message"].isNull()) message_ = value["Message"].asString(); - if(!value["Data"].isNull()) - data_ = value["Data"].asString(); } @@ -71,12 +69,7 @@ std::vector RemovePhoneNumbersResult::getParams()const return params_; } -std::vector RemovePhoneNumbersResult::getFailureList()const -{ - return failureList_; -} - -std::string RemovePhoneNumbersResult::getData()const +std::vector RemovePhoneNumbersResult::getData()const { return data_; } diff --git a/ccc/src/model/RemoveSkillGroupsFromUserRequest.cc b/ccc/src/model/RemoveSkillGroupsFromUserRequest.cc index 046b3ac81..ee644745f 100644 --- a/ccc/src/model/RemoveSkillGroupsFromUserRequest.cc +++ b/ccc/src/model/RemoveSkillGroupsFromUserRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::RemoveSkillGroupsFromUserRequest; - -RemoveSkillGroupsFromUserRequest::RemoveSkillGroupsFromUserRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RemoveSkillGroupsFromUser") -{ - setMethod(HttpRequest::Method::Post); -} - -RemoveSkillGroupsFromUserRequest::~RemoveSkillGroupsFromUserRequest() -{} - -std::string RemoveSkillGroupsFromUserRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::RemoveSkillGroupsFromUserRequest; + +RemoveSkillGroupsFromUserRequest::RemoveSkillGroupsFromUserRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RemoveSkillGroupsFromUser") { + setMethod(HttpRequest::Method::Post); } -void RemoveSkillGroupsFromUserRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +RemoveSkillGroupsFromUserRequest::~RemoveSkillGroupsFromUserRequest() {} + +std::string RemoveSkillGroupsFromUserRequest::getUserId() const { + return userId_; } -std::string RemoveSkillGroupsFromUserRequest::getInstanceId()const -{ - return instanceId_; +void RemoveSkillGroupsFromUserRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void RemoveSkillGroupsFromUserRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RemoveSkillGroupsFromUserRequest::getInstanceId() const { + return instanceId_; } -std::string RemoveSkillGroupsFromUserRequest::getSkillGroupIdList()const -{ - return skillGroupIdList_; +void RemoveSkillGroupsFromUserRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void RemoveSkillGroupsFromUserRequest::setSkillGroupIdList(const std::string& skillGroupIdList) -{ - skillGroupIdList_ = skillGroupIdList; - setParameter("SkillGroupIdList", skillGroupIdList); +std::string RemoveSkillGroupsFromUserRequest::getSkillGroupIdList() const { + return skillGroupIdList_; +} + +void RemoveSkillGroupsFromUserRequest::setSkillGroupIdList(const std::string &skillGroupIdList) { + skillGroupIdList_ = skillGroupIdList; + setParameter(std::string("SkillGroupIdList"), skillGroupIdList); } diff --git a/ccc/src/model/RemoveUsersFromSkillGroupRequest.cc b/ccc/src/model/RemoveUsersFromSkillGroupRequest.cc index 10f2c2979..b4273e38e 100644 --- a/ccc/src/model/RemoveUsersFromSkillGroupRequest.cc +++ b/ccc/src/model/RemoveUsersFromSkillGroupRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::RemoveUsersFromSkillGroupRequest; - -RemoveUsersFromSkillGroupRequest::RemoveUsersFromSkillGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RemoveUsersFromSkillGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -RemoveUsersFromSkillGroupRequest::~RemoveUsersFromSkillGroupRequest() -{} - -std::string RemoveUsersFromSkillGroupRequest::getUserIdList()const -{ - return userIdList_; + */ + +#include + +using AlibabaCloud::CCC::Model::RemoveUsersFromSkillGroupRequest; + +RemoveUsersFromSkillGroupRequest::RemoveUsersFromSkillGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RemoveUsersFromSkillGroup") { + setMethod(HttpRequest::Method::Post); } -void RemoveUsersFromSkillGroupRequest::setUserIdList(const std::string& userIdList) -{ - userIdList_ = userIdList; - setParameter("UserIdList", userIdList); +RemoveUsersFromSkillGroupRequest::~RemoveUsersFromSkillGroupRequest() {} + +std::string RemoveUsersFromSkillGroupRequest::getUserIdList() const { + return userIdList_; } -std::string RemoveUsersFromSkillGroupRequest::getInstanceId()const -{ - return instanceId_; +void RemoveUsersFromSkillGroupRequest::setUserIdList(const std::string &userIdList) { + userIdList_ = userIdList; + setParameter(std::string("UserIdList"), userIdList); } -void RemoveUsersFromSkillGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RemoveUsersFromSkillGroupRequest::getInstanceId() const { + return instanceId_; } -std::string RemoveUsersFromSkillGroupRequest::getSkillGroupId()const -{ - return skillGroupId_; +void RemoveUsersFromSkillGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void RemoveUsersFromSkillGroupRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string RemoveUsersFromSkillGroupRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void RemoveUsersFromSkillGroupRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } diff --git a/ccc/src/model/RemoveUsersRequest.cc b/ccc/src/model/RemoveUsersRequest.cc index 5d5b81726..bb95e22d1 100644 --- a/ccc/src/model/RemoveUsersRequest.cc +++ b/ccc/src/model/RemoveUsersRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::RemoveUsersRequest; - -RemoveUsersRequest::RemoveUsersRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RemoveUsers") -{ - setMethod(HttpRequest::Method::Post); -} - -RemoveUsersRequest::~RemoveUsersRequest() -{} - -std::string RemoveUsersRequest::getUserIdList()const -{ - return userIdList_; + */ + +#include + +using AlibabaCloud::CCC::Model::RemoveUsersRequest; + +RemoveUsersRequest::RemoveUsersRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RemoveUsers") { + setMethod(HttpRequest::Method::Post); } -void RemoveUsersRequest::setUserIdList(const std::string& userIdList) -{ - userIdList_ = userIdList; - setParameter("UserIdList", userIdList); +RemoveUsersRequest::~RemoveUsersRequest() {} + +std::string RemoveUsersRequest::getUserIdList() const { + return userIdList_; } -std::string RemoveUsersRequest::getInstanceId()const -{ - return instanceId_; +void RemoveUsersRequest::setUserIdList(const std::string &userIdList) { + userIdList_ = userIdList; + setParameter(std::string("UserIdList"), userIdList); } -void RemoveUsersRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RemoveUsersRequest::getInstanceId() const { + return instanceId_; +} + +void RemoveUsersRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ResetAgentStateRequest.cc b/ccc/src/model/ResetAgentStateRequest.cc index 854a3559f..a19888886 100644 --- a/ccc/src/model/ResetAgentStateRequest.cc +++ b/ccc/src/model/ResetAgentStateRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ResetAgentStateRequest; - -ResetAgentStateRequest::ResetAgentStateRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ResetAgentState") -{ - setMethod(HttpRequest::Method::Post); -} - -ResetAgentStateRequest::~ResetAgentStateRequest() -{} - -std::string ResetAgentStateRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ResetAgentStateRequest; + +ResetAgentStateRequest::ResetAgentStateRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ResetAgentState") { + setMethod(HttpRequest::Method::Post); } -void ResetAgentStateRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +ResetAgentStateRequest::~ResetAgentStateRequest() {} + +std::string ResetAgentStateRequest::getUserId() const { + return userId_; } -std::string ResetAgentStateRequest::getDeviceId()const -{ - return deviceId_; +void ResetAgentStateRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ResetAgentStateRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string ResetAgentStateRequest::getDeviceId() const { + return deviceId_; } -std::string ResetAgentStateRequest::getInstanceId()const -{ - return instanceId_; +void ResetAgentStateRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void ResetAgentStateRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ResetAgentStateRequest::getInstanceId() const { + return instanceId_; +} + +void ResetAgentStateRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ResetUserPasswordRequest.cc b/ccc/src/model/ResetUserPasswordRequest.cc index 1a0c29134..bf11a8879 100644 --- a/ccc/src/model/ResetUserPasswordRequest.cc +++ b/ccc/src/model/ResetUserPasswordRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::ResetUserPasswordRequest; - -ResetUserPasswordRequest::ResetUserPasswordRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ResetUserPassword") -{ - setMethod(HttpRequest::Method::Post); -} - -ResetUserPasswordRequest::~ResetUserPasswordRequest() -{} - -std::string ResetUserPasswordRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ResetUserPasswordRequest; + +ResetUserPasswordRequest::ResetUserPasswordRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ResetUserPassword") { + setMethod(HttpRequest::Method::Post); } -void ResetUserPasswordRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +ResetUserPasswordRequest::~ResetUserPasswordRequest() {} + +std::string ResetUserPasswordRequest::getUserId() const { + return userId_; } -std::string ResetUserPasswordRequest::getPassword()const -{ - return password_; +void ResetUserPasswordRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void ResetUserPasswordRequest::setPassword(const std::string& password) -{ - password_ = password; - setParameter("Password", password); +std::string ResetUserPasswordRequest::getPassword() const { + return password_; } -std::string ResetUserPasswordRequest::getInstanceId()const -{ - return instanceId_; +void ResetUserPasswordRequest::setPassword(const std::string &password) { + password_ = password; + setParameter(std::string("Password"), password); } -void ResetUserPasswordRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string ResetUserPasswordRequest::getInstanceId() const { + return instanceId_; +} + +void ResetUserPasswordRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/ResumeCampaignRequest.cc b/ccc/src/model/ResumeCampaignRequest.cc index 7ae3cf6ed..e807da76e 100644 --- a/ccc/src/model/ResumeCampaignRequest.cc +++ b/ccc/src/model/ResumeCampaignRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::ResumeCampaignRequest; - -ResumeCampaignRequest::ResumeCampaignRequest() : - RpcServiceRequest("ccc", "2020-07-01", "ResumeCampaign") -{ - setMethod(HttpRequest::Method::Post); -} - -ResumeCampaignRequest::~ResumeCampaignRequest() -{} - -std::string ResumeCampaignRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::ResumeCampaignRequest; + +ResumeCampaignRequest::ResumeCampaignRequest() + : RpcServiceRequest("ccc", "2020-07-01", "ResumeCampaign") { + setMethod(HttpRequest::Method::Post); } -void ResumeCampaignRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +ResumeCampaignRequest::~ResumeCampaignRequest() {} + +std::string ResumeCampaignRequest::getInstanceId() const { + return instanceId_; } -std::string ResumeCampaignRequest::getCampaignId()const -{ - return campaignId_; +void ResumeCampaignRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void ResumeCampaignRequest::setCampaignId(const std::string& campaignId) -{ - campaignId_ = campaignId; - setParameter("CampaignId", campaignId); +std::string ResumeCampaignRequest::getCampaignId() const { + return campaignId_; +} + +void ResumeCampaignRequest::setCampaignId(const std::string &campaignId) { + campaignId_ = campaignId; + setParameter(std::string("CampaignId"), campaignId); } diff --git a/ccc/src/model/RetrieveCallRequest.cc b/ccc/src/model/RetrieveCallRequest.cc index 619ea786a..ecec896d1 100644 --- a/ccc/src/model/RetrieveCallRequest.cc +++ b/ccc/src/model/RetrieveCallRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::RetrieveCallRequest; - -RetrieveCallRequest::RetrieveCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "RetrieveCall") -{ - setMethod(HttpRequest::Method::Post); -} - -RetrieveCallRequest::~RetrieveCallRequest() -{} - -std::string RetrieveCallRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::RetrieveCallRequest; + +RetrieveCallRequest::RetrieveCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "RetrieveCall") { + setMethod(HttpRequest::Method::Post); } -void RetrieveCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +RetrieveCallRequest::~RetrieveCallRequest() {} + +std::string RetrieveCallRequest::getUserId() const { + return userId_; } -std::string RetrieveCallRequest::getDeviceId()const -{ - return deviceId_; +void RetrieveCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void RetrieveCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string RetrieveCallRequest::getDeviceId() const { + return deviceId_; } -std::string RetrieveCallRequest::getJobId()const -{ - return jobId_; +void RetrieveCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void RetrieveCallRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string RetrieveCallRequest::getJobId() const { + return jobId_; } -std::string RetrieveCallRequest::getInstanceId()const -{ - return instanceId_; +void RetrieveCallRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void RetrieveCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string RetrieveCallRequest::getInstanceId() const { + return instanceId_; } -std::string RetrieveCallRequest::getChannelId()const -{ - return channelId_; +void RetrieveCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void RetrieveCallRequest::setChannelId(const std::string& channelId) -{ - channelId_ = channelId; - setParameter("ChannelId", channelId); +std::string RetrieveCallRequest::getChannelId() const { + return channelId_; +} + +void RetrieveCallRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); } diff --git a/ccc/src/model/SaveRTCStatsV2Request.cc b/ccc/src/model/SaveRTCStatsV2Request.cc index 168e86363..852438526 100644 --- a/ccc/src/model/SaveRTCStatsV2Request.cc +++ b/ccc/src/model/SaveRTCStatsV2Request.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::SaveRTCStatsV2Request; - -SaveRTCStatsV2Request::SaveRTCStatsV2Request() : - RpcServiceRequest("ccc", "2020-07-01", "SaveRTCStatsV2") -{ - setMethod(HttpRequest::Method::Post); -} - -SaveRTCStatsV2Request::~SaveRTCStatsV2Request() -{} - -std::string SaveRTCStatsV2Request::getCallId()const -{ - return callId_; + */ + +#include + +using AlibabaCloud::CCC::Model::SaveRTCStatsV2Request; + +SaveRTCStatsV2Request::SaveRTCStatsV2Request() + : RpcServiceRequest("ccc", "2020-07-01", "SaveRTCStatsV2") { + setMethod(HttpRequest::Method::Post); } -void SaveRTCStatsV2Request::setCallId(const std::string& callId) -{ - callId_ = callId; - setParameter("CallId", callId); +SaveRTCStatsV2Request::~SaveRTCStatsV2Request() {} + +std::string SaveRTCStatsV2Request::getCallId() const { + return callId_; } -std::string SaveRTCStatsV2Request::getSenderReport()const -{ - return senderReport_; +void SaveRTCStatsV2Request::setCallId(const std::string &callId) { + callId_ = callId; + setParameter(std::string("CallId"), callId); } -void SaveRTCStatsV2Request::setSenderReport(const std::string& senderReport) -{ - senderReport_ = senderReport; - setParameter("SenderReport", senderReport); +std::string SaveRTCStatsV2Request::getSenderReport() const { + return senderReport_; } -std::string SaveRTCStatsV2Request::getInstanceId()const -{ - return instanceId_; +void SaveRTCStatsV2Request::setSenderReport(const std::string &senderReport) { + senderReport_ = senderReport; + setParameter(std::string("SenderReport"), senderReport); } -void SaveRTCStatsV2Request::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string SaveRTCStatsV2Request::getInstanceId() const { + return instanceId_; } -std::string SaveRTCStatsV2Request::getReceiverReport()const -{ - return receiverReport_; +void SaveRTCStatsV2Request::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void SaveRTCStatsV2Request::setReceiverReport(const std::string& receiverReport) -{ - receiverReport_ = receiverReport; - setParameter("ReceiverReport", receiverReport); +std::string SaveRTCStatsV2Request::getReceiverReport() const { + return receiverReport_; } -std::string SaveRTCStatsV2Request::getGoogAddress()const -{ - return googAddress_; +void SaveRTCStatsV2Request::setReceiverReport(const std::string &receiverReport) { + receiverReport_ = receiverReport; + setParameter(std::string("ReceiverReport"), receiverReport); } -void SaveRTCStatsV2Request::setGoogAddress(const std::string& googAddress) -{ - googAddress_ = googAddress; - setParameter("GoogAddress", googAddress); +std::string SaveRTCStatsV2Request::getGoogAddress() const { + return googAddress_; } -std::string SaveRTCStatsV2Request::getGeneralInfo()const -{ - return generalInfo_; +void SaveRTCStatsV2Request::setGoogAddress(const std::string &googAddress) { + googAddress_ = googAddress; + setParameter(std::string("GoogAddress"), googAddress); } -void SaveRTCStatsV2Request::setGeneralInfo(const std::string& generalInfo) -{ - generalInfo_ = generalInfo; - setParameter("GeneralInfo", generalInfo); +std::string SaveRTCStatsV2Request::getGeneralInfo() const { + return generalInfo_; +} + +void SaveRTCStatsV2Request::setGeneralInfo(const std::string &generalInfo) { + generalInfo_ = generalInfo; + setParameter(std::string("GeneralInfo"), generalInfo); } diff --git a/ccc/src/model/SaveRTCStatsV2Result.cc b/ccc/src/model/SaveRTCStatsV2Result.cc index 1fd8fe282..e693690d0 100644 --- a/ccc/src/model/SaveRTCStatsV2Result.cc +++ b/ccc/src/model/SaveRTCStatsV2Result.cc @@ -39,18 +39,18 @@ void SaveRTCStatsV2Result::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stol(value["HttpStatusCode"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["RowCount"].isNull()) - rowCount_ = std::stol(value["RowCount"].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["TimeStamp"].isNull()) timeStamp_ = std::stol(value["TimeStamp"].asString()); + if(!value["RowCount"].isNull()) + rowCount_ = std::stol(value["RowCount"].asString()); } diff --git a/ccc/src/model/SaveTerminalLogRequest.cc b/ccc/src/model/SaveTerminalLogRequest.cc index 3f44f48ac..a9f12201f 100644 --- a/ccc/src/model/SaveTerminalLogRequest.cc +++ b/ccc/src/model/SaveTerminalLogRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::SaveTerminalLogRequest; - -SaveTerminalLogRequest::SaveTerminalLogRequest() : - RpcServiceRequest("ccc", "2020-07-01", "SaveTerminalLog") -{ - setMethod(HttpRequest::Method::Post); -} - -SaveTerminalLogRequest::~SaveTerminalLogRequest() -{} - -std::string SaveTerminalLogRequest::getCallId()const -{ - return callId_; + */ + +#include + +using AlibabaCloud::CCC::Model::SaveTerminalLogRequest; + +SaveTerminalLogRequest::SaveTerminalLogRequest() + : RpcServiceRequest("ccc", "2020-07-01", "SaveTerminalLog") { + setMethod(HttpRequest::Method::Post); } -void SaveTerminalLogRequest::setCallId(const std::string& callId) -{ - callId_ = callId; - setParameter("CallId", callId); +SaveTerminalLogRequest::~SaveTerminalLogRequest() {} + +std::string SaveTerminalLogRequest::getCallId() const { + return callId_; } -std::string SaveTerminalLogRequest::getContent()const -{ - return content_; +void SaveTerminalLogRequest::setCallId(const std::string &callId) { + callId_ = callId; + setParameter(std::string("CallId"), callId); } -void SaveTerminalLogRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); +std::string SaveTerminalLogRequest::getContent() const { + return content_; } -std::string SaveTerminalLogRequest::getUniqueRequestId()const -{ - return uniqueRequestId_; +void SaveTerminalLogRequest::setContent(const std::string &content) { + content_ = content; + setParameter(std::string("Content"), content); } -void SaveTerminalLogRequest::setUniqueRequestId(const std::string& uniqueRequestId) -{ - uniqueRequestId_ = uniqueRequestId; - setParameter("UniqueRequestId", uniqueRequestId); +std::string SaveTerminalLogRequest::getUniqueRequestId() const { + return uniqueRequestId_; } -std::string SaveTerminalLogRequest::getJobId()const -{ - return jobId_; +void SaveTerminalLogRequest::setUniqueRequestId(const std::string &uniqueRequestId) { + uniqueRequestId_ = uniqueRequestId; + setParameter(std::string("UniqueRequestId"), uniqueRequestId); } -void SaveTerminalLogRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string SaveTerminalLogRequest::getJobId() const { + return jobId_; } -std::string SaveTerminalLogRequest::getInstanceId()const -{ - return instanceId_; +void SaveTerminalLogRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void SaveTerminalLogRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string SaveTerminalLogRequest::getInstanceId() const { + return instanceId_; } -std::string SaveTerminalLogRequest::getAppName()const -{ - return appName_; +void SaveTerminalLogRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void SaveTerminalLogRequest::setAppName(const std::string& appName) -{ - appName_ = appName; - setParameter("AppName", appName); +std::string SaveTerminalLogRequest::getAppName() const { + return appName_; } -int SaveTerminalLogRequest::getDataType()const -{ - return dataType_; +void SaveTerminalLogRequest::setAppName(const std::string &appName) { + appName_ = appName; + setParameter(std::string("AppName"), appName); } -void SaveTerminalLogRequest::setDataType(int dataType) -{ - dataType_ = dataType; - setParameter("DataType", std::to_string(dataType)); +int SaveTerminalLogRequest::getDataType() const { + return dataType_; } -std::string SaveTerminalLogRequest::getStatus()const -{ - return status_; +void SaveTerminalLogRequest::setDataType(int dataType) { + dataType_ = dataType; + setParameter(std::string("DataType"), std::to_string(dataType)); } -void SaveTerminalLogRequest::setStatus(const std::string& status) -{ - status_ = status; - setParameter("Status", status); +std::string SaveTerminalLogRequest::getStatus() const { + return status_; } -std::string SaveTerminalLogRequest::getMethodName()const -{ - return methodName_; +void SaveTerminalLogRequest::setStatus(const std::string &status) { + status_ = status; + setParameter(std::string("Status"), status); } -void SaveTerminalLogRequest::setMethodName(const std::string& methodName) -{ - methodName_ = methodName; - setParameter("MethodName", methodName); +std::string SaveTerminalLogRequest::getMethodName() const { + return methodName_; +} + +void SaveTerminalLogRequest::setMethodName(const std::string &methodName) { + methodName_ = methodName; + setParameter(std::string("MethodName"), methodName); } diff --git a/ccc/src/model/SaveTerminalLogResult.cc b/ccc/src/model/SaveTerminalLogResult.cc index 42fa75a1c..89811b463 100644 --- a/ccc/src/model/SaveTerminalLogResult.cc +++ b/ccc/src/model/SaveTerminalLogResult.cc @@ -39,14 +39,14 @@ void SaveTerminalLogResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stol(value["HttpStatusCode"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].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["TimeStamp"].isNull()) timeStamp_ = std::stol(value["TimeStamp"].asString()); diff --git a/ccc/src/model/SaveWebRTCStatsRequest.cc b/ccc/src/model/SaveWebRTCStatsRequest.cc index ef69a48a7..ba0653fe8 100644 --- a/ccc/src/model/SaveWebRTCStatsRequest.cc +++ b/ccc/src/model/SaveWebRTCStatsRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::SaveWebRTCStatsRequest; - -SaveWebRTCStatsRequest::SaveWebRTCStatsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "SaveWebRTCStats") -{ - setMethod(HttpRequest::Method::Post); -} - -SaveWebRTCStatsRequest::~SaveWebRTCStatsRequest() -{} - -std::string SaveWebRTCStatsRequest::getCallId()const -{ - return callId_; + */ + +#include + +using AlibabaCloud::CCC::Model::SaveWebRTCStatsRequest; + +SaveWebRTCStatsRequest::SaveWebRTCStatsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "SaveWebRTCStats") { + setMethod(HttpRequest::Method::Post); } -void SaveWebRTCStatsRequest::setCallId(const std::string& callId) -{ - callId_ = callId; - setParameter("CallId", callId); +SaveWebRTCStatsRequest::~SaveWebRTCStatsRequest() {} + +std::string SaveWebRTCStatsRequest::getCallId() const { + return callId_; } -std::string SaveWebRTCStatsRequest::getSenderReport()const -{ - return senderReport_; +void SaveWebRTCStatsRequest::setCallId(const std::string &callId) { + callId_ = callId; + setParameter(std::string("CallId"), callId); } -void SaveWebRTCStatsRequest::setSenderReport(const std::string& senderReport) -{ - senderReport_ = senderReport; - setParameter("SenderReport", senderReport); +std::string SaveWebRTCStatsRequest::getSenderReport() const { + return senderReport_; } -std::string SaveWebRTCStatsRequest::getInstanceId()const -{ - return instanceId_; +void SaveWebRTCStatsRequest::setSenderReport(const std::string &senderReport) { + senderReport_ = senderReport; + setParameter(std::string("SenderReport"), senderReport); } -void SaveWebRTCStatsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string SaveWebRTCStatsRequest::getInstanceId() const { + return instanceId_; } -std::string SaveWebRTCStatsRequest::getReceiverReport()const -{ - return receiverReport_; +void SaveWebRTCStatsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void SaveWebRTCStatsRequest::setReceiverReport(const std::string& receiverReport) -{ - receiverReport_ = receiverReport; - setParameter("ReceiverReport", receiverReport); +std::string SaveWebRTCStatsRequest::getReceiverReport() const { + return receiverReport_; } -std::string SaveWebRTCStatsRequest::getGoogAddress()const -{ - return googAddress_; +void SaveWebRTCStatsRequest::setReceiverReport(const std::string &receiverReport) { + receiverReport_ = receiverReport; + setParameter(std::string("ReceiverReport"), receiverReport); } -void SaveWebRTCStatsRequest::setGoogAddress(const std::string& googAddress) -{ - googAddress_ = googAddress; - setParameter("GoogAddress", googAddress); +std::string SaveWebRTCStatsRequest::getGoogAddress() const { + return googAddress_; } -std::string SaveWebRTCStatsRequest::getGeneralInfo()const -{ - return generalInfo_; +void SaveWebRTCStatsRequest::setGoogAddress(const std::string &googAddress) { + googAddress_ = googAddress; + setParameter(std::string("GoogAddress"), googAddress); } -void SaveWebRTCStatsRequest::setGeneralInfo(const std::string& generalInfo) -{ - generalInfo_ = generalInfo; - setParameter("GeneralInfo", generalInfo); +std::string SaveWebRTCStatsRequest::getGeneralInfo() const { + return generalInfo_; +} + +void SaveWebRTCStatsRequest::setGeneralInfo(const std::string &generalInfo) { + generalInfo_ = generalInfo; + setParameter(std::string("GeneralInfo"), generalInfo); } diff --git a/ccc/src/model/SaveWebRTCStatsResult.cc b/ccc/src/model/SaveWebRTCStatsResult.cc index 4e8ff591d..fa549ae59 100644 --- a/ccc/src/model/SaveWebRTCStatsResult.cc +++ b/ccc/src/model/SaveWebRTCStatsResult.cc @@ -39,18 +39,18 @@ void SaveWebRTCStatsResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stol(value["HttpStatusCode"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["RowCount"].isNull()) - rowCount_ = std::stol(value["RowCount"].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["TimeStamp"].isNull()) timeStamp_ = std::stol(value["TimeStamp"].asString()); + if(!value["RowCount"].isNull()) + rowCount_ = std::stol(value["RowCount"].asString()); } diff --git a/ccc/src/model/SaveWebRtcInfoRequest.cc b/ccc/src/model/SaveWebRtcInfoRequest.cc index dbaa9c236..710211671 100644 --- a/ccc/src/model/SaveWebRtcInfoRequest.cc +++ b/ccc/src/model/SaveWebRtcInfoRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::SaveWebRtcInfoRequest; - -SaveWebRtcInfoRequest::SaveWebRtcInfoRequest() : - RpcServiceRequest("ccc", "2020-07-01", "SaveWebRtcInfo") -{ - setMethod(HttpRequest::Method::Post); -} - -SaveWebRtcInfoRequest::~SaveWebRtcInfoRequest() -{} - -std::string SaveWebRtcInfoRequest::getCallId()const -{ - return callId_; + */ + +#include + +using AlibabaCloud::CCC::Model::SaveWebRtcInfoRequest; + +SaveWebRtcInfoRequest::SaveWebRtcInfoRequest() + : RpcServiceRequest("ccc", "2020-07-01", "SaveWebRtcInfo") { + setMethod(HttpRequest::Method::Post); } -void SaveWebRtcInfoRequest::setCallId(const std::string& callId) -{ - callId_ = callId; - setParameter("CallId", callId); +SaveWebRtcInfoRequest::~SaveWebRtcInfoRequest() {} + +std::string SaveWebRtcInfoRequest::getCallId() const { + return callId_; } -std::string SaveWebRtcInfoRequest::getContent()const -{ - return content_; +void SaveWebRtcInfoRequest::setCallId(const std::string &callId) { + callId_ = callId; + setParameter(std::string("CallId"), callId); } -void SaveWebRtcInfoRequest::setContent(const std::string& content) -{ - content_ = content; - setParameter("Content", content); +std::string SaveWebRtcInfoRequest::getContent() const { + return content_; } -std::string SaveWebRtcInfoRequest::getContentType()const -{ - return contentType_; +void SaveWebRtcInfoRequest::setContent(const std::string &content) { + content_ = content; + setParameter(std::string("Content"), content); } -void SaveWebRtcInfoRequest::setContentType(const std::string& contentType) -{ - contentType_ = contentType; - setParameter("ContentType", contentType); +std::string SaveWebRtcInfoRequest::getContentType() const { + return contentType_; } -std::string SaveWebRtcInfoRequest::getJobId()const -{ - return jobId_; +void SaveWebRtcInfoRequest::setContentType(const std::string &contentType) { + contentType_ = contentType; + setParameter(std::string("ContentType"), contentType); } -void SaveWebRtcInfoRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string SaveWebRtcInfoRequest::getJobId() const { + return jobId_; } -std::string SaveWebRtcInfoRequest::getInstanceId()const -{ - return instanceId_; +void SaveWebRtcInfoRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void SaveWebRtcInfoRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string SaveWebRtcInfoRequest::getInstanceId() const { + return instanceId_; +} + +void SaveWebRtcInfoRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/SaveWebRtcInfoResult.cc b/ccc/src/model/SaveWebRtcInfoResult.cc index 36e7b5e92..5d5c5a08f 100644 --- a/ccc/src/model/SaveWebRtcInfoResult.cc +++ b/ccc/src/model/SaveWebRtcInfoResult.cc @@ -39,18 +39,18 @@ void SaveWebRtcInfoResult::parse(const std::string &payload) Json::Value value; reader.parse(payload, value); setRequestId(value["RequestId"].asString()); - if(!value["Code"].isNull()) - code_ = value["Code"].asString(); if(!value["HttpStatusCode"].isNull()) httpStatusCode_ = std::stol(value["HttpStatusCode"].asString()); - if(!value["Message"].isNull()) - message_ = value["Message"].asString(); - if(!value["RowCount"].isNull()) - rowCount_ = std::stol(value["RowCount"].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["TimeStamp"].isNull()) timeStamp_ = std::stol(value["TimeStamp"].asString()); + if(!value["RowCount"].isNull()) + rowCount_ = std::stol(value["RowCount"].asString()); } diff --git a/ccc/src/model/SendDtmfSignalingRequest.cc b/ccc/src/model/SendDtmfSignalingRequest.cc index 13a7c6c53..bf1247d71 100644 --- a/ccc/src/model/SendDtmfSignalingRequest.cc +++ b/ccc/src/model/SendDtmfSignalingRequest.cc @@ -1,95 +1,81 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::SendDtmfSignalingRequest; - -SendDtmfSignalingRequest::SendDtmfSignalingRequest() : - RpcServiceRequest("ccc", "2020-07-01", "SendDtmfSignaling") -{ - setMethod(HttpRequest::Method::Post); -} - -SendDtmfSignalingRequest::~SendDtmfSignalingRequest() -{} - -std::string SendDtmfSignalingRequest::getDtmf()const -{ - return dtmf_; + */ + +#include + +using AlibabaCloud::CCC::Model::SendDtmfSignalingRequest; + +SendDtmfSignalingRequest::SendDtmfSignalingRequest() + : RpcServiceRequest("ccc", "2020-07-01", "SendDtmfSignaling") { + setMethod(HttpRequest::Method::Post); } -void SendDtmfSignalingRequest::setDtmf(const std::string& dtmf) -{ - dtmf_ = dtmf; - setParameter("Dtmf", dtmf); +SendDtmfSignalingRequest::~SendDtmfSignalingRequest() {} + +std::string SendDtmfSignalingRequest::getDtmf() const { + return dtmf_; } -std::string SendDtmfSignalingRequest::getUserId()const -{ - return userId_; +void SendDtmfSignalingRequest::setDtmf(const std::string &dtmf) { + dtmf_ = dtmf; + setParameter(std::string("Dtmf"), dtmf); } -void SendDtmfSignalingRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string SendDtmfSignalingRequest::getUserId() const { + return userId_; } -std::string SendDtmfSignalingRequest::getDeviceId()const -{ - return deviceId_; +void SendDtmfSignalingRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void SendDtmfSignalingRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string SendDtmfSignalingRequest::getDeviceId() const { + return deviceId_; } -std::string SendDtmfSignalingRequest::getJobId()const -{ - return jobId_; +void SendDtmfSignalingRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void SendDtmfSignalingRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string SendDtmfSignalingRequest::getJobId() const { + return jobId_; } -std::string SendDtmfSignalingRequest::getInstanceId()const -{ - return instanceId_; +void SendDtmfSignalingRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void SendDtmfSignalingRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string SendDtmfSignalingRequest::getInstanceId() const { + return instanceId_; } -std::string SendDtmfSignalingRequest::getChannelId()const -{ - return channelId_; +void SendDtmfSignalingRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void SendDtmfSignalingRequest::setChannelId(const std::string& channelId) -{ - channelId_ = channelId; - setParameter("ChannelId", channelId); +std::string SendDtmfSignalingRequest::getChannelId() const { + return channelId_; +} + +void SendDtmfSignalingRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); } diff --git a/ccc/src/model/SignInGroupRequest.cc b/ccc/src/model/SignInGroupRequest.cc index 5a824bd3f..f4c739f3f 100644 --- a/ccc/src/model/SignInGroupRequest.cc +++ b/ccc/src/model/SignInGroupRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::SignInGroupRequest; - -SignInGroupRequest::SignInGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "SignInGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -SignInGroupRequest::~SignInGroupRequest() -{} - -std::string SignInGroupRequest::getSignedSkillGroupIdList()const -{ - return signedSkillGroupIdList_; + */ + +#include + +using AlibabaCloud::CCC::Model::SignInGroupRequest; + +SignInGroupRequest::SignInGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "SignInGroup") { + setMethod(HttpRequest::Method::Post); } -void SignInGroupRequest::setSignedSkillGroupIdList(const std::string& signedSkillGroupIdList) -{ - signedSkillGroupIdList_ = signedSkillGroupIdList; - setParameter("SignedSkillGroupIdList", signedSkillGroupIdList); +SignInGroupRequest::~SignInGroupRequest() {} + +std::string SignInGroupRequest::getSignedSkillGroupIdList() const { + return signedSkillGroupIdList_; } -std::string SignInGroupRequest::getUserId()const -{ - return userId_; +void SignInGroupRequest::setSignedSkillGroupIdList(const std::string &signedSkillGroupIdList) { + signedSkillGroupIdList_ = signedSkillGroupIdList; + setParameter(std::string("SignedSkillGroupIdList"), signedSkillGroupIdList); } -void SignInGroupRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string SignInGroupRequest::getUserId() const { + return userId_; } -std::string SignInGroupRequest::getDeviceId()const -{ - return deviceId_; +void SignInGroupRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void SignInGroupRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string SignInGroupRequest::getDeviceId() const { + return deviceId_; } -std::string SignInGroupRequest::getInstanceId()const -{ - return instanceId_; +void SignInGroupRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void SignInGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string SignInGroupRequest::getInstanceId() const { + return instanceId_; +} + +void SignInGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/SignOutGroupRequest.cc b/ccc/src/model/SignOutGroupRequest.cc index 6aa7d05c2..b3562b4da 100644 --- a/ccc/src/model/SignOutGroupRequest.cc +++ b/ccc/src/model/SignOutGroupRequest.cc @@ -1,62 +1,54 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::SignOutGroupRequest; - -SignOutGroupRequest::SignOutGroupRequest() : - RpcServiceRequest("ccc", "2020-07-01", "SignOutGroup") -{ - setMethod(HttpRequest::Method::Post); -} - -SignOutGroupRequest::~SignOutGroupRequest() -{} - -std::string SignOutGroupRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::SignOutGroupRequest; + +SignOutGroupRequest::SignOutGroupRequest() + : RpcServiceRequest("ccc", "2020-07-01", "SignOutGroup") { + setMethod(HttpRequest::Method::Post); } -void SignOutGroupRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +SignOutGroupRequest::~SignOutGroupRequest() {} + +std::string SignOutGroupRequest::getUserId() const { + return userId_; } -std::string SignOutGroupRequest::getDeviceId()const -{ - return deviceId_; +void SignOutGroupRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void SignOutGroupRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string SignOutGroupRequest::getDeviceId() const { + return deviceId_; } -std::string SignOutGroupRequest::getInstanceId()const -{ - return instanceId_; +void SignOutGroupRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void SignOutGroupRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string SignOutGroupRequest::getInstanceId() const { + return instanceId_; +} + +void SignOutGroupRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/StartBack2BackCallRequest.cc b/ccc/src/model/StartBack2BackCallRequest.cc index 8076d939b..0b7e2716b 100644 --- a/ccc/src/model/StartBack2BackCallRequest.cc +++ b/ccc/src/model/StartBack2BackCallRequest.cc @@ -1,106 +1,90 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::StartBack2BackCallRequest; - -StartBack2BackCallRequest::StartBack2BackCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "StartBack2BackCall") -{ - setMethod(HttpRequest::Method::Post); -} - -StartBack2BackCallRequest::~StartBack2BackCallRequest() -{} - -std::string StartBack2BackCallRequest::getCallee()const -{ - return callee_; + */ + +#include + +using AlibabaCloud::CCC::Model::StartBack2BackCallRequest; + +StartBack2BackCallRequest::StartBack2BackCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "StartBack2BackCall") { + setMethod(HttpRequest::Method::Post); } -void StartBack2BackCallRequest::setCallee(const std::string& callee) -{ - callee_ = callee; - setParameter("Callee", callee); +StartBack2BackCallRequest::~StartBack2BackCallRequest() {} + +std::string StartBack2BackCallRequest::getCallee() const { + return callee_; } -std::string StartBack2BackCallRequest::getBroker()const -{ - return broker_; +void StartBack2BackCallRequest::setCallee(const std::string &callee) { + callee_ = callee; + setParameter(std::string("Callee"), callee); } -void StartBack2BackCallRequest::setBroker(const std::string& broker) -{ - broker_ = broker; - setParameter("Broker", broker); +std::string StartBack2BackCallRequest::getBroker() const { + return broker_; } -std::string StartBack2BackCallRequest::getAdditionalBroker()const -{ - return additionalBroker_; +void StartBack2BackCallRequest::setBroker(const std::string &broker) { + broker_ = broker; + setParameter(std::string("Broker"), broker); } -void StartBack2BackCallRequest::setAdditionalBroker(const std::string& additionalBroker) -{ - additionalBroker_ = additionalBroker; - setParameter("AdditionalBroker", additionalBroker); +std::string StartBack2BackCallRequest::getAdditionalBroker() const { + return additionalBroker_; } -std::string StartBack2BackCallRequest::getTags()const -{ - return tags_; +void StartBack2BackCallRequest::setAdditionalBroker(const std::string &additionalBroker) { + additionalBroker_ = additionalBroker; + setParameter(std::string("AdditionalBroker"), additionalBroker); } -void StartBack2BackCallRequest::setTags(const std::string& tags) -{ - tags_ = tags; - setParameter("Tags", tags); +std::string StartBack2BackCallRequest::getTags() const { + return tags_; } -int StartBack2BackCallRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; +void StartBack2BackCallRequest::setTags(const std::string &tags) { + tags_ = tags; + setParameter(std::string("Tags"), tags); } -void StartBack2BackCallRequest::setTimeoutSeconds(int timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +int StartBack2BackCallRequest::getTimeoutSeconds() const { + return timeoutSeconds_; } -std::string StartBack2BackCallRequest::getCaller()const -{ - return caller_; +void StartBack2BackCallRequest::setTimeoutSeconds(int timeoutSeconds) { + timeoutSeconds_ = timeoutSeconds; + setParameter(std::string("TimeoutSeconds"), std::to_string(timeoutSeconds)); } -void StartBack2BackCallRequest::setCaller(const std::string& caller) -{ - caller_ = caller; - setParameter("Caller", caller); +std::string StartBack2BackCallRequest::getCaller() const { + return caller_; } -std::string StartBack2BackCallRequest::getInstanceId()const -{ - return instanceId_; +void StartBack2BackCallRequest::setCaller(const std::string &caller) { + caller_ = caller; + setParameter(std::string("Caller"), caller); } -void StartBack2BackCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string StartBack2BackCallRequest::getInstanceId() const { + return instanceId_; +} + +void StartBack2BackCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/StartPredictiveCallRequest.cc b/ccc/src/model/StartPredictiveCallRequest.cc index 03428b73d..7e7990b7f 100644 --- a/ccc/src/model/StartPredictiveCallRequest.cc +++ b/ccc/src/model/StartPredictiveCallRequest.cc @@ -1,128 +1,108 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::StartPredictiveCallRequest; - -StartPredictiveCallRequest::StartPredictiveCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "StartPredictiveCall") -{ - setMethod(HttpRequest::Method::Post); -} - -StartPredictiveCallRequest::~StartPredictiveCallRequest() -{} - -std::string StartPredictiveCallRequest::getContactFlowId()const -{ - return contactFlowId_; + */ + +#include + +using AlibabaCloud::CCC::Model::StartPredictiveCallRequest; + +StartPredictiveCallRequest::StartPredictiveCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "StartPredictiveCall") { + setMethod(HttpRequest::Method::Post); } -void StartPredictiveCallRequest::setContactFlowId(const std::string& contactFlowId) -{ - contactFlowId_ = contactFlowId; - setParameter("ContactFlowId", contactFlowId); +StartPredictiveCallRequest::~StartPredictiveCallRequest() {} + +std::string StartPredictiveCallRequest::getContactFlowId() const { + return contactFlowId_; } -std::string StartPredictiveCallRequest::getCallee()const -{ - return callee_; +void StartPredictiveCallRequest::setContactFlowId(const std::string &contactFlowId) { + contactFlowId_ = contactFlowId; + setParameter(std::string("ContactFlowId"), contactFlowId); } -void StartPredictiveCallRequest::setCallee(const std::string& callee) -{ - callee_ = callee; - setParameter("Callee", callee); +std::string StartPredictiveCallRequest::getCallee() const { + return callee_; } -std::string StartPredictiveCallRequest::getMaskedCallee()const -{ - return maskedCallee_; +void StartPredictiveCallRequest::setCallee(const std::string &callee) { + callee_ = callee; + setParameter(std::string("Callee"), callee); } -void StartPredictiveCallRequest::setMaskedCallee(const std::string& maskedCallee) -{ - maskedCallee_ = maskedCallee; - setParameter("MaskedCallee", maskedCallee); +std::string StartPredictiveCallRequest::getMaskedCallee() const { + return maskedCallee_; } -std::string StartPredictiveCallRequest::getContactFlowVariables()const -{ - return contactFlowVariables_; +void StartPredictiveCallRequest::setMaskedCallee(const std::string &maskedCallee) { + maskedCallee_ = maskedCallee; + setParameter(std::string("MaskedCallee"), maskedCallee); } -void StartPredictiveCallRequest::setContactFlowVariables(const std::string& contactFlowVariables) -{ - contactFlowVariables_ = contactFlowVariables; - setParameter("ContactFlowVariables", contactFlowVariables); +std::string StartPredictiveCallRequest::getContactFlowVariables() const { + return contactFlowVariables_; } -std::string StartPredictiveCallRequest::getTags()const -{ - return tags_; +void StartPredictiveCallRequest::setContactFlowVariables(const std::string &contactFlowVariables) { + contactFlowVariables_ = contactFlowVariables; + setParameter(std::string("ContactFlowVariables"), contactFlowVariables); } -void StartPredictiveCallRequest::setTags(const std::string& tags) -{ - tags_ = tags; - setParameter("Tags", tags); +std::string StartPredictiveCallRequest::getTags() const { + return tags_; } -int StartPredictiveCallRequest::getTimeoutSeconds()const -{ - return timeoutSeconds_; +void StartPredictiveCallRequest::setTags(const std::string &tags) { + tags_ = tags; + setParameter(std::string("Tags"), tags); } -void StartPredictiveCallRequest::setTimeoutSeconds(int timeoutSeconds) -{ - timeoutSeconds_ = timeoutSeconds; - setParameter("TimeoutSeconds", std::to_string(timeoutSeconds)); +int StartPredictiveCallRequest::getTimeoutSeconds() const { + return timeoutSeconds_; } -std::string StartPredictiveCallRequest::getCaller()const -{ - return caller_; +void StartPredictiveCallRequest::setTimeoutSeconds(int timeoutSeconds) { + timeoutSeconds_ = timeoutSeconds; + setParameter(std::string("TimeoutSeconds"), std::to_string(timeoutSeconds)); } -void StartPredictiveCallRequest::setCaller(const std::string& caller) -{ - caller_ = caller; - setParameter("Caller", caller); +std::string StartPredictiveCallRequest::getCaller() const { + return caller_; } -std::string StartPredictiveCallRequest::getInstanceId()const -{ - return instanceId_; +void StartPredictiveCallRequest::setCaller(const std::string &caller) { + caller_ = caller; + setParameter(std::string("Caller"), caller); } -void StartPredictiveCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string StartPredictiveCallRequest::getInstanceId() const { + return instanceId_; } -std::string StartPredictiveCallRequest::getSkillGroupId()const -{ - return skillGroupId_; +void StartPredictiveCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void StartPredictiveCallRequest::setSkillGroupId(const std::string& skillGroupId) -{ - skillGroupId_ = skillGroupId; - setParameter("SkillGroupId", skillGroupId); +std::string StartPredictiveCallRequest::getSkillGroupId() const { + return skillGroupId_; +} + +void StartPredictiveCallRequest::setSkillGroupId(const std::string &skillGroupId) { + skillGroupId_ = skillGroupId; + setParameter(std::string("SkillGroupId"), skillGroupId); } diff --git a/ccc/src/model/SubmitCampaignRequest.cc b/ccc/src/model/SubmitCampaignRequest.cc index b60e2b5e2..ba06d438a 100644 --- a/ccc/src/model/SubmitCampaignRequest.cc +++ b/ccc/src/model/SubmitCampaignRequest.cc @@ -1,51 +1,45 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT 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 - -using AlibabaCloud::CCC::Model::SubmitCampaignRequest; - -SubmitCampaignRequest::SubmitCampaignRequest() : - RpcServiceRequest("ccc", "2020-07-01", "SubmitCampaign") -{ - setMethod(HttpRequest::Method::Post); -} - -SubmitCampaignRequest::~SubmitCampaignRequest() -{} - -std::string SubmitCampaignRequest::getInstanceId()const -{ - return instanceId_; + */ + +#include + +using AlibabaCloud::CCC::Model::SubmitCampaignRequest; + +SubmitCampaignRequest::SubmitCampaignRequest() + : RpcServiceRequest("ccc", "2020-07-01", "SubmitCampaign") { + setMethod(HttpRequest::Method::Post); } -void SubmitCampaignRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +SubmitCampaignRequest::~SubmitCampaignRequest() {} + +std::string SubmitCampaignRequest::getInstanceId() const { + return instanceId_; } -std::string SubmitCampaignRequest::getCampaignId()const -{ - return campaignId_; +void SubmitCampaignRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void SubmitCampaignRequest::setCampaignId(const std::string& campaignId) -{ - campaignId_ = campaignId; - setParameter("CampaignId", campaignId); +std::string SubmitCampaignRequest::getCampaignId() const { + return campaignId_; +} + +void SubmitCampaignRequest::setCampaignId(const std::string &campaignId) { + campaignId_ = campaignId; + setParameter(std::string("CampaignId"), campaignId); } diff --git a/ccc/src/model/TakeBreakRequest.cc b/ccc/src/model/TakeBreakRequest.cc index ba02e0899..50a3cf49b 100644 --- a/ccc/src/model/TakeBreakRequest.cc +++ b/ccc/src/model/TakeBreakRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::TakeBreakRequest; - -TakeBreakRequest::TakeBreakRequest() : - RpcServiceRequest("ccc", "2020-07-01", "TakeBreak") -{ - setMethod(HttpRequest::Method::Post); -} - -TakeBreakRequest::~TakeBreakRequest() -{} - -std::string TakeBreakRequest::getCode()const -{ - return code_; + */ + +#include + +using AlibabaCloud::CCC::Model::TakeBreakRequest; + +TakeBreakRequest::TakeBreakRequest() + : RpcServiceRequest("ccc", "2020-07-01", "TakeBreak") { + setMethod(HttpRequest::Method::Post); } -void TakeBreakRequest::setCode(const std::string& code) -{ - code_ = code; - setParameter("Code", code); +TakeBreakRequest::~TakeBreakRequest() {} + +std::string TakeBreakRequest::getCode() const { + return code_; } -std::string TakeBreakRequest::getUserId()const -{ - return userId_; +void TakeBreakRequest::setCode(const std::string &code) { + code_ = code; + setParameter(std::string("Code"), code); } -void TakeBreakRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +std::string TakeBreakRequest::getUserId() const { + return userId_; } -std::string TakeBreakRequest::getDeviceId()const -{ - return deviceId_; +void TakeBreakRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void TakeBreakRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string TakeBreakRequest::getDeviceId() const { + return deviceId_; } -std::string TakeBreakRequest::getInstanceId()const -{ - return instanceId_; +void TakeBreakRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void TakeBreakRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string TakeBreakRequest::getInstanceId() const { + return instanceId_; +} + +void TakeBreakRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } diff --git a/ccc/src/model/UnmuteCallRequest.cc b/ccc/src/model/UnmuteCallRequest.cc index 50ab12111..f3c92bcd3 100644 --- a/ccc/src/model/UnmuteCallRequest.cc +++ b/ccc/src/model/UnmuteCallRequest.cc @@ -1,84 +1,72 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::UnmuteCallRequest; - -UnmuteCallRequest::UnmuteCallRequest() : - RpcServiceRequest("ccc", "2020-07-01", "UnmuteCall") -{ - setMethod(HttpRequest::Method::Post); -} - -UnmuteCallRequest::~UnmuteCallRequest() -{} - -std::string UnmuteCallRequest::getUserId()const -{ - return userId_; + */ + +#include + +using AlibabaCloud::CCC::Model::UnmuteCallRequest; + +UnmuteCallRequest::UnmuteCallRequest() + : RpcServiceRequest("ccc", "2020-07-01", "UnmuteCall") { + setMethod(HttpRequest::Method::Post); } -void UnmuteCallRequest::setUserId(const std::string& userId) -{ - userId_ = userId; - setParameter("UserId", userId); +UnmuteCallRequest::~UnmuteCallRequest() {} + +std::string UnmuteCallRequest::getUserId() const { + return userId_; } -std::string UnmuteCallRequest::getDeviceId()const -{ - return deviceId_; +void UnmuteCallRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); } -void UnmuteCallRequest::setDeviceId(const std::string& deviceId) -{ - deviceId_ = deviceId; - setParameter("DeviceId", deviceId); +std::string UnmuteCallRequest::getDeviceId() const { + return deviceId_; } -std::string UnmuteCallRequest::getJobId()const -{ - return jobId_; +void UnmuteCallRequest::setDeviceId(const std::string &deviceId) { + deviceId_ = deviceId; + setParameter(std::string("DeviceId"), deviceId); } -void UnmuteCallRequest::setJobId(const std::string& jobId) -{ - jobId_ = jobId; - setParameter("JobId", jobId); +std::string UnmuteCallRequest::getJobId() const { + return jobId_; } -std::string UnmuteCallRequest::getInstanceId()const -{ - return instanceId_; +void UnmuteCallRequest::setJobId(const std::string &jobId) { + jobId_ = jobId; + setParameter(std::string("JobId"), jobId); } -void UnmuteCallRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string UnmuteCallRequest::getInstanceId() const { + return instanceId_; } -std::string UnmuteCallRequest::getChannelId()const -{ - return channelId_; +void UnmuteCallRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void UnmuteCallRequest::setChannelId(const std::string& channelId) -{ - channelId_ = channelId; - setParameter("ChannelId", channelId); +std::string UnmuteCallRequest::getChannelId() const { + return channelId_; +} + +void UnmuteCallRequest::setChannelId(const std::string &channelId) { + channelId_ = channelId; + setParameter(std::string("ChannelId"), channelId); } diff --git a/ccc/src/model/UnregisterDeviceRequest.cc b/ccc/src/model/UnregisterDeviceRequest.cc new file mode 100644 index 000000000..490d89be1 --- /dev/null +++ b/ccc/src/model/UnregisterDeviceRequest.cc @@ -0,0 +1,45 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 + +using AlibabaCloud::CCC::Model::UnregisterDeviceRequest; + +UnregisterDeviceRequest::UnregisterDeviceRequest() + : RpcServiceRequest("ccc", "2020-07-01", "UnregisterDevice") { + setMethod(HttpRequest::Method::Post); +} + +UnregisterDeviceRequest::~UnregisterDeviceRequest() {} + +std::string UnregisterDeviceRequest::getUserId() const { + return userId_; +} + +void UnregisterDeviceRequest::setUserId(const std::string &userId) { + userId_ = userId; + setParameter(std::string("UserId"), userId); +} + +std::string UnregisterDeviceRequest::getInstanceId() const { + return instanceId_; +} + +void UnregisterDeviceRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); +} + diff --git a/ccc/src/model/UnregisterDeviceResult.cc b/ccc/src/model/UnregisterDeviceResult.cc new file mode 100644 index 000000000..b842f0965 --- /dev/null +++ b/ccc/src/model/UnregisterDeviceResult.cc @@ -0,0 +1,65 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::CCC; +using namespace AlibabaCloud::CCC::Model; + +UnregisterDeviceResult::UnregisterDeviceResult() : + ServiceResult() +{} + +UnregisterDeviceResult::UnregisterDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnregisterDeviceResult::~UnregisterDeviceResult() +{} + +void UnregisterDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Code"].isNull()) + code_ = value["Code"].asString(); + if(!value["HttpStatusCode"].isNull()) + httpStatusCode_ = std::stoi(value["HttpStatusCode"].asString()); + if(!value["Message"].isNull()) + message_ = value["Message"].asString(); + +} + +std::string UnregisterDeviceResult::getMessage()const +{ + return message_; +} + +int UnregisterDeviceResult::getHttpStatusCode()const +{ + return httpStatusCode_; +} + +std::string UnregisterDeviceResult::getCode()const +{ + return code_; +} + diff --git a/ccc/src/model/UpdateConfigItemsRequest.cc b/ccc/src/model/UpdateConfigItemsRequest.cc index 72b92c010..ea0ad7c53 100644 --- a/ccc/src/model/UpdateConfigItemsRequest.cc +++ b/ccc/src/model/UpdateConfigItemsRequest.cc @@ -1,73 +1,63 @@ /* * Copyright 2009-2017 Alibaba Cloud All rights reserved. - * + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at - * + * * http://www.apache.org/licenses/LICENSE-2.0 - * + * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. - */ - -#include - -using AlibabaCloud::CCC::Model::UpdateConfigItemsRequest; - -UpdateConfigItemsRequest::UpdateConfigItemsRequest() : - RpcServiceRequest("ccc", "2020-07-01", "UpdateConfigItems") -{ - setMethod(HttpRequest::Method::Post); -} - -UpdateConfigItemsRequest::~UpdateConfigItemsRequest() -{} - -std::string UpdateConfigItemsRequest::getConfigItems()const -{ - return configItems_; + */ + +#include + +using AlibabaCloud::CCC::Model::UpdateConfigItemsRequest; + +UpdateConfigItemsRequest::UpdateConfigItemsRequest() + : RpcServiceRequest("ccc", "2020-07-01", "UpdateConfigItems") { + setMethod(HttpRequest::Method::Post); } -void UpdateConfigItemsRequest::setConfigItems(const std::string& configItems) -{ - configItems_ = configItems; - setParameter("ConfigItems", configItems); +UpdateConfigItemsRequest::~UpdateConfigItemsRequest() {} + +std::string UpdateConfigItemsRequest::getConfigItems() const { + return configItems_; } -std::string UpdateConfigItemsRequest::getInstanceId()const -{ - return instanceId_; +void UpdateConfigItemsRequest::setConfigItems(const std::string &configItems) { + configItems_ = configItems; + setParameter(std::string("ConfigItems"), configItems); } -void UpdateConfigItemsRequest::setInstanceId(const std::string& instanceId) -{ - instanceId_ = instanceId; - setParameter("InstanceId", instanceId); +std::string UpdateConfigItemsRequest::getInstanceId() const { + return instanceId_; } -std::string UpdateConfigItemsRequest::getObjectType()const -{ - return objectType_; +void UpdateConfigItemsRequest::setInstanceId(const std::string &instanceId) { + instanceId_ = instanceId; + setParameter(std::string("InstanceId"), instanceId); } -void UpdateConfigItemsRequest::setObjectType(const std::string& objectType) -{ - objectType_ = objectType; - setParameter("ObjectType", objectType); +std::string UpdateConfigItemsRequest::getObjectType() const { + return objectType_; } -std::string UpdateConfigItemsRequest::getObjectId()const -{ - return objectId_; +void UpdateConfigItemsRequest::setObjectType(const std::string &objectType) { + objectType_ = objectType; + setParameter(std::string("ObjectType"), objectType); } -void UpdateConfigItemsRequest::setObjectId(const std::string& objectId) -{ - objectId_ = objectId; - setParameter("ObjectId", objectId); +std::string UpdateConfigItemsRequest::getObjectId() const { + return objectId_; +} + +void UpdateConfigItemsRequest::setObjectId(const std::string &objectId) { + objectId_ = objectId; + setParameter(std::string("ObjectId"), objectId); }