From 2123976cc270d99929d0b945018497fb586b1448 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Tue, 22 Sep 2020 01:54:19 +0000 Subject: [PATCH] Generated 2018-12-12 for vs. --- CHANGELOG | 3 + vs/CMakeLists.txt | 554 +++ vs/include/alibabacloud/vs/VsClient.h | 990 ++++ vs/include/alibabacloud/vs/VsExport.h | 32 + .../model/AddVsPullStreamInfoConfigRequest.h | 72 + .../model/AddVsPullStreamInfoConfigResult.h | 49 + .../vs/model/BatchBindDirectoriesRequest.h | 57 + .../vs/model/BatchBindDirectoriesResult.h | 57 + .../BatchBindParentPlatformDevicesRequest.h | 57 + .../BatchBindParentPlatformDevicesResult.h | 57 + .../model/BatchBindPurchasedDevicesRequest.h | 60 + .../model/BatchBindPurchasedDevicesResult.h | 58 + .../vs/model/BatchBindTemplateRequest.h | 66 + .../vs/model/BatchBindTemplateResult.h | 58 + .../vs/model/BatchBindTemplatesRequest.h | 69 + .../vs/model/BatchBindTemplatesResult.h | 58 + .../vs/model/BatchDeleteDevicesRequest.h | 54 + .../vs/model/BatchDeleteDevicesResult.h | 56 + .../model/BatchDeleteVsDomainConfigsRequest.h | 57 + .../model/BatchDeleteVsDomainConfigsResult.h | 49 + .../vs/model/BatchForbidVsStreamRequest.h | 69 + .../vs/model/BatchForbidVsStreamResult.h | 58 + .../vs/model/BatchResumeVsStreamRequest.h | 63 + .../vs/model/BatchResumeVsStreamResult.h | 58 + .../vs/model/BatchSetVsDomainConfigsRequest.h | 57 + .../vs/model/BatchSetVsDomainConfigsResult.h | 49 + .../vs/model/BatchStartDevicesRequest.h | 54 + .../vs/model/BatchStartDevicesResult.h | 62 + .../vs/model/BatchStartStreamsRequest.h | 54 + .../vs/model/BatchStartStreamsResult.h | 57 + .../vs/model/BatchStopDevicesRequest.h | 57 + .../vs/model/BatchStopDevicesResult.h | 62 + .../vs/model/BatchStopStreamsRequest.h | 57 + .../vs/model/BatchStopStreamsResult.h | 57 + .../vs/model/BatchUnbindDirectoriesRequest.h | 57 + .../vs/model/BatchUnbindDirectoriesResult.h | 57 + .../BatchUnbindParentPlatformDevicesRequest.h | 57 + .../BatchUnbindParentPlatformDevicesResult.h | 57 + .../BatchUnbindPurchasedDevicesRequest.h | 54 + .../model/BatchUnbindPurchasedDevicesResult.h | 56 + .../vs/model/BatchUnbindTemplateRequest.h | 63 + .../vs/model/BatchUnbindTemplateResult.h | 58 + .../vs/model/BatchUnbindTemplatesRequest.h | 63 + .../vs/model/BatchUnbindTemplatesResult.h | 59 + .../vs/model/BindDirectoryRequest.h | 57 + .../vs/model/BindDirectoryResult.h | 49 + .../model/BindParentPlatformDeviceRequest.h | 57 + .../vs/model/BindParentPlatformDeviceResult.h | 49 + .../vs/model/BindPurchasedDeviceRequest.h | 60 + .../vs/model/BindPurchasedDeviceResult.h | 49 + .../vs/model/BindTemplateRequest.h | 69 + .../vs/model/BindTemplateResult.h | 55 + .../vs/model/ContinuousAdjustRequest.h | 60 + .../vs/model/ContinuousAdjustResult.h | 51 + .../vs/model/ContinuousMoveRequest.h | 63 + .../vs/model/ContinuousMoveResult.h | 51 + .../vs/model/CreateDeviceAlarmRequest.h | 75 + .../vs/model/CreateDeviceAlarmResult.h | 57 + .../vs/model/CreateDeviceRequest.h | 114 + .../vs/model/CreateDeviceResult.h | 51 + .../vs/model/CreateDirectoryRequest.h | 63 + .../vs/model/CreateDirectoryResult.h | 51 + .../vs/model/CreateGroupRequest.h | 96 + .../alibabacloud/vs/model/CreateGroupResult.h | 57 + .../vs/model/CreateParentPlatformRequest.h | 81 + .../vs/model/CreateParentPlatformResult.h | 51 + .../vs/model/CreateStreamSnapshotRequest.h | 57 + .../vs/model/CreateStreamSnapshotResult.h | 67 + .../vs/model/CreateTemplateRequest.h | 117 + .../vs/model/CreateTemplateResult.h | 51 + .../vs/model/DeleteDeviceRequest.h | 54 + .../vs/model/DeleteDeviceResult.h | 49 + .../vs/model/DeleteDirectoryRequest.h | 54 + .../vs/model/DeleteDirectoryResult.h | 49 + .../vs/model/DeleteGroupRequest.h | 54 + .../alibabacloud/vs/model/DeleteGroupResult.h | 49 + .../vs/model/DeleteParentPlatformRequest.h | 54 + .../vs/model/DeleteParentPlatformResult.h | 49 + .../vs/model/DeletePresetRequest.h | 57 + .../vs/model/DeletePresetResult.h | 51 + .../vs/model/DeleteTemplateRequest.h | 54 + .../vs/model/DeleteTemplateResult.h | 49 + .../DeleteVsPullStreamInfoConfigRequest.h | 60 + .../DeleteVsPullStreamInfoConfigResult.h | 49 + .../DeleteVsStreamsNotifyUrlConfigRequest.h | 54 + .../DeleteVsStreamsNotifyUrlConfigResult.h | 49 + .../vs/model/DescribeAccountStatRequest.h | 54 + .../vs/model/DescribeAccountStatResult.h | 59 + .../vs/model/DescribeDeviceChannelsRequest.h | 60 + .../vs/model/DescribeDeviceChannelsResult.h | 70 + .../vs/model/DescribeDeviceGatewayRequest.h | 60 + .../vs/model/DescribeDeviceGatewayResult.h | 57 + .../vs/model/DescribeDeviceRequest.h | 60 + .../vs/model/DescribeDeviceResult.h | 126 + .../vs/model/DescribeDeviceURLRequest.h | 72 + .../vs/model/DescribeDeviceURLResult.h | 53 + .../vs/model/DescribeDevicesRequest.h | 96 + .../vs/model/DescribeDevicesResult.h | 109 + .../vs/model/DescribeDirectoriesRequest.h | 72 + .../vs/model/DescribeDirectoriesResult.h | 68 + .../vs/model/DescribeDirectoryRequest.h | 54 + .../vs/model/DescribeDirectoryResult.h | 61 + .../vs/model/DescribeGroupRequest.h | 57 + .../vs/model/DescribeGroupResult.h | 108 + .../vs/model/DescribeGroupsRequest.h | 81 + .../vs/model/DescribeGroupsResult.h | 95 + .../DescribeParentPlatformDevicesRequest.h | 66 + .../DescribeParentPlatformDevicesResult.h | 67 + .../vs/model/DescribeParentPlatformRequest.h | 54 + .../vs/model/DescribeParentPlatformResult.h | 81 + .../vs/model/DescribeParentPlatformsRequest.h | 69 + .../vs/model/DescribeParentPlatformsResult.h | 78 + .../vs/model/DescribePresetsRequest.h | 54 + .../vs/model/DescribePresetsResult.h | 58 + .../vs/model/DescribePurchasedDeviceRequest.h | 54 + .../vs/model/DescribePurchasedDeviceResult.h | 73 + .../model/DescribePurchasedDevicesRequest.h | 81 + .../vs/model/DescribePurchasedDevicesResult.h | 74 + .../vs/model/DescribeRecordsRequest.h | 78 + .../vs/model/DescribeRecordsResult.h | 77 + .../vs/model/DescribeStreamRequest.h | 54 + .../vs/model/DescribeStreamResult.h | 75 + .../vs/model/DescribeStreamURLRequest.h | 84 + .../vs/model/DescribeStreamURLResult.h | 53 + .../vs/model/DescribeStreamVodListRequest.h | 60 + .../vs/model/DescribeStreamVodListResult.h | 56 + .../vs/model/DescribeStreamsRequest.h | 84 + .../vs/model/DescribeStreamsResult.h | 75 + .../vs/model/DescribeTemplateRequest.h | 54 + .../vs/model/DescribeTemplateResult.h | 108 + .../vs/model/DescribeTemplatesRequest.h | 72 + .../vs/model/DescribeTemplatesResult.h | 97 + .../vs/model/DescribeVodStreamURLRequest.h | 57 + .../vs/model/DescribeVodStreamURLResult.h | 57 + .../DescribeVsCertificateDetailRequest.h | 54 + .../model/DescribeVsCertificateDetailResult.h | 57 + .../model/DescribeVsCertificateListRequest.h | 54 + .../model/DescribeVsCertificateListResult.h | 65 + .../vs/model/DescribeVsDomainBpsDataRequest.h | 69 + .../vs/model/DescribeVsDomainBpsDataResult.h | 64 + .../DescribeVsDomainCertificateInfoRequest.h | 54 + .../DescribeVsDomainCertificateInfoResult.h | 64 + .../vs/model/DescribeVsDomainConfigsRequest.h | 57 + .../vs/model/DescribeVsDomainConfigsResult.h | 63 + .../vs/model/DescribeVsDomainDetailRequest.h | 54 + .../vs/model/DescribeVsDomainDetailResult.h | 64 + .../vs/model/DescribeVsDomainPvDataRequest.h | 60 + .../vs/model/DescribeVsDomainPvDataResult.h | 60 + .../model/DescribeVsDomainRecordDataRequest.h | 60 + .../model/DescribeVsDomainRecordDataResult.h | 62 + .../model/DescribeVsDomainRegionDataRequest.h | 60 + .../model/DescribeVsDomainRegionDataResult.h | 74 + .../model/DescribeVsDomainReqBpsDataRequest.h | 69 + .../model/DescribeVsDomainReqBpsDataResult.h | 64 + .../DescribeVsDomainReqTrafficDataRequest.h | 69 + .../DescribeVsDomainReqTrafficDataResult.h | 64 + .../DescribeVsDomainSnapshotDataRequest.h | 60 + .../DescribeVsDomainSnapshotDataResult.h | 62 + .../DescribeVsDomainTrafficDataRequest.h | 69 + .../model/DescribeVsDomainTrafficDataResult.h | 64 + .../vs/model/DescribeVsDomainUvDataRequest.h | 60 + .../vs/model/DescribeVsDomainUvDataResult.h | 60 + .../DescribeVsPullStreamInfoConfigRequest.h | 54 + .../DescribeVsPullStreamInfoConfigResult.h | 60 + .../DescribeVsStreamsNotifyUrlConfigRequest.h | 54 + .../DescribeVsStreamsNotifyUrlConfigResult.h | 58 + .../DescribeVsStreamsOnlineListRequest.h | 81 + .../model/DescribeVsStreamsOnlineListResult.h | 71 + .../DescribeVsStreamsPublishListRequest.h | 81 + .../DescribeVsStreamsPublishListResult.h | 75 + .../model/DescribeVsTopDomainsByFlowRequest.h | 60 + .../model/DescribeVsTopDomainsByFlowResult.h | 69 + ...DescribeVsUpPeakPublishStreamDataRequest.h | 63 + .../DescribeVsUpPeakPublishStreamDataResult.h | 59 + .../DescribeVsUserResourcePackageRequest.h | 54 + .../DescribeVsUserResourcePackageResult.h | 60 + .../vs/model/ForbidVsStreamRequest.h | 72 + .../vs/model/ForbidVsStreamResult.h | 49 + .../alibabacloud/vs/model/GotoPresetRequest.h | 57 + .../alibabacloud/vs/model/GotoPresetResult.h | 51 + .../vs/model/ModifyDeviceAlarmRequest.h | 63 + .../vs/model/ModifyDeviceAlarmResult.h | 49 + .../vs/model/ModifyDeviceCaptureRequest.h | 60 + .../vs/model/ModifyDeviceCaptureResult.h | 49 + .../vs/model/ModifyDeviceChannelsRequest.h | 63 + .../vs/model/ModifyDeviceChannelsResult.h | 49 + .../vs/model/ModifyDeviceRequest.h | 114 + .../vs/model/ModifyDeviceResult.h | 51 + .../vs/model/ModifyDirectoryRequest.h | 60 + .../vs/model/ModifyDirectoryResult.h | 51 + .../vs/model/ModifyGroupRequest.h | 99 + .../alibabacloud/vs/model/ModifyGroupResult.h | 51 + .../vs/model/ModifyParentPlatformRequest.h | 81 + .../vs/model/ModifyParentPlatformResult.h | 51 + .../vs/model/ModifyTemplateRequest.h | 117 + .../vs/model/ModifyTemplateResult.h | 51 + .../vs/model/ResumeVsStreamRequest.h | 66 + .../vs/model/ResumeVsStreamResult.h | 49 + .../alibabacloud/vs/model/SetPresetRequest.h | 57 + .../alibabacloud/vs/model/SetPresetResult.h | 51 + .../vs/model/SetVsDomainCertificateRequest.h | 75 + .../vs/model/SetVsDomainCertificateResult.h | 49 + .../SetVsStreamsNotifyUrlConfigRequest.h | 63 + .../model/SetVsStreamsNotifyUrlConfigResult.h | 49 + .../vs/model/StartDeviceRequest.h | 54 + .../alibabacloud/vs/model/StartDeviceResult.h | 51 + .../vs/model/StartParentPlatformRequest.h | 54 + .../vs/model/StartParentPlatformResult.h | 51 + .../vs/model/StartRecordStreamRequest.h | 63 + .../vs/model/StartRecordStreamResult.h | 49 + .../vs/model/StartStreamRequest.h | 60 + .../alibabacloud/vs/model/StartStreamResult.h | 53 + .../vs/model/StartTransferStreamRequest.h | 60 + .../vs/model/StartTransferStreamResult.h | 49 + .../alibabacloud/vs/model/StopAdjustRequest.h | 60 + .../alibabacloud/vs/model/StopAdjustResult.h | 51 + .../alibabacloud/vs/model/StopDeviceRequest.h | 57 + .../alibabacloud/vs/model/StopDeviceResult.h | 51 + .../alibabacloud/vs/model/StopMoveRequest.h | 63 + .../alibabacloud/vs/model/StopMoveResult.h | 51 + .../vs/model/StopRecordStreamRequest.h | 63 + .../vs/model/StopRecordStreamResult.h | 49 + .../alibabacloud/vs/model/StopStreamRequest.h | 60 + .../alibabacloud/vs/model/StopStreamResult.h | 51 + .../vs/model/StopTransferStreamRequest.h | 57 + .../vs/model/StopTransferStreamResult.h | 49 + .../vs/model/SyncCatalogsRequest.h | 54 + .../vs/model/SyncCatalogsResult.h | 51 + .../vs/model/UnbindDirectoryRequest.h | 57 + .../vs/model/UnbindDirectoryResult.h | 49 + .../model/UnbindParentPlatformDeviceRequest.h | 57 + .../model/UnbindParentPlatformDeviceResult.h | 49 + .../vs/model/UnbindPurchasedDeviceRequest.h | 54 + .../vs/model/UnbindPurchasedDeviceResult.h | 49 + .../vs/model/UnbindTemplateRequest.h | 63 + .../vs/model/UnbindTemplateResult.h | 57 + .../vs/model/UnlockDeviceRequest.h | 54 + .../vs/model/UnlockDeviceResult.h | 51 + .../UpdateVsPullStreamInfoConfigRequest.h | 72 + .../UpdateVsPullStreamInfoConfigResult.h | 49 + vs/src/VsClient.cc | 4301 +++++++++++++++++ .../model/AddVsPullStreamInfoConfigRequest.cc | 128 + .../model/AddVsPullStreamInfoConfigResult.cc | 44 + vs/src/model/BatchBindDirectoriesRequest.cc | 73 + vs/src/model/BatchBindDirectoriesResult.cc | 61 + .../BatchBindParentPlatformDevicesRequest.cc | 73 + .../BatchBindParentPlatformDevicesResult.cc | 61 + .../model/BatchBindPurchasedDevicesRequest.cc | 84 + .../model/BatchBindPurchasedDevicesResult.cc | 63 + vs/src/model/BatchBindTemplateRequest.cc | 106 + vs/src/model/BatchBindTemplateResult.cc | 63 + vs/src/model/BatchBindTemplatesRequest.cc | 117 + vs/src/model/BatchBindTemplatesResult.cc | 63 + vs/src/model/BatchDeleteDevicesRequest.cc | 62 + vs/src/model/BatchDeleteDevicesResult.cc | 59 + .../BatchDeleteVsDomainConfigsRequest.cc | 73 + .../model/BatchDeleteVsDomainConfigsResult.cc | 44 + vs/src/model/BatchForbidVsStreamRequest.cc | 117 + vs/src/model/BatchForbidVsStreamResult.cc | 64 + vs/src/model/BatchResumeVsStreamRequest.cc | 95 + vs/src/model/BatchResumeVsStreamResult.cc | 64 + .../model/BatchSetVsDomainConfigsRequest.cc | 73 + vs/src/model/BatchSetVsDomainConfigsResult.cc | 44 + vs/src/model/BatchStartDevicesRequest.cc | 62 + vs/src/model/BatchStartDevicesResult.cc | 69 + vs/src/model/BatchStartStreamsRequest.cc | 62 + vs/src/model/BatchStartStreamsResult.cc | 61 + vs/src/model/BatchStopDevicesRequest.cc | 73 + vs/src/model/BatchStopDevicesResult.cc | 69 + vs/src/model/BatchStopStreamsRequest.cc | 73 + vs/src/model/BatchStopStreamsResult.cc | 61 + vs/src/model/BatchUnbindDirectoriesRequest.cc | 73 + vs/src/model/BatchUnbindDirectoriesResult.cc | 61 + ...BatchUnbindParentPlatformDevicesRequest.cc | 73 + .../BatchUnbindParentPlatformDevicesResult.cc | 61 + .../BatchUnbindPurchasedDevicesRequest.cc | 62 + .../BatchUnbindPurchasedDevicesResult.cc | 59 + vs/src/model/BatchUnbindTemplateRequest.cc | 95 + vs/src/model/BatchUnbindTemplateResult.cc | 63 + vs/src/model/BatchUnbindTemplatesRequest.cc | 95 + vs/src/model/BatchUnbindTemplatesResult.cc | 65 + vs/src/model/BindDirectoryRequest.cc | 73 + vs/src/model/BindDirectoryResult.cc | 44 + .../model/BindParentPlatformDeviceRequest.cc | 73 + .../model/BindParentPlatformDeviceResult.cc | 44 + vs/src/model/BindPurchasedDeviceRequest.cc | 84 + vs/src/model/BindPurchasedDeviceResult.cc | 44 + vs/src/model/BindTemplateRequest.cc | 117 + vs/src/model/BindTemplateResult.cc | 65 + vs/src/model/ContinuousAdjustRequest.cc | 84 + vs/src/model/ContinuousAdjustResult.cc | 51 + vs/src/model/ContinuousMoveRequest.cc | 95 + vs/src/model/ContinuousMoveResult.cc | 51 + vs/src/model/CreateDeviceAlarmRequest.cc | 139 + vs/src/model/CreateDeviceAlarmResult.cc | 72 + vs/src/model/CreateDeviceRequest.cc | 282 ++ vs/src/model/CreateDeviceResult.cc | 51 + vs/src/model/CreateDirectoryRequest.cc | 95 + vs/src/model/CreateDirectoryResult.cc | 51 + vs/src/model/CreateGroupRequest.cc | 216 + vs/src/model/CreateGroupResult.cc | 72 + vs/src/model/CreateParentPlatformRequest.cc | 161 + vs/src/model/CreateParentPlatformResult.cc | 51 + vs/src/model/CreateStreamSnapshotRequest.cc | 73 + vs/src/model/CreateStreamSnapshotResult.cc | 107 + vs/src/model/CreateTemplateRequest.cc | 293 ++ vs/src/model/CreateTemplateResult.cc | 51 + vs/src/model/DeleteDeviceRequest.cc | 62 + vs/src/model/DeleteDeviceResult.cc | 44 + vs/src/model/DeleteDirectoryRequest.cc | 62 + vs/src/model/DeleteDirectoryResult.cc | 44 + vs/src/model/DeleteGroupRequest.cc | 62 + vs/src/model/DeleteGroupResult.cc | 44 + vs/src/model/DeleteParentPlatformRequest.cc | 62 + vs/src/model/DeleteParentPlatformResult.cc | 44 + vs/src/model/DeletePresetRequest.cc | 73 + vs/src/model/DeletePresetResult.cc | 51 + vs/src/model/DeleteTemplateRequest.cc | 62 + vs/src/model/DeleteTemplateResult.cc | 44 + .../DeleteVsPullStreamInfoConfigRequest.cc | 84 + .../DeleteVsPullStreamInfoConfigResult.cc | 44 + .../DeleteVsStreamsNotifyUrlConfigRequest.cc | 62 + .../DeleteVsStreamsNotifyUrlConfigResult.cc | 44 + vs/src/model/DescribeAccountStatRequest.cc | 62 + vs/src/model/DescribeAccountStatResult.cc | 79 + vs/src/model/DescribeDeviceChannelsRequest.cc | 84 + vs/src/model/DescribeDeviceChannelsResult.cc | 99 + vs/src/model/DescribeDeviceGatewayRequest.cc | 84 + vs/src/model/DescribeDeviceGatewayResult.cc | 72 + vs/src/model/DescribeDeviceRequest.cc | 84 + vs/src/model/DescribeDeviceResult.cc | 274 ++ vs/src/model/DescribeDeviceURLRequest.cc | 128 + vs/src/model/DescribeDeviceURLResult.cc | 58 + vs/src/model/DescribeDevicesRequest.cc | 216 + vs/src/model/DescribeDevicesResult.cc | 163 + vs/src/model/DescribeDirectoriesRequest.cc | 128 + vs/src/model/DescribeDirectoriesResult.cc | 95 + vs/src/model/DescribeDirectoryRequest.cc | 62 + vs/src/model/DescribeDirectoryResult.cc | 86 + vs/src/model/DescribeGroupRequest.cc | 73 + vs/src/model/DescribeGroupResult.cc | 235 + vs/src/model/DescribeGroupsRequest.cc | 161 + vs/src/model/DescribeGroupsResult.cc | 144 + .../DescribeParentPlatformDevicesRequest.cc | 106 + .../DescribeParentPlatformDevicesResult.cc | 93 + vs/src/model/DescribeParentPlatformRequest.cc | 62 + vs/src/model/DescribeParentPlatformResult.cc | 156 + .../model/DescribeParentPlatformsRequest.cc | 117 + vs/src/model/DescribeParentPlatformsResult.cc | 115 + vs/src/model/DescribePresetsRequest.cc | 62 + vs/src/model/DescribePresetsResult.cc | 66 + .../model/DescribePurchasedDeviceRequest.cc | 62 + vs/src/model/DescribePurchasedDeviceResult.cc | 128 + .../model/DescribePurchasedDevicesRequest.cc | 161 + .../model/DescribePurchasedDevicesResult.cc | 107 + vs/src/model/DescribeRecordsRequest.cc | 150 + vs/src/model/DescribeRecordsResult.cc | 116 + vs/src/model/DescribeStreamRequest.cc | 62 + vs/src/model/DescribeStreamResult.cc | 135 + vs/src/model/DescribeStreamURLRequest.cc | 172 + vs/src/model/DescribeStreamURLResult.cc | 58 + vs/src/model/DescribeStreamVodListRequest.cc | 84 + vs/src/model/DescribeStreamVodListResult.cc | 59 + vs/src/model/DescribeStreamsRequest.cc | 172 + vs/src/model/DescribeStreamsResult.cc | 109 + vs/src/model/DescribeTemplateRequest.cc | 62 + vs/src/model/DescribeTemplateResult.cc | 232 + vs/src/model/DescribeTemplatesRequest.cc | 128 + vs/src/model/DescribeTemplatesResult.cc | 151 + vs/src/model/DescribeVodStreamURLRequest.cc | 73 + vs/src/model/DescribeVodStreamURLResult.cc | 72 + .../DescribeVsCertificateDetailRequest.cc | 62 + .../DescribeVsCertificateDetailResult.cc | 72 + .../model/DescribeVsCertificateListRequest.cc | 62 + .../model/DescribeVsCertificateListResult.cc | 70 + .../model/DescribeVsDomainBpsDataRequest.cc | 117 + vs/src/model/DescribeVsDomainBpsDataResult.cc | 87 + .../DescribeVsDomainCertificateInfoRequest.cc | 62 + .../DescribeVsDomainCertificateInfoResult.cc | 75 + .../model/DescribeVsDomainConfigsRequest.cc | 73 + vs/src/model/DescribeVsDomainConfigsResult.cc | 71 + vs/src/model/DescribeVsDomainDetailRequest.cc | 62 + vs/src/model/DescribeVsDomainDetailResult.cc | 70 + vs/src/model/DescribeVsDomainPvDataRequest.cc | 84 + vs/src/model/DescribeVsDomainPvDataResult.cc | 73 + .../DescribeVsDomainRecordDataRequest.cc | 84 + .../model/DescribeVsDomainRecordDataResult.cc | 80 + .../DescribeVsDomainRegionDataRequest.cc | 84 + .../model/DescribeVsDomainRegionDataResult.cc | 107 + .../DescribeVsDomainReqBpsDataRequest.cc | 117 + .../model/DescribeVsDomainReqBpsDataResult.cc | 87 + .../DescribeVsDomainReqTrafficDataRequest.cc | 117 + .../DescribeVsDomainReqTrafficDataResult.cc | 87 + .../DescribeVsDomainSnapshotDataRequest.cc | 84 + .../DescribeVsDomainSnapshotDataResult.cc | 80 + .../DescribeVsDomainTrafficDataRequest.cc | 117 + .../DescribeVsDomainTrafficDataResult.cc | 87 + vs/src/model/DescribeVsDomainUvDataRequest.cc | 84 + vs/src/model/DescribeVsDomainUvDataResult.cc | 73 + .../DescribeVsPullStreamInfoConfigRequest.cc | 62 + .../DescribeVsPullStreamInfoConfigResult.cc | 67 + ...DescribeVsStreamsNotifyUrlConfigRequest.cc | 62 + .../DescribeVsStreamsNotifyUrlConfigResult.cc | 58 + .../DescribeVsStreamsOnlineListRequest.cc | 161 + .../DescribeVsStreamsOnlineListResult.cc | 101 + .../DescribeVsStreamsPublishListRequest.cc | 161 + .../DescribeVsStreamsPublishListResult.cc | 109 + .../DescribeVsTopDomainsByFlowRequest.cc | 84 + .../model/DescribeVsTopDomainsByFlowResult.cc | 97 + ...escribeVsUpPeakPublishStreamDataRequest.cc | 95 + ...DescribeVsUpPeakPublishStreamDataResult.cc | 65 + .../DescribeVsUserResourcePackageRequest.cc | 62 + .../DescribeVsUserResourcePackageResult.cc | 67 + vs/src/model/ForbidVsStreamRequest.cc | 128 + vs/src/model/ForbidVsStreamResult.cc | 44 + vs/src/model/GotoPresetRequest.cc | 73 + vs/src/model/GotoPresetResult.cc | 51 + vs/src/model/ModifyDeviceAlarmRequest.cc | 95 + vs/src/model/ModifyDeviceAlarmResult.cc | 44 + vs/src/model/ModifyDeviceCaptureRequest.cc | 84 + vs/src/model/ModifyDeviceCaptureResult.cc | 44 + vs/src/model/ModifyDeviceChannelsRequest.cc | 95 + vs/src/model/ModifyDeviceChannelsResult.cc | 44 + vs/src/model/ModifyDeviceRequest.cc | 282 ++ vs/src/model/ModifyDeviceResult.cc | 51 + vs/src/model/ModifyDirectoryRequest.cc | 84 + vs/src/model/ModifyDirectoryResult.cc | 51 + vs/src/model/ModifyGroupRequest.cc | 227 + vs/src/model/ModifyGroupResult.cc | 51 + vs/src/model/ModifyParentPlatformRequest.cc | 161 + vs/src/model/ModifyParentPlatformResult.cc | 51 + vs/src/model/ModifyTemplateRequest.cc | 293 ++ vs/src/model/ModifyTemplateResult.cc | 51 + vs/src/model/ResumeVsStreamRequest.cc | 106 + vs/src/model/ResumeVsStreamResult.cc | 44 + vs/src/model/SetPresetRequest.cc | 73 + vs/src/model/SetPresetResult.cc | 51 + vs/src/model/SetVsDomainCertificateRequest.cc | 139 + vs/src/model/SetVsDomainCertificateResult.cc | 44 + .../SetVsStreamsNotifyUrlConfigRequest.cc | 95 + .../SetVsStreamsNotifyUrlConfigResult.cc | 44 + vs/src/model/StartDeviceRequest.cc | 62 + vs/src/model/StartDeviceResult.cc | 51 + vs/src/model/StartParentPlatformRequest.cc | 62 + vs/src/model/StartParentPlatformResult.cc | 51 + vs/src/model/StartRecordStreamRequest.cc | 95 + vs/src/model/StartRecordStreamResult.cc | 44 + vs/src/model/StartStreamRequest.cc | 84 + vs/src/model/StartStreamResult.cc | 58 + vs/src/model/StartTransferStreamRequest.cc | 84 + vs/src/model/StartTransferStreamResult.cc | 44 + vs/src/model/StopAdjustRequest.cc | 84 + vs/src/model/StopAdjustResult.cc | 51 + vs/src/model/StopDeviceRequest.cc | 73 + vs/src/model/StopDeviceResult.cc | 51 + vs/src/model/StopMoveRequest.cc | 95 + vs/src/model/StopMoveResult.cc | 51 + vs/src/model/StopRecordStreamRequest.cc | 95 + vs/src/model/StopRecordStreamResult.cc | 44 + vs/src/model/StopStreamRequest.cc | 84 + vs/src/model/StopStreamResult.cc | 51 + vs/src/model/StopTransferStreamRequest.cc | 73 + vs/src/model/StopTransferStreamResult.cc | 44 + vs/src/model/SyncCatalogsRequest.cc | 62 + vs/src/model/SyncCatalogsResult.cc | 51 + vs/src/model/UnbindDirectoryRequest.cc | 73 + vs/src/model/UnbindDirectoryResult.cc | 44 + .../UnbindParentPlatformDeviceRequest.cc | 73 + .../model/UnbindParentPlatformDeviceResult.cc | 44 + vs/src/model/UnbindPurchasedDeviceRequest.cc | 62 + vs/src/model/UnbindPurchasedDeviceResult.cc | 44 + vs/src/model/UnbindTemplateRequest.cc | 95 + vs/src/model/UnbindTemplateResult.cc | 72 + vs/src/model/UnlockDeviceRequest.cc | 62 + vs/src/model/UnlockDeviceResult.cc | 51 + .../UpdateVsPullStreamInfoConfigRequest.cc | 128 + .../UpdateVsPullStreamInfoConfigResult.cc | 44 + 477 files changed, 40745 insertions(+) create mode 100644 vs/CMakeLists.txt create mode 100644 vs/include/alibabacloud/vs/VsClient.h create mode 100644 vs/include/alibabacloud/vs/VsExport.h create mode 100644 vs/include/alibabacloud/vs/model/AddVsPullStreamInfoConfigRequest.h create mode 100644 vs/include/alibabacloud/vs/model/AddVsPullStreamInfoConfigResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindDirectoriesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindDirectoriesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindParentPlatformDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindParentPlatformDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindPurchasedDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindPurchasedDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindTemplateRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindTemplateResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindTemplatesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchBindTemplatesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchDeleteDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchDeleteDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchForbidVsStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchForbidVsStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchResumeVsStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchResumeVsStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchSetVsDomainConfigsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchSetVsDomainConfigsResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchStartDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchStartDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchStartStreamsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchStartStreamsResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchStopDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchStopDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchStopStreamsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchStopStreamsResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindDirectoriesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindDirectoriesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindTemplateRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindTemplateResult.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindTemplatesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BatchUnbindTemplatesResult.h create mode 100644 vs/include/alibabacloud/vs/model/BindDirectoryRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BindDirectoryResult.h create mode 100644 vs/include/alibabacloud/vs/model/BindParentPlatformDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BindParentPlatformDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/BindPurchasedDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BindPurchasedDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/BindTemplateRequest.h create mode 100644 vs/include/alibabacloud/vs/model/BindTemplateResult.h create mode 100644 vs/include/alibabacloud/vs/model/ContinuousAdjustRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ContinuousAdjustResult.h create mode 100644 vs/include/alibabacloud/vs/model/ContinuousMoveRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ContinuousMoveResult.h create mode 100644 vs/include/alibabacloud/vs/model/CreateDeviceAlarmRequest.h create mode 100644 vs/include/alibabacloud/vs/model/CreateDeviceAlarmResult.h create mode 100644 vs/include/alibabacloud/vs/model/CreateDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/CreateDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/CreateDirectoryRequest.h create mode 100644 vs/include/alibabacloud/vs/model/CreateDirectoryResult.h create mode 100644 vs/include/alibabacloud/vs/model/CreateGroupRequest.h create mode 100644 vs/include/alibabacloud/vs/model/CreateGroupResult.h create mode 100644 vs/include/alibabacloud/vs/model/CreateParentPlatformRequest.h create mode 100644 vs/include/alibabacloud/vs/model/CreateParentPlatformResult.h create mode 100644 vs/include/alibabacloud/vs/model/CreateStreamSnapshotRequest.h create mode 100644 vs/include/alibabacloud/vs/model/CreateStreamSnapshotResult.h create mode 100644 vs/include/alibabacloud/vs/model/CreateTemplateRequest.h create mode 100644 vs/include/alibabacloud/vs/model/CreateTemplateResult.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteDirectoryRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteDirectoryResult.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteGroupRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteGroupResult.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteParentPlatformRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteParentPlatformResult.h create mode 100644 vs/include/alibabacloud/vs/model/DeletePresetRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DeletePresetResult.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteTemplateRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteTemplateResult.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigResult.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeAccountStatRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeAccountStatResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDeviceChannelsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDeviceChannelsResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDeviceGatewayRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDeviceGatewayResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDeviceURLRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDeviceURLResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDirectoriesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDirectoriesResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDirectoryRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeDirectoryResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeGroupRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeGroupResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeGroupsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeGroupsResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeParentPlatformDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeParentPlatformDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeParentPlatformRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeParentPlatformResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeParentPlatformsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeParentPlatformsResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribePresetsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribePresetsResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribePurchasedDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribePurchasedDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribePurchasedDevicesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribePurchasedDevicesResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeRecordsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeRecordsResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeStreamURLRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeStreamURLResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeStreamVodListRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeStreamVodListResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeStreamsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeStreamsResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeTemplateRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeTemplateResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeTemplatesRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeTemplatesResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVodStreamURLRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVodStreamURLResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsCertificateDetailRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsCertificateDetailResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsCertificateListRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsCertificateListResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainBpsDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainBpsDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainConfigsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainConfigsResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainDetailRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainDetailResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainPvDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainPvDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainRecordDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainRecordDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainRegionDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainRegionDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainTrafficDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainTrafficDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainUvDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsDomainUvDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsStreamsOnlineListRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsStreamsOnlineListResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsStreamsPublishListRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsStreamsPublishListResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataResult.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsUserResourcePackageRequest.h create mode 100644 vs/include/alibabacloud/vs/model/DescribeVsUserResourcePackageResult.h create mode 100644 vs/include/alibabacloud/vs/model/ForbidVsStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ForbidVsStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/GotoPresetRequest.h create mode 100644 vs/include/alibabacloud/vs/model/GotoPresetResult.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDeviceAlarmRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDeviceAlarmResult.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDeviceCaptureRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDeviceCaptureResult.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDeviceChannelsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDeviceChannelsResult.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDirectoryRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyDirectoryResult.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyGroupRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyGroupResult.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyParentPlatformRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyParentPlatformResult.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyTemplateRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ModifyTemplateResult.h create mode 100644 vs/include/alibabacloud/vs/model/ResumeVsStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/ResumeVsStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/SetPresetRequest.h create mode 100644 vs/include/alibabacloud/vs/model/SetPresetResult.h create mode 100644 vs/include/alibabacloud/vs/model/SetVsDomainCertificateRequest.h create mode 100644 vs/include/alibabacloud/vs/model/SetVsDomainCertificateResult.h create mode 100644 vs/include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigRequest.h create mode 100644 vs/include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigResult.h create mode 100644 vs/include/alibabacloud/vs/model/StartDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StartDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/StartParentPlatformRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StartParentPlatformResult.h create mode 100644 vs/include/alibabacloud/vs/model/StartRecordStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StartRecordStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/StartStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StartStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/StartTransferStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StartTransferStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/StopAdjustRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StopAdjustResult.h create mode 100644 vs/include/alibabacloud/vs/model/StopDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StopDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/StopMoveRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StopMoveResult.h create mode 100644 vs/include/alibabacloud/vs/model/StopRecordStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StopRecordStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/StopStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StopStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/StopTransferStreamRequest.h create mode 100644 vs/include/alibabacloud/vs/model/StopTransferStreamResult.h create mode 100644 vs/include/alibabacloud/vs/model/SyncCatalogsRequest.h create mode 100644 vs/include/alibabacloud/vs/model/SyncCatalogsResult.h create mode 100644 vs/include/alibabacloud/vs/model/UnbindDirectoryRequest.h create mode 100644 vs/include/alibabacloud/vs/model/UnbindDirectoryResult.h create mode 100644 vs/include/alibabacloud/vs/model/UnbindParentPlatformDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/UnbindParentPlatformDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/UnbindPurchasedDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/UnbindPurchasedDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/UnbindTemplateRequest.h create mode 100644 vs/include/alibabacloud/vs/model/UnbindTemplateResult.h create mode 100644 vs/include/alibabacloud/vs/model/UnlockDeviceRequest.h create mode 100644 vs/include/alibabacloud/vs/model/UnlockDeviceResult.h create mode 100644 vs/include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigRequest.h create mode 100644 vs/include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigResult.h create mode 100644 vs/src/VsClient.cc create mode 100644 vs/src/model/AddVsPullStreamInfoConfigRequest.cc create mode 100644 vs/src/model/AddVsPullStreamInfoConfigResult.cc create mode 100644 vs/src/model/BatchBindDirectoriesRequest.cc create mode 100644 vs/src/model/BatchBindDirectoriesResult.cc create mode 100644 vs/src/model/BatchBindParentPlatformDevicesRequest.cc create mode 100644 vs/src/model/BatchBindParentPlatformDevicesResult.cc create mode 100644 vs/src/model/BatchBindPurchasedDevicesRequest.cc create mode 100644 vs/src/model/BatchBindPurchasedDevicesResult.cc create mode 100644 vs/src/model/BatchBindTemplateRequest.cc create mode 100644 vs/src/model/BatchBindTemplateResult.cc create mode 100644 vs/src/model/BatchBindTemplatesRequest.cc create mode 100644 vs/src/model/BatchBindTemplatesResult.cc create mode 100644 vs/src/model/BatchDeleteDevicesRequest.cc create mode 100644 vs/src/model/BatchDeleteDevicesResult.cc create mode 100644 vs/src/model/BatchDeleteVsDomainConfigsRequest.cc create mode 100644 vs/src/model/BatchDeleteVsDomainConfigsResult.cc create mode 100644 vs/src/model/BatchForbidVsStreamRequest.cc create mode 100644 vs/src/model/BatchForbidVsStreamResult.cc create mode 100644 vs/src/model/BatchResumeVsStreamRequest.cc create mode 100644 vs/src/model/BatchResumeVsStreamResult.cc create mode 100644 vs/src/model/BatchSetVsDomainConfigsRequest.cc create mode 100644 vs/src/model/BatchSetVsDomainConfigsResult.cc create mode 100644 vs/src/model/BatchStartDevicesRequest.cc create mode 100644 vs/src/model/BatchStartDevicesResult.cc create mode 100644 vs/src/model/BatchStartStreamsRequest.cc create mode 100644 vs/src/model/BatchStartStreamsResult.cc create mode 100644 vs/src/model/BatchStopDevicesRequest.cc create mode 100644 vs/src/model/BatchStopDevicesResult.cc create mode 100644 vs/src/model/BatchStopStreamsRequest.cc create mode 100644 vs/src/model/BatchStopStreamsResult.cc create mode 100644 vs/src/model/BatchUnbindDirectoriesRequest.cc create mode 100644 vs/src/model/BatchUnbindDirectoriesResult.cc create mode 100644 vs/src/model/BatchUnbindParentPlatformDevicesRequest.cc create mode 100644 vs/src/model/BatchUnbindParentPlatformDevicesResult.cc create mode 100644 vs/src/model/BatchUnbindPurchasedDevicesRequest.cc create mode 100644 vs/src/model/BatchUnbindPurchasedDevicesResult.cc create mode 100644 vs/src/model/BatchUnbindTemplateRequest.cc create mode 100644 vs/src/model/BatchUnbindTemplateResult.cc create mode 100644 vs/src/model/BatchUnbindTemplatesRequest.cc create mode 100644 vs/src/model/BatchUnbindTemplatesResult.cc create mode 100644 vs/src/model/BindDirectoryRequest.cc create mode 100644 vs/src/model/BindDirectoryResult.cc create mode 100644 vs/src/model/BindParentPlatformDeviceRequest.cc create mode 100644 vs/src/model/BindParentPlatformDeviceResult.cc create mode 100644 vs/src/model/BindPurchasedDeviceRequest.cc create mode 100644 vs/src/model/BindPurchasedDeviceResult.cc create mode 100644 vs/src/model/BindTemplateRequest.cc create mode 100644 vs/src/model/BindTemplateResult.cc create mode 100644 vs/src/model/ContinuousAdjustRequest.cc create mode 100644 vs/src/model/ContinuousAdjustResult.cc create mode 100644 vs/src/model/ContinuousMoveRequest.cc create mode 100644 vs/src/model/ContinuousMoveResult.cc create mode 100644 vs/src/model/CreateDeviceAlarmRequest.cc create mode 100644 vs/src/model/CreateDeviceAlarmResult.cc create mode 100644 vs/src/model/CreateDeviceRequest.cc create mode 100644 vs/src/model/CreateDeviceResult.cc create mode 100644 vs/src/model/CreateDirectoryRequest.cc create mode 100644 vs/src/model/CreateDirectoryResult.cc create mode 100644 vs/src/model/CreateGroupRequest.cc create mode 100644 vs/src/model/CreateGroupResult.cc create mode 100644 vs/src/model/CreateParentPlatformRequest.cc create mode 100644 vs/src/model/CreateParentPlatformResult.cc create mode 100644 vs/src/model/CreateStreamSnapshotRequest.cc create mode 100644 vs/src/model/CreateStreamSnapshotResult.cc create mode 100644 vs/src/model/CreateTemplateRequest.cc create mode 100644 vs/src/model/CreateTemplateResult.cc create mode 100644 vs/src/model/DeleteDeviceRequest.cc create mode 100644 vs/src/model/DeleteDeviceResult.cc create mode 100644 vs/src/model/DeleteDirectoryRequest.cc create mode 100644 vs/src/model/DeleteDirectoryResult.cc create mode 100644 vs/src/model/DeleteGroupRequest.cc create mode 100644 vs/src/model/DeleteGroupResult.cc create mode 100644 vs/src/model/DeleteParentPlatformRequest.cc create mode 100644 vs/src/model/DeleteParentPlatformResult.cc create mode 100644 vs/src/model/DeletePresetRequest.cc create mode 100644 vs/src/model/DeletePresetResult.cc create mode 100644 vs/src/model/DeleteTemplateRequest.cc create mode 100644 vs/src/model/DeleteTemplateResult.cc create mode 100644 vs/src/model/DeleteVsPullStreamInfoConfigRequest.cc create mode 100644 vs/src/model/DeleteVsPullStreamInfoConfigResult.cc create mode 100644 vs/src/model/DeleteVsStreamsNotifyUrlConfigRequest.cc create mode 100644 vs/src/model/DeleteVsStreamsNotifyUrlConfigResult.cc create mode 100644 vs/src/model/DescribeAccountStatRequest.cc create mode 100644 vs/src/model/DescribeAccountStatResult.cc create mode 100644 vs/src/model/DescribeDeviceChannelsRequest.cc create mode 100644 vs/src/model/DescribeDeviceChannelsResult.cc create mode 100644 vs/src/model/DescribeDeviceGatewayRequest.cc create mode 100644 vs/src/model/DescribeDeviceGatewayResult.cc create mode 100644 vs/src/model/DescribeDeviceRequest.cc create mode 100644 vs/src/model/DescribeDeviceResult.cc create mode 100644 vs/src/model/DescribeDeviceURLRequest.cc create mode 100644 vs/src/model/DescribeDeviceURLResult.cc create mode 100644 vs/src/model/DescribeDevicesRequest.cc create mode 100644 vs/src/model/DescribeDevicesResult.cc create mode 100644 vs/src/model/DescribeDirectoriesRequest.cc create mode 100644 vs/src/model/DescribeDirectoriesResult.cc create mode 100644 vs/src/model/DescribeDirectoryRequest.cc create mode 100644 vs/src/model/DescribeDirectoryResult.cc create mode 100644 vs/src/model/DescribeGroupRequest.cc create mode 100644 vs/src/model/DescribeGroupResult.cc create mode 100644 vs/src/model/DescribeGroupsRequest.cc create mode 100644 vs/src/model/DescribeGroupsResult.cc create mode 100644 vs/src/model/DescribeParentPlatformDevicesRequest.cc create mode 100644 vs/src/model/DescribeParentPlatformDevicesResult.cc create mode 100644 vs/src/model/DescribeParentPlatformRequest.cc create mode 100644 vs/src/model/DescribeParentPlatformResult.cc create mode 100644 vs/src/model/DescribeParentPlatformsRequest.cc create mode 100644 vs/src/model/DescribeParentPlatformsResult.cc create mode 100644 vs/src/model/DescribePresetsRequest.cc create mode 100644 vs/src/model/DescribePresetsResult.cc create mode 100644 vs/src/model/DescribePurchasedDeviceRequest.cc create mode 100644 vs/src/model/DescribePurchasedDeviceResult.cc create mode 100644 vs/src/model/DescribePurchasedDevicesRequest.cc create mode 100644 vs/src/model/DescribePurchasedDevicesResult.cc create mode 100644 vs/src/model/DescribeRecordsRequest.cc create mode 100644 vs/src/model/DescribeRecordsResult.cc create mode 100644 vs/src/model/DescribeStreamRequest.cc create mode 100644 vs/src/model/DescribeStreamResult.cc create mode 100644 vs/src/model/DescribeStreamURLRequest.cc create mode 100644 vs/src/model/DescribeStreamURLResult.cc create mode 100644 vs/src/model/DescribeStreamVodListRequest.cc create mode 100644 vs/src/model/DescribeStreamVodListResult.cc create mode 100644 vs/src/model/DescribeStreamsRequest.cc create mode 100644 vs/src/model/DescribeStreamsResult.cc create mode 100644 vs/src/model/DescribeTemplateRequest.cc create mode 100644 vs/src/model/DescribeTemplateResult.cc create mode 100644 vs/src/model/DescribeTemplatesRequest.cc create mode 100644 vs/src/model/DescribeTemplatesResult.cc create mode 100644 vs/src/model/DescribeVodStreamURLRequest.cc create mode 100644 vs/src/model/DescribeVodStreamURLResult.cc create mode 100644 vs/src/model/DescribeVsCertificateDetailRequest.cc create mode 100644 vs/src/model/DescribeVsCertificateDetailResult.cc create mode 100644 vs/src/model/DescribeVsCertificateListRequest.cc create mode 100644 vs/src/model/DescribeVsCertificateListResult.cc create mode 100644 vs/src/model/DescribeVsDomainBpsDataRequest.cc create mode 100644 vs/src/model/DescribeVsDomainBpsDataResult.cc create mode 100644 vs/src/model/DescribeVsDomainCertificateInfoRequest.cc create mode 100644 vs/src/model/DescribeVsDomainCertificateInfoResult.cc create mode 100644 vs/src/model/DescribeVsDomainConfigsRequest.cc create mode 100644 vs/src/model/DescribeVsDomainConfigsResult.cc create mode 100644 vs/src/model/DescribeVsDomainDetailRequest.cc create mode 100644 vs/src/model/DescribeVsDomainDetailResult.cc create mode 100644 vs/src/model/DescribeVsDomainPvDataRequest.cc create mode 100644 vs/src/model/DescribeVsDomainPvDataResult.cc create mode 100644 vs/src/model/DescribeVsDomainRecordDataRequest.cc create mode 100644 vs/src/model/DescribeVsDomainRecordDataResult.cc create mode 100644 vs/src/model/DescribeVsDomainRegionDataRequest.cc create mode 100644 vs/src/model/DescribeVsDomainRegionDataResult.cc create mode 100644 vs/src/model/DescribeVsDomainReqBpsDataRequest.cc create mode 100644 vs/src/model/DescribeVsDomainReqBpsDataResult.cc create mode 100644 vs/src/model/DescribeVsDomainReqTrafficDataRequest.cc create mode 100644 vs/src/model/DescribeVsDomainReqTrafficDataResult.cc create mode 100644 vs/src/model/DescribeVsDomainSnapshotDataRequest.cc create mode 100644 vs/src/model/DescribeVsDomainSnapshotDataResult.cc create mode 100644 vs/src/model/DescribeVsDomainTrafficDataRequest.cc create mode 100644 vs/src/model/DescribeVsDomainTrafficDataResult.cc create mode 100644 vs/src/model/DescribeVsDomainUvDataRequest.cc create mode 100644 vs/src/model/DescribeVsDomainUvDataResult.cc create mode 100644 vs/src/model/DescribeVsPullStreamInfoConfigRequest.cc create mode 100644 vs/src/model/DescribeVsPullStreamInfoConfigResult.cc create mode 100644 vs/src/model/DescribeVsStreamsNotifyUrlConfigRequest.cc create mode 100644 vs/src/model/DescribeVsStreamsNotifyUrlConfigResult.cc create mode 100644 vs/src/model/DescribeVsStreamsOnlineListRequest.cc create mode 100644 vs/src/model/DescribeVsStreamsOnlineListResult.cc create mode 100644 vs/src/model/DescribeVsStreamsPublishListRequest.cc create mode 100644 vs/src/model/DescribeVsStreamsPublishListResult.cc create mode 100644 vs/src/model/DescribeVsTopDomainsByFlowRequest.cc create mode 100644 vs/src/model/DescribeVsTopDomainsByFlowResult.cc create mode 100644 vs/src/model/DescribeVsUpPeakPublishStreamDataRequest.cc create mode 100644 vs/src/model/DescribeVsUpPeakPublishStreamDataResult.cc create mode 100644 vs/src/model/DescribeVsUserResourcePackageRequest.cc create mode 100644 vs/src/model/DescribeVsUserResourcePackageResult.cc create mode 100644 vs/src/model/ForbidVsStreamRequest.cc create mode 100644 vs/src/model/ForbidVsStreamResult.cc create mode 100644 vs/src/model/GotoPresetRequest.cc create mode 100644 vs/src/model/GotoPresetResult.cc create mode 100644 vs/src/model/ModifyDeviceAlarmRequest.cc create mode 100644 vs/src/model/ModifyDeviceAlarmResult.cc create mode 100644 vs/src/model/ModifyDeviceCaptureRequest.cc create mode 100644 vs/src/model/ModifyDeviceCaptureResult.cc create mode 100644 vs/src/model/ModifyDeviceChannelsRequest.cc create mode 100644 vs/src/model/ModifyDeviceChannelsResult.cc create mode 100644 vs/src/model/ModifyDeviceRequest.cc create mode 100644 vs/src/model/ModifyDeviceResult.cc create mode 100644 vs/src/model/ModifyDirectoryRequest.cc create mode 100644 vs/src/model/ModifyDirectoryResult.cc create mode 100644 vs/src/model/ModifyGroupRequest.cc create mode 100644 vs/src/model/ModifyGroupResult.cc create mode 100644 vs/src/model/ModifyParentPlatformRequest.cc create mode 100644 vs/src/model/ModifyParentPlatformResult.cc create mode 100644 vs/src/model/ModifyTemplateRequest.cc create mode 100644 vs/src/model/ModifyTemplateResult.cc create mode 100644 vs/src/model/ResumeVsStreamRequest.cc create mode 100644 vs/src/model/ResumeVsStreamResult.cc create mode 100644 vs/src/model/SetPresetRequest.cc create mode 100644 vs/src/model/SetPresetResult.cc create mode 100644 vs/src/model/SetVsDomainCertificateRequest.cc create mode 100644 vs/src/model/SetVsDomainCertificateResult.cc create mode 100644 vs/src/model/SetVsStreamsNotifyUrlConfigRequest.cc create mode 100644 vs/src/model/SetVsStreamsNotifyUrlConfigResult.cc create mode 100644 vs/src/model/StartDeviceRequest.cc create mode 100644 vs/src/model/StartDeviceResult.cc create mode 100644 vs/src/model/StartParentPlatformRequest.cc create mode 100644 vs/src/model/StartParentPlatformResult.cc create mode 100644 vs/src/model/StartRecordStreamRequest.cc create mode 100644 vs/src/model/StartRecordStreamResult.cc create mode 100644 vs/src/model/StartStreamRequest.cc create mode 100644 vs/src/model/StartStreamResult.cc create mode 100644 vs/src/model/StartTransferStreamRequest.cc create mode 100644 vs/src/model/StartTransferStreamResult.cc create mode 100644 vs/src/model/StopAdjustRequest.cc create mode 100644 vs/src/model/StopAdjustResult.cc create mode 100644 vs/src/model/StopDeviceRequest.cc create mode 100644 vs/src/model/StopDeviceResult.cc create mode 100644 vs/src/model/StopMoveRequest.cc create mode 100644 vs/src/model/StopMoveResult.cc create mode 100644 vs/src/model/StopRecordStreamRequest.cc create mode 100644 vs/src/model/StopRecordStreamResult.cc create mode 100644 vs/src/model/StopStreamRequest.cc create mode 100644 vs/src/model/StopStreamResult.cc create mode 100644 vs/src/model/StopTransferStreamRequest.cc create mode 100644 vs/src/model/StopTransferStreamResult.cc create mode 100644 vs/src/model/SyncCatalogsRequest.cc create mode 100644 vs/src/model/SyncCatalogsResult.cc create mode 100644 vs/src/model/UnbindDirectoryRequest.cc create mode 100644 vs/src/model/UnbindDirectoryResult.cc create mode 100644 vs/src/model/UnbindParentPlatformDeviceRequest.cc create mode 100644 vs/src/model/UnbindParentPlatformDeviceResult.cc create mode 100644 vs/src/model/UnbindPurchasedDeviceRequest.cc create mode 100644 vs/src/model/UnbindPurchasedDeviceResult.cc create mode 100644 vs/src/model/UnbindTemplateRequest.cc create mode 100644 vs/src/model/UnbindTemplateResult.cc create mode 100644 vs/src/model/UnlockDeviceRequest.cc create mode 100644 vs/src/model/UnlockDeviceResult.cc create mode 100644 vs/src/model/UpdateVsPullStreamInfoConfigRequest.cc create mode 100644 vs/src/model/UpdateVsPullStreamInfoConfigResult.cc diff --git a/CHANGELOG b/CHANGELOG index 9fd9b96dd..cf3521833 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2020-09-22 Version: patch +- Generated 2018-12-12 for `vs`. + 2020-09-22 Version: patch - Generated 2016-11-01 for `live`. diff --git a/vs/CMakeLists.txt b/vs/CMakeLists.txt new file mode 100644 index 000000000..ebc1da338 --- /dev/null +++ b/vs/CMakeLists.txt @@ -0,0 +1,554 @@ +# +# Copyright 2009-2017 Alibaba Cloud All rights reserved. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include) + +set(vs_public_header + include/alibabacloud/vs/VsClient.h + include/alibabacloud/vs/VsExport.h ) + +set(vs_public_header_model + include/alibabacloud/vs/model/AddVsPullStreamInfoConfigRequest.h + include/alibabacloud/vs/model/AddVsPullStreamInfoConfigResult.h + include/alibabacloud/vs/model/BatchBindDirectoriesRequest.h + include/alibabacloud/vs/model/BatchBindDirectoriesResult.h + include/alibabacloud/vs/model/BatchBindParentPlatformDevicesRequest.h + include/alibabacloud/vs/model/BatchBindParentPlatformDevicesResult.h + include/alibabacloud/vs/model/BatchBindPurchasedDevicesRequest.h + include/alibabacloud/vs/model/BatchBindPurchasedDevicesResult.h + include/alibabacloud/vs/model/BatchBindTemplateRequest.h + include/alibabacloud/vs/model/BatchBindTemplateResult.h + include/alibabacloud/vs/model/BatchBindTemplatesRequest.h + include/alibabacloud/vs/model/BatchBindTemplatesResult.h + include/alibabacloud/vs/model/BatchDeleteDevicesRequest.h + include/alibabacloud/vs/model/BatchDeleteDevicesResult.h + include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsRequest.h + include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsResult.h + include/alibabacloud/vs/model/BatchForbidVsStreamRequest.h + include/alibabacloud/vs/model/BatchForbidVsStreamResult.h + include/alibabacloud/vs/model/BatchResumeVsStreamRequest.h + include/alibabacloud/vs/model/BatchResumeVsStreamResult.h + include/alibabacloud/vs/model/BatchSetVsDomainConfigsRequest.h + include/alibabacloud/vs/model/BatchSetVsDomainConfigsResult.h + include/alibabacloud/vs/model/BatchStartDevicesRequest.h + include/alibabacloud/vs/model/BatchStartDevicesResult.h + include/alibabacloud/vs/model/BatchStartStreamsRequest.h + include/alibabacloud/vs/model/BatchStartStreamsResult.h + include/alibabacloud/vs/model/BatchStopDevicesRequest.h + include/alibabacloud/vs/model/BatchStopDevicesResult.h + include/alibabacloud/vs/model/BatchStopStreamsRequest.h + include/alibabacloud/vs/model/BatchStopStreamsResult.h + include/alibabacloud/vs/model/BatchUnbindDirectoriesRequest.h + include/alibabacloud/vs/model/BatchUnbindDirectoriesResult.h + include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesRequest.h + include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesResult.h + include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesRequest.h + include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesResult.h + include/alibabacloud/vs/model/BatchUnbindTemplateRequest.h + include/alibabacloud/vs/model/BatchUnbindTemplateResult.h + include/alibabacloud/vs/model/BatchUnbindTemplatesRequest.h + include/alibabacloud/vs/model/BatchUnbindTemplatesResult.h + include/alibabacloud/vs/model/BindDirectoryRequest.h + include/alibabacloud/vs/model/BindDirectoryResult.h + include/alibabacloud/vs/model/BindParentPlatformDeviceRequest.h + include/alibabacloud/vs/model/BindParentPlatformDeviceResult.h + include/alibabacloud/vs/model/BindPurchasedDeviceRequest.h + include/alibabacloud/vs/model/BindPurchasedDeviceResult.h + include/alibabacloud/vs/model/BindTemplateRequest.h + include/alibabacloud/vs/model/BindTemplateResult.h + include/alibabacloud/vs/model/ContinuousAdjustRequest.h + include/alibabacloud/vs/model/ContinuousAdjustResult.h + include/alibabacloud/vs/model/ContinuousMoveRequest.h + include/alibabacloud/vs/model/ContinuousMoveResult.h + include/alibabacloud/vs/model/CreateDeviceRequest.h + include/alibabacloud/vs/model/CreateDeviceResult.h + include/alibabacloud/vs/model/CreateDeviceAlarmRequest.h + include/alibabacloud/vs/model/CreateDeviceAlarmResult.h + include/alibabacloud/vs/model/CreateDirectoryRequest.h + include/alibabacloud/vs/model/CreateDirectoryResult.h + include/alibabacloud/vs/model/CreateGroupRequest.h + include/alibabacloud/vs/model/CreateGroupResult.h + include/alibabacloud/vs/model/CreateParentPlatformRequest.h + include/alibabacloud/vs/model/CreateParentPlatformResult.h + include/alibabacloud/vs/model/CreateStreamSnapshotRequest.h + include/alibabacloud/vs/model/CreateStreamSnapshotResult.h + include/alibabacloud/vs/model/CreateTemplateRequest.h + include/alibabacloud/vs/model/CreateTemplateResult.h + include/alibabacloud/vs/model/DeleteDeviceRequest.h + include/alibabacloud/vs/model/DeleteDeviceResult.h + include/alibabacloud/vs/model/DeleteDirectoryRequest.h + include/alibabacloud/vs/model/DeleteDirectoryResult.h + include/alibabacloud/vs/model/DeleteGroupRequest.h + include/alibabacloud/vs/model/DeleteGroupResult.h + include/alibabacloud/vs/model/DeleteParentPlatformRequest.h + include/alibabacloud/vs/model/DeleteParentPlatformResult.h + include/alibabacloud/vs/model/DeletePresetRequest.h + include/alibabacloud/vs/model/DeletePresetResult.h + include/alibabacloud/vs/model/DeleteTemplateRequest.h + include/alibabacloud/vs/model/DeleteTemplateResult.h + include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigRequest.h + include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigResult.h + include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigRequest.h + include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigResult.h + include/alibabacloud/vs/model/DescribeAccountStatRequest.h + include/alibabacloud/vs/model/DescribeAccountStatResult.h + include/alibabacloud/vs/model/DescribeDeviceRequest.h + include/alibabacloud/vs/model/DescribeDeviceResult.h + include/alibabacloud/vs/model/DescribeDeviceChannelsRequest.h + include/alibabacloud/vs/model/DescribeDeviceChannelsResult.h + include/alibabacloud/vs/model/DescribeDeviceGatewayRequest.h + include/alibabacloud/vs/model/DescribeDeviceGatewayResult.h + include/alibabacloud/vs/model/DescribeDeviceURLRequest.h + include/alibabacloud/vs/model/DescribeDeviceURLResult.h + include/alibabacloud/vs/model/DescribeDevicesRequest.h + include/alibabacloud/vs/model/DescribeDevicesResult.h + include/alibabacloud/vs/model/DescribeDirectoriesRequest.h + include/alibabacloud/vs/model/DescribeDirectoriesResult.h + include/alibabacloud/vs/model/DescribeDirectoryRequest.h + include/alibabacloud/vs/model/DescribeDirectoryResult.h + include/alibabacloud/vs/model/DescribeGroupRequest.h + include/alibabacloud/vs/model/DescribeGroupResult.h + include/alibabacloud/vs/model/DescribeGroupsRequest.h + include/alibabacloud/vs/model/DescribeGroupsResult.h + include/alibabacloud/vs/model/DescribeParentPlatformRequest.h + include/alibabacloud/vs/model/DescribeParentPlatformResult.h + include/alibabacloud/vs/model/DescribeParentPlatformDevicesRequest.h + include/alibabacloud/vs/model/DescribeParentPlatformDevicesResult.h + include/alibabacloud/vs/model/DescribeParentPlatformsRequest.h + include/alibabacloud/vs/model/DescribeParentPlatformsResult.h + include/alibabacloud/vs/model/DescribePresetsRequest.h + include/alibabacloud/vs/model/DescribePresetsResult.h + include/alibabacloud/vs/model/DescribePurchasedDeviceRequest.h + include/alibabacloud/vs/model/DescribePurchasedDeviceResult.h + include/alibabacloud/vs/model/DescribePurchasedDevicesRequest.h + include/alibabacloud/vs/model/DescribePurchasedDevicesResult.h + include/alibabacloud/vs/model/DescribeRecordsRequest.h + include/alibabacloud/vs/model/DescribeRecordsResult.h + include/alibabacloud/vs/model/DescribeStreamRequest.h + include/alibabacloud/vs/model/DescribeStreamResult.h + include/alibabacloud/vs/model/DescribeStreamURLRequest.h + include/alibabacloud/vs/model/DescribeStreamURLResult.h + include/alibabacloud/vs/model/DescribeStreamVodListRequest.h + include/alibabacloud/vs/model/DescribeStreamVodListResult.h + include/alibabacloud/vs/model/DescribeStreamsRequest.h + include/alibabacloud/vs/model/DescribeStreamsResult.h + include/alibabacloud/vs/model/DescribeTemplateRequest.h + include/alibabacloud/vs/model/DescribeTemplateResult.h + include/alibabacloud/vs/model/DescribeTemplatesRequest.h + include/alibabacloud/vs/model/DescribeTemplatesResult.h + include/alibabacloud/vs/model/DescribeVodStreamURLRequest.h + include/alibabacloud/vs/model/DescribeVodStreamURLResult.h + include/alibabacloud/vs/model/DescribeVsCertificateDetailRequest.h + include/alibabacloud/vs/model/DescribeVsCertificateDetailResult.h + include/alibabacloud/vs/model/DescribeVsCertificateListRequest.h + include/alibabacloud/vs/model/DescribeVsCertificateListResult.h + include/alibabacloud/vs/model/DescribeVsDomainBpsDataRequest.h + include/alibabacloud/vs/model/DescribeVsDomainBpsDataResult.h + include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoRequest.h + include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoResult.h + include/alibabacloud/vs/model/DescribeVsDomainConfigsRequest.h + include/alibabacloud/vs/model/DescribeVsDomainConfigsResult.h + include/alibabacloud/vs/model/DescribeVsDomainDetailRequest.h + include/alibabacloud/vs/model/DescribeVsDomainDetailResult.h + include/alibabacloud/vs/model/DescribeVsDomainPvDataRequest.h + include/alibabacloud/vs/model/DescribeVsDomainPvDataResult.h + include/alibabacloud/vs/model/DescribeVsDomainRecordDataRequest.h + include/alibabacloud/vs/model/DescribeVsDomainRecordDataResult.h + include/alibabacloud/vs/model/DescribeVsDomainRegionDataRequest.h + include/alibabacloud/vs/model/DescribeVsDomainRegionDataResult.h + include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataRequest.h + include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataResult.h + include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataRequest.h + include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataResult.h + include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataRequest.h + include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataResult.h + include/alibabacloud/vs/model/DescribeVsDomainTrafficDataRequest.h + include/alibabacloud/vs/model/DescribeVsDomainTrafficDataResult.h + include/alibabacloud/vs/model/DescribeVsDomainUvDataRequest.h + include/alibabacloud/vs/model/DescribeVsDomainUvDataResult.h + include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigRequest.h + include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigResult.h + include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigRequest.h + include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigResult.h + include/alibabacloud/vs/model/DescribeVsStreamsOnlineListRequest.h + include/alibabacloud/vs/model/DescribeVsStreamsOnlineListResult.h + include/alibabacloud/vs/model/DescribeVsStreamsPublishListRequest.h + include/alibabacloud/vs/model/DescribeVsStreamsPublishListResult.h + include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowRequest.h + include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowResult.h + include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataRequest.h + include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataResult.h + include/alibabacloud/vs/model/DescribeVsUserResourcePackageRequest.h + include/alibabacloud/vs/model/DescribeVsUserResourcePackageResult.h + include/alibabacloud/vs/model/ForbidVsStreamRequest.h + include/alibabacloud/vs/model/ForbidVsStreamResult.h + include/alibabacloud/vs/model/GotoPresetRequest.h + include/alibabacloud/vs/model/GotoPresetResult.h + include/alibabacloud/vs/model/ModifyDeviceRequest.h + include/alibabacloud/vs/model/ModifyDeviceResult.h + include/alibabacloud/vs/model/ModifyDeviceAlarmRequest.h + include/alibabacloud/vs/model/ModifyDeviceAlarmResult.h + include/alibabacloud/vs/model/ModifyDeviceCaptureRequest.h + include/alibabacloud/vs/model/ModifyDeviceCaptureResult.h + include/alibabacloud/vs/model/ModifyDeviceChannelsRequest.h + include/alibabacloud/vs/model/ModifyDeviceChannelsResult.h + include/alibabacloud/vs/model/ModifyDirectoryRequest.h + include/alibabacloud/vs/model/ModifyDirectoryResult.h + include/alibabacloud/vs/model/ModifyGroupRequest.h + include/alibabacloud/vs/model/ModifyGroupResult.h + include/alibabacloud/vs/model/ModifyParentPlatformRequest.h + include/alibabacloud/vs/model/ModifyParentPlatformResult.h + include/alibabacloud/vs/model/ModifyTemplateRequest.h + include/alibabacloud/vs/model/ModifyTemplateResult.h + include/alibabacloud/vs/model/ResumeVsStreamRequest.h + include/alibabacloud/vs/model/ResumeVsStreamResult.h + include/alibabacloud/vs/model/SetPresetRequest.h + include/alibabacloud/vs/model/SetPresetResult.h + include/alibabacloud/vs/model/SetVsDomainCertificateRequest.h + include/alibabacloud/vs/model/SetVsDomainCertificateResult.h + include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigRequest.h + include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigResult.h + include/alibabacloud/vs/model/StartDeviceRequest.h + include/alibabacloud/vs/model/StartDeviceResult.h + include/alibabacloud/vs/model/StartParentPlatformRequest.h + include/alibabacloud/vs/model/StartParentPlatformResult.h + include/alibabacloud/vs/model/StartRecordStreamRequest.h + include/alibabacloud/vs/model/StartRecordStreamResult.h + include/alibabacloud/vs/model/StartStreamRequest.h + include/alibabacloud/vs/model/StartStreamResult.h + include/alibabacloud/vs/model/StartTransferStreamRequest.h + include/alibabacloud/vs/model/StartTransferStreamResult.h + include/alibabacloud/vs/model/StopAdjustRequest.h + include/alibabacloud/vs/model/StopAdjustResult.h + include/alibabacloud/vs/model/StopDeviceRequest.h + include/alibabacloud/vs/model/StopDeviceResult.h + include/alibabacloud/vs/model/StopMoveRequest.h + include/alibabacloud/vs/model/StopMoveResult.h + include/alibabacloud/vs/model/StopRecordStreamRequest.h + include/alibabacloud/vs/model/StopRecordStreamResult.h + include/alibabacloud/vs/model/StopStreamRequest.h + include/alibabacloud/vs/model/StopStreamResult.h + include/alibabacloud/vs/model/StopTransferStreamRequest.h + include/alibabacloud/vs/model/StopTransferStreamResult.h + include/alibabacloud/vs/model/SyncCatalogsRequest.h + include/alibabacloud/vs/model/SyncCatalogsResult.h + include/alibabacloud/vs/model/UnbindDirectoryRequest.h + include/alibabacloud/vs/model/UnbindDirectoryResult.h + include/alibabacloud/vs/model/UnbindParentPlatformDeviceRequest.h + include/alibabacloud/vs/model/UnbindParentPlatformDeviceResult.h + include/alibabacloud/vs/model/UnbindPurchasedDeviceRequest.h + include/alibabacloud/vs/model/UnbindPurchasedDeviceResult.h + include/alibabacloud/vs/model/UnbindTemplateRequest.h + include/alibabacloud/vs/model/UnbindTemplateResult.h + include/alibabacloud/vs/model/UnlockDeviceRequest.h + include/alibabacloud/vs/model/UnlockDeviceResult.h + include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigRequest.h + include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigResult.h ) + +set(vs_src + src/VsClient.cc + src/model/AddVsPullStreamInfoConfigRequest.cc + src/model/AddVsPullStreamInfoConfigResult.cc + src/model/BatchBindDirectoriesRequest.cc + src/model/BatchBindDirectoriesResult.cc + src/model/BatchBindParentPlatformDevicesRequest.cc + src/model/BatchBindParentPlatformDevicesResult.cc + src/model/BatchBindPurchasedDevicesRequest.cc + src/model/BatchBindPurchasedDevicesResult.cc + src/model/BatchBindTemplateRequest.cc + src/model/BatchBindTemplateResult.cc + src/model/BatchBindTemplatesRequest.cc + src/model/BatchBindTemplatesResult.cc + src/model/BatchDeleteDevicesRequest.cc + src/model/BatchDeleteDevicesResult.cc + src/model/BatchDeleteVsDomainConfigsRequest.cc + src/model/BatchDeleteVsDomainConfigsResult.cc + src/model/BatchForbidVsStreamRequest.cc + src/model/BatchForbidVsStreamResult.cc + src/model/BatchResumeVsStreamRequest.cc + src/model/BatchResumeVsStreamResult.cc + src/model/BatchSetVsDomainConfigsRequest.cc + src/model/BatchSetVsDomainConfigsResult.cc + src/model/BatchStartDevicesRequest.cc + src/model/BatchStartDevicesResult.cc + src/model/BatchStartStreamsRequest.cc + src/model/BatchStartStreamsResult.cc + src/model/BatchStopDevicesRequest.cc + src/model/BatchStopDevicesResult.cc + src/model/BatchStopStreamsRequest.cc + src/model/BatchStopStreamsResult.cc + src/model/BatchUnbindDirectoriesRequest.cc + src/model/BatchUnbindDirectoriesResult.cc + src/model/BatchUnbindParentPlatformDevicesRequest.cc + src/model/BatchUnbindParentPlatformDevicesResult.cc + src/model/BatchUnbindPurchasedDevicesRequest.cc + src/model/BatchUnbindPurchasedDevicesResult.cc + src/model/BatchUnbindTemplateRequest.cc + src/model/BatchUnbindTemplateResult.cc + src/model/BatchUnbindTemplatesRequest.cc + src/model/BatchUnbindTemplatesResult.cc + src/model/BindDirectoryRequest.cc + src/model/BindDirectoryResult.cc + src/model/BindParentPlatformDeviceRequest.cc + src/model/BindParentPlatformDeviceResult.cc + src/model/BindPurchasedDeviceRequest.cc + src/model/BindPurchasedDeviceResult.cc + src/model/BindTemplateRequest.cc + src/model/BindTemplateResult.cc + src/model/ContinuousAdjustRequest.cc + src/model/ContinuousAdjustResult.cc + src/model/ContinuousMoveRequest.cc + src/model/ContinuousMoveResult.cc + src/model/CreateDeviceRequest.cc + src/model/CreateDeviceResult.cc + src/model/CreateDeviceAlarmRequest.cc + src/model/CreateDeviceAlarmResult.cc + src/model/CreateDirectoryRequest.cc + src/model/CreateDirectoryResult.cc + src/model/CreateGroupRequest.cc + src/model/CreateGroupResult.cc + src/model/CreateParentPlatformRequest.cc + src/model/CreateParentPlatformResult.cc + src/model/CreateStreamSnapshotRequest.cc + src/model/CreateStreamSnapshotResult.cc + src/model/CreateTemplateRequest.cc + src/model/CreateTemplateResult.cc + src/model/DeleteDeviceRequest.cc + src/model/DeleteDeviceResult.cc + src/model/DeleteDirectoryRequest.cc + src/model/DeleteDirectoryResult.cc + src/model/DeleteGroupRequest.cc + src/model/DeleteGroupResult.cc + src/model/DeleteParentPlatformRequest.cc + src/model/DeleteParentPlatformResult.cc + src/model/DeletePresetRequest.cc + src/model/DeletePresetResult.cc + src/model/DeleteTemplateRequest.cc + src/model/DeleteTemplateResult.cc + src/model/DeleteVsPullStreamInfoConfigRequest.cc + src/model/DeleteVsPullStreamInfoConfigResult.cc + src/model/DeleteVsStreamsNotifyUrlConfigRequest.cc + src/model/DeleteVsStreamsNotifyUrlConfigResult.cc + src/model/DescribeAccountStatRequest.cc + src/model/DescribeAccountStatResult.cc + src/model/DescribeDeviceRequest.cc + src/model/DescribeDeviceResult.cc + src/model/DescribeDeviceChannelsRequest.cc + src/model/DescribeDeviceChannelsResult.cc + src/model/DescribeDeviceGatewayRequest.cc + src/model/DescribeDeviceGatewayResult.cc + src/model/DescribeDeviceURLRequest.cc + src/model/DescribeDeviceURLResult.cc + src/model/DescribeDevicesRequest.cc + src/model/DescribeDevicesResult.cc + src/model/DescribeDirectoriesRequest.cc + src/model/DescribeDirectoriesResult.cc + src/model/DescribeDirectoryRequest.cc + src/model/DescribeDirectoryResult.cc + src/model/DescribeGroupRequest.cc + src/model/DescribeGroupResult.cc + src/model/DescribeGroupsRequest.cc + src/model/DescribeGroupsResult.cc + src/model/DescribeParentPlatformRequest.cc + src/model/DescribeParentPlatformResult.cc + src/model/DescribeParentPlatformDevicesRequest.cc + src/model/DescribeParentPlatformDevicesResult.cc + src/model/DescribeParentPlatformsRequest.cc + src/model/DescribeParentPlatformsResult.cc + src/model/DescribePresetsRequest.cc + src/model/DescribePresetsResult.cc + src/model/DescribePurchasedDeviceRequest.cc + src/model/DescribePurchasedDeviceResult.cc + src/model/DescribePurchasedDevicesRequest.cc + src/model/DescribePurchasedDevicesResult.cc + src/model/DescribeRecordsRequest.cc + src/model/DescribeRecordsResult.cc + src/model/DescribeStreamRequest.cc + src/model/DescribeStreamResult.cc + src/model/DescribeStreamURLRequest.cc + src/model/DescribeStreamURLResult.cc + src/model/DescribeStreamVodListRequest.cc + src/model/DescribeStreamVodListResult.cc + src/model/DescribeStreamsRequest.cc + src/model/DescribeStreamsResult.cc + src/model/DescribeTemplateRequest.cc + src/model/DescribeTemplateResult.cc + src/model/DescribeTemplatesRequest.cc + src/model/DescribeTemplatesResult.cc + src/model/DescribeVodStreamURLRequest.cc + src/model/DescribeVodStreamURLResult.cc + src/model/DescribeVsCertificateDetailRequest.cc + src/model/DescribeVsCertificateDetailResult.cc + src/model/DescribeVsCertificateListRequest.cc + src/model/DescribeVsCertificateListResult.cc + src/model/DescribeVsDomainBpsDataRequest.cc + src/model/DescribeVsDomainBpsDataResult.cc + src/model/DescribeVsDomainCertificateInfoRequest.cc + src/model/DescribeVsDomainCertificateInfoResult.cc + src/model/DescribeVsDomainConfigsRequest.cc + src/model/DescribeVsDomainConfigsResult.cc + src/model/DescribeVsDomainDetailRequest.cc + src/model/DescribeVsDomainDetailResult.cc + src/model/DescribeVsDomainPvDataRequest.cc + src/model/DescribeVsDomainPvDataResult.cc + src/model/DescribeVsDomainRecordDataRequest.cc + src/model/DescribeVsDomainRecordDataResult.cc + src/model/DescribeVsDomainRegionDataRequest.cc + src/model/DescribeVsDomainRegionDataResult.cc + src/model/DescribeVsDomainReqBpsDataRequest.cc + src/model/DescribeVsDomainReqBpsDataResult.cc + src/model/DescribeVsDomainReqTrafficDataRequest.cc + src/model/DescribeVsDomainReqTrafficDataResult.cc + src/model/DescribeVsDomainSnapshotDataRequest.cc + src/model/DescribeVsDomainSnapshotDataResult.cc + src/model/DescribeVsDomainTrafficDataRequest.cc + src/model/DescribeVsDomainTrafficDataResult.cc + src/model/DescribeVsDomainUvDataRequest.cc + src/model/DescribeVsDomainUvDataResult.cc + src/model/DescribeVsPullStreamInfoConfigRequest.cc + src/model/DescribeVsPullStreamInfoConfigResult.cc + src/model/DescribeVsStreamsNotifyUrlConfigRequest.cc + src/model/DescribeVsStreamsNotifyUrlConfigResult.cc + src/model/DescribeVsStreamsOnlineListRequest.cc + src/model/DescribeVsStreamsOnlineListResult.cc + src/model/DescribeVsStreamsPublishListRequest.cc + src/model/DescribeVsStreamsPublishListResult.cc + src/model/DescribeVsTopDomainsByFlowRequest.cc + src/model/DescribeVsTopDomainsByFlowResult.cc + src/model/DescribeVsUpPeakPublishStreamDataRequest.cc + src/model/DescribeVsUpPeakPublishStreamDataResult.cc + src/model/DescribeVsUserResourcePackageRequest.cc + src/model/DescribeVsUserResourcePackageResult.cc + src/model/ForbidVsStreamRequest.cc + src/model/ForbidVsStreamResult.cc + src/model/GotoPresetRequest.cc + src/model/GotoPresetResult.cc + src/model/ModifyDeviceRequest.cc + src/model/ModifyDeviceResult.cc + src/model/ModifyDeviceAlarmRequest.cc + src/model/ModifyDeviceAlarmResult.cc + src/model/ModifyDeviceCaptureRequest.cc + src/model/ModifyDeviceCaptureResult.cc + src/model/ModifyDeviceChannelsRequest.cc + src/model/ModifyDeviceChannelsResult.cc + src/model/ModifyDirectoryRequest.cc + src/model/ModifyDirectoryResult.cc + src/model/ModifyGroupRequest.cc + src/model/ModifyGroupResult.cc + src/model/ModifyParentPlatformRequest.cc + src/model/ModifyParentPlatformResult.cc + src/model/ModifyTemplateRequest.cc + src/model/ModifyTemplateResult.cc + src/model/ResumeVsStreamRequest.cc + src/model/ResumeVsStreamResult.cc + src/model/SetPresetRequest.cc + src/model/SetPresetResult.cc + src/model/SetVsDomainCertificateRequest.cc + src/model/SetVsDomainCertificateResult.cc + src/model/SetVsStreamsNotifyUrlConfigRequest.cc + src/model/SetVsStreamsNotifyUrlConfigResult.cc + src/model/StartDeviceRequest.cc + src/model/StartDeviceResult.cc + src/model/StartParentPlatformRequest.cc + src/model/StartParentPlatformResult.cc + src/model/StartRecordStreamRequest.cc + src/model/StartRecordStreamResult.cc + src/model/StartStreamRequest.cc + src/model/StartStreamResult.cc + src/model/StartTransferStreamRequest.cc + src/model/StartTransferStreamResult.cc + src/model/StopAdjustRequest.cc + src/model/StopAdjustResult.cc + src/model/StopDeviceRequest.cc + src/model/StopDeviceResult.cc + src/model/StopMoveRequest.cc + src/model/StopMoveResult.cc + src/model/StopRecordStreamRequest.cc + src/model/StopRecordStreamResult.cc + src/model/StopStreamRequest.cc + src/model/StopStreamResult.cc + src/model/StopTransferStreamRequest.cc + src/model/StopTransferStreamResult.cc + src/model/SyncCatalogsRequest.cc + src/model/SyncCatalogsResult.cc + src/model/UnbindDirectoryRequest.cc + src/model/UnbindDirectoryResult.cc + src/model/UnbindParentPlatformDeviceRequest.cc + src/model/UnbindParentPlatformDeviceResult.cc + src/model/UnbindPurchasedDeviceRequest.cc + src/model/UnbindPurchasedDeviceResult.cc + src/model/UnbindTemplateRequest.cc + src/model/UnbindTemplateResult.cc + src/model/UnlockDeviceRequest.cc + src/model/UnlockDeviceResult.cc + src/model/UpdateVsPullStreamInfoConfigRequest.cc + src/model/UpdateVsPullStreamInfoConfigResult.cc ) + +add_library(vs ${LIB_TYPE} + ${vs_public_header} + ${vs_public_header_model} + ${vs_src}) + +set_target_properties(vs + PROPERTIES + LINKER_LANGUAGE CXX + ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib + RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin + OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}vs + ) + +if(${LIB_TYPE} STREQUAL "SHARED") + set_target_properties(vs + PROPERTIES + DEFINE_SYMBOL ALIBABACLOUD_VS_LIBRARY) +endif() + +target_include_directories(vs + PRIVATE include + ${CMAKE_SOURCE_DIR}/core/include + ) +target_link_libraries(vs + core) + +if(CMAKE_HOST_WIN32) + ExternalProject_Get_Property(jsoncpp INSTALL_DIR) + set(jsoncpp_install_dir ${INSTALL_DIR}) + add_dependencies(vs + jsoncpp) + target_include_directories(vs + PRIVATE ${jsoncpp_install_dir}/include) + target_link_libraries(vs + ${jsoncpp_install_dir}/lib/jsoncpp.lib) + set_target_properties(vs + PROPERTIES + COMPILE_OPTIONS "/bigobj") +else() + target_include_directories(vs + PRIVATE /usr/include/jsoncpp) + target_link_libraries(vs + jsoncpp) +endif() + +install(FILES ${vs_public_header} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/vs) +install(FILES ${vs_public_header_model} + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/vs/model) +install(TARGETS vs + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} + LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} + ) \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/VsClient.h b/vs/include/alibabacloud/vs/VsClient.h new file mode 100644 index 000000000..6b5455205 --- /dev/null +++ b/vs/include/alibabacloud/vs/VsClient.h @@ -0,0 +1,990 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_VSCLIENT_H_ +#define ALIBABACLOUD_VS_VSCLIENT_H_ + +#include +#include +#include +#include +#include "VsExport.h" +#include "model/AddVsPullStreamInfoConfigRequest.h" +#include "model/AddVsPullStreamInfoConfigResult.h" +#include "model/BatchBindDirectoriesRequest.h" +#include "model/BatchBindDirectoriesResult.h" +#include "model/BatchBindParentPlatformDevicesRequest.h" +#include "model/BatchBindParentPlatformDevicesResult.h" +#include "model/BatchBindPurchasedDevicesRequest.h" +#include "model/BatchBindPurchasedDevicesResult.h" +#include "model/BatchBindTemplateRequest.h" +#include "model/BatchBindTemplateResult.h" +#include "model/BatchBindTemplatesRequest.h" +#include "model/BatchBindTemplatesResult.h" +#include "model/BatchDeleteDevicesRequest.h" +#include "model/BatchDeleteDevicesResult.h" +#include "model/BatchDeleteVsDomainConfigsRequest.h" +#include "model/BatchDeleteVsDomainConfigsResult.h" +#include "model/BatchForbidVsStreamRequest.h" +#include "model/BatchForbidVsStreamResult.h" +#include "model/BatchResumeVsStreamRequest.h" +#include "model/BatchResumeVsStreamResult.h" +#include "model/BatchSetVsDomainConfigsRequest.h" +#include "model/BatchSetVsDomainConfigsResult.h" +#include "model/BatchStartDevicesRequest.h" +#include "model/BatchStartDevicesResult.h" +#include "model/BatchStartStreamsRequest.h" +#include "model/BatchStartStreamsResult.h" +#include "model/BatchStopDevicesRequest.h" +#include "model/BatchStopDevicesResult.h" +#include "model/BatchStopStreamsRequest.h" +#include "model/BatchStopStreamsResult.h" +#include "model/BatchUnbindDirectoriesRequest.h" +#include "model/BatchUnbindDirectoriesResult.h" +#include "model/BatchUnbindParentPlatformDevicesRequest.h" +#include "model/BatchUnbindParentPlatformDevicesResult.h" +#include "model/BatchUnbindPurchasedDevicesRequest.h" +#include "model/BatchUnbindPurchasedDevicesResult.h" +#include "model/BatchUnbindTemplateRequest.h" +#include "model/BatchUnbindTemplateResult.h" +#include "model/BatchUnbindTemplatesRequest.h" +#include "model/BatchUnbindTemplatesResult.h" +#include "model/BindDirectoryRequest.h" +#include "model/BindDirectoryResult.h" +#include "model/BindParentPlatformDeviceRequest.h" +#include "model/BindParentPlatformDeviceResult.h" +#include "model/BindPurchasedDeviceRequest.h" +#include "model/BindPurchasedDeviceResult.h" +#include "model/BindTemplateRequest.h" +#include "model/BindTemplateResult.h" +#include "model/ContinuousAdjustRequest.h" +#include "model/ContinuousAdjustResult.h" +#include "model/ContinuousMoveRequest.h" +#include "model/ContinuousMoveResult.h" +#include "model/CreateDeviceRequest.h" +#include "model/CreateDeviceResult.h" +#include "model/CreateDeviceAlarmRequest.h" +#include "model/CreateDeviceAlarmResult.h" +#include "model/CreateDirectoryRequest.h" +#include "model/CreateDirectoryResult.h" +#include "model/CreateGroupRequest.h" +#include "model/CreateGroupResult.h" +#include "model/CreateParentPlatformRequest.h" +#include "model/CreateParentPlatformResult.h" +#include "model/CreateStreamSnapshotRequest.h" +#include "model/CreateStreamSnapshotResult.h" +#include "model/CreateTemplateRequest.h" +#include "model/CreateTemplateResult.h" +#include "model/DeleteDeviceRequest.h" +#include "model/DeleteDeviceResult.h" +#include "model/DeleteDirectoryRequest.h" +#include "model/DeleteDirectoryResult.h" +#include "model/DeleteGroupRequest.h" +#include "model/DeleteGroupResult.h" +#include "model/DeleteParentPlatformRequest.h" +#include "model/DeleteParentPlatformResult.h" +#include "model/DeletePresetRequest.h" +#include "model/DeletePresetResult.h" +#include "model/DeleteTemplateRequest.h" +#include "model/DeleteTemplateResult.h" +#include "model/DeleteVsPullStreamInfoConfigRequest.h" +#include "model/DeleteVsPullStreamInfoConfigResult.h" +#include "model/DeleteVsStreamsNotifyUrlConfigRequest.h" +#include "model/DeleteVsStreamsNotifyUrlConfigResult.h" +#include "model/DescribeAccountStatRequest.h" +#include "model/DescribeAccountStatResult.h" +#include "model/DescribeDeviceRequest.h" +#include "model/DescribeDeviceResult.h" +#include "model/DescribeDeviceChannelsRequest.h" +#include "model/DescribeDeviceChannelsResult.h" +#include "model/DescribeDeviceGatewayRequest.h" +#include "model/DescribeDeviceGatewayResult.h" +#include "model/DescribeDeviceURLRequest.h" +#include "model/DescribeDeviceURLResult.h" +#include "model/DescribeDevicesRequest.h" +#include "model/DescribeDevicesResult.h" +#include "model/DescribeDirectoriesRequest.h" +#include "model/DescribeDirectoriesResult.h" +#include "model/DescribeDirectoryRequest.h" +#include "model/DescribeDirectoryResult.h" +#include "model/DescribeGroupRequest.h" +#include "model/DescribeGroupResult.h" +#include "model/DescribeGroupsRequest.h" +#include "model/DescribeGroupsResult.h" +#include "model/DescribeParentPlatformRequest.h" +#include "model/DescribeParentPlatformResult.h" +#include "model/DescribeParentPlatformDevicesRequest.h" +#include "model/DescribeParentPlatformDevicesResult.h" +#include "model/DescribeParentPlatformsRequest.h" +#include "model/DescribeParentPlatformsResult.h" +#include "model/DescribePresetsRequest.h" +#include "model/DescribePresetsResult.h" +#include "model/DescribePurchasedDeviceRequest.h" +#include "model/DescribePurchasedDeviceResult.h" +#include "model/DescribePurchasedDevicesRequest.h" +#include "model/DescribePurchasedDevicesResult.h" +#include "model/DescribeRecordsRequest.h" +#include "model/DescribeRecordsResult.h" +#include "model/DescribeStreamRequest.h" +#include "model/DescribeStreamResult.h" +#include "model/DescribeStreamURLRequest.h" +#include "model/DescribeStreamURLResult.h" +#include "model/DescribeStreamVodListRequest.h" +#include "model/DescribeStreamVodListResult.h" +#include "model/DescribeStreamsRequest.h" +#include "model/DescribeStreamsResult.h" +#include "model/DescribeTemplateRequest.h" +#include "model/DescribeTemplateResult.h" +#include "model/DescribeTemplatesRequest.h" +#include "model/DescribeTemplatesResult.h" +#include "model/DescribeVodStreamURLRequest.h" +#include "model/DescribeVodStreamURLResult.h" +#include "model/DescribeVsCertificateDetailRequest.h" +#include "model/DescribeVsCertificateDetailResult.h" +#include "model/DescribeVsCertificateListRequest.h" +#include "model/DescribeVsCertificateListResult.h" +#include "model/DescribeVsDomainBpsDataRequest.h" +#include "model/DescribeVsDomainBpsDataResult.h" +#include "model/DescribeVsDomainCertificateInfoRequest.h" +#include "model/DescribeVsDomainCertificateInfoResult.h" +#include "model/DescribeVsDomainConfigsRequest.h" +#include "model/DescribeVsDomainConfigsResult.h" +#include "model/DescribeVsDomainDetailRequest.h" +#include "model/DescribeVsDomainDetailResult.h" +#include "model/DescribeVsDomainPvDataRequest.h" +#include "model/DescribeVsDomainPvDataResult.h" +#include "model/DescribeVsDomainRecordDataRequest.h" +#include "model/DescribeVsDomainRecordDataResult.h" +#include "model/DescribeVsDomainRegionDataRequest.h" +#include "model/DescribeVsDomainRegionDataResult.h" +#include "model/DescribeVsDomainReqBpsDataRequest.h" +#include "model/DescribeVsDomainReqBpsDataResult.h" +#include "model/DescribeVsDomainReqTrafficDataRequest.h" +#include "model/DescribeVsDomainReqTrafficDataResult.h" +#include "model/DescribeVsDomainSnapshotDataRequest.h" +#include "model/DescribeVsDomainSnapshotDataResult.h" +#include "model/DescribeVsDomainTrafficDataRequest.h" +#include "model/DescribeVsDomainTrafficDataResult.h" +#include "model/DescribeVsDomainUvDataRequest.h" +#include "model/DescribeVsDomainUvDataResult.h" +#include "model/DescribeVsPullStreamInfoConfigRequest.h" +#include "model/DescribeVsPullStreamInfoConfigResult.h" +#include "model/DescribeVsStreamsNotifyUrlConfigRequest.h" +#include "model/DescribeVsStreamsNotifyUrlConfigResult.h" +#include "model/DescribeVsStreamsOnlineListRequest.h" +#include "model/DescribeVsStreamsOnlineListResult.h" +#include "model/DescribeVsStreamsPublishListRequest.h" +#include "model/DescribeVsStreamsPublishListResult.h" +#include "model/DescribeVsTopDomainsByFlowRequest.h" +#include "model/DescribeVsTopDomainsByFlowResult.h" +#include "model/DescribeVsUpPeakPublishStreamDataRequest.h" +#include "model/DescribeVsUpPeakPublishStreamDataResult.h" +#include "model/DescribeVsUserResourcePackageRequest.h" +#include "model/DescribeVsUserResourcePackageResult.h" +#include "model/ForbidVsStreamRequest.h" +#include "model/ForbidVsStreamResult.h" +#include "model/GotoPresetRequest.h" +#include "model/GotoPresetResult.h" +#include "model/ModifyDeviceRequest.h" +#include "model/ModifyDeviceResult.h" +#include "model/ModifyDeviceAlarmRequest.h" +#include "model/ModifyDeviceAlarmResult.h" +#include "model/ModifyDeviceCaptureRequest.h" +#include "model/ModifyDeviceCaptureResult.h" +#include "model/ModifyDeviceChannelsRequest.h" +#include "model/ModifyDeviceChannelsResult.h" +#include "model/ModifyDirectoryRequest.h" +#include "model/ModifyDirectoryResult.h" +#include "model/ModifyGroupRequest.h" +#include "model/ModifyGroupResult.h" +#include "model/ModifyParentPlatformRequest.h" +#include "model/ModifyParentPlatformResult.h" +#include "model/ModifyTemplateRequest.h" +#include "model/ModifyTemplateResult.h" +#include "model/ResumeVsStreamRequest.h" +#include "model/ResumeVsStreamResult.h" +#include "model/SetPresetRequest.h" +#include "model/SetPresetResult.h" +#include "model/SetVsDomainCertificateRequest.h" +#include "model/SetVsDomainCertificateResult.h" +#include "model/SetVsStreamsNotifyUrlConfigRequest.h" +#include "model/SetVsStreamsNotifyUrlConfigResult.h" +#include "model/StartDeviceRequest.h" +#include "model/StartDeviceResult.h" +#include "model/StartParentPlatformRequest.h" +#include "model/StartParentPlatformResult.h" +#include "model/StartRecordStreamRequest.h" +#include "model/StartRecordStreamResult.h" +#include "model/StartStreamRequest.h" +#include "model/StartStreamResult.h" +#include "model/StartTransferStreamRequest.h" +#include "model/StartTransferStreamResult.h" +#include "model/StopAdjustRequest.h" +#include "model/StopAdjustResult.h" +#include "model/StopDeviceRequest.h" +#include "model/StopDeviceResult.h" +#include "model/StopMoveRequest.h" +#include "model/StopMoveResult.h" +#include "model/StopRecordStreamRequest.h" +#include "model/StopRecordStreamResult.h" +#include "model/StopStreamRequest.h" +#include "model/StopStreamResult.h" +#include "model/StopTransferStreamRequest.h" +#include "model/StopTransferStreamResult.h" +#include "model/SyncCatalogsRequest.h" +#include "model/SyncCatalogsResult.h" +#include "model/UnbindDirectoryRequest.h" +#include "model/UnbindDirectoryResult.h" +#include "model/UnbindParentPlatformDeviceRequest.h" +#include "model/UnbindParentPlatformDeviceResult.h" +#include "model/UnbindPurchasedDeviceRequest.h" +#include "model/UnbindPurchasedDeviceResult.h" +#include "model/UnbindTemplateRequest.h" +#include "model/UnbindTemplateResult.h" +#include "model/UnlockDeviceRequest.h" +#include "model/UnlockDeviceResult.h" +#include "model/UpdateVsPullStreamInfoConfigRequest.h" +#include "model/UpdateVsPullStreamInfoConfigResult.h" + + +namespace AlibabaCloud +{ + namespace Vs + { + class ALIBABACLOUD_VS_EXPORT VsClient : public RpcServiceClient + { + public: + typedef Outcome AddVsPullStreamInfoConfigOutcome; + typedef std::future AddVsPullStreamInfoConfigOutcomeCallable; + typedef std::function&)> AddVsPullStreamInfoConfigAsyncHandler; + typedef Outcome BatchBindDirectoriesOutcome; + typedef std::future BatchBindDirectoriesOutcomeCallable; + typedef std::function&)> BatchBindDirectoriesAsyncHandler; + typedef Outcome BatchBindParentPlatformDevicesOutcome; + typedef std::future BatchBindParentPlatformDevicesOutcomeCallable; + typedef std::function&)> BatchBindParentPlatformDevicesAsyncHandler; + typedef Outcome BatchBindPurchasedDevicesOutcome; + typedef std::future BatchBindPurchasedDevicesOutcomeCallable; + typedef std::function&)> BatchBindPurchasedDevicesAsyncHandler; + typedef Outcome BatchBindTemplateOutcome; + typedef std::future BatchBindTemplateOutcomeCallable; + typedef std::function&)> BatchBindTemplateAsyncHandler; + typedef Outcome BatchBindTemplatesOutcome; + typedef std::future BatchBindTemplatesOutcomeCallable; + typedef std::function&)> BatchBindTemplatesAsyncHandler; + typedef Outcome BatchDeleteDevicesOutcome; + typedef std::future BatchDeleteDevicesOutcomeCallable; + typedef std::function&)> BatchDeleteDevicesAsyncHandler; + typedef Outcome BatchDeleteVsDomainConfigsOutcome; + typedef std::future BatchDeleteVsDomainConfigsOutcomeCallable; + typedef std::function&)> BatchDeleteVsDomainConfigsAsyncHandler; + typedef Outcome BatchForbidVsStreamOutcome; + typedef std::future BatchForbidVsStreamOutcomeCallable; + typedef std::function&)> BatchForbidVsStreamAsyncHandler; + typedef Outcome BatchResumeVsStreamOutcome; + typedef std::future BatchResumeVsStreamOutcomeCallable; + typedef std::function&)> BatchResumeVsStreamAsyncHandler; + typedef Outcome BatchSetVsDomainConfigsOutcome; + typedef std::future BatchSetVsDomainConfigsOutcomeCallable; + typedef std::function&)> BatchSetVsDomainConfigsAsyncHandler; + typedef Outcome BatchStartDevicesOutcome; + typedef std::future BatchStartDevicesOutcomeCallable; + typedef std::function&)> BatchStartDevicesAsyncHandler; + typedef Outcome BatchStartStreamsOutcome; + typedef std::future BatchStartStreamsOutcomeCallable; + typedef std::function&)> BatchStartStreamsAsyncHandler; + typedef Outcome BatchStopDevicesOutcome; + typedef std::future BatchStopDevicesOutcomeCallable; + typedef std::function&)> BatchStopDevicesAsyncHandler; + typedef Outcome BatchStopStreamsOutcome; + typedef std::future BatchStopStreamsOutcomeCallable; + typedef std::function&)> BatchStopStreamsAsyncHandler; + typedef Outcome BatchUnbindDirectoriesOutcome; + typedef std::future BatchUnbindDirectoriesOutcomeCallable; + typedef std::function&)> BatchUnbindDirectoriesAsyncHandler; + typedef Outcome BatchUnbindParentPlatformDevicesOutcome; + typedef std::future BatchUnbindParentPlatformDevicesOutcomeCallable; + typedef std::function&)> BatchUnbindParentPlatformDevicesAsyncHandler; + typedef Outcome BatchUnbindPurchasedDevicesOutcome; + typedef std::future BatchUnbindPurchasedDevicesOutcomeCallable; + typedef std::function&)> BatchUnbindPurchasedDevicesAsyncHandler; + typedef Outcome BatchUnbindTemplateOutcome; + typedef std::future BatchUnbindTemplateOutcomeCallable; + typedef std::function&)> BatchUnbindTemplateAsyncHandler; + typedef Outcome BatchUnbindTemplatesOutcome; + typedef std::future BatchUnbindTemplatesOutcomeCallable; + typedef std::function&)> BatchUnbindTemplatesAsyncHandler; + typedef Outcome BindDirectoryOutcome; + typedef std::future BindDirectoryOutcomeCallable; + typedef std::function&)> BindDirectoryAsyncHandler; + typedef Outcome BindParentPlatformDeviceOutcome; + typedef std::future BindParentPlatformDeviceOutcomeCallable; + typedef std::function&)> BindParentPlatformDeviceAsyncHandler; + typedef Outcome BindPurchasedDeviceOutcome; + typedef std::future BindPurchasedDeviceOutcomeCallable; + typedef std::function&)> BindPurchasedDeviceAsyncHandler; + typedef Outcome BindTemplateOutcome; + typedef std::future BindTemplateOutcomeCallable; + typedef std::function&)> BindTemplateAsyncHandler; + typedef Outcome ContinuousAdjustOutcome; + typedef std::future ContinuousAdjustOutcomeCallable; + typedef std::function&)> ContinuousAdjustAsyncHandler; + typedef Outcome ContinuousMoveOutcome; + typedef std::future ContinuousMoveOutcomeCallable; + typedef std::function&)> ContinuousMoveAsyncHandler; + typedef Outcome CreateDeviceOutcome; + typedef std::future CreateDeviceOutcomeCallable; + typedef std::function&)> CreateDeviceAsyncHandler; + typedef Outcome CreateDeviceAlarmOutcome; + typedef std::future CreateDeviceAlarmOutcomeCallable; + typedef std::function&)> CreateDeviceAlarmAsyncHandler; + typedef Outcome CreateDirectoryOutcome; + typedef std::future CreateDirectoryOutcomeCallable; + typedef std::function&)> CreateDirectoryAsyncHandler; + typedef Outcome CreateGroupOutcome; + typedef std::future CreateGroupOutcomeCallable; + typedef std::function&)> CreateGroupAsyncHandler; + typedef Outcome CreateParentPlatformOutcome; + typedef std::future CreateParentPlatformOutcomeCallable; + typedef std::function&)> CreateParentPlatformAsyncHandler; + typedef Outcome CreateStreamSnapshotOutcome; + typedef std::future CreateStreamSnapshotOutcomeCallable; + typedef std::function&)> CreateStreamSnapshotAsyncHandler; + typedef Outcome CreateTemplateOutcome; + typedef std::future CreateTemplateOutcomeCallable; + typedef std::function&)> CreateTemplateAsyncHandler; + typedef Outcome DeleteDeviceOutcome; + typedef std::future DeleteDeviceOutcomeCallable; + typedef std::function&)> DeleteDeviceAsyncHandler; + typedef Outcome DeleteDirectoryOutcome; + typedef std::future DeleteDirectoryOutcomeCallable; + typedef std::function&)> DeleteDirectoryAsyncHandler; + typedef Outcome DeleteGroupOutcome; + typedef std::future DeleteGroupOutcomeCallable; + typedef std::function&)> DeleteGroupAsyncHandler; + typedef Outcome DeleteParentPlatformOutcome; + typedef std::future DeleteParentPlatformOutcomeCallable; + typedef std::function&)> DeleteParentPlatformAsyncHandler; + typedef Outcome DeletePresetOutcome; + typedef std::future DeletePresetOutcomeCallable; + typedef std::function&)> DeletePresetAsyncHandler; + typedef Outcome DeleteTemplateOutcome; + typedef std::future DeleteTemplateOutcomeCallable; + typedef std::function&)> DeleteTemplateAsyncHandler; + typedef Outcome DeleteVsPullStreamInfoConfigOutcome; + typedef std::future DeleteVsPullStreamInfoConfigOutcomeCallable; + typedef std::function&)> DeleteVsPullStreamInfoConfigAsyncHandler; + typedef Outcome DeleteVsStreamsNotifyUrlConfigOutcome; + typedef std::future DeleteVsStreamsNotifyUrlConfigOutcomeCallable; + typedef std::function&)> DeleteVsStreamsNotifyUrlConfigAsyncHandler; + typedef Outcome DescribeAccountStatOutcome; + typedef std::future DescribeAccountStatOutcomeCallable; + typedef std::function&)> DescribeAccountStatAsyncHandler; + typedef Outcome DescribeDeviceOutcome; + typedef std::future DescribeDeviceOutcomeCallable; + typedef std::function&)> DescribeDeviceAsyncHandler; + typedef Outcome DescribeDeviceChannelsOutcome; + typedef std::future DescribeDeviceChannelsOutcomeCallable; + typedef std::function&)> DescribeDeviceChannelsAsyncHandler; + typedef Outcome DescribeDeviceGatewayOutcome; + typedef std::future DescribeDeviceGatewayOutcomeCallable; + typedef std::function&)> DescribeDeviceGatewayAsyncHandler; + typedef Outcome DescribeDeviceURLOutcome; + typedef std::future DescribeDeviceURLOutcomeCallable; + typedef std::function&)> DescribeDeviceURLAsyncHandler; + typedef Outcome DescribeDevicesOutcome; + typedef std::future DescribeDevicesOutcomeCallable; + typedef std::function&)> DescribeDevicesAsyncHandler; + typedef Outcome DescribeDirectoriesOutcome; + typedef std::future DescribeDirectoriesOutcomeCallable; + typedef std::function&)> DescribeDirectoriesAsyncHandler; + typedef Outcome DescribeDirectoryOutcome; + typedef std::future DescribeDirectoryOutcomeCallable; + typedef std::function&)> DescribeDirectoryAsyncHandler; + typedef Outcome DescribeGroupOutcome; + typedef std::future DescribeGroupOutcomeCallable; + typedef std::function&)> DescribeGroupAsyncHandler; + typedef Outcome DescribeGroupsOutcome; + typedef std::future DescribeGroupsOutcomeCallable; + typedef std::function&)> DescribeGroupsAsyncHandler; + typedef Outcome DescribeParentPlatformOutcome; + typedef std::future DescribeParentPlatformOutcomeCallable; + typedef std::function&)> DescribeParentPlatformAsyncHandler; + typedef Outcome DescribeParentPlatformDevicesOutcome; + typedef std::future DescribeParentPlatformDevicesOutcomeCallable; + typedef std::function&)> DescribeParentPlatformDevicesAsyncHandler; + typedef Outcome DescribeParentPlatformsOutcome; + typedef std::future DescribeParentPlatformsOutcomeCallable; + typedef std::function&)> DescribeParentPlatformsAsyncHandler; + typedef Outcome DescribePresetsOutcome; + typedef std::future DescribePresetsOutcomeCallable; + typedef std::function&)> DescribePresetsAsyncHandler; + typedef Outcome DescribePurchasedDeviceOutcome; + typedef std::future DescribePurchasedDeviceOutcomeCallable; + typedef std::function&)> DescribePurchasedDeviceAsyncHandler; + typedef Outcome DescribePurchasedDevicesOutcome; + typedef std::future DescribePurchasedDevicesOutcomeCallable; + typedef std::function&)> DescribePurchasedDevicesAsyncHandler; + typedef Outcome DescribeRecordsOutcome; + typedef std::future DescribeRecordsOutcomeCallable; + typedef std::function&)> DescribeRecordsAsyncHandler; + typedef Outcome DescribeStreamOutcome; + typedef std::future DescribeStreamOutcomeCallable; + typedef std::function&)> DescribeStreamAsyncHandler; + typedef Outcome DescribeStreamURLOutcome; + typedef std::future DescribeStreamURLOutcomeCallable; + typedef std::function&)> DescribeStreamURLAsyncHandler; + typedef Outcome DescribeStreamVodListOutcome; + typedef std::future DescribeStreamVodListOutcomeCallable; + typedef std::function&)> DescribeStreamVodListAsyncHandler; + typedef Outcome DescribeStreamsOutcome; + typedef std::future DescribeStreamsOutcomeCallable; + typedef std::function&)> DescribeStreamsAsyncHandler; + typedef Outcome DescribeTemplateOutcome; + typedef std::future DescribeTemplateOutcomeCallable; + typedef std::function&)> DescribeTemplateAsyncHandler; + typedef Outcome DescribeTemplatesOutcome; + typedef std::future DescribeTemplatesOutcomeCallable; + typedef std::function&)> DescribeTemplatesAsyncHandler; + typedef Outcome DescribeVodStreamURLOutcome; + typedef std::future DescribeVodStreamURLOutcomeCallable; + typedef std::function&)> DescribeVodStreamURLAsyncHandler; + typedef Outcome DescribeVsCertificateDetailOutcome; + typedef std::future DescribeVsCertificateDetailOutcomeCallable; + typedef std::function&)> DescribeVsCertificateDetailAsyncHandler; + typedef Outcome DescribeVsCertificateListOutcome; + typedef std::future DescribeVsCertificateListOutcomeCallable; + typedef std::function&)> DescribeVsCertificateListAsyncHandler; + typedef Outcome DescribeVsDomainBpsDataOutcome; + typedef std::future DescribeVsDomainBpsDataOutcomeCallable; + typedef std::function&)> DescribeVsDomainBpsDataAsyncHandler; + typedef Outcome DescribeVsDomainCertificateInfoOutcome; + typedef std::future DescribeVsDomainCertificateInfoOutcomeCallable; + typedef std::function&)> DescribeVsDomainCertificateInfoAsyncHandler; + typedef Outcome DescribeVsDomainConfigsOutcome; + typedef std::future DescribeVsDomainConfigsOutcomeCallable; + typedef std::function&)> DescribeVsDomainConfigsAsyncHandler; + typedef Outcome DescribeVsDomainDetailOutcome; + typedef std::future DescribeVsDomainDetailOutcomeCallable; + typedef std::function&)> DescribeVsDomainDetailAsyncHandler; + typedef Outcome DescribeVsDomainPvDataOutcome; + typedef std::future DescribeVsDomainPvDataOutcomeCallable; + typedef std::function&)> DescribeVsDomainPvDataAsyncHandler; + typedef Outcome DescribeVsDomainRecordDataOutcome; + typedef std::future DescribeVsDomainRecordDataOutcomeCallable; + typedef std::function&)> DescribeVsDomainRecordDataAsyncHandler; + typedef Outcome DescribeVsDomainRegionDataOutcome; + typedef std::future DescribeVsDomainRegionDataOutcomeCallable; + typedef std::function&)> DescribeVsDomainRegionDataAsyncHandler; + typedef Outcome DescribeVsDomainReqBpsDataOutcome; + typedef std::future DescribeVsDomainReqBpsDataOutcomeCallable; + typedef std::function&)> DescribeVsDomainReqBpsDataAsyncHandler; + typedef Outcome DescribeVsDomainReqTrafficDataOutcome; + typedef std::future DescribeVsDomainReqTrafficDataOutcomeCallable; + typedef std::function&)> DescribeVsDomainReqTrafficDataAsyncHandler; + typedef Outcome DescribeVsDomainSnapshotDataOutcome; + typedef std::future DescribeVsDomainSnapshotDataOutcomeCallable; + typedef std::function&)> DescribeVsDomainSnapshotDataAsyncHandler; + typedef Outcome DescribeVsDomainTrafficDataOutcome; + typedef std::future DescribeVsDomainTrafficDataOutcomeCallable; + typedef std::function&)> DescribeVsDomainTrafficDataAsyncHandler; + typedef Outcome DescribeVsDomainUvDataOutcome; + typedef std::future DescribeVsDomainUvDataOutcomeCallable; + typedef std::function&)> DescribeVsDomainUvDataAsyncHandler; + typedef Outcome DescribeVsPullStreamInfoConfigOutcome; + typedef std::future DescribeVsPullStreamInfoConfigOutcomeCallable; + typedef std::function&)> DescribeVsPullStreamInfoConfigAsyncHandler; + typedef Outcome DescribeVsStreamsNotifyUrlConfigOutcome; + typedef std::future DescribeVsStreamsNotifyUrlConfigOutcomeCallable; + typedef std::function&)> DescribeVsStreamsNotifyUrlConfigAsyncHandler; + typedef Outcome DescribeVsStreamsOnlineListOutcome; + typedef std::future DescribeVsStreamsOnlineListOutcomeCallable; + typedef std::function&)> DescribeVsStreamsOnlineListAsyncHandler; + typedef Outcome DescribeVsStreamsPublishListOutcome; + typedef std::future DescribeVsStreamsPublishListOutcomeCallable; + typedef std::function&)> DescribeVsStreamsPublishListAsyncHandler; + typedef Outcome DescribeVsTopDomainsByFlowOutcome; + typedef std::future DescribeVsTopDomainsByFlowOutcomeCallable; + typedef std::function&)> DescribeVsTopDomainsByFlowAsyncHandler; + typedef Outcome DescribeVsUpPeakPublishStreamDataOutcome; + typedef std::future DescribeVsUpPeakPublishStreamDataOutcomeCallable; + typedef std::function&)> DescribeVsUpPeakPublishStreamDataAsyncHandler; + typedef Outcome DescribeVsUserResourcePackageOutcome; + typedef std::future DescribeVsUserResourcePackageOutcomeCallable; + typedef std::function&)> DescribeVsUserResourcePackageAsyncHandler; + typedef Outcome ForbidVsStreamOutcome; + typedef std::future ForbidVsStreamOutcomeCallable; + typedef std::function&)> ForbidVsStreamAsyncHandler; + typedef Outcome GotoPresetOutcome; + typedef std::future GotoPresetOutcomeCallable; + typedef std::function&)> GotoPresetAsyncHandler; + typedef Outcome ModifyDeviceOutcome; + typedef std::future ModifyDeviceOutcomeCallable; + typedef std::function&)> ModifyDeviceAsyncHandler; + typedef Outcome ModifyDeviceAlarmOutcome; + typedef std::future ModifyDeviceAlarmOutcomeCallable; + typedef std::function&)> ModifyDeviceAlarmAsyncHandler; + typedef Outcome ModifyDeviceCaptureOutcome; + typedef std::future ModifyDeviceCaptureOutcomeCallable; + typedef std::function&)> ModifyDeviceCaptureAsyncHandler; + typedef Outcome ModifyDeviceChannelsOutcome; + typedef std::future ModifyDeviceChannelsOutcomeCallable; + typedef std::function&)> ModifyDeviceChannelsAsyncHandler; + typedef Outcome ModifyDirectoryOutcome; + typedef std::future ModifyDirectoryOutcomeCallable; + typedef std::function&)> ModifyDirectoryAsyncHandler; + typedef Outcome ModifyGroupOutcome; + typedef std::future ModifyGroupOutcomeCallable; + typedef std::function&)> ModifyGroupAsyncHandler; + typedef Outcome ModifyParentPlatformOutcome; + typedef std::future ModifyParentPlatformOutcomeCallable; + typedef std::function&)> ModifyParentPlatformAsyncHandler; + typedef Outcome ModifyTemplateOutcome; + typedef std::future ModifyTemplateOutcomeCallable; + typedef std::function&)> ModifyTemplateAsyncHandler; + typedef Outcome ResumeVsStreamOutcome; + typedef std::future ResumeVsStreamOutcomeCallable; + typedef std::function&)> ResumeVsStreamAsyncHandler; + typedef Outcome SetPresetOutcome; + typedef std::future SetPresetOutcomeCallable; + typedef std::function&)> SetPresetAsyncHandler; + typedef Outcome SetVsDomainCertificateOutcome; + typedef std::future SetVsDomainCertificateOutcomeCallable; + typedef std::function&)> SetVsDomainCertificateAsyncHandler; + typedef Outcome SetVsStreamsNotifyUrlConfigOutcome; + typedef std::future SetVsStreamsNotifyUrlConfigOutcomeCallable; + typedef std::function&)> SetVsStreamsNotifyUrlConfigAsyncHandler; + typedef Outcome StartDeviceOutcome; + typedef std::future StartDeviceOutcomeCallable; + typedef std::function&)> StartDeviceAsyncHandler; + typedef Outcome StartParentPlatformOutcome; + typedef std::future StartParentPlatformOutcomeCallable; + typedef std::function&)> StartParentPlatformAsyncHandler; + typedef Outcome StartRecordStreamOutcome; + typedef std::future StartRecordStreamOutcomeCallable; + typedef std::function&)> StartRecordStreamAsyncHandler; + typedef Outcome StartStreamOutcome; + typedef std::future StartStreamOutcomeCallable; + typedef std::function&)> StartStreamAsyncHandler; + typedef Outcome StartTransferStreamOutcome; + typedef std::future StartTransferStreamOutcomeCallable; + typedef std::function&)> StartTransferStreamAsyncHandler; + typedef Outcome StopAdjustOutcome; + typedef std::future StopAdjustOutcomeCallable; + typedef std::function&)> StopAdjustAsyncHandler; + typedef Outcome StopDeviceOutcome; + typedef std::future StopDeviceOutcomeCallable; + typedef std::function&)> StopDeviceAsyncHandler; + typedef Outcome StopMoveOutcome; + typedef std::future StopMoveOutcomeCallable; + typedef std::function&)> StopMoveAsyncHandler; + typedef Outcome StopRecordStreamOutcome; + typedef std::future StopRecordStreamOutcomeCallable; + typedef std::function&)> StopRecordStreamAsyncHandler; + typedef Outcome StopStreamOutcome; + typedef std::future StopStreamOutcomeCallable; + typedef std::function&)> StopStreamAsyncHandler; + typedef Outcome StopTransferStreamOutcome; + typedef std::future StopTransferStreamOutcomeCallable; + typedef std::function&)> StopTransferStreamAsyncHandler; + typedef Outcome SyncCatalogsOutcome; + typedef std::future SyncCatalogsOutcomeCallable; + typedef std::function&)> SyncCatalogsAsyncHandler; + typedef Outcome UnbindDirectoryOutcome; + typedef std::future UnbindDirectoryOutcomeCallable; + typedef std::function&)> UnbindDirectoryAsyncHandler; + typedef Outcome UnbindParentPlatformDeviceOutcome; + typedef std::future UnbindParentPlatformDeviceOutcomeCallable; + typedef std::function&)> UnbindParentPlatformDeviceAsyncHandler; + typedef Outcome UnbindPurchasedDeviceOutcome; + typedef std::future UnbindPurchasedDeviceOutcomeCallable; + typedef std::function&)> UnbindPurchasedDeviceAsyncHandler; + typedef Outcome UnbindTemplateOutcome; + typedef std::future UnbindTemplateOutcomeCallable; + typedef std::function&)> UnbindTemplateAsyncHandler; + typedef Outcome UnlockDeviceOutcome; + typedef std::future UnlockDeviceOutcomeCallable; + typedef std::function&)> UnlockDeviceAsyncHandler; + typedef Outcome UpdateVsPullStreamInfoConfigOutcome; + typedef std::future UpdateVsPullStreamInfoConfigOutcomeCallable; + typedef std::function&)> UpdateVsPullStreamInfoConfigAsyncHandler; + + VsClient(const Credentials &credentials, const ClientConfiguration &configuration); + VsClient(const std::shared_ptr &credentialsProvider, const ClientConfiguration &configuration); + VsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration); + ~VsClient(); + AddVsPullStreamInfoConfigOutcome addVsPullStreamInfoConfig(const Model::AddVsPullStreamInfoConfigRequest &request)const; + void addVsPullStreamInfoConfigAsync(const Model::AddVsPullStreamInfoConfigRequest& request, const AddVsPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + AddVsPullStreamInfoConfigOutcomeCallable addVsPullStreamInfoConfigCallable(const Model::AddVsPullStreamInfoConfigRequest& request) const; + BatchBindDirectoriesOutcome batchBindDirectories(const Model::BatchBindDirectoriesRequest &request)const; + void batchBindDirectoriesAsync(const Model::BatchBindDirectoriesRequest& request, const BatchBindDirectoriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchBindDirectoriesOutcomeCallable batchBindDirectoriesCallable(const Model::BatchBindDirectoriesRequest& request) const; + BatchBindParentPlatformDevicesOutcome batchBindParentPlatformDevices(const Model::BatchBindParentPlatformDevicesRequest &request)const; + void batchBindParentPlatformDevicesAsync(const Model::BatchBindParentPlatformDevicesRequest& request, const BatchBindParentPlatformDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchBindParentPlatformDevicesOutcomeCallable batchBindParentPlatformDevicesCallable(const Model::BatchBindParentPlatformDevicesRequest& request) const; + BatchBindPurchasedDevicesOutcome batchBindPurchasedDevices(const Model::BatchBindPurchasedDevicesRequest &request)const; + void batchBindPurchasedDevicesAsync(const Model::BatchBindPurchasedDevicesRequest& request, const BatchBindPurchasedDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchBindPurchasedDevicesOutcomeCallable batchBindPurchasedDevicesCallable(const Model::BatchBindPurchasedDevicesRequest& request) const; + BatchBindTemplateOutcome batchBindTemplate(const Model::BatchBindTemplateRequest &request)const; + void batchBindTemplateAsync(const Model::BatchBindTemplateRequest& request, const BatchBindTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchBindTemplateOutcomeCallable batchBindTemplateCallable(const Model::BatchBindTemplateRequest& request) const; + BatchBindTemplatesOutcome batchBindTemplates(const Model::BatchBindTemplatesRequest &request)const; + void batchBindTemplatesAsync(const Model::BatchBindTemplatesRequest& request, const BatchBindTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchBindTemplatesOutcomeCallable batchBindTemplatesCallable(const Model::BatchBindTemplatesRequest& request) const; + BatchDeleteDevicesOutcome batchDeleteDevices(const Model::BatchDeleteDevicesRequest &request)const; + void batchDeleteDevicesAsync(const Model::BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchDeleteDevicesOutcomeCallable batchDeleteDevicesCallable(const Model::BatchDeleteDevicesRequest& request) const; + BatchDeleteVsDomainConfigsOutcome batchDeleteVsDomainConfigs(const Model::BatchDeleteVsDomainConfigsRequest &request)const; + void batchDeleteVsDomainConfigsAsync(const Model::BatchDeleteVsDomainConfigsRequest& request, const BatchDeleteVsDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchDeleteVsDomainConfigsOutcomeCallable batchDeleteVsDomainConfigsCallable(const Model::BatchDeleteVsDomainConfigsRequest& request) const; + BatchForbidVsStreamOutcome batchForbidVsStream(const Model::BatchForbidVsStreamRequest &request)const; + void batchForbidVsStreamAsync(const Model::BatchForbidVsStreamRequest& request, const BatchForbidVsStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchForbidVsStreamOutcomeCallable batchForbidVsStreamCallable(const Model::BatchForbidVsStreamRequest& request) const; + BatchResumeVsStreamOutcome batchResumeVsStream(const Model::BatchResumeVsStreamRequest &request)const; + void batchResumeVsStreamAsync(const Model::BatchResumeVsStreamRequest& request, const BatchResumeVsStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchResumeVsStreamOutcomeCallable batchResumeVsStreamCallable(const Model::BatchResumeVsStreamRequest& request) const; + BatchSetVsDomainConfigsOutcome batchSetVsDomainConfigs(const Model::BatchSetVsDomainConfigsRequest &request)const; + void batchSetVsDomainConfigsAsync(const Model::BatchSetVsDomainConfigsRequest& request, const BatchSetVsDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchSetVsDomainConfigsOutcomeCallable batchSetVsDomainConfigsCallable(const Model::BatchSetVsDomainConfigsRequest& request) const; + BatchStartDevicesOutcome batchStartDevices(const Model::BatchStartDevicesRequest &request)const; + void batchStartDevicesAsync(const Model::BatchStartDevicesRequest& request, const BatchStartDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchStartDevicesOutcomeCallable batchStartDevicesCallable(const Model::BatchStartDevicesRequest& request) const; + BatchStartStreamsOutcome batchStartStreams(const Model::BatchStartStreamsRequest &request)const; + void batchStartStreamsAsync(const Model::BatchStartStreamsRequest& request, const BatchStartStreamsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchStartStreamsOutcomeCallable batchStartStreamsCallable(const Model::BatchStartStreamsRequest& request) const; + BatchStopDevicesOutcome batchStopDevices(const Model::BatchStopDevicesRequest &request)const; + void batchStopDevicesAsync(const Model::BatchStopDevicesRequest& request, const BatchStopDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchStopDevicesOutcomeCallable batchStopDevicesCallable(const Model::BatchStopDevicesRequest& request) const; + BatchStopStreamsOutcome batchStopStreams(const Model::BatchStopStreamsRequest &request)const; + void batchStopStreamsAsync(const Model::BatchStopStreamsRequest& request, const BatchStopStreamsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchStopStreamsOutcomeCallable batchStopStreamsCallable(const Model::BatchStopStreamsRequest& request) const; + BatchUnbindDirectoriesOutcome batchUnbindDirectories(const Model::BatchUnbindDirectoriesRequest &request)const; + void batchUnbindDirectoriesAsync(const Model::BatchUnbindDirectoriesRequest& request, const BatchUnbindDirectoriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUnbindDirectoriesOutcomeCallable batchUnbindDirectoriesCallable(const Model::BatchUnbindDirectoriesRequest& request) const; + BatchUnbindParentPlatformDevicesOutcome batchUnbindParentPlatformDevices(const Model::BatchUnbindParentPlatformDevicesRequest &request)const; + void batchUnbindParentPlatformDevicesAsync(const Model::BatchUnbindParentPlatformDevicesRequest& request, const BatchUnbindParentPlatformDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUnbindParentPlatformDevicesOutcomeCallable batchUnbindParentPlatformDevicesCallable(const Model::BatchUnbindParentPlatformDevicesRequest& request) const; + BatchUnbindPurchasedDevicesOutcome batchUnbindPurchasedDevices(const Model::BatchUnbindPurchasedDevicesRequest &request)const; + void batchUnbindPurchasedDevicesAsync(const Model::BatchUnbindPurchasedDevicesRequest& request, const BatchUnbindPurchasedDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUnbindPurchasedDevicesOutcomeCallable batchUnbindPurchasedDevicesCallable(const Model::BatchUnbindPurchasedDevicesRequest& request) const; + BatchUnbindTemplateOutcome batchUnbindTemplate(const Model::BatchUnbindTemplateRequest &request)const; + void batchUnbindTemplateAsync(const Model::BatchUnbindTemplateRequest& request, const BatchUnbindTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUnbindTemplateOutcomeCallable batchUnbindTemplateCallable(const Model::BatchUnbindTemplateRequest& request) const; + BatchUnbindTemplatesOutcome batchUnbindTemplates(const Model::BatchUnbindTemplatesRequest &request)const; + void batchUnbindTemplatesAsync(const Model::BatchUnbindTemplatesRequest& request, const BatchUnbindTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BatchUnbindTemplatesOutcomeCallable batchUnbindTemplatesCallable(const Model::BatchUnbindTemplatesRequest& request) const; + BindDirectoryOutcome bindDirectory(const Model::BindDirectoryRequest &request)const; + void bindDirectoryAsync(const Model::BindDirectoryRequest& request, const BindDirectoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindDirectoryOutcomeCallable bindDirectoryCallable(const Model::BindDirectoryRequest& request) const; + BindParentPlatformDeviceOutcome bindParentPlatformDevice(const Model::BindParentPlatformDeviceRequest &request)const; + void bindParentPlatformDeviceAsync(const Model::BindParentPlatformDeviceRequest& request, const BindParentPlatformDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindParentPlatformDeviceOutcomeCallable bindParentPlatformDeviceCallable(const Model::BindParentPlatformDeviceRequest& request) const; + BindPurchasedDeviceOutcome bindPurchasedDevice(const Model::BindPurchasedDeviceRequest &request)const; + void bindPurchasedDeviceAsync(const Model::BindPurchasedDeviceRequest& request, const BindPurchasedDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindPurchasedDeviceOutcomeCallable bindPurchasedDeviceCallable(const Model::BindPurchasedDeviceRequest& request) const; + BindTemplateOutcome bindTemplate(const Model::BindTemplateRequest &request)const; + void bindTemplateAsync(const Model::BindTemplateRequest& request, const BindTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + BindTemplateOutcomeCallable bindTemplateCallable(const Model::BindTemplateRequest& request) const; + ContinuousAdjustOutcome continuousAdjust(const Model::ContinuousAdjustRequest &request)const; + void continuousAdjustAsync(const Model::ContinuousAdjustRequest& request, const ContinuousAdjustAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ContinuousAdjustOutcomeCallable continuousAdjustCallable(const Model::ContinuousAdjustRequest& request) const; + ContinuousMoveOutcome continuousMove(const Model::ContinuousMoveRequest &request)const; + void continuousMoveAsync(const Model::ContinuousMoveRequest& request, const ContinuousMoveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ContinuousMoveOutcomeCallable continuousMoveCallable(const Model::ContinuousMoveRequest& request) const; + CreateDeviceOutcome createDevice(const Model::CreateDeviceRequest &request)const; + void createDeviceAsync(const Model::CreateDeviceRequest& request, const CreateDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDeviceOutcomeCallable createDeviceCallable(const Model::CreateDeviceRequest& request) const; + CreateDeviceAlarmOutcome createDeviceAlarm(const Model::CreateDeviceAlarmRequest &request)const; + void createDeviceAlarmAsync(const Model::CreateDeviceAlarmRequest& request, const CreateDeviceAlarmAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDeviceAlarmOutcomeCallable createDeviceAlarmCallable(const Model::CreateDeviceAlarmRequest& request) const; + CreateDirectoryOutcome createDirectory(const Model::CreateDirectoryRequest &request)const; + void createDirectoryAsync(const Model::CreateDirectoryRequest& request, const CreateDirectoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateDirectoryOutcomeCallable createDirectoryCallable(const Model::CreateDirectoryRequest& request) const; + CreateGroupOutcome createGroup(const Model::CreateGroupRequest &request)const; + void createGroupAsync(const Model::CreateGroupRequest& request, const CreateGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateGroupOutcomeCallable createGroupCallable(const Model::CreateGroupRequest& request) const; + CreateParentPlatformOutcome createParentPlatform(const Model::CreateParentPlatformRequest &request)const; + void createParentPlatformAsync(const Model::CreateParentPlatformRequest& request, const CreateParentPlatformAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateParentPlatformOutcomeCallable createParentPlatformCallable(const Model::CreateParentPlatformRequest& request) const; + CreateStreamSnapshotOutcome createStreamSnapshot(const Model::CreateStreamSnapshotRequest &request)const; + void createStreamSnapshotAsync(const Model::CreateStreamSnapshotRequest& request, const CreateStreamSnapshotAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateStreamSnapshotOutcomeCallable createStreamSnapshotCallable(const Model::CreateStreamSnapshotRequest& request) const; + CreateTemplateOutcome createTemplate(const Model::CreateTemplateRequest &request)const; + void createTemplateAsync(const Model::CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + CreateTemplateOutcomeCallable createTemplateCallable(const Model::CreateTemplateRequest& request) const; + DeleteDeviceOutcome deleteDevice(const Model::DeleteDeviceRequest &request)const; + void deleteDeviceAsync(const Model::DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDeviceOutcomeCallable deleteDeviceCallable(const Model::DeleteDeviceRequest& request) const; + DeleteDirectoryOutcome deleteDirectory(const Model::DeleteDirectoryRequest &request)const; + void deleteDirectoryAsync(const Model::DeleteDirectoryRequest& request, const DeleteDirectoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteDirectoryOutcomeCallable deleteDirectoryCallable(const Model::DeleteDirectoryRequest& request) const; + DeleteGroupOutcome deleteGroup(const Model::DeleteGroupRequest &request)const; + void deleteGroupAsync(const Model::DeleteGroupRequest& request, const DeleteGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteGroupOutcomeCallable deleteGroupCallable(const Model::DeleteGroupRequest& request) const; + DeleteParentPlatformOutcome deleteParentPlatform(const Model::DeleteParentPlatformRequest &request)const; + void deleteParentPlatformAsync(const Model::DeleteParentPlatformRequest& request, const DeleteParentPlatformAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteParentPlatformOutcomeCallable deleteParentPlatformCallable(const Model::DeleteParentPlatformRequest& request) const; + DeletePresetOutcome deletePreset(const Model::DeletePresetRequest &request)const; + void deletePresetAsync(const Model::DeletePresetRequest& request, const DeletePresetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeletePresetOutcomeCallable deletePresetCallable(const Model::DeletePresetRequest& request) const; + DeleteTemplateOutcome deleteTemplate(const Model::DeleteTemplateRequest &request)const; + void deleteTemplateAsync(const Model::DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteTemplateOutcomeCallable deleteTemplateCallable(const Model::DeleteTemplateRequest& request) const; + DeleteVsPullStreamInfoConfigOutcome deleteVsPullStreamInfoConfig(const Model::DeleteVsPullStreamInfoConfigRequest &request)const; + void deleteVsPullStreamInfoConfigAsync(const Model::DeleteVsPullStreamInfoConfigRequest& request, const DeleteVsPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVsPullStreamInfoConfigOutcomeCallable deleteVsPullStreamInfoConfigCallable(const Model::DeleteVsPullStreamInfoConfigRequest& request) const; + DeleteVsStreamsNotifyUrlConfigOutcome deleteVsStreamsNotifyUrlConfig(const Model::DeleteVsStreamsNotifyUrlConfigRequest &request)const; + void deleteVsStreamsNotifyUrlConfigAsync(const Model::DeleteVsStreamsNotifyUrlConfigRequest& request, const DeleteVsStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DeleteVsStreamsNotifyUrlConfigOutcomeCallable deleteVsStreamsNotifyUrlConfigCallable(const Model::DeleteVsStreamsNotifyUrlConfigRequest& request) const; + DescribeAccountStatOutcome describeAccountStat(const Model::DescribeAccountStatRequest &request)const; + void describeAccountStatAsync(const Model::DescribeAccountStatRequest& request, const DescribeAccountStatAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeAccountStatOutcomeCallable describeAccountStatCallable(const Model::DescribeAccountStatRequest& request) const; + DescribeDeviceOutcome describeDevice(const Model::DescribeDeviceRequest &request)const; + void describeDeviceAsync(const Model::DescribeDeviceRequest& request, const DescribeDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDeviceOutcomeCallable describeDeviceCallable(const Model::DescribeDeviceRequest& request) const; + DescribeDeviceChannelsOutcome describeDeviceChannels(const Model::DescribeDeviceChannelsRequest &request)const; + void describeDeviceChannelsAsync(const Model::DescribeDeviceChannelsRequest& request, const DescribeDeviceChannelsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDeviceChannelsOutcomeCallable describeDeviceChannelsCallable(const Model::DescribeDeviceChannelsRequest& request) const; + DescribeDeviceGatewayOutcome describeDeviceGateway(const Model::DescribeDeviceGatewayRequest &request)const; + void describeDeviceGatewayAsync(const Model::DescribeDeviceGatewayRequest& request, const DescribeDeviceGatewayAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDeviceGatewayOutcomeCallable describeDeviceGatewayCallable(const Model::DescribeDeviceGatewayRequest& request) const; + DescribeDeviceURLOutcome describeDeviceURL(const Model::DescribeDeviceURLRequest &request)const; + void describeDeviceURLAsync(const Model::DescribeDeviceURLRequest& request, const DescribeDeviceURLAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDeviceURLOutcomeCallable describeDeviceURLCallable(const Model::DescribeDeviceURLRequest& request) const; + DescribeDevicesOutcome describeDevices(const Model::DescribeDevicesRequest &request)const; + void describeDevicesAsync(const Model::DescribeDevicesRequest& request, const DescribeDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDevicesOutcomeCallable describeDevicesCallable(const Model::DescribeDevicesRequest& request) const; + DescribeDirectoriesOutcome describeDirectories(const Model::DescribeDirectoriesRequest &request)const; + void describeDirectoriesAsync(const Model::DescribeDirectoriesRequest& request, const DescribeDirectoriesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDirectoriesOutcomeCallable describeDirectoriesCallable(const Model::DescribeDirectoriesRequest& request) const; + DescribeDirectoryOutcome describeDirectory(const Model::DescribeDirectoryRequest &request)const; + void describeDirectoryAsync(const Model::DescribeDirectoryRequest& request, const DescribeDirectoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeDirectoryOutcomeCallable describeDirectoryCallable(const Model::DescribeDirectoryRequest& request) const; + DescribeGroupOutcome describeGroup(const Model::DescribeGroupRequest &request)const; + void describeGroupAsync(const Model::DescribeGroupRequest& request, const DescribeGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGroupOutcomeCallable describeGroupCallable(const Model::DescribeGroupRequest& request) const; + DescribeGroupsOutcome describeGroups(const Model::DescribeGroupsRequest &request)const; + void describeGroupsAsync(const Model::DescribeGroupsRequest& request, const DescribeGroupsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeGroupsOutcomeCallable describeGroupsCallable(const Model::DescribeGroupsRequest& request) const; + DescribeParentPlatformOutcome describeParentPlatform(const Model::DescribeParentPlatformRequest &request)const; + void describeParentPlatformAsync(const Model::DescribeParentPlatformRequest& request, const DescribeParentPlatformAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeParentPlatformOutcomeCallable describeParentPlatformCallable(const Model::DescribeParentPlatformRequest& request) const; + DescribeParentPlatformDevicesOutcome describeParentPlatformDevices(const Model::DescribeParentPlatformDevicesRequest &request)const; + void describeParentPlatformDevicesAsync(const Model::DescribeParentPlatformDevicesRequest& request, const DescribeParentPlatformDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeParentPlatformDevicesOutcomeCallable describeParentPlatformDevicesCallable(const Model::DescribeParentPlatformDevicesRequest& request) const; + DescribeParentPlatformsOutcome describeParentPlatforms(const Model::DescribeParentPlatformsRequest &request)const; + void describeParentPlatformsAsync(const Model::DescribeParentPlatformsRequest& request, const DescribeParentPlatformsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeParentPlatformsOutcomeCallable describeParentPlatformsCallable(const Model::DescribeParentPlatformsRequest& request) const; + DescribePresetsOutcome describePresets(const Model::DescribePresetsRequest &request)const; + void describePresetsAsync(const Model::DescribePresetsRequest& request, const DescribePresetsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribePresetsOutcomeCallable describePresetsCallable(const Model::DescribePresetsRequest& request) const; + DescribePurchasedDeviceOutcome describePurchasedDevice(const Model::DescribePurchasedDeviceRequest &request)const; + void describePurchasedDeviceAsync(const Model::DescribePurchasedDeviceRequest& request, const DescribePurchasedDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribePurchasedDeviceOutcomeCallable describePurchasedDeviceCallable(const Model::DescribePurchasedDeviceRequest& request) const; + DescribePurchasedDevicesOutcome describePurchasedDevices(const Model::DescribePurchasedDevicesRequest &request)const; + void describePurchasedDevicesAsync(const Model::DescribePurchasedDevicesRequest& request, const DescribePurchasedDevicesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribePurchasedDevicesOutcomeCallable describePurchasedDevicesCallable(const Model::DescribePurchasedDevicesRequest& request) const; + DescribeRecordsOutcome describeRecords(const Model::DescribeRecordsRequest &request)const; + void describeRecordsAsync(const Model::DescribeRecordsRequest& request, const DescribeRecordsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeRecordsOutcomeCallable describeRecordsCallable(const Model::DescribeRecordsRequest& request) const; + DescribeStreamOutcome describeStream(const Model::DescribeStreamRequest &request)const; + void describeStreamAsync(const Model::DescribeStreamRequest& request, const DescribeStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStreamOutcomeCallable describeStreamCallable(const Model::DescribeStreamRequest& request) const; + DescribeStreamURLOutcome describeStreamURL(const Model::DescribeStreamURLRequest &request)const; + void describeStreamURLAsync(const Model::DescribeStreamURLRequest& request, const DescribeStreamURLAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStreamURLOutcomeCallable describeStreamURLCallable(const Model::DescribeStreamURLRequest& request) const; + DescribeStreamVodListOutcome describeStreamVodList(const Model::DescribeStreamVodListRequest &request)const; + void describeStreamVodListAsync(const Model::DescribeStreamVodListRequest& request, const DescribeStreamVodListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStreamVodListOutcomeCallable describeStreamVodListCallable(const Model::DescribeStreamVodListRequest& request) const; + DescribeStreamsOutcome describeStreams(const Model::DescribeStreamsRequest &request)const; + void describeStreamsAsync(const Model::DescribeStreamsRequest& request, const DescribeStreamsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeStreamsOutcomeCallable describeStreamsCallable(const Model::DescribeStreamsRequest& request) const; + DescribeTemplateOutcome describeTemplate(const Model::DescribeTemplateRequest &request)const; + void describeTemplateAsync(const Model::DescribeTemplateRequest& request, const DescribeTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTemplateOutcomeCallable describeTemplateCallable(const Model::DescribeTemplateRequest& request) const; + DescribeTemplatesOutcome describeTemplates(const Model::DescribeTemplatesRequest &request)const; + void describeTemplatesAsync(const Model::DescribeTemplatesRequest& request, const DescribeTemplatesAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeTemplatesOutcomeCallable describeTemplatesCallable(const Model::DescribeTemplatesRequest& request) const; + DescribeVodStreamURLOutcome describeVodStreamURL(const Model::DescribeVodStreamURLRequest &request)const; + void describeVodStreamURLAsync(const Model::DescribeVodStreamURLRequest& request, const DescribeVodStreamURLAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVodStreamURLOutcomeCallable describeVodStreamURLCallable(const Model::DescribeVodStreamURLRequest& request) const; + DescribeVsCertificateDetailOutcome describeVsCertificateDetail(const Model::DescribeVsCertificateDetailRequest &request)const; + void describeVsCertificateDetailAsync(const Model::DescribeVsCertificateDetailRequest& request, const DescribeVsCertificateDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsCertificateDetailOutcomeCallable describeVsCertificateDetailCallable(const Model::DescribeVsCertificateDetailRequest& request) const; + DescribeVsCertificateListOutcome describeVsCertificateList(const Model::DescribeVsCertificateListRequest &request)const; + void describeVsCertificateListAsync(const Model::DescribeVsCertificateListRequest& request, const DescribeVsCertificateListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsCertificateListOutcomeCallable describeVsCertificateListCallable(const Model::DescribeVsCertificateListRequest& request) const; + DescribeVsDomainBpsDataOutcome describeVsDomainBpsData(const Model::DescribeVsDomainBpsDataRequest &request)const; + void describeVsDomainBpsDataAsync(const Model::DescribeVsDomainBpsDataRequest& request, const DescribeVsDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainBpsDataOutcomeCallable describeVsDomainBpsDataCallable(const Model::DescribeVsDomainBpsDataRequest& request) const; + DescribeVsDomainCertificateInfoOutcome describeVsDomainCertificateInfo(const Model::DescribeVsDomainCertificateInfoRequest &request)const; + void describeVsDomainCertificateInfoAsync(const Model::DescribeVsDomainCertificateInfoRequest& request, const DescribeVsDomainCertificateInfoAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainCertificateInfoOutcomeCallable describeVsDomainCertificateInfoCallable(const Model::DescribeVsDomainCertificateInfoRequest& request) const; + DescribeVsDomainConfigsOutcome describeVsDomainConfigs(const Model::DescribeVsDomainConfigsRequest &request)const; + void describeVsDomainConfigsAsync(const Model::DescribeVsDomainConfigsRequest& request, const DescribeVsDomainConfigsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainConfigsOutcomeCallable describeVsDomainConfigsCallable(const Model::DescribeVsDomainConfigsRequest& request) const; + DescribeVsDomainDetailOutcome describeVsDomainDetail(const Model::DescribeVsDomainDetailRequest &request)const; + void describeVsDomainDetailAsync(const Model::DescribeVsDomainDetailRequest& request, const DescribeVsDomainDetailAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainDetailOutcomeCallable describeVsDomainDetailCallable(const Model::DescribeVsDomainDetailRequest& request) const; + DescribeVsDomainPvDataOutcome describeVsDomainPvData(const Model::DescribeVsDomainPvDataRequest &request)const; + void describeVsDomainPvDataAsync(const Model::DescribeVsDomainPvDataRequest& request, const DescribeVsDomainPvDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainPvDataOutcomeCallable describeVsDomainPvDataCallable(const Model::DescribeVsDomainPvDataRequest& request) const; + DescribeVsDomainRecordDataOutcome describeVsDomainRecordData(const Model::DescribeVsDomainRecordDataRequest &request)const; + void describeVsDomainRecordDataAsync(const Model::DescribeVsDomainRecordDataRequest& request, const DescribeVsDomainRecordDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainRecordDataOutcomeCallable describeVsDomainRecordDataCallable(const Model::DescribeVsDomainRecordDataRequest& request) const; + DescribeVsDomainRegionDataOutcome describeVsDomainRegionData(const Model::DescribeVsDomainRegionDataRequest &request)const; + void describeVsDomainRegionDataAsync(const Model::DescribeVsDomainRegionDataRequest& request, const DescribeVsDomainRegionDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainRegionDataOutcomeCallable describeVsDomainRegionDataCallable(const Model::DescribeVsDomainRegionDataRequest& request) const; + DescribeVsDomainReqBpsDataOutcome describeVsDomainReqBpsData(const Model::DescribeVsDomainReqBpsDataRequest &request)const; + void describeVsDomainReqBpsDataAsync(const Model::DescribeVsDomainReqBpsDataRequest& request, const DescribeVsDomainReqBpsDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainReqBpsDataOutcomeCallable describeVsDomainReqBpsDataCallable(const Model::DescribeVsDomainReqBpsDataRequest& request) const; + DescribeVsDomainReqTrafficDataOutcome describeVsDomainReqTrafficData(const Model::DescribeVsDomainReqTrafficDataRequest &request)const; + void describeVsDomainReqTrafficDataAsync(const Model::DescribeVsDomainReqTrafficDataRequest& request, const DescribeVsDomainReqTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainReqTrafficDataOutcomeCallable describeVsDomainReqTrafficDataCallable(const Model::DescribeVsDomainReqTrafficDataRequest& request) const; + DescribeVsDomainSnapshotDataOutcome describeVsDomainSnapshotData(const Model::DescribeVsDomainSnapshotDataRequest &request)const; + void describeVsDomainSnapshotDataAsync(const Model::DescribeVsDomainSnapshotDataRequest& request, const DescribeVsDomainSnapshotDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainSnapshotDataOutcomeCallable describeVsDomainSnapshotDataCallable(const Model::DescribeVsDomainSnapshotDataRequest& request) const; + DescribeVsDomainTrafficDataOutcome describeVsDomainTrafficData(const Model::DescribeVsDomainTrafficDataRequest &request)const; + void describeVsDomainTrafficDataAsync(const Model::DescribeVsDomainTrafficDataRequest& request, const DescribeVsDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainTrafficDataOutcomeCallable describeVsDomainTrafficDataCallable(const Model::DescribeVsDomainTrafficDataRequest& request) const; + DescribeVsDomainUvDataOutcome describeVsDomainUvData(const Model::DescribeVsDomainUvDataRequest &request)const; + void describeVsDomainUvDataAsync(const Model::DescribeVsDomainUvDataRequest& request, const DescribeVsDomainUvDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsDomainUvDataOutcomeCallable describeVsDomainUvDataCallable(const Model::DescribeVsDomainUvDataRequest& request) const; + DescribeVsPullStreamInfoConfigOutcome describeVsPullStreamInfoConfig(const Model::DescribeVsPullStreamInfoConfigRequest &request)const; + void describeVsPullStreamInfoConfigAsync(const Model::DescribeVsPullStreamInfoConfigRequest& request, const DescribeVsPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsPullStreamInfoConfigOutcomeCallable describeVsPullStreamInfoConfigCallable(const Model::DescribeVsPullStreamInfoConfigRequest& request) const; + DescribeVsStreamsNotifyUrlConfigOutcome describeVsStreamsNotifyUrlConfig(const Model::DescribeVsStreamsNotifyUrlConfigRequest &request)const; + void describeVsStreamsNotifyUrlConfigAsync(const Model::DescribeVsStreamsNotifyUrlConfigRequest& request, const DescribeVsStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsStreamsNotifyUrlConfigOutcomeCallable describeVsStreamsNotifyUrlConfigCallable(const Model::DescribeVsStreamsNotifyUrlConfigRequest& request) const; + DescribeVsStreamsOnlineListOutcome describeVsStreamsOnlineList(const Model::DescribeVsStreamsOnlineListRequest &request)const; + void describeVsStreamsOnlineListAsync(const Model::DescribeVsStreamsOnlineListRequest& request, const DescribeVsStreamsOnlineListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsStreamsOnlineListOutcomeCallable describeVsStreamsOnlineListCallable(const Model::DescribeVsStreamsOnlineListRequest& request) const; + DescribeVsStreamsPublishListOutcome describeVsStreamsPublishList(const Model::DescribeVsStreamsPublishListRequest &request)const; + void describeVsStreamsPublishListAsync(const Model::DescribeVsStreamsPublishListRequest& request, const DescribeVsStreamsPublishListAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsStreamsPublishListOutcomeCallable describeVsStreamsPublishListCallable(const Model::DescribeVsStreamsPublishListRequest& request) const; + DescribeVsTopDomainsByFlowOutcome describeVsTopDomainsByFlow(const Model::DescribeVsTopDomainsByFlowRequest &request)const; + void describeVsTopDomainsByFlowAsync(const Model::DescribeVsTopDomainsByFlowRequest& request, const DescribeVsTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsTopDomainsByFlowOutcomeCallable describeVsTopDomainsByFlowCallable(const Model::DescribeVsTopDomainsByFlowRequest& request) const; + DescribeVsUpPeakPublishStreamDataOutcome describeVsUpPeakPublishStreamData(const Model::DescribeVsUpPeakPublishStreamDataRequest &request)const; + void describeVsUpPeakPublishStreamDataAsync(const Model::DescribeVsUpPeakPublishStreamDataRequest& request, const DescribeVsUpPeakPublishStreamDataAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsUpPeakPublishStreamDataOutcomeCallable describeVsUpPeakPublishStreamDataCallable(const Model::DescribeVsUpPeakPublishStreamDataRequest& request) const; + DescribeVsUserResourcePackageOutcome describeVsUserResourcePackage(const Model::DescribeVsUserResourcePackageRequest &request)const; + void describeVsUserResourcePackageAsync(const Model::DescribeVsUserResourcePackageRequest& request, const DescribeVsUserResourcePackageAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + DescribeVsUserResourcePackageOutcomeCallable describeVsUserResourcePackageCallable(const Model::DescribeVsUserResourcePackageRequest& request) const; + ForbidVsStreamOutcome forbidVsStream(const Model::ForbidVsStreamRequest &request)const; + void forbidVsStreamAsync(const Model::ForbidVsStreamRequest& request, const ForbidVsStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ForbidVsStreamOutcomeCallable forbidVsStreamCallable(const Model::ForbidVsStreamRequest& request) const; + GotoPresetOutcome gotoPreset(const Model::GotoPresetRequest &request)const; + void gotoPresetAsync(const Model::GotoPresetRequest& request, const GotoPresetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + GotoPresetOutcomeCallable gotoPresetCallable(const Model::GotoPresetRequest& request) const; + ModifyDeviceOutcome modifyDevice(const Model::ModifyDeviceRequest &request)const; + void modifyDeviceAsync(const Model::ModifyDeviceRequest& request, const ModifyDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDeviceOutcomeCallable modifyDeviceCallable(const Model::ModifyDeviceRequest& request) const; + ModifyDeviceAlarmOutcome modifyDeviceAlarm(const Model::ModifyDeviceAlarmRequest &request)const; + void modifyDeviceAlarmAsync(const Model::ModifyDeviceAlarmRequest& request, const ModifyDeviceAlarmAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDeviceAlarmOutcomeCallable modifyDeviceAlarmCallable(const Model::ModifyDeviceAlarmRequest& request) const; + ModifyDeviceCaptureOutcome modifyDeviceCapture(const Model::ModifyDeviceCaptureRequest &request)const; + void modifyDeviceCaptureAsync(const Model::ModifyDeviceCaptureRequest& request, const ModifyDeviceCaptureAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDeviceCaptureOutcomeCallable modifyDeviceCaptureCallable(const Model::ModifyDeviceCaptureRequest& request) const; + ModifyDeviceChannelsOutcome modifyDeviceChannels(const Model::ModifyDeviceChannelsRequest &request)const; + void modifyDeviceChannelsAsync(const Model::ModifyDeviceChannelsRequest& request, const ModifyDeviceChannelsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDeviceChannelsOutcomeCallable modifyDeviceChannelsCallable(const Model::ModifyDeviceChannelsRequest& request) const; + ModifyDirectoryOutcome modifyDirectory(const Model::ModifyDirectoryRequest &request)const; + void modifyDirectoryAsync(const Model::ModifyDirectoryRequest& request, const ModifyDirectoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyDirectoryOutcomeCallable modifyDirectoryCallable(const Model::ModifyDirectoryRequest& request) const; + ModifyGroupOutcome modifyGroup(const Model::ModifyGroupRequest &request)const; + void modifyGroupAsync(const Model::ModifyGroupRequest& request, const ModifyGroupAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyGroupOutcomeCallable modifyGroupCallable(const Model::ModifyGroupRequest& request) const; + ModifyParentPlatformOutcome modifyParentPlatform(const Model::ModifyParentPlatformRequest &request)const; + void modifyParentPlatformAsync(const Model::ModifyParentPlatformRequest& request, const ModifyParentPlatformAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyParentPlatformOutcomeCallable modifyParentPlatformCallable(const Model::ModifyParentPlatformRequest& request) const; + ModifyTemplateOutcome modifyTemplate(const Model::ModifyTemplateRequest &request)const; + void modifyTemplateAsync(const Model::ModifyTemplateRequest& request, const ModifyTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ModifyTemplateOutcomeCallable modifyTemplateCallable(const Model::ModifyTemplateRequest& request) const; + ResumeVsStreamOutcome resumeVsStream(const Model::ResumeVsStreamRequest &request)const; + void resumeVsStreamAsync(const Model::ResumeVsStreamRequest& request, const ResumeVsStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + ResumeVsStreamOutcomeCallable resumeVsStreamCallable(const Model::ResumeVsStreamRequest& request) const; + SetPresetOutcome setPreset(const Model::SetPresetRequest &request)const; + void setPresetAsync(const Model::SetPresetRequest& request, const SetPresetAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetPresetOutcomeCallable setPresetCallable(const Model::SetPresetRequest& request) const; + SetVsDomainCertificateOutcome setVsDomainCertificate(const Model::SetVsDomainCertificateRequest &request)const; + void setVsDomainCertificateAsync(const Model::SetVsDomainCertificateRequest& request, const SetVsDomainCertificateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetVsDomainCertificateOutcomeCallable setVsDomainCertificateCallable(const Model::SetVsDomainCertificateRequest& request) const; + SetVsStreamsNotifyUrlConfigOutcome setVsStreamsNotifyUrlConfig(const Model::SetVsStreamsNotifyUrlConfigRequest &request)const; + void setVsStreamsNotifyUrlConfigAsync(const Model::SetVsStreamsNotifyUrlConfigRequest& request, const SetVsStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SetVsStreamsNotifyUrlConfigOutcomeCallable setVsStreamsNotifyUrlConfigCallable(const Model::SetVsStreamsNotifyUrlConfigRequest& request) const; + StartDeviceOutcome startDevice(const Model::StartDeviceRequest &request)const; + void startDeviceAsync(const Model::StartDeviceRequest& request, const StartDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartDeviceOutcomeCallable startDeviceCallable(const Model::StartDeviceRequest& request) const; + StartParentPlatformOutcome startParentPlatform(const Model::StartParentPlatformRequest &request)const; + void startParentPlatformAsync(const Model::StartParentPlatformRequest& request, const StartParentPlatformAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartParentPlatformOutcomeCallable startParentPlatformCallable(const Model::StartParentPlatformRequest& request) const; + StartRecordStreamOutcome startRecordStream(const Model::StartRecordStreamRequest &request)const; + void startRecordStreamAsync(const Model::StartRecordStreamRequest& request, const StartRecordStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartRecordStreamOutcomeCallable startRecordStreamCallable(const Model::StartRecordStreamRequest& request) const; + StartStreamOutcome startStream(const Model::StartStreamRequest &request)const; + void startStreamAsync(const Model::StartStreamRequest& request, const StartStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartStreamOutcomeCallable startStreamCallable(const Model::StartStreamRequest& request) const; + StartTransferStreamOutcome startTransferStream(const Model::StartTransferStreamRequest &request)const; + void startTransferStreamAsync(const Model::StartTransferStreamRequest& request, const StartTransferStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StartTransferStreamOutcomeCallable startTransferStreamCallable(const Model::StartTransferStreamRequest& request) const; + StopAdjustOutcome stopAdjust(const Model::StopAdjustRequest &request)const; + void stopAdjustAsync(const Model::StopAdjustRequest& request, const StopAdjustAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopAdjustOutcomeCallable stopAdjustCallable(const Model::StopAdjustRequest& request) const; + StopDeviceOutcome stopDevice(const Model::StopDeviceRequest &request)const; + void stopDeviceAsync(const Model::StopDeviceRequest& request, const StopDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopDeviceOutcomeCallable stopDeviceCallable(const Model::StopDeviceRequest& request) const; + StopMoveOutcome stopMove(const Model::StopMoveRequest &request)const; + void stopMoveAsync(const Model::StopMoveRequest& request, const StopMoveAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopMoveOutcomeCallable stopMoveCallable(const Model::StopMoveRequest& request) const; + StopRecordStreamOutcome stopRecordStream(const Model::StopRecordStreamRequest &request)const; + void stopRecordStreamAsync(const Model::StopRecordStreamRequest& request, const StopRecordStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopRecordStreamOutcomeCallable stopRecordStreamCallable(const Model::StopRecordStreamRequest& request) const; + StopStreamOutcome stopStream(const Model::StopStreamRequest &request)const; + void stopStreamAsync(const Model::StopStreamRequest& request, const StopStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopStreamOutcomeCallable stopStreamCallable(const Model::StopStreamRequest& request) const; + StopTransferStreamOutcome stopTransferStream(const Model::StopTransferStreamRequest &request)const; + void stopTransferStreamAsync(const Model::StopTransferStreamRequest& request, const StopTransferStreamAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + StopTransferStreamOutcomeCallable stopTransferStreamCallable(const Model::StopTransferStreamRequest& request) const; + SyncCatalogsOutcome syncCatalogs(const Model::SyncCatalogsRequest &request)const; + void syncCatalogsAsync(const Model::SyncCatalogsRequest& request, const SyncCatalogsAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + SyncCatalogsOutcomeCallable syncCatalogsCallable(const Model::SyncCatalogsRequest& request) const; + UnbindDirectoryOutcome unbindDirectory(const Model::UnbindDirectoryRequest &request)const; + void unbindDirectoryAsync(const Model::UnbindDirectoryRequest& request, const UnbindDirectoryAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnbindDirectoryOutcomeCallable unbindDirectoryCallable(const Model::UnbindDirectoryRequest& request) const; + UnbindParentPlatformDeviceOutcome unbindParentPlatformDevice(const Model::UnbindParentPlatformDeviceRequest &request)const; + void unbindParentPlatformDeviceAsync(const Model::UnbindParentPlatformDeviceRequest& request, const UnbindParentPlatformDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnbindParentPlatformDeviceOutcomeCallable unbindParentPlatformDeviceCallable(const Model::UnbindParentPlatformDeviceRequest& request) const; + UnbindPurchasedDeviceOutcome unbindPurchasedDevice(const Model::UnbindPurchasedDeviceRequest &request)const; + void unbindPurchasedDeviceAsync(const Model::UnbindPurchasedDeviceRequest& request, const UnbindPurchasedDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnbindPurchasedDeviceOutcomeCallable unbindPurchasedDeviceCallable(const Model::UnbindPurchasedDeviceRequest& request) const; + UnbindTemplateOutcome unbindTemplate(const Model::UnbindTemplateRequest &request)const; + void unbindTemplateAsync(const Model::UnbindTemplateRequest& request, const UnbindTemplateAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnbindTemplateOutcomeCallable unbindTemplateCallable(const Model::UnbindTemplateRequest& request) const; + UnlockDeviceOutcome unlockDevice(const Model::UnlockDeviceRequest &request)const; + void unlockDeviceAsync(const Model::UnlockDeviceRequest& request, const UnlockDeviceAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UnlockDeviceOutcomeCallable unlockDeviceCallable(const Model::UnlockDeviceRequest& request) const; + UpdateVsPullStreamInfoConfigOutcome updateVsPullStreamInfoConfig(const Model::UpdateVsPullStreamInfoConfigRequest &request)const; + void updateVsPullStreamInfoConfigAsync(const Model::UpdateVsPullStreamInfoConfigRequest& request, const UpdateVsPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context = nullptr) const; + UpdateVsPullStreamInfoConfigOutcomeCallable updateVsPullStreamInfoConfigCallable(const Model::UpdateVsPullStreamInfoConfigRequest& request) const; + + private: + std::shared_ptr endpointProvider_; + }; + } +} + +#endif // !ALIBABACLOUD_VS_VSCLIENT_H_ diff --git a/vs/include/alibabacloud/vs/VsExport.h b/vs/include/alibabacloud/vs/VsExport.h new file mode 100644 index 000000000..551c12fd1 --- /dev/null +++ b/vs/include/alibabacloud/vs/VsExport.h @@ -0,0 +1,32 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_VSEXPORT_H_ +#define ALIBABACLOUD_VS_VSEXPORT_H_ + +#include + +#if defined(ALIBABACLOUD_SHARED) +# if defined(ALIBABACLOUD_VS_LIBRARY) +# define ALIBABACLOUD_VS_EXPORT ALIBABACLOUD_DECL_EXPORT +# else +# define ALIBABACLOUD_VS_EXPORT ALIBABACLOUD_DECL_IMPORT +# endif +#else +# define ALIBABACLOUD_VS_EXPORT +#endif + +#endif // !ALIBABACLOUD_VS_VSEXPORT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/AddVsPullStreamInfoConfigRequest.h b/vs/include/alibabacloud/vs/model/AddVsPullStreamInfoConfigRequest.h new file mode 100644 index 000000000..4d5503be2 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/AddVsPullStreamInfoConfigRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_ADDVSPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_ADDVSPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT AddVsPullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + AddVsPullStreamInfoConfigRequest(); + ~AddVsPullStreamInfoConfigRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getAlways()const; + void setAlways(const std::string& always); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSourceUrl()const; + void setSourceUrl(const std::string& sourceUrl); + + private: + std::string startTime_; + std::string appName_; + std::string streamName_; + std::string showLog_; + std::string always_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string sourceUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_ADDVSPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/AddVsPullStreamInfoConfigResult.h b/vs/include/alibabacloud/vs/model/AddVsPullStreamInfoConfigResult.h new file mode 100644 index 000000000..dfe69fad0 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/AddVsPullStreamInfoConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_ADDVSPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_ADDVSPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT AddVsPullStreamInfoConfigResult : public ServiceResult + { + public: + + + AddVsPullStreamInfoConfigResult(); + explicit AddVsPullStreamInfoConfigResult(const std::string &payload); + ~AddVsPullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_ADDVSPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindDirectoriesRequest.h b/vs/include/alibabacloud/vs/model/BatchBindDirectoriesRequest.h new file mode 100644 index 000000000..20857c512 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindDirectoriesRequest.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_VS_MODEL_BATCHBINDDIRECTORIESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDDIRECTORIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindDirectoriesRequest : public RpcServiceRequest + { + + public: + BatchBindDirectoriesRequest(); + ~BatchBindDirectoriesRequest(); + + std::string getDirectoryId()const; + void setDirectoryId(const std::string& directoryId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string directoryId_; + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDDIRECTORIESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindDirectoriesResult.h b/vs/include/alibabacloud/vs/model/BatchBindDirectoriesResult.h new file mode 100644 index 000000000..7321ebee4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindDirectoriesResult.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_VS_MODEL_BATCHBINDDIRECTORIESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDDIRECTORIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindDirectoriesResult : public ServiceResult + { + public: + struct Result + { + std::string directoryId; + std::string deviceId; + std::string error; + }; + + + BatchBindDirectoriesResult(); + explicit BatchBindDirectoriesResult(const std::string &payload); + ~BatchBindDirectoriesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDDIRECTORIESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindParentPlatformDevicesRequest.h b/vs/include/alibabacloud/vs/model/BatchBindParentPlatformDevicesRequest.h new file mode 100644 index 000000000..751dd7671 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindParentPlatformDevicesRequest.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_VS_MODEL_BATCHBINDPARENTPLATFORMDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDPARENTPLATFORMDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindParentPlatformDevicesRequest : public RpcServiceRequest + { + + public: + BatchBindParentPlatformDevicesRequest(); + ~BatchBindParentPlatformDevicesRequest(); + + std::string getParentPlatformId()const; + void setParentPlatformId(const std::string& parentPlatformId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string parentPlatformId_; + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDPARENTPLATFORMDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindParentPlatformDevicesResult.h b/vs/include/alibabacloud/vs/model/BatchBindParentPlatformDevicesResult.h new file mode 100644 index 000000000..66e8e4998 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindParentPlatformDevicesResult.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_VS_MODEL_BATCHBINDPARENTPLATFORMDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDPARENTPLATFORMDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindParentPlatformDevicesResult : public ServiceResult + { + public: + struct Result + { + std::string parentPlatformId; + std::string deviceId; + std::string error; + }; + + + BatchBindParentPlatformDevicesResult(); + explicit BatchBindParentPlatformDevicesResult(const std::string &payload); + ~BatchBindParentPlatformDevicesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDPARENTPLATFORMDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindPurchasedDevicesRequest.h b/vs/include/alibabacloud/vs/model/BatchBindPurchasedDevicesRequest.h new file mode 100644 index 000000000..2d5aa39d8 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindPurchasedDevicesRequest.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_VS_MODEL_BATCHBINDPURCHASEDDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDPURCHASEDDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindPurchasedDevicesRequest : public RpcServiceRequest + { + + public: + BatchBindPurchasedDevicesRequest(); + ~BatchBindPurchasedDevicesRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + std::string getRegion()const; + void setRegion(const std::string& region); + + private: + std::string showLog_; + std::string groupId_; + long ownerId_; + std::string deviceId_; + std::string region_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDPURCHASEDDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindPurchasedDevicesResult.h b/vs/include/alibabacloud/vs/model/BatchBindPurchasedDevicesResult.h new file mode 100644 index 000000000..333b4fa4f --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindPurchasedDevicesResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHBINDPURCHASEDDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDPURCHASEDDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindPurchasedDevicesResult : public ServiceResult + { + public: + struct Result + { + std::string deviceId; + std::string region; + std::string error; + std::string groupId; + }; + + + BatchBindPurchasedDevicesResult(); + explicit BatchBindPurchasedDevicesResult(const std::string &payload); + ~BatchBindPurchasedDevicesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDPURCHASEDDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindTemplateRequest.h b/vs/include/alibabacloud/vs/model/BatchBindTemplateRequest.h new file mode 100644 index 000000000..03dd95d6e --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindTemplateRequest.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_VS_MODEL_BATCHBINDTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindTemplateRequest : public RpcServiceRequest + { + + public: + BatchBindTemplateRequest(); + ~BatchBindTemplateRequest(); + + bool getReplace()const; + void setReplace(bool replace); + std::string getInstanceType()const; + void setInstanceType(const std::string& instanceType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + bool getApplyAll()const; + void setApplyAll(bool applyAll); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + bool replace_; + std::string instanceType_; + std::string showLog_; + bool applyAll_; + long ownerId_; + std::string templateId_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindTemplateResult.h b/vs/include/alibabacloud/vs/model/BatchBindTemplateResult.h new file mode 100644 index 000000000..70bdd0ff4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindTemplateResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindTemplateResult : public ServiceResult + { + public: + struct Binding + { + std::string instanceId; + std::string error; + std::string instanceType; + std::string templateId; + }; + + + BatchBindTemplateResult(); + explicit BatchBindTemplateResult(const std::string &payload); + ~BatchBindTemplateResult(); + std::vector getBindings()const; + + protected: + void parse(const std::string &payload); + private: + std::vector bindings_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindTemplatesRequest.h b/vs/include/alibabacloud/vs/model/BatchBindTemplatesRequest.h new file mode 100644 index 000000000..1e2cb6cde --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindTemplatesRequest.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_VS_MODEL_BATCHBINDTEMPLATESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindTemplatesRequest : public RpcServiceRequest + { + + public: + BatchBindTemplatesRequest(); + ~BatchBindTemplatesRequest(); + + bool getReplace()const; + void setReplace(bool replace); + std::string getTemplateType()const; + void setTemplateType(const std::string& templateType); + std::string getInstanceType()const; + void setInstanceType(const std::string& instanceType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + bool getApplyAll()const; + void setApplyAll(bool applyAll); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + bool replace_; + std::string templateType_; + std::string instanceType_; + std::string showLog_; + bool applyAll_; + long ownerId_; + std::string templateId_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchBindTemplatesResult.h b/vs/include/alibabacloud/vs/model/BatchBindTemplatesResult.h new file mode 100644 index 000000000..21a1ebee4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchBindTemplatesResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchBindTemplatesResult : public ServiceResult + { + public: + struct Result + { + std::string instanceId; + std::string error; + std::string instanceType; + std::string templateId; + }; + + + BatchBindTemplatesResult(); + explicit BatchBindTemplatesResult(const std::string &payload); + ~BatchBindTemplatesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHBINDTEMPLATESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchDeleteDevicesRequest.h b/vs/include/alibabacloud/vs/model/BatchDeleteDevicesRequest.h new file mode 100644 index 000000000..7c9f85cbc --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchDeleteDevicesRequest.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_VS_MODEL_BATCHDELETEDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHDELETEDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchDeleteDevicesRequest : public RpcServiceRequest + { + + public: + BatchDeleteDevicesRequest(); + ~BatchDeleteDevicesRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHDELETEDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchDeleteDevicesResult.h b/vs/include/alibabacloud/vs/model/BatchDeleteDevicesResult.h new file mode 100644 index 000000000..d9a29375a --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchDeleteDevicesResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHDELETEDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHDELETEDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchDeleteDevicesResult : public ServiceResult + { + public: + struct Result + { + std::string error; + std::string id; + }; + + + BatchDeleteDevicesResult(); + explicit BatchDeleteDevicesResult(const std::string &payload); + ~BatchDeleteDevicesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHDELETEDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsRequest.h b/vs/include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsRequest.h new file mode 100644 index 000000000..0b7b4d319 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsRequest.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_VS_MODEL_BATCHDELETEVSDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHDELETEVSDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchDeleteVsDomainConfigsRequest : public RpcServiceRequest + { + + public: + BatchDeleteVsDomainConfigsRequest(); + ~BatchDeleteVsDomainConfigsRequest(); + + std::string getFunctionNames()const; + void setFunctionNames(const std::string& functionNames); + std::string getDomainNames()const; + void setDomainNames(const std::string& domainNames); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string functionNames_; + std::string domainNames_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHDELETEVSDOMAINCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsResult.h b/vs/include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsResult.h new file mode 100644 index 000000000..3e621e512 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchDeleteVsDomainConfigsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHDELETEVSDOMAINCONFIGSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHDELETEVSDOMAINCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchDeleteVsDomainConfigsResult : public ServiceResult + { + public: + + + BatchDeleteVsDomainConfigsResult(); + explicit BatchDeleteVsDomainConfigsResult(const std::string &payload); + ~BatchDeleteVsDomainConfigsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHDELETEVSDOMAINCONFIGSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchForbidVsStreamRequest.h b/vs/include/alibabacloud/vs/model/BatchForbidVsStreamRequest.h new file mode 100644 index 000000000..5b7e2d654 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchForbidVsStreamRequest.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_VS_MODEL_BATCHFORBIDVSSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHFORBIDVSSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchForbidVsStreamRequest : public RpcServiceRequest + { + + public: + BatchForbidVsStreamRequest(); + ~BatchForbidVsStreamRequest(); + + std::string getChannel()const; + void setChannel(const std::string& channel); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getControlStreamAction()const; + void setControlStreamAction(const std::string& controlStreamAction); + std::string getResumeTime()const; + void setResumeTime(const std::string& resumeTime); + std::string getLiveStreamType()const; + void setLiveStreamType(const std::string& liveStreamType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getOneshot()const; + void setOneshot(const std::string& oneshot); + + private: + std::string channel_; + std::string showLog_; + std::string controlStreamAction_; + std::string resumeTime_; + std::string liveStreamType_; + std::string domainName_; + long ownerId_; + std::string oneshot_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHFORBIDVSSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchForbidVsStreamResult.h b/vs/include/alibabacloud/vs/model/BatchForbidVsStreamResult.h new file mode 100644 index 000000000..30b8b3f79 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchForbidVsStreamResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHFORBIDVSSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHFORBIDVSSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchForbidVsStreamResult : public ServiceResult + { + public: + struct ForbidResultInfo + { + int count; + std::string detail; + std::vector channels; + std::string result; + }; + + + BatchForbidVsStreamResult(); + explicit BatchForbidVsStreamResult(const std::string &payload); + ~BatchForbidVsStreamResult(); + std::vector getForbidResult()const; + + protected: + void parse(const std::string &payload); + private: + std::vector forbidResult_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHFORBIDVSSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchResumeVsStreamRequest.h b/vs/include/alibabacloud/vs/model/BatchResumeVsStreamRequest.h new file mode 100644 index 000000000..4bf29ca31 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchResumeVsStreamRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHRESUMEVSSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHRESUMEVSSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchResumeVsStreamRequest : public RpcServiceRequest + { + + public: + BatchResumeVsStreamRequest(); + ~BatchResumeVsStreamRequest(); + + std::string getChannel()const; + void setChannel(const std::string& channel); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getControlStreamAction()const; + void setControlStreamAction(const std::string& controlStreamAction); + std::string getLiveStreamType()const; + void setLiveStreamType(const std::string& liveStreamType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string channel_; + std::string showLog_; + std::string controlStreamAction_; + std::string liveStreamType_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHRESUMEVSSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchResumeVsStreamResult.h b/vs/include/alibabacloud/vs/model/BatchResumeVsStreamResult.h new file mode 100644 index 000000000..df913bbb5 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchResumeVsStreamResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHRESUMEVSSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHRESUMEVSSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchResumeVsStreamResult : public ServiceResult + { + public: + struct ResumeResultInfo + { + int count; + std::string detail; + std::vector channels; + std::string result; + }; + + + BatchResumeVsStreamResult(); + explicit BatchResumeVsStreamResult(const std::string &payload); + ~BatchResumeVsStreamResult(); + std::vector getResumeResult()const; + + protected: + void parse(const std::string &payload); + private: + std::vector resumeResult_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHRESUMEVSSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchSetVsDomainConfigsRequest.h b/vs/include/alibabacloud/vs/model/BatchSetVsDomainConfigsRequest.h new file mode 100644 index 000000000..9875f9c96 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchSetVsDomainConfigsRequest.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_VS_MODEL_BATCHSETVSDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSETVSDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchSetVsDomainConfigsRequest : public RpcServiceRequest + { + + public: + BatchSetVsDomainConfigsRequest(); + ~BatchSetVsDomainConfigsRequest(); + + std::string getFunctions()const; + void setFunctions(const std::string& functions); + std::string getDomainNames()const; + void setDomainNames(const std::string& domainNames); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string functions_; + std::string domainNames_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSETVSDOMAINCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchSetVsDomainConfigsResult.h b/vs/include/alibabacloud/vs/model/BatchSetVsDomainConfigsResult.h new file mode 100644 index 000000000..5b65f9af0 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchSetVsDomainConfigsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHSETVSDOMAINCONFIGSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSETVSDOMAINCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchSetVsDomainConfigsResult : public ServiceResult + { + public: + + + BatchSetVsDomainConfigsResult(); + explicit BatchSetVsDomainConfigsResult(const std::string &payload); + ~BatchSetVsDomainConfigsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSETVSDOMAINCONFIGSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchStartDevicesRequest.h b/vs/include/alibabacloud/vs/model/BatchStartDevicesRequest.h new file mode 100644 index 000000000..1af323ab2 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchStartDevicesRequest.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_VS_MODEL_BATCHSTARTDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSTARTDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchStartDevicesRequest : public RpcServiceRequest + { + + public: + BatchStartDevicesRequest(); + ~BatchStartDevicesRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSTARTDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchStartDevicesResult.h b/vs/include/alibabacloud/vs/model/BatchStartDevicesResult.h new file mode 100644 index 000000000..4ee52380a --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchStartDevicesResult.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_VS_MODEL_BATCHSTARTDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSTARTDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchStartDevicesResult : public ServiceResult + { + public: + struct Result + { + struct Stream + { + std::string error; + std::string id; + std::string name; + }; + std::string id; + std::vector streams; + }; + + + BatchStartDevicesResult(); + explicit BatchStartDevicesResult(const std::string &payload); + ~BatchStartDevicesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSTARTDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchStartStreamsRequest.h b/vs/include/alibabacloud/vs/model/BatchStartStreamsRequest.h new file mode 100644 index 000000000..2f7261b3a --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchStartStreamsRequest.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_VS_MODEL_BATCHSTARTSTREAMSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSTARTSTREAMSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchStartStreamsRequest : public RpcServiceRequest + { + + public: + BatchStartStreamsRequest(); + ~BatchStartStreamsRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSTARTSTREAMSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchStartStreamsResult.h b/vs/include/alibabacloud/vs/model/BatchStartStreamsResult.h new file mode 100644 index 000000000..79f44f3a4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchStartStreamsResult.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_VS_MODEL_BATCHSTARTSTREAMSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSTARTSTREAMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchStartStreamsResult : public ServiceResult + { + public: + struct Result + { + std::string error; + std::string id; + std::string name; + }; + + + BatchStartStreamsResult(); + explicit BatchStartStreamsResult(const std::string &payload); + ~BatchStartStreamsResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSTARTSTREAMSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchStopDevicesRequest.h b/vs/include/alibabacloud/vs/model/BatchStopDevicesRequest.h new file mode 100644 index 000000000..679bc7b33 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchStopDevicesRequest.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_VS_MODEL_BATCHSTOPDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSTOPDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchStopDevicesRequest : public RpcServiceRequest + { + + public: + BatchStopDevicesRequest(); + ~BatchStopDevicesRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSTOPDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchStopDevicesResult.h b/vs/include/alibabacloud/vs/model/BatchStopDevicesResult.h new file mode 100644 index 000000000..65e31c499 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchStopDevicesResult.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_VS_MODEL_BATCHSTOPDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSTOPDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchStopDevicesResult : public ServiceResult + { + public: + struct Result + { + struct Stream + { + std::string error; + std::string id; + std::string name; + }; + std::string id; + std::vector streams; + }; + + + BatchStopDevicesResult(); + explicit BatchStopDevicesResult(const std::string &payload); + ~BatchStopDevicesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSTOPDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchStopStreamsRequest.h b/vs/include/alibabacloud/vs/model/BatchStopStreamsRequest.h new file mode 100644 index 000000000..71c861167 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchStopStreamsRequest.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_VS_MODEL_BATCHSTOPSTREAMSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSTOPSTREAMSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchStopStreamsRequest : public RpcServiceRequest + { + + public: + BatchStopStreamsRequest(); + ~BatchStopStreamsRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSTOPSTREAMSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchStopStreamsResult.h b/vs/include/alibabacloud/vs/model/BatchStopStreamsResult.h new file mode 100644 index 000000000..1a654c748 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchStopStreamsResult.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_VS_MODEL_BATCHSTOPSTREAMSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHSTOPSTREAMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchStopStreamsResult : public ServiceResult + { + public: + struct Result + { + std::string error; + std::string id; + std::string name; + }; + + + BatchStopStreamsResult(); + explicit BatchStopStreamsResult(const std::string &payload); + ~BatchStopStreamsResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHSTOPSTREAMSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindDirectoriesRequest.h b/vs/include/alibabacloud/vs/model/BatchUnbindDirectoriesRequest.h new file mode 100644 index 000000000..6f67d3e53 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindDirectoriesRequest.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_VS_MODEL_BATCHUNBINDDIRECTORIESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDDIRECTORIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindDirectoriesRequest : public RpcServiceRequest + { + + public: + BatchUnbindDirectoriesRequest(); + ~BatchUnbindDirectoriesRequest(); + + std::string getDirectoryId()const; + void setDirectoryId(const std::string& directoryId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string directoryId_; + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDDIRECTORIESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindDirectoriesResult.h b/vs/include/alibabacloud/vs/model/BatchUnbindDirectoriesResult.h new file mode 100644 index 000000000..d31bb1182 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindDirectoriesResult.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_VS_MODEL_BATCHUNBINDDIRECTORIESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDDIRECTORIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindDirectoriesResult : public ServiceResult + { + public: + struct Result + { + std::string directoryId; + std::string deviceId; + std::string error; + }; + + + BatchUnbindDirectoriesResult(); + explicit BatchUnbindDirectoriesResult(const std::string &payload); + ~BatchUnbindDirectoriesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDDIRECTORIESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesRequest.h b/vs/include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesRequest.h new file mode 100644 index 000000000..9699f514c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesRequest.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_VS_MODEL_BATCHUNBINDPARENTPLATFORMDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDPARENTPLATFORMDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindParentPlatformDevicesRequest : public RpcServiceRequest + { + + public: + BatchUnbindParentPlatformDevicesRequest(); + ~BatchUnbindParentPlatformDevicesRequest(); + + std::string getParentPlatformId()const; + void setParentPlatformId(const std::string& parentPlatformId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string parentPlatformId_; + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDPARENTPLATFORMDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesResult.h b/vs/include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesResult.h new file mode 100644 index 000000000..38640a287 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindParentPlatformDevicesResult.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_VS_MODEL_BATCHUNBINDPARENTPLATFORMDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDPARENTPLATFORMDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindParentPlatformDevicesResult : public ServiceResult + { + public: + struct Result + { + std::string parentPlatformId; + std::string deviceId; + std::string error; + }; + + + BatchUnbindParentPlatformDevicesResult(); + explicit BatchUnbindParentPlatformDevicesResult(const std::string &payload); + ~BatchUnbindParentPlatformDevicesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDPARENTPLATFORMDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesRequest.h b/vs/include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesRequest.h new file mode 100644 index 000000000..8d0862366 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesRequest.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_VS_MODEL_BATCHUNBINDPURCHASEDDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDPURCHASEDDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindPurchasedDevicesRequest : public RpcServiceRequest + { + + public: + BatchUnbindPurchasedDevicesRequest(); + ~BatchUnbindPurchasedDevicesRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDPURCHASEDDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesResult.h b/vs/include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesResult.h new file mode 100644 index 000000000..fb77729e7 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindPurchasedDevicesResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHUNBINDPURCHASEDDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDPURCHASEDDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindPurchasedDevicesResult : public ServiceResult + { + public: + struct Result + { + std::string deviceId; + std::string error; + }; + + + BatchUnbindPurchasedDevicesResult(); + explicit BatchUnbindPurchasedDevicesResult(const std::string &payload); + ~BatchUnbindPurchasedDevicesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDPURCHASEDDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindTemplateRequest.h b/vs/include/alibabacloud/vs/model/BatchUnbindTemplateRequest.h new file mode 100644 index 000000000..e22b03b3c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindTemplateRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindTemplateRequest : public RpcServiceRequest + { + + public: + BatchUnbindTemplateRequest(); + ~BatchUnbindTemplateRequest(); + + std::string getTemplateType()const; + void setTemplateType(const std::string& templateType); + std::string getInstanceType()const; + void setInstanceType(const std::string& instanceType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + std::string templateType_; + std::string instanceType_; + std::string showLog_; + long ownerId_; + std::string templateId_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindTemplateResult.h b/vs/include/alibabacloud/vs/model/BatchUnbindTemplateResult.h new file mode 100644 index 000000000..d79c17fef --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindTemplateResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindTemplateResult : public ServiceResult + { + public: + struct Binding + { + std::string instanceId; + std::string error; + std::string instanceType; + std::string templateId; + }; + + + BatchUnbindTemplateResult(); + explicit BatchUnbindTemplateResult(const std::string &payload); + ~BatchUnbindTemplateResult(); + std::vector getBindings()const; + + protected: + void parse(const std::string &payload); + private: + std::vector bindings_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindTemplatesRequest.h b/vs/include/alibabacloud/vs/model/BatchUnbindTemplatesRequest.h new file mode 100644 index 000000000..bff586dbf --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindTemplatesRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindTemplatesRequest : public RpcServiceRequest + { + + public: + BatchUnbindTemplatesRequest(); + ~BatchUnbindTemplatesRequest(); + + std::string getTemplateType()const; + void setTemplateType(const std::string& templateType); + std::string getInstanceType()const; + void setInstanceType(const std::string& instanceType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + std::string templateType_; + std::string instanceType_; + std::string showLog_; + long ownerId_; + std::string templateId_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BatchUnbindTemplatesResult.h b/vs/include/alibabacloud/vs/model/BatchUnbindTemplatesResult.h new file mode 100644 index 000000000..82fd89cde --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BatchUnbindTemplatesResult.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_VS_MODEL_BATCHUNBINDTEMPLATESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BatchUnbindTemplatesResult : public ServiceResult + { + public: + struct Result + { + std::string instanceId; + std::string error; + std::string templateType; + std::string instanceType; + std::string templateId; + }; + + + BatchUnbindTemplatesResult(); + explicit BatchUnbindTemplatesResult(const std::string &payload); + ~BatchUnbindTemplatesResult(); + std::vector getResults()const; + + protected: + void parse(const std::string &payload); + private: + std::vector results_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BATCHUNBINDTEMPLATESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BindDirectoryRequest.h b/vs/include/alibabacloud/vs/model/BindDirectoryRequest.h new file mode 100644 index 000000000..e4c7ef7ca --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BindDirectoryRequest.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_VS_MODEL_BINDDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BINDDIRECTORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BindDirectoryRequest : public RpcServiceRequest + { + + public: + BindDirectoryRequest(); + ~BindDirectoryRequest(); + + std::string getDirectoryId()const; + void setDirectoryId(const std::string& directoryId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string directoryId_; + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BINDDIRECTORYREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BindDirectoryResult.h b/vs/include/alibabacloud/vs/model/BindDirectoryResult.h new file mode 100644 index 000000000..8cea9ec54 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BindDirectoryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BINDDIRECTORYRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BINDDIRECTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BindDirectoryResult : public ServiceResult + { + public: + + + BindDirectoryResult(); + explicit BindDirectoryResult(const std::string &payload); + ~BindDirectoryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BINDDIRECTORYRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BindParentPlatformDeviceRequest.h b/vs/include/alibabacloud/vs/model/BindParentPlatformDeviceRequest.h new file mode 100644 index 000000000..0f71c31b3 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BindParentPlatformDeviceRequest.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_VS_MODEL_BINDPARENTPLATFORMDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BINDPARENTPLATFORMDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BindParentPlatformDeviceRequest : public RpcServiceRequest + { + + public: + BindParentPlatformDeviceRequest(); + ~BindParentPlatformDeviceRequest(); + + std::string getParentPlatformId()const; + void setParentPlatformId(const std::string& parentPlatformId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string parentPlatformId_; + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BINDPARENTPLATFORMDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BindParentPlatformDeviceResult.h b/vs/include/alibabacloud/vs/model/BindParentPlatformDeviceResult.h new file mode 100644 index 000000000..7223eb8c6 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BindParentPlatformDeviceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BINDPARENTPLATFORMDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BINDPARENTPLATFORMDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BindParentPlatformDeviceResult : public ServiceResult + { + public: + + + BindParentPlatformDeviceResult(); + explicit BindParentPlatformDeviceResult(const std::string &payload); + ~BindParentPlatformDeviceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BINDPARENTPLATFORMDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BindPurchasedDeviceRequest.h b/vs/include/alibabacloud/vs/model/BindPurchasedDeviceRequest.h new file mode 100644 index 000000000..31283e422 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BindPurchasedDeviceRequest.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_VS_MODEL_BINDPURCHASEDDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BINDPURCHASEDDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BindPurchasedDeviceRequest : public RpcServiceRequest + { + + public: + BindPurchasedDeviceRequest(); + ~BindPurchasedDeviceRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + std::string getRegion()const; + void setRegion(const std::string& region); + + private: + std::string showLog_; + std::string groupId_; + long ownerId_; + std::string deviceId_; + std::string region_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BINDPURCHASEDDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BindPurchasedDeviceResult.h b/vs/include/alibabacloud/vs/model/BindPurchasedDeviceResult.h new file mode 100644 index 000000000..0f656aa0b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BindPurchasedDeviceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_BINDPURCHASEDDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BINDPURCHASEDDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BindPurchasedDeviceResult : public ServiceResult + { + public: + + + BindPurchasedDeviceResult(); + explicit BindPurchasedDeviceResult(const std::string &payload); + ~BindPurchasedDeviceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BINDPURCHASEDDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BindTemplateRequest.h b/vs/include/alibabacloud/vs/model/BindTemplateRequest.h new file mode 100644 index 000000000..481e6f6b1 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BindTemplateRequest.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_VS_MODEL_BINDTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_BINDTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BindTemplateRequest : public RpcServiceRequest + { + + public: + BindTemplateRequest(); + ~BindTemplateRequest(); + + bool getReplace()const; + void setReplace(bool replace); + std::string getTemplateType()const; + void setTemplateType(const std::string& templateType); + std::string getInstanceType()const; + void setInstanceType(const std::string& instanceType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + bool getApplyAll()const; + void setApplyAll(bool applyAll); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + bool replace_; + std::string templateType_; + std::string instanceType_; + std::string showLog_; + bool applyAll_; + long ownerId_; + std::string templateId_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BINDTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/BindTemplateResult.h b/vs/include/alibabacloud/vs/model/BindTemplateResult.h new file mode 100644 index 000000000..e414a9ce5 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/BindTemplateResult.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_VS_MODEL_BINDTEMPLATERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_BINDTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT BindTemplateResult : public ServiceResult + { + public: + + + BindTemplateResult(); + explicit BindTemplateResult(const std::string &payload); + ~BindTemplateResult(); + std::string getInstanceId()const; + std::string getInstanceType()const; + std::string getTemplateId()const; + + protected: + void parse(const std::string &payload); + private: + std::string instanceId_; + std::string instanceType_; + std::string templateId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_BINDTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ContinuousAdjustRequest.h b/vs/include/alibabacloud/vs/model/ContinuousAdjustRequest.h new file mode 100644 index 000000000..5aee16ec7 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ContinuousAdjustRequest.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_VS_MODEL_CONTINUOUSADJUSTREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_CONTINUOUSADJUSTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ContinuousAdjustRequest : public RpcServiceRequest + { + + public: + ContinuousAdjustRequest(); + ~ContinuousAdjustRequest(); + + std::string getFocus()const; + void setFocus(const std::string& focus); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getIris()const; + void setIris(const std::string& iris); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string focus_; + std::string id_; + std::string showLog_; + std::string iris_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CONTINUOUSADJUSTREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ContinuousAdjustResult.h b/vs/include/alibabacloud/vs/model/ContinuousAdjustResult.h new file mode 100644 index 000000000..920476da3 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ContinuousAdjustResult.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_VS_MODEL_CONTINUOUSADJUSTRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_CONTINUOUSADJUSTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ContinuousAdjustResult : public ServiceResult + { + public: + + + ContinuousAdjustResult(); + explicit ContinuousAdjustResult(const std::string &payload); + ~ContinuousAdjustResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CONTINUOUSADJUSTRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ContinuousMoveRequest.h b/vs/include/alibabacloud/vs/model/ContinuousMoveRequest.h new file mode 100644 index 000000000..2bdbae51c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ContinuousMoveRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_CONTINUOUSMOVEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_CONTINUOUSMOVEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ContinuousMoveRequest : public RpcServiceRequest + { + + public: + ContinuousMoveRequest(); + ~ContinuousMoveRequest(); + + std::string getTilt()const; + void setTilt(const std::string& tilt); + std::string getId()const; + void setId(const std::string& id); + std::string getPan()const; + void setPan(const std::string& pan); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getZoom()const; + void setZoom(const std::string& zoom); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string tilt_; + std::string id_; + std::string pan_; + std::string showLog_; + std::string zoom_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CONTINUOUSMOVEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ContinuousMoveResult.h b/vs/include/alibabacloud/vs/model/ContinuousMoveResult.h new file mode 100644 index 000000000..96b29e5b3 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ContinuousMoveResult.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_VS_MODEL_CONTINUOUSMOVERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_CONTINUOUSMOVERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ContinuousMoveResult : public ServiceResult + { + public: + + + ContinuousMoveResult(); + explicit ContinuousMoveResult(const std::string &payload); + ~ContinuousMoveResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CONTINUOUSMOVERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateDeviceAlarmRequest.h b/vs/include/alibabacloud/vs/model/CreateDeviceAlarmRequest.h new file mode 100644 index 000000000..cc2ac3637 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateDeviceAlarmRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_CREATEDEVICEALARMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEDEVICEALARMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateDeviceAlarmRequest : public RpcServiceRequest + { + + public: + CreateDeviceAlarmRequest(); + ~CreateDeviceAlarmRequest(); + + long getStartTime()const; + void setStartTime(long startTime); + int getAlarm()const; + void setAlarm(int alarm); + std::string getId()const; + void setId(const std::string& id); + int getObjectType()const; + void setObjectType(int objectType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getEndTime()const; + void setEndTime(long endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + int getSubAlarm()const; + void setSubAlarm(int subAlarm); + long getExpire()const; + void setExpire(long expire); + int getChannelId()const; + void setChannelId(int channelId); + + private: + long startTime_; + int alarm_; + std::string id_; + int objectType_; + std::string showLog_; + long endTime_; + long ownerId_; + int subAlarm_; + long expire_; + int channelId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEDEVICEALARMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateDeviceAlarmResult.h b/vs/include/alibabacloud/vs/model/CreateDeviceAlarmResult.h new file mode 100644 index 000000000..691ea252c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateDeviceAlarmResult.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_VS_MODEL_CREATEDEVICEALARMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEDEVICEALARMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateDeviceAlarmResult : public ServiceResult + { + public: + + + CreateDeviceAlarmResult(); + explicit CreateDeviceAlarmResult(const std::string &payload); + ~CreateDeviceAlarmResult(); + std::string getAlarmId()const; + long getExpire()const; + long getAlarmDelay()const; + std::string getUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string alarmId_; + long expire_; + long alarmDelay_; + std::string url_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEDEVICEALARMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateDeviceRequest.h b/vs/include/alibabacloud/vs/model/CreateDeviceRequest.h new file mode 100644 index 000000000..79158da89 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateDeviceRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_CREATEDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateDeviceRequest : public RpcServiceRequest + { + + public: + CreateDeviceRequest(); + ~CreateDeviceRequest(); + + std::string getGbId()const; + void setGbId(const std::string& gbId); + std::string getLatitude()const; + void setLatitude(const std::string& latitude); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getType()const; + void setType(const std::string& type); + bool getAutoStart()const; + void setAutoStart(bool autoStart); + std::string getParentId()const; + void setParentId(const std::string& parentId); + std::string getPassword()const; + void setPassword(const std::string& password); + std::string getVendor()const; + void setVendor(const std::string& vendor); + std::string getAlarmMethod()const; + void setAlarmMethod(const std::string& alarmMethod); + std::string getDirectoryId()const; + void setDirectoryId(const std::string& directoryId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getLongitude()const; + void setLongitude(const std::string& longitude); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getIp()const; + void setIp(const std::string& ip); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getParams()const; + void setParams(const std::string& params); + std::string getUrl()const; + void setUrl(const std::string& url); + long getPort()const; + void setPort(long port); + std::string getName()const; + void setName(const std::string& name); + long getPosInterval()const; + void setPosInterval(long posInterval); + std::string getDsn()const; + void setDsn(const std::string& dsn); + std::string getUsername()const; + void setUsername(const std::string& username); + bool getAutoPos()const; + void setAutoPos(bool autoPos); + + private: + std::string gbId_; + std::string latitude_; + std::string description_; + std::string type_; + bool autoStart_; + std::string parentId_; + std::string password_; + std::string vendor_; + std::string alarmMethod_; + std::string directoryId_; + std::string showLog_; + std::string longitude_; + std::string groupId_; + std::string ip_; + long ownerId_; + std::string params_; + std::string url_; + long port_; + std::string name_; + long posInterval_; + std::string dsn_; + std::string username_; + bool autoPos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateDeviceResult.h b/vs/include/alibabacloud/vs/model/CreateDeviceResult.h new file mode 100644 index 000000000..a873337d9 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateDeviceResult.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_VS_MODEL_CREATEDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateDeviceResult : public ServiceResult + { + public: + + + CreateDeviceResult(); + explicit CreateDeviceResult(const std::string &payload); + ~CreateDeviceResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateDirectoryRequest.h b/vs/include/alibabacloud/vs/model/CreateDirectoryRequest.h new file mode 100644 index 000000000..5f9c0331c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateDirectoryRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_CREATEDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEDIRECTORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateDirectoryRequest : public RpcServiceRequest + { + + public: + CreateDirectoryRequest(); + ~CreateDirectoryRequest(); + + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getParentId()const; + void setParentId(const std::string& parentId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string description_; + std::string parentId_; + std::string showLog_; + std::string groupId_; + long ownerId_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEDIRECTORYREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateDirectoryResult.h b/vs/include/alibabacloud/vs/model/CreateDirectoryResult.h new file mode 100644 index 000000000..fee9d5e5e --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateDirectoryResult.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_VS_MODEL_CREATEDIRECTORYRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEDIRECTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateDirectoryResult : public ServiceResult + { + public: + + + CreateDirectoryResult(); + explicit CreateDirectoryResult(const std::string &payload); + ~CreateDirectoryResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEDIRECTORYRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateGroupRequest.h b/vs/include/alibabacloud/vs/model/CreateGroupRequest.h new file mode 100644 index 000000000..f5fb66a6f --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateGroupRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_CREATEGROUPREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateGroupRequest : public RpcServiceRequest + { + + public: + CreateGroupRequest(); + ~CreateGroupRequest(); + + int getCaptureVideo()const; + void setCaptureVideo(int captureVideo); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getCaptureOssPath()const; + void setCaptureOssPath(const std::string& captureOssPath); + std::string getPushDomain()const; + void setPushDomain(const std::string& pushDomain); + int getCaptureImage()const; + void setCaptureImage(int captureImage); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getApp()const; + void setApp(const std::string& app); + std::string getPlayDomain()const; + void setPlayDomain(const std::string& playDomain); + std::string getOutProtocol()const; + void setOutProtocol(const std::string& outProtocol); + int getCaptureInterval()const; + void setCaptureInterval(int captureInterval); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInProtocol()const; + void setInProtocol(const std::string& inProtocol); + bool getLazyPull()const; + void setLazyPull(bool lazyPull); + std::string getName()const; + void setName(const std::string& name); + std::string getCallback()const; + void setCallback(const std::string& callback); + std::string getRegion()const; + void setRegion(const std::string& region); + std::string getCaptureOssBucket()const; + void setCaptureOssBucket(const std::string& captureOssBucket); + + private: + int captureVideo_; + std::string description_; + std::string captureOssPath_; + std::string pushDomain_; + int captureImage_; + std::string showLog_; + std::string app_; + std::string playDomain_; + std::string outProtocol_; + int captureInterval_; + long ownerId_; + std::string inProtocol_; + bool lazyPull_; + std::string name_; + std::string callback_; + std::string region_; + std::string captureOssBucket_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEGROUPREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateGroupResult.h b/vs/include/alibabacloud/vs/model/CreateGroupResult.h new file mode 100644 index 000000000..539a0ea32 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateGroupResult.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_VS_MODEL_CREATEGROUPRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateGroupResult : public ServiceResult + { + public: + + + CreateGroupResult(); + explicit CreateGroupResult(const std::string &payload); + ~CreateGroupResult(); + std::string getGbIp()const; + std::string getGbId()const; + std::string getId()const; + long getGbPort()const; + + protected: + void parse(const std::string &payload); + private: + std::string gbIp_; + std::string gbId_; + std::string id_; + long gbPort_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEGROUPRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateParentPlatformRequest.h b/vs/include/alibabacloud/vs/model/CreateParentPlatformRequest.h new file mode 100644 index 000000000..c00f9fc8d --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateParentPlatformRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_CREATEPARENTPLATFORMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEPARENTPLATFORMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateParentPlatformRequest : public RpcServiceRequest + { + + public: + CreateParentPlatformRequest(); + ~CreateParentPlatformRequest(); + + std::string getGbId()const; + void setGbId(const std::string& gbId); + bool getClientAuth()const; + void setClientAuth(bool clientAuth); + std::string getDescription()const; + void setDescription(const std::string& description); + bool getAutoStart()const; + void setAutoStart(bool autoStart); + std::string getProtocol()const; + void setProtocol(const std::string& protocol); + std::string getClientPassword()const; + void setClientPassword(const std::string& clientPassword); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getIp()const; + void setIp(const std::string& ip); + long getOwnerId()const; + void setOwnerId(long ownerId); + long getPort()const; + void setPort(long port); + std::string getName()const; + void setName(const std::string& name); + std::string getClientUsername()const; + void setClientUsername(const std::string& clientUsername); + + private: + std::string gbId_; + bool clientAuth_; + std::string description_; + bool autoStart_; + std::string protocol_; + std::string clientPassword_; + std::string showLog_; + std::string ip_; + long ownerId_; + long port_; + std::string name_; + std::string clientUsername_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEPARENTPLATFORMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateParentPlatformResult.h b/vs/include/alibabacloud/vs/model/CreateParentPlatformResult.h new file mode 100644 index 000000000..5234392ef --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateParentPlatformResult.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_VS_MODEL_CREATEPARENTPLATFORMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_CREATEPARENTPLATFORMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateParentPlatformResult : public ServiceResult + { + public: + + + CreateParentPlatformResult(); + explicit CreateParentPlatformResult(const std::string &payload); + ~CreateParentPlatformResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATEPARENTPLATFORMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateStreamSnapshotRequest.h b/vs/include/alibabacloud/vs/model/CreateStreamSnapshotRequest.h new file mode 100644 index 000000000..ad0d8864c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateStreamSnapshotRequest.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_VS_MODEL_CREATESTREAMSNAPSHOTREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_CREATESTREAMSNAPSHOTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateStreamSnapshotRequest : public RpcServiceRequest + { + + public: + CreateStreamSnapshotRequest(); + ~CreateStreamSnapshotRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getLocation()const; + void setLocation(const std::string& location); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + std::string location_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATESTREAMSNAPSHOTREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateStreamSnapshotResult.h b/vs/include/alibabacloud/vs/model/CreateStreamSnapshotResult.h new file mode 100644 index 000000000..50a69a39e --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateStreamSnapshotResult.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_VS_MODEL_CREATESTREAMSNAPSHOTRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_CREATESTREAMSNAPSHOTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateStreamSnapshotResult : public ServiceResult + { + public: + + + CreateStreamSnapshotResult(); + explicit CreateStreamSnapshotResult(const std::string &payload); + ~CreateStreamSnapshotResult(); + std::string getFormat()const; + std::string getOssEndpoint()const; + std::string getOssBucket()const; + std::string getOssObject()const; + long getHeight()const; + std::string getId()const; + long getWidth()const; + long getTimestamp()const; + std::string getUrl()const; + + protected: + void parse(const std::string &payload); + private: + std::string format_; + std::string ossEndpoint_; + std::string ossBucket_; + std::string ossObject_; + long height_; + std::string id_; + long width_; + long timestamp_; + std::string url_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATESTREAMSNAPSHOTRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateTemplateRequest.h b/vs/include/alibabacloud/vs/model/CreateTemplateRequest.h new file mode 100644 index 000000000..0fad9f73f --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateTemplateRequest.h @@ -0,0 +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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_CREATETEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_CREATETEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateTemplateRequest : public RpcServiceRequest + { + + public: + CreateTemplateRequest(); + ~CreateTemplateRequest(); + + std::string getHlsTs()const; + void setHlsTs(const std::string& hlsTs); + std::string getOssEndpoint()const; + void setOssEndpoint(const std::string& ossEndpoint); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getOssFilePrefix()const; + void setOssFilePrefix(const std::string& ossFilePrefix); + std::string getJpgOverwrite()const; + void setJpgOverwrite(const std::string& jpgOverwrite); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getType()const; + void setType(const std::string& type); + std::string getJpgOnDemand()const; + void setJpgOnDemand(const std::string& jpgOnDemand); + long getRetention()const; + void setRetention(long retention); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getHlsM3u8()const; + void setHlsM3u8(const std::string& hlsM3u8); + std::string getOssBucket()const; + void setOssBucket(const std::string& ossBucket); + std::string getTransConfigsJSON()const; + void setTransConfigsJSON(const std::string& transConfigsJSON); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getTrigger()const; + void setTrigger(const std::string& trigger); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getJpgSequence()const; + void setJpgSequence(const std::string& jpgSequence); + std::string getMp4()const; + void setMp4(const std::string& mp4); + std::string getFlv()const; + void setFlv(const std::string& flv); + std::string getName()const; + void setName(const std::string& name); + std::string getCallback()const; + void setCallback(const std::string& callback); + long getInterval()const; + void setInterval(long interval); + std::string getFileFormat()const; + void setFileFormat(const std::string& fileFormat); + std::string getRegion()const; + void setRegion(const std::string& region); + + private: + std::string hlsTs_; + std::string ossEndpoint_; + std::string description_; + std::string ossFilePrefix_; + std::string jpgOverwrite_; + std::string startTime_; + std::string type_; + std::string jpgOnDemand_; + long retention_; + std::string showLog_; + std::string hlsM3u8_; + std::string ossBucket_; + std::string transConfigsJSON_; + std::string endTime_; + std::string trigger_; + long ownerId_; + std::string jpgSequence_; + std::string mp4_; + std::string flv_; + std::string name_; + std::string callback_; + long interval_; + std::string fileFormat_; + std::string region_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATETEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/CreateTemplateResult.h b/vs/include/alibabacloud/vs/model/CreateTemplateResult.h new file mode 100644 index 000000000..f385c3144 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/CreateTemplateResult.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_VS_MODEL_CREATETEMPLATERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_CREATETEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT CreateTemplateResult : public ServiceResult + { + public: + + + CreateTemplateResult(); + explicit CreateTemplateResult(const std::string &payload); + ~CreateTemplateResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_CREATETEMPLATERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteDeviceRequest.h b/vs/include/alibabacloud/vs/model/DeleteDeviceRequest.h new file mode 100644 index 000000000..e8b5c3f09 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteDeviceRequest.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_VS_MODEL_DELETEDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteDeviceRequest : public RpcServiceRequest + { + + public: + DeleteDeviceRequest(); + ~DeleteDeviceRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteDeviceResult.h b/vs/include/alibabacloud/vs/model/DeleteDeviceResult.h new file mode 100644 index 000000000..229b54c6e --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteDeviceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DELETEDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteDeviceResult : public ServiceResult + { + public: + + + DeleteDeviceResult(); + explicit DeleteDeviceResult(const std::string &payload); + ~DeleteDeviceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteDirectoryRequest.h b/vs/include/alibabacloud/vs/model/DeleteDirectoryRequest.h new file mode 100644 index 000000000..e558bee0a --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteDirectoryRequest.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_VS_MODEL_DELETEDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEDIRECTORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteDirectoryRequest : public RpcServiceRequest + { + + public: + DeleteDirectoryRequest(); + ~DeleteDirectoryRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEDIRECTORYREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteDirectoryResult.h b/vs/include/alibabacloud/vs/model/DeleteDirectoryResult.h new file mode 100644 index 000000000..ef04873af --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteDirectoryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DELETEDIRECTORYRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEDIRECTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteDirectoryResult : public ServiceResult + { + public: + + + DeleteDirectoryResult(); + explicit DeleteDirectoryResult(const std::string &payload); + ~DeleteDirectoryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEDIRECTORYRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteGroupRequest.h b/vs/include/alibabacloud/vs/model/DeleteGroupRequest.h new file mode 100644 index 000000000..5dea52aa4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteGroupRequest.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_VS_MODEL_DELETEGROUPREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteGroupRequest : public RpcServiceRequest + { + + public: + DeleteGroupRequest(); + ~DeleteGroupRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEGROUPREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteGroupResult.h b/vs/include/alibabacloud/vs/model/DeleteGroupResult.h new file mode 100644 index 000000000..83d90b401 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteGroupResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DELETEGROUPRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteGroupResult : public ServiceResult + { + public: + + + DeleteGroupResult(); + explicit DeleteGroupResult(const std::string &payload); + ~DeleteGroupResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEGROUPRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteParentPlatformRequest.h b/vs/include/alibabacloud/vs/model/DeleteParentPlatformRequest.h new file mode 100644 index 000000000..8c29b7995 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteParentPlatformRequest.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_VS_MODEL_DELETEPARENTPLATFORMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEPARENTPLATFORMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteParentPlatformRequest : public RpcServiceRequest + { + + public: + DeleteParentPlatformRequest(); + ~DeleteParentPlatformRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEPARENTPLATFORMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteParentPlatformResult.h b/vs/include/alibabacloud/vs/model/DeleteParentPlatformResult.h new file mode 100644 index 000000000..87b7a8a56 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteParentPlatformResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DELETEPARENTPLATFORMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEPARENTPLATFORMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteParentPlatformResult : public ServiceResult + { + public: + + + DeleteParentPlatformResult(); + explicit DeleteParentPlatformResult(const std::string &payload); + ~DeleteParentPlatformResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEPARENTPLATFORMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeletePresetRequest.h b/vs/include/alibabacloud/vs/model/DeletePresetRequest.h new file mode 100644 index 000000000..87bf47112 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeletePresetRequest.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_VS_MODEL_DELETEPRESETREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEPRESETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeletePresetRequest : public RpcServiceRequest + { + + public: + DeletePresetRequest(); + ~DeletePresetRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getPresetId()const; + void setPresetId(const std::string& presetId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string presetId_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEPRESETREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeletePresetResult.h b/vs/include/alibabacloud/vs/model/DeletePresetResult.h new file mode 100644 index 000000000..3f6f6947d --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeletePresetResult.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_VS_MODEL_DELETEPRESETRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEPRESETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeletePresetResult : public ServiceResult + { + public: + + + DeletePresetResult(); + explicit DeletePresetResult(const std::string &payload); + ~DeletePresetResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEPRESETRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteTemplateRequest.h b/vs/include/alibabacloud/vs/model/DeleteTemplateRequest.h new file mode 100644 index 000000000..6de8b4c57 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteTemplateRequest.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_VS_MODEL_DELETETEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DELETETEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteTemplateRequest : public RpcServiceRequest + { + + public: + DeleteTemplateRequest(); + ~DeleteTemplateRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETETEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteTemplateResult.h b/vs/include/alibabacloud/vs/model/DeleteTemplateResult.h new file mode 100644 index 000000000..6e5b04d2f --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteTemplateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DELETETEMPLATERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DELETETEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteTemplateResult : public ServiceResult + { + public: + + + DeleteTemplateResult(); + explicit DeleteTemplateResult(const std::string &payload); + ~DeleteTemplateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETETEMPLATERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigRequest.h b/vs/include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigRequest.h new file mode 100644 index 000000000..46462e97d --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigRequest.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_VS_MODEL_DELETEVSPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEVSPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteVsPullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + DeleteVsPullStreamInfoConfigRequest(); + ~DeleteVsPullStreamInfoConfigRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string appName_; + std::string streamName_; + std::string showLog_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEVSPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigResult.h b/vs/include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigResult.h new file mode 100644 index 000000000..446ae5302 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteVsPullStreamInfoConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DELETEVSPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEVSPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteVsPullStreamInfoConfigResult : public ServiceResult + { + public: + + + DeleteVsPullStreamInfoConfigResult(); + explicit DeleteVsPullStreamInfoConfigResult(const std::string &payload); + ~DeleteVsPullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEVSPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigRequest.h b/vs/include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigRequest.h new file mode 100644 index 000000000..e8365feb3 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigRequest.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_VS_MODEL_DELETEVSSTREAMSNOTIFYURLCONFIGREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEVSSTREAMSNOTIFYURLCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteVsStreamsNotifyUrlConfigRequest : public RpcServiceRequest + { + + public: + DeleteVsStreamsNotifyUrlConfigRequest(); + ~DeleteVsStreamsNotifyUrlConfigRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string showLog_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEVSSTREAMSNOTIFYURLCONFIGREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigResult.h b/vs/include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigResult.h new file mode 100644 index 000000000..a2ddae73d --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DeleteVsStreamsNotifyUrlConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DELETEVSSTREAMSNOTIFYURLCONFIGRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DELETEVSSTREAMSNOTIFYURLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DeleteVsStreamsNotifyUrlConfigResult : public ServiceResult + { + public: + + + DeleteVsStreamsNotifyUrlConfigResult(); + explicit DeleteVsStreamsNotifyUrlConfigResult(const std::string &payload); + ~DeleteVsStreamsNotifyUrlConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DELETEVSSTREAMSNOTIFYURLCONFIGRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeAccountStatRequest.h b/vs/include/alibabacloud/vs/model/DescribeAccountStatRequest.h new file mode 100644 index 000000000..9bc84720e --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeAccountStatRequest.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_VS_MODEL_DESCRIBEACCOUNTSTATREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEACCOUNTSTATREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeAccountStatRequest : public RpcServiceRequest + { + + public: + DescribeAccountStatRequest(); + ~DescribeAccountStatRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEACCOUNTSTATREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeAccountStatResult.h b/vs/include/alibabacloud/vs/model/DescribeAccountStatResult.h new file mode 100644 index 000000000..d3169718d --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeAccountStatResult.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_VS_MODEL_DESCRIBEACCOUNTSTATRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEACCOUNTSTATRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeAccountStatResult : public ServiceResult + { + public: + + + DescribeAccountStatResult(); + explicit DescribeAccountStatResult(const std::string &payload); + ~DescribeAccountStatResult(); + long getTemplateLimit()const; + long getTemplateNum()const; + std::string getId()const; + long getGroupLimit()const; + long getGroupNum()const; + + protected: + void parse(const std::string &payload); + private: + long templateLimit_; + long templateNum_; + std::string id_; + long groupLimit_; + long groupNum_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEACCOUNTSTATRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDeviceChannelsRequest.h b/vs/include/alibabacloud/vs/model/DescribeDeviceChannelsRequest.h new file mode 100644 index 000000000..2fc1302f7 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDeviceChannelsRequest.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_VS_MODEL_DESCRIBEDEVICECHANNELSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICECHANNELSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDeviceChannelsRequest : public RpcServiceRequest + { + + public: + DescribeDeviceChannelsRequest(); + ~DescribeDeviceChannelsRequest(); + + long getPageNum()const; + void setPageNum(long pageNum); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long pageNum_; + long pageSize_; + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICECHANNELSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDeviceChannelsResult.h b/vs/include/alibabacloud/vs/model/DescribeDeviceChannelsResult.h new file mode 100644 index 000000000..7a5af1f99 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDeviceChannelsResult.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_VS_MODEL_DESCRIBEDEVICECHANNELSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICECHANNELSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDeviceChannelsResult : public ServiceResult + { + public: + struct Channel + { + std::string streamId; + std::string deviceId; + std::string gbId; + std::string params; + std::string deviceStatus; + std::string streamStatus; + long channelId; + std::string name; + }; + + + DescribeDeviceChannelsResult(); + explicit DescribeDeviceChannelsResult(const std::string &payload); + ~DescribeDeviceChannelsResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + std::vector getChannels()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + std::vector channels_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICECHANNELSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDeviceGatewayRequest.h b/vs/include/alibabacloud/vs/model/DescribeDeviceGatewayRequest.h new file mode 100644 index 000000000..e5f32f1c0 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDeviceGatewayRequest.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_VS_MODEL_DESCRIBEDEVICEGATEWAYREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEGATEWAYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDeviceGatewayRequest : public RpcServiceRequest + { + + public: + DescribeDeviceGatewayRequest(); + ~DescribeDeviceGatewayRequest(); + + std::string getClientIp()const; + void setClientIp(const std::string& clientIp); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + long getExpire()const; + void setExpire(long expire); + + private: + std::string clientIp_; + std::string id_; + std::string showLog_; + long ownerId_; + long expire_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEGATEWAYREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDeviceGatewayResult.h b/vs/include/alibabacloud/vs/model/DescribeDeviceGatewayResult.h new file mode 100644 index 000000000..a1841c794 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDeviceGatewayResult.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_VS_MODEL_DESCRIBEDEVICEGATEWAYRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEGATEWAYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDeviceGatewayResult : public ServiceResult + { + public: + + + DescribeDeviceGatewayResult(); + explicit DescribeDeviceGatewayResult(const std::string &payload); + ~DescribeDeviceGatewayResult(); + long getPort()const; + std::string getHost()const; + std::string getToken()const; + std::string getProtocol()const; + + protected: + void parse(const std::string &payload); + private: + long port_; + std::string host_; + std::string token_; + std::string protocol_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEGATEWAYRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDeviceRequest.h b/vs/include/alibabacloud/vs/model/DescribeDeviceRequest.h new file mode 100644 index 000000000..422104da7 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDeviceRequest.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_VS_MODEL_DESCRIBEDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDeviceRequest : public RpcServiceRequest + { + + public: + DescribeDeviceRequest(); + ~DescribeDeviceRequest(); + + bool getIncludeDirectory()const; + void setIncludeDirectory(bool includeDirectory); + bool getIncludeStats()const; + void setIncludeStats(bool includeStats); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + bool includeDirectory_; + bool includeStats_; + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDeviceResult.h b/vs/include/alibabacloud/vs/model/DescribeDeviceResult.h new file mode 100644 index 000000000..34c7d8faa --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDeviceResult.h @@ -0,0 +1,126 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDeviceResult : public ServiceResult + { + public: + struct Stats + { + long offlineNum; + long failedNum; + long streamNum; + long channelNum; + long onlineNum; + }; + struct Directory + { + std::string parentId; + std::string description; + std::string createdTime; + std::string id; + std::string name; + std::string groupId; + }; + + + DescribeDeviceResult(); + explicit DescribeDeviceResult(const std::string &payload); + ~DescribeDeviceResult(); + std::string getAlarmMethod()const; + std::string getDescription()const; + std::string getCreatedTime()const; + std::string getIp()const; + long getPort()const; + std::string getChannelSyncTime()const; + std::string getLatitude()const; + std::string getUrl()const; + std::string getName()const; + std::string getGbId()const; + std::string getProtocol()const; + bool getAutoStart()const; + std::string getDsn()const; + Directory getDirectory()const; + std::string getPassword()const; + std::string getParentId()const; + std::string getStatus()const; + bool getEnabled()const; + std::string getParams()const; + std::string getVendor()const; + std::string getLongitude()const; + std::string getRegisteredTime()const; + std::string getGroupId()const; + long getPosInterval()const; + std::string getType()const; + std::string getDirectoryId()const; + std::string getUsername()const; + bool getAutoPos()const; + Stats getStats()const; + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string alarmMethod_; + std::string description_; + std::string createdTime_; + std::string ip_; + long port_; + std::string channelSyncTime_; + std::string latitude_; + std::string url_; + std::string name_; + std::string gbId_; + std::string protocol_; + bool autoStart_; + std::string dsn_; + Directory directory_; + std::string password_; + std::string parentId_; + std::string status_; + bool enabled_; + std::string params_; + std::string vendor_; + std::string longitude_; + std::string registeredTime_; + std::string groupId_; + long posInterval_; + std::string type_; + std::string directoryId_; + std::string username_; + bool autoPos_; + Stats stats_; + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDeviceURLRequest.h b/vs/include/alibabacloud/vs/model/DescribeDeviceURLRequest.h new file mode 100644 index 000000000..5b6c4914c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDeviceURLRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEURLREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDeviceURLRequest : public RpcServiceRequest + { + + public: + DescribeDeviceURLRequest(); + ~DescribeDeviceURLRequest(); + + bool getAuth()const; + void setAuth(bool auth); + std::string getType()const; + void setType(const std::string& type); + std::string getMode()const; + void setMode(const std::string& mode); + std::string getStream()const; + void setStream(const std::string& stream); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getOutProtocol()const; + void setOutProtocol(const std::string& outProtocol); + long getOwnerId()const; + void setOwnerId(long ownerId); + long getExpire()const; + void setExpire(long expire); + + private: + bool auth_; + std::string type_; + std::string mode_; + std::string stream_; + std::string id_; + std::string showLog_; + std::string outProtocol_; + long ownerId_; + long expire_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEURLREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDeviceURLResult.h b/vs/include/alibabacloud/vs/model/DescribeDeviceURLResult.h new file mode 100644 index 000000000..ecb5aa3a4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDeviceURLResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEURLRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDeviceURLResult : public ServiceResult + { + public: + + + DescribeDeviceURLResult(); + explicit DescribeDeviceURLResult(const std::string &payload); + ~DescribeDeviceURLResult(); + long getExpireTime()const; + std::string getUrl()const; + + protected: + void parse(const std::string &payload); + private: + long expireTime_; + std::string url_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICEURLRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDevicesRequest.h b/vs/include/alibabacloud/vs/model/DescribeDevicesRequest.h new file mode 100644 index 000000000..809e5a56e --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDevicesRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDevicesRequest : public RpcServiceRequest + { + + public: + DescribeDevicesRequest(); + ~DescribeDevicesRequest(); + + std::string getSortDirection()const; + void setSortDirection(const std::string& sortDirection); + bool getIncludeDirectory()const; + void setIncludeDirectory(bool includeDirectory); + std::string getGbId()const; + void setGbId(const std::string& gbId); + std::string getType()const; + void setType(const std::string& type); + long getPageNum()const; + void setPageNum(long pageNum); + std::string getParentId()const; + void setParentId(const std::string& parentId); + bool getIncludeStats()const; + void setIncludeStats(bool includeStats); + std::string getVendor()const; + void setVendor(const std::string& vendor); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getDirectoryId()const; + void setDirectoryId(const std::string& directoryId); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getName()const; + void setName(const std::string& name); + std::string getSortBy()const; + void setSortBy(const std::string& sortBy); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sortDirection_; + bool includeDirectory_; + std::string gbId_; + std::string type_; + long pageNum_; + std::string parentId_; + bool includeStats_; + std::string vendor_; + long pageSize_; + std::string directoryId_; + std::string id_; + std::string showLog_; + std::string groupId_; + long ownerId_; + std::string name_; + std::string sortBy_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDevicesResult.h b/vs/include/alibabacloud/vs/model/DescribeDevicesResult.h new file mode 100644 index 000000000..2e3309178 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDevicesResult.h @@ -0,0 +1,109 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDevicesResult : public ServiceResult + { + public: + struct Device + { + struct Stats + { + long offlineNum; + long failedNum; + long streamNum; + long channelNum; + long onlineNum; + }; + struct Directory + { + std::string parentId; + std::string description; + std::string createdTime; + std::string id; + std::string name; + std::string groupId; + }; + std::string alarmMethod; + std::string description; + std::string createdTime; + std::string ip; + long port; + std::string channelSyncTime; + std::string latitude; + std::string url; + std::string name; + std::string gbId; + std::string protocol; + bool autoStart; + std::string dsn; + Directory directory; + std::string password; + std::string parentId; + std::string status; + bool enabled; + std::string params; + std::string vendor; + std::string longitude; + std::string registeredTime; + std::string groupId; + long posInterval; + std::string type; + std::string directoryId; + std::string username; + bool autoPos; + Stats stats; + std::string id; + }; + + + DescribeDevicesResult(); + explicit DescribeDevicesResult(const std::string &payload); + ~DescribeDevicesResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + std::vector getDevices()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + std::vector devices_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDirectoriesRequest.h b/vs/include/alibabacloud/vs/model/DescribeDirectoriesRequest.h new file mode 100644 index 000000000..cfab84cfe --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDirectoriesRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORIESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORIESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDirectoriesRequest : public RpcServiceRequest + { + + public: + DescribeDirectoriesRequest(); + ~DescribeDirectoriesRequest(); + + std::string getSortDirection()const; + void setSortDirection(const std::string& sortDirection); + long getPageNum()const; + void setPageNum(long pageNum); + bool getNoPagination()const; + void setNoPagination(bool noPagination); + std::string getParentId()const; + void setParentId(const std::string& parentId); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSortBy()const; + void setSortBy(const std::string& sortBy); + + private: + std::string sortDirection_; + long pageNum_; + bool noPagination_; + std::string parentId_; + long pageSize_; + std::string showLog_; + std::string groupId_; + long ownerId_; + std::string sortBy_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORIESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDirectoriesResult.h b/vs/include/alibabacloud/vs/model/DescribeDirectoriesResult.h new file mode 100644 index 000000000..b7811b5da --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDirectoriesResult.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_VS_MODEL_DESCRIBEDIRECTORIESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORIESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDirectoriesResult : public ServiceResult + { + public: + struct Directory + { + std::string parentId; + std::string description; + std::string createdTime; + std::string id; + std::string name; + std::string groupId; + }; + + + DescribeDirectoriesResult(); + explicit DescribeDirectoriesResult(const std::string &payload); + ~DescribeDirectoriesResult(); + std::vector getDirectories()const; + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector directories_; + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORIESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDirectoryRequest.h b/vs/include/alibabacloud/vs/model/DescribeDirectoryRequest.h new file mode 100644 index 000000000..e3468208d --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDirectoryRequest.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_VS_MODEL_DESCRIBEDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDirectoryRequest : public RpcServiceRequest + { + + public: + DescribeDirectoryRequest(); + ~DescribeDirectoryRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORYREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeDirectoryResult.h b/vs/include/alibabacloud/vs/model/DescribeDirectoryResult.h new file mode 100644 index 000000000..a5de92623 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeDirectoryResult.h @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORYRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeDirectoryResult : public ServiceResult + { + public: + + + DescribeDirectoryResult(); + explicit DescribeDirectoryResult(const std::string &payload); + ~DescribeDirectoryResult(); + std::string getParentId()const; + std::string getDescription()const; + std::string getCreatedTime()const; + std::string getId()const; + std::string getName()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string parentId_; + std::string description_; + std::string createdTime_; + std::string id_; + std::string name_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEDIRECTORYRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeGroupRequest.h b/vs/include/alibabacloud/vs/model/DescribeGroupRequest.h new file mode 100644 index 000000000..7453a5875 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeGroupRequest.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_VS_MODEL_DESCRIBEGROUPREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeGroupRequest : public RpcServiceRequest + { + + public: + DescribeGroupRequest(); + ~DescribeGroupRequest(); + + bool getIncludeStats()const; + void setIncludeStats(bool includeStats); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + bool includeStats_; + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeGroupResult.h b/vs/include/alibabacloud/vs/model/DescribeGroupResult.h new file mode 100644 index 000000000..91377ea89 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeGroupResult.h @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeGroupResult : public ServiceResult + { + public: + struct Stats + { + long ipcNum; + long iedNum; + long deviceNum; + long platformNum; + }; + + + DescribeGroupResult(); + explicit DescribeGroupResult(const std::string &payload); + ~DescribeGroupResult(); + std::string getApp()const; + std::string getInProtocol()const; + std::string getDescription()const; + std::string getCreatedTime()const; + std::string getName()const; + std::vector getGbUdpPorts()const; + int getCaptureInterval()const; + std::string getGbId()const; + std::string getPushDomain()const; + std::string getAliasId()const; + int getCaptureImage()const; + std::string getStatus()const; + std::string getCaptureOssPath()const; + std::string getGbIp()const; + bool getEnabled()const; + std::string getOutProtocol()const; + bool getLazyPull()const; + long getGbPort()const; + std::string getCallback()const; + int getCaptureVideo()const; + std::string getPlayDomain()const; + Stats getStats()const; + std::string getRegion()const; + std::string getCaptureOssBucket()const; + std::vector getGbTcpPorts()const; + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string app_; + std::string inProtocol_; + std::string description_; + std::string createdTime_; + std::string name_; + std::vector gbUdpPorts_; + int captureInterval_; + std::string gbId_; + std::string pushDomain_; + std::string aliasId_; + int captureImage_; + std::string status_; + std::string captureOssPath_; + std::string gbIp_; + bool enabled_; + std::string outProtocol_; + bool lazyPull_; + long gbPort_; + std::string callback_; + int captureVideo_; + std::string playDomain_; + Stats stats_; + std::string region_; + std::string captureOssBucket_; + std::vector gbTcpPorts_; + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeGroupsRequest.h b/vs/include/alibabacloud/vs/model/DescribeGroupsRequest.h new file mode 100644 index 000000000..aeeee3ebc --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeGroupsRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeGroupsRequest : public RpcServiceRequest + { + + public: + DescribeGroupsRequest(); + ~DescribeGroupsRequest(); + + std::string getSortDirection()const; + void setSortDirection(const std::string& sortDirection); + long getPageNum()const; + void setPageNum(long pageNum); + bool getIncludeStats()const; + void setIncludeStats(bool includeStats); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInProtocol()const; + void setInProtocol(const std::string& inProtocol); + std::string getName()const; + void setName(const std::string& name); + std::string getSortBy()const; + void setSortBy(const std::string& sortBy); + std::string getRegion()const; + void setRegion(const std::string& region); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sortDirection_; + long pageNum_; + bool includeStats_; + long pageSize_; + std::string id_; + std::string showLog_; + long ownerId_; + std::string inProtocol_; + std::string name_; + std::string sortBy_; + std::string region_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeGroupsResult.h b/vs/include/alibabacloud/vs/model/DescribeGroupsResult.h new file mode 100644 index 000000000..7b7d74fd3 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeGroupsResult.h @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeGroupsResult : public ServiceResult + { + public: + struct Group + { + struct Stats + { + long ipcNum; + long iedNum; + long deviceNum; + long platformNum; + }; + std::string app; + std::string inProtocol; + std::string description; + std::string createdTime; + std::string name; + std::vector gbUdpPorts; + int captureInterval; + std::string gbId; + std::string pushDomain; + std::string aliasId; + int captureImage; + std::string status; + std::string captureOssPath; + std::string gbIp; + bool enabled; + std::string outProtocol; + bool lazyPull; + long gbPort; + std::string callback; + int captureVideo; + std::string playDomain; + Stats stats; + std::string region; + std::string captureOssBucket; + std::vector gbTcpPorts; + std::string id; + }; + + + DescribeGroupsResult(); + explicit DescribeGroupsResult(const std::string &payload); + ~DescribeGroupsResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + std::vector getGroups()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + std::vector groups_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEGROUPSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeParentPlatformDevicesRequest.h b/vs/include/alibabacloud/vs/model/DescribeParentPlatformDevicesRequest.h new file mode 100644 index 000000000..20533c3aa --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeParentPlatformDevicesRequest.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_VS_MODEL_DESCRIBEPARENTPLATFORMDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeParentPlatformDevicesRequest : public RpcServiceRequest + { + + public: + DescribeParentPlatformDevicesRequest(); + ~DescribeParentPlatformDevicesRequest(); + + std::string getSortDirection()const; + void setSortDirection(const std::string& sortDirection); + long getPageNum()const; + void setPageNum(long pageNum); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSortBy()const; + void setSortBy(const std::string& sortBy); + + private: + std::string sortDirection_; + long pageNum_; + long pageSize_; + std::string id_; + std::string showLog_; + long ownerId_; + std::string sortBy_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeParentPlatformDevicesResult.h b/vs/include/alibabacloud/vs/model/DescribeParentPlatformDevicesResult.h new file mode 100644 index 000000000..b3d29a8e0 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeParentPlatformDevicesResult.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_VS_MODEL_DESCRIBEPARENTPLATFORMDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeParentPlatformDevicesResult : public ServiceResult + { + public: + struct Device + { + std::string parentId; + std::string gbId; + std::string id; + std::string name; + std::string groupId; + }; + + + DescribeParentPlatformDevicesResult(); + explicit DescribeParentPlatformDevicesResult(const std::string &payload); + ~DescribeParentPlatformDevicesResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + std::vector getDevices()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + std::vector devices_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeParentPlatformRequest.h b/vs/include/alibabacloud/vs/model/DescribeParentPlatformRequest.h new file mode 100644 index 000000000..fbff5becb --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeParentPlatformRequest.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_VS_MODEL_DESCRIBEPARENTPLATFORMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeParentPlatformRequest : public RpcServiceRequest + { + + public: + DescribeParentPlatformRequest(); + ~DescribeParentPlatformRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeParentPlatformResult.h b/vs/include/alibabacloud/vs/model/DescribeParentPlatformResult.h new file mode 100644 index 000000000..ac18f9269 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeParentPlatformResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeParentPlatformResult : public ServiceResult + { + public: + + + DescribeParentPlatformResult(); + explicit DescribeParentPlatformResult(const std::string &payload); + ~DescribeParentPlatformResult(); + std::string getStatus()const; + std::string getClientGbId()const; + std::string getDescription()const; + std::string getCreatedTime()const; + std::string getIp()const; + long getPort()const; + long getClientPort()const; + bool getClientAuth()const; + std::string getClientIp()const; + std::string getName()const; + std::string getGbId()const; + std::string getClientPassword()const; + std::string getId()const; + std::string getProtocol()const; + bool getAutoStart()const; + std::string getClientUsername()const; + + protected: + void parse(const std::string &payload); + private: + std::string status_; + std::string clientGbId_; + std::string description_; + std::string createdTime_; + std::string ip_; + long port_; + long clientPort_; + bool clientAuth_; + std::string clientIp_; + std::string name_; + std::string gbId_; + std::string clientPassword_; + std::string id_; + std::string protocol_; + bool autoStart_; + std::string clientUsername_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeParentPlatformsRequest.h b/vs/include/alibabacloud/vs/model/DescribeParentPlatformsRequest.h new file mode 100644 index 000000000..6cb7759d2 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeParentPlatformsRequest.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_VS_MODEL_DESCRIBEPARENTPLATFORMSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeParentPlatformsRequest : public RpcServiceRequest + { + + public: + DescribeParentPlatformsRequest(); + ~DescribeParentPlatformsRequest(); + + std::string getSortDirection()const; + void setSortDirection(const std::string& sortDirection); + std::string getGbId()const; + void setGbId(const std::string& gbId); + long getPageNum()const; + void setPageNum(long pageNum); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSortBy()const; + void setSortBy(const std::string& sortBy); + std::string getStatus()const; + void setStatus(const std::string& status); + + private: + std::string sortDirection_; + std::string gbId_; + long pageNum_; + long pageSize_; + std::string showLog_; + long ownerId_; + std::string sortBy_; + std::string status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeParentPlatformsResult.h b/vs/include/alibabacloud/vs/model/DescribeParentPlatformsResult.h new file mode 100644 index 000000000..0a037aa44 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeParentPlatformsResult.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_VS_MODEL_DESCRIBEPARENTPLATFORMSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeParentPlatformsResult : public ServiceResult + { + public: + struct Platform + { + std::string status; + std::string clientGbId; + std::string description; + std::string createdTime; + std::string ip; + long port; + long clientPort; + bool clientAuth; + std::string clientIp; + std::string name; + std::string gbId; + std::string clientPassword; + std::string id; + std::string protocol; + bool autoStart; + std::string clientUsername; + }; + + + DescribeParentPlatformsResult(); + explicit DescribeParentPlatformsResult(const std::string &payload); + ~DescribeParentPlatformsResult(); + std::vector getPlatforms()const; + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector platforms_; + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPARENTPLATFORMSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribePresetsRequest.h b/vs/include/alibabacloud/vs/model/DescribePresetsRequest.h new file mode 100644 index 000000000..12534bf16 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribePresetsRequest.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_VS_MODEL_DESCRIBEPRESETSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPRESETSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribePresetsRequest : public RpcServiceRequest + { + + public: + DescribePresetsRequest(); + ~DescribePresetsRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPRESETSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribePresetsResult.h b/vs/include/alibabacloud/vs/model/DescribePresetsResult.h new file mode 100644 index 000000000..6d5ddfd0f --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribePresetsResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEPRESETSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPRESETSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribePresetsResult : public ServiceResult + { + public: + struct Preset + { + std::string id; + std::string name; + }; + + + DescribePresetsResult(); + explicit DescribePresetsResult(const std::string &payload); + ~DescribePresetsResult(); + std::vector getPresets()const; + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::vector presets_; + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPRESETSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribePurchasedDeviceRequest.h b/vs/include/alibabacloud/vs/model/DescribePurchasedDeviceRequest.h new file mode 100644 index 000000000..32c888306 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribePurchasedDeviceRequest.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_VS_MODEL_DESCRIBEPURCHASEDDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribePurchasedDeviceRequest : public RpcServiceRequest + { + + public: + DescribePurchasedDeviceRequest(); + ~DescribePurchasedDeviceRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribePurchasedDeviceResult.h b/vs/include/alibabacloud/vs/model/DescribePurchasedDeviceResult.h new file mode 100644 index 000000000..1219d5c93 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribePurchasedDeviceResult.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribePurchasedDeviceResult : public ServiceResult + { + public: + + + DescribePurchasedDeviceResult(); + explicit DescribePurchasedDeviceResult(const std::string &payload); + ~DescribePurchasedDeviceResult(); + std::string getGroupName()const; + std::string getType()const; + std::string getDescription()const; + std::string getSubType()const; + std::string getCreatedTime()const; + std::string getRegisterCode()const; + std::string getRegion()const; + std::string getId()const; + std::string getVendor()const; + std::string getOrderId()const; + std::string getName()const; + std::string getGroupId()const; + + protected: + void parse(const std::string &payload); + private: + std::string groupName_; + std::string type_; + std::string description_; + std::string subType_; + std::string createdTime_; + std::string registerCode_; + std::string region_; + std::string id_; + std::string vendor_; + std::string orderId_; + std::string name_; + std::string groupId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribePurchasedDevicesRequest.h b/vs/include/alibabacloud/vs/model/DescribePurchasedDevicesRequest.h new file mode 100644 index 000000000..a84cb4f52 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribePurchasedDevicesRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribePurchasedDevicesRequest : public RpcServiceRequest + { + + public: + DescribePurchasedDevicesRequest(); + ~DescribePurchasedDevicesRequest(); + + std::string getSortDirection()const; + void setSortDirection(const std::string& sortDirection); + std::string getType()const; + void setType(const std::string& type); + long getPageNum()const; + void setPageNum(long pageNum); + std::string getSubType()const; + void setSubType(const std::string& subType); + std::string getVendor()const; + void setVendor(const std::string& vendor); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getName()const; + void setName(const std::string& name); + std::string getSortBy()const; + void setSortBy(const std::string& sortBy); + + private: + std::string sortDirection_; + std::string type_; + long pageNum_; + std::string subType_; + std::string vendor_; + long pageSize_; + std::string id_; + std::string showLog_; + std::string groupId_; + long ownerId_; + std::string name_; + std::string sortBy_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribePurchasedDevicesResult.h b/vs/include/alibabacloud/vs/model/DescribePurchasedDevicesResult.h new file mode 100644 index 000000000..7e2451b07 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribePurchasedDevicesResult.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_VS_MODEL_DESCRIBEPURCHASEDDEVICESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribePurchasedDevicesResult : public ServiceResult + { + public: + struct Device + { + std::string groupName; + std::string type; + std::string description; + std::string subType; + std::string createdTime; + std::string registerCode; + std::string region; + std::string id; + std::string vendor; + std::string orderId; + std::string name; + std::string groupId; + }; + + + DescribePurchasedDevicesResult(); + explicit DescribePurchasedDevicesResult(const std::string &payload); + ~DescribePurchasedDevicesResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + std::vector getDevices()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + std::vector devices_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEPURCHASEDDEVICESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeRecordsRequest.h b/vs/include/alibabacloud/vs/model/DescribeRecordsRequest.h new file mode 100644 index 000000000..4d602384f --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeRecordsRequest.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_VS_MODEL_DESCRIBERECORDSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBERECORDSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeRecordsRequest : public RpcServiceRequest + { + + public: + DescribeRecordsRequest(); + ~DescribeRecordsRequest(); + + std::string getSortDirection()const; + void setSortDirection(const std::string& sortDirection); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getType()const; + void setType(const std::string& type); + long getPageNum()const; + void setPageNum(long pageNum); + bool getPrivateBucket()const; + void setPrivateBucket(bool privateBucket); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getStreamId()const; + void setStreamId(const std::string& streamId); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSortBy()const; + void setSortBy(const std::string& sortBy); + + private: + std::string sortDirection_; + std::string startTime_; + std::string type_; + long pageNum_; + bool privateBucket_; + long pageSize_; + std::string showLog_; + std::string streamId_; + std::string endTime_; + long ownerId_; + std::string sortBy_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBERECORDSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeRecordsResult.h b/vs/include/alibabacloud/vs/model/DescribeRecordsResult.h new file mode 100644 index 000000000..e86c31472 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeRecordsResult.h @@ -0,0 +1,77 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBERECORDSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBERECORDSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeRecordsResult : public ServiceResult + { + public: + struct Record + { + std::string streamId; + std::string endTime; + std::string ossBucket; + std::string startTime; + std::string fileFormat; + std::string url; + std::string type; + std::string ossEndpoint; + std::string ossObject; + long height; + std::string id; + long width; + std::string templateId; + }; + + + DescribeRecordsResult(); + explicit DescribeRecordsResult(const std::string &payload); + ~DescribeRecordsResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + std::string getNextStartTime()const; + std::vector getRecords()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + std::string nextStartTime_; + std::vector records_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBERECORDSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeStreamRequest.h b/vs/include/alibabacloud/vs/model/DescribeStreamRequest.h new file mode 100644 index 000000000..2e8da7cdc --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeStreamRequest.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_VS_MODEL_DESCRIBESTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeStreamRequest : public RpcServiceRequest + { + + public: + DescribeStreamRequest(); + ~DescribeStreamRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeStreamResult.h b/vs/include/alibabacloud/vs/model/DescribeStreamResult.h new file mode 100644 index 000000000..45736e0cb --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeStreamResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeStreamResult : public ServiceResult + { + public: + + + DescribeStreamResult(); + explicit DescribeStreamResult(const std::string &payload); + ~DescribeStreamResult(); + std::string getApp()const; + std::string getStatus()const; + std::string getCreatedTime()const; + std::string getDeviceId()const; + bool getEnabled()const; + std::string getName()const; + std::string getGroupId()const; + std::string getPlayDomain()const; + int getHeight()const; + std::string getId()const; + std::string getPushDomain()const; + std::string getProtocol()const; + int getWidth()const; + + protected: + void parse(const std::string &payload); + private: + std::string app_; + std::string status_; + std::string createdTime_; + std::string deviceId_; + bool enabled_; + std::string name_; + std::string groupId_; + std::string playDomain_; + int height_; + std::string id_; + std::string pushDomain_; + std::string protocol_; + int width_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeStreamURLRequest.h b/vs/include/alibabacloud/vs/model/DescribeStreamURLRequest.h new file mode 100644 index 000000000..160d174a2 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeStreamURLRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMURLREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeStreamURLRequest : public RpcServiceRequest + { + + public: + DescribeStreamURLRequest(); + ~DescribeStreamURLRequest(); + + std::string getAuthKey()const; + void setAuthKey(const std::string& authKey); + bool getAuth()const; + void setAuth(bool auth); + long getStartTime()const; + void setStartTime(long startTime); + std::string getType()const; + void setType(const std::string& type); + std::string getOutHostType()const; + void setOutHostType(const std::string& outHostType); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getOutProtocol()const; + void setOutProtocol(const std::string& outProtocol); + std::string getTranscode()const; + void setTranscode(const std::string& transcode); + long getEndTime()const; + void setEndTime(long endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + long getExpire()const; + void setExpire(long expire); + std::string getLocation()const; + void setLocation(const std::string& location); + + private: + std::string authKey_; + bool auth_; + long startTime_; + std::string type_; + std::string outHostType_; + std::string id_; + std::string showLog_; + std::string outProtocol_; + std::string transcode_; + long endTime_; + long ownerId_; + long expire_; + std::string location_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMURLREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeStreamURLResult.h b/vs/include/alibabacloud/vs/model/DescribeStreamURLResult.h new file mode 100644 index 000000000..375c84531 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeStreamURLResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMURLRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeStreamURLResult : public ServiceResult + { + public: + + + DescribeStreamURLResult(); + explicit DescribeStreamURLResult(const std::string &payload); + ~DescribeStreamURLResult(); + long getExpireTime()const; + std::string getUrl()const; + + protected: + void parse(const std::string &payload); + private: + long expireTime_; + std::string url_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMURLRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeStreamVodListRequest.h b/vs/include/alibabacloud/vs/model/DescribeStreamVodListRequest.h new file mode 100644 index 000000000..670bedf77 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeStreamVodListRequest.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_VS_MODEL_DESCRIBESTREAMVODLISTREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMVODLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeStreamVodListRequest : public RpcServiceRequest + { + + public: + DescribeStreamVodListRequest(); + ~DescribeStreamVodListRequest(); + + long getStartTime()const; + void setStartTime(long startTime); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getEndTime()const; + void setEndTime(long endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long startTime_; + std::string id_; + std::string showLog_; + long endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMVODLISTREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeStreamVodListResult.h b/vs/include/alibabacloud/vs/model/DescribeStreamVodListResult.h new file mode 100644 index 000000000..daffb1bfe --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeStreamVodListResult.h @@ -0,0 +1,56 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMVODLISTRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMVODLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeStreamVodListResult : public ServiceResult + { + public: + struct Record + { + long endTime; + long startTime; + }; + + + DescribeStreamVodListResult(); + explicit DescribeStreamVodListResult(const std::string &payload); + ~DescribeStreamVodListResult(); + std::vector getRecords()const; + + protected: + void parse(const std::string &payload); + private: + std::vector records_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMVODLISTRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeStreamsRequest.h b/vs/include/alibabacloud/vs/model/DescribeStreamsRequest.h new file mode 100644 index 000000000..23c693fb2 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeStreamsRequest.h @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeStreamsRequest : public RpcServiceRequest + { + + public: + DescribeStreamsRequest(); + ~DescribeStreamsRequest(); + + std::string getSortDirection()const; + void setSortDirection(const std::string& sortDirection); + long getPageNum()const; + void setPageNum(long pageNum); + std::string getParentId()const; + void setParentId(const std::string& parentId); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getApp()const; + void setApp(const std::string& app); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + std::string getDomain()const; + void setDomain(const std::string& domain); + std::string getName()const; + void setName(const std::string& name); + std::string getSortBy()const; + void setSortBy(const std::string& sortBy); + + private: + std::string sortDirection_; + long pageNum_; + std::string parentId_; + long pageSize_; + std::string id_; + std::string showLog_; + std::string app_; + std::string groupId_; + long ownerId_; + std::string deviceId_; + std::string domain_; + std::string name_; + std::string sortBy_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeStreamsResult.h b/vs/include/alibabacloud/vs/model/DescribeStreamsResult.h new file mode 100644 index 000000000..8ce5c3117 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeStreamsResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeStreamsResult : public ServiceResult + { + public: + struct Stream + { + std::string app; + std::string status; + std::string createdTime; + std::string deviceId; + bool enabled; + std::string name; + std::string groupId; + std::string playDomain; + int height; + std::string id; + std::string pushDomain; + std::string protocol; + int width; + }; + + + DescribeStreamsResult(); + explicit DescribeStreamsResult(const std::string &payload); + ~DescribeStreamsResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + std::vector getStreams()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + std::vector streams_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBESTREAMSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeTemplateRequest.h b/vs/include/alibabacloud/vs/model/DescribeTemplateRequest.h new file mode 100644 index 000000000..60cdad368 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeTemplateRequest.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_VS_MODEL_DESCRIBETEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeTemplateRequest : public RpcServiceRequest + { + + public: + DescribeTemplateRequest(); + ~DescribeTemplateRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeTemplateResult.h b/vs/include/alibabacloud/vs/model/DescribeTemplateResult.h new file mode 100644 index 000000000..88f210f24 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeTemplateResult.h @@ -0,0 +1,108 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeTemplateResult : public ServiceResult + { + public: + struct TransConfig + { + long fps; + long gop; + long height; + std::string id; + std::string videoCodec; + long width; + std::string name; + long videoBitrate; + }; + + + DescribeTemplateResult(); + explicit DescribeTemplateResult(const std::string &payload); + ~DescribeTemplateResult(); + std::string getDescription()const; + std::string getCreatedTime()const; + std::string getEndTime()const; + std::vector getTransConfigs()const; + std::string getHlsTs()const; + std::string getOssBucket()const; + std::string getStartTime()const; + long getRetention()const; + std::string getFileFormat()const; + std::string getName()const; + std::string getJpgOnDemand()const; + std::string getMp4()const; + std::string getOssFilePrefix()const; + std::string getFlv()const; + std::string getType()const; + std::string getJpgSequence()const; + std::string getTrigger()const; + std::string getCallback()const; + std::string getOssEndpoint()const; + std::string getJpgOverwrite()const; + std::string getRegion()const; + std::string getId()const; + std::string getHlsM3u8()const; + long getInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string description_; + std::string createdTime_; + std::string endTime_; + std::vector transConfigs_; + std::string hlsTs_; + std::string ossBucket_; + std::string startTime_; + long retention_; + std::string fileFormat_; + std::string name_; + std::string jpgOnDemand_; + std::string mp4_; + std::string ossFilePrefix_; + std::string flv_; + std::string type_; + std::string jpgSequence_; + std::string trigger_; + std::string callback_; + std::string ossEndpoint_; + std::string jpgOverwrite_; + std::string region_; + std::string id_; + std::string hlsM3u8_; + long interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeTemplatesRequest.h b/vs/include/alibabacloud/vs/model/DescribeTemplatesRequest.h new file mode 100644 index 000000000..071b2c28a --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeTemplatesRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATESREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATESREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeTemplatesRequest : public RpcServiceRequest + { + + public: + DescribeTemplatesRequest(); + ~DescribeTemplatesRequest(); + + std::string getSortDirection()const; + void setSortDirection(const std::string& sortDirection); + std::string getType()const; + void setType(const std::string& type); + long getPageNum()const; + void setPageNum(long pageNum); + long getPageSize()const; + void setPageSize(long pageSize); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + std::string getSortBy()const; + void setSortBy(const std::string& sortBy); + + private: + std::string sortDirection_; + std::string type_; + long pageNum_; + long pageSize_; + std::string id_; + std::string showLog_; + long ownerId_; + std::string instanceId_; + std::string sortBy_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATESREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeTemplatesResult.h b/vs/include/alibabacloud/vs/model/DescribeTemplatesResult.h new file mode 100644 index 000000000..e18d6739b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeTemplatesResult.h @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATESRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATESRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeTemplatesResult : public ServiceResult + { + public: + struct _Template + { + struct TransConfig + { + long fps; + long gop; + long height; + std::string id; + std::string videoCodec; + long width; + std::string name; + long videoBitrate; + }; + std::string description; + std::string createdTime; + std::string endTime; + std::vector<_Template::TransConfig> transConfigs; + std::string hlsTs; + std::string ossBucket; + std::string startTime; + long retention; + std::string fileFormat; + std::string name; + std::string jpgOnDemand; + std::string mp4; + std::string ossFilePrefix; + std::string flv; + std::string type; + std::string jpgSequence; + std::string trigger; + std::string callback; + std::string ossEndpoint; + std::string jpgOverwrite; + std::string region; + std::string id; + std::string hlsM3u8; + long interval; + }; + + + DescribeTemplatesResult(); + explicit DescribeTemplatesResult(const std::string &payload); + ~DescribeTemplatesResult(); + long getTotalCount()const; + long getPageSize()const; + long getPageNum()const; + long getPageCount()const; + std::vector<_Template> getTemplates()const; + + protected: + void parse(const std::string &payload); + private: + long totalCount_; + long pageSize_; + long pageNum_; + long pageCount_; + std::vector<_Template> templates_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBETEMPLATESRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVodStreamURLRequest.h b/vs/include/alibabacloud/vs/model/DescribeVodStreamURLRequest.h new file mode 100644 index 000000000..10c05db55 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVodStreamURLRequest.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_VS_MODEL_DESCRIBEVODSTREAMURLREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVODSTREAMURLREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVodStreamURLRequest : public RpcServiceRequest + { + + public: + DescribeVodStreamURLRequest(); + ~DescribeVodStreamURLRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getTxId()const; + void setTxId(const std::string& txId); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getUrl()const; + void setUrl(const std::string& url); + + private: + std::string showLog_; + std::string txId_; + long ownerId_; + std::string url_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVODSTREAMURLREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVodStreamURLResult.h b/vs/include/alibabacloud/vs/model/DescribeVodStreamURLResult.h new file mode 100644 index 000000000..d84b10f06 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVodStreamURLResult.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_VS_MODEL_DESCRIBEVODSTREAMURLRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVODSTREAMURLRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVodStreamURLResult : public ServiceResult + { + public: + + + DescribeVodStreamURLResult(); + explicit DescribeVodStreamURLResult(const std::string &payload); + ~DescribeVodStreamURLResult(); + long getPort()const; + std::string getTxId()const; + std::string getOutProtocol()const; + std::string getUrl()const; + + protected: + void parse(const std::string &payload); + private: + long port_; + std::string txId_; + std::string outProtocol_; + std::string url_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVODSTREAMURLRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsCertificateDetailRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsCertificateDetailRequest.h new file mode 100644 index 000000000..c58d2eece --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsCertificateDetailRequest.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_VS_MODEL_DESCRIBEVSCERTIFICATEDETAILREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSCERTIFICATEDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsCertificateDetailRequest : public RpcServiceRequest + { + + public: + DescribeVsCertificateDetailRequest(); + ~DescribeVsCertificateDetailRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getCertName()const; + void setCertName(const std::string& certName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string showLog_; + std::string certName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSCERTIFICATEDETAILREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsCertificateDetailResult.h b/vs/include/alibabacloud/vs/model/DescribeVsCertificateDetailResult.h new file mode 100644 index 000000000..ec140557c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsCertificateDetailResult.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_VS_MODEL_DESCRIBEVSCERTIFICATEDETAILRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSCERTIFICATEDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsCertificateDetailResult : public ServiceResult + { + public: + + + DescribeVsCertificateDetailResult(); + explicit DescribeVsCertificateDetailResult(const std::string &payload); + ~DescribeVsCertificateDetailResult(); + long getCertId()const; + std::string getCert()const; + std::string getCertName()const; + std::string getKey()const; + + protected: + void parse(const std::string &payload); + private: + long certId_; + std::string cert_; + std::string certName_; + std::string key_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSCERTIFICATEDETAILRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsCertificateListRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsCertificateListRequest.h new file mode 100644 index 000000000..f99ed7616 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsCertificateListRequest.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_VS_MODEL_DESCRIBEVSCERTIFICATELISTREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSCERTIFICATELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsCertificateListRequest : public RpcServiceRequest + { + + public: + DescribeVsCertificateListRequest(); + ~DescribeVsCertificateListRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string showLog_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSCERTIFICATELISTREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsCertificateListResult.h b/vs/include/alibabacloud/vs/model/DescribeVsCertificateListResult.h new file mode 100644 index 000000000..bcbad038a --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsCertificateListResult.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_VS_MODEL_DESCRIBEVSCERTIFICATELISTRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSCERTIFICATELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsCertificateListResult : public ServiceResult + { + public: + struct CertificateListModel + { + struct Cert + { + std::string fingerprint; + std::string issuer; + long certId; + std::string certName; + long lastTime; + std::string common; + }; + std::vector certList; + int count; + }; + + + DescribeVsCertificateListResult(); + explicit DescribeVsCertificateListResult(const std::string &payload); + ~DescribeVsCertificateListResult(); + CertificateListModel getCertificateListModel()const; + + protected: + void parse(const std::string &payload); + private: + CertificateListModel certificateListModel_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSCERTIFICATELISTRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainBpsDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainBpsDataRequest.h new file mode 100644 index 000000000..7e5f4dbf3 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainBpsDataRequest.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_VS_MODEL_DESCRIBEVSDOMAINBPSDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINBPSDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainBpsDataRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainBpsDataRequest(); + ~DescribeVsDomainBpsDataRequest(); + + std::string getLocationNameEn()const; + void setLocationNameEn(const std::string& locationNameEn); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getIspNameEn()const; + void setIspNameEn(const std::string& ispNameEn); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInterval()const; + void setInterval(const std::string& interval); + + private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINBPSDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainBpsDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainBpsDataResult.h new file mode 100644 index 000000000..c125f6873 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainBpsDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINBPSDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINBPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainBpsDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string bpsValue; + std::string timeStamp; + }; + + + DescribeVsDomainBpsDataResult(); + explicit DescribeVsDomainBpsDataResult(const std::string &payload); + ~DescribeVsDomainBpsDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + std::vector getBpsDataPerInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + std::vector bpsDataPerInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINBPSDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoRequest.h new file mode 100644 index 000000000..54abba9e9 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoRequest.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_VS_MODEL_DESCRIBEVSDOMAINCERTIFICATEINFOREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCERTIFICATEINFOREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainCertificateInfoRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainCertificateInfoRequest(); + ~DescribeVsDomainCertificateInfoRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string showLog_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCERTIFICATEINFOREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoResult.h new file mode 100644 index 000000000..df05320f9 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainCertificateInfoResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCERTIFICATEINFORESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCERTIFICATEINFORESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainCertificateInfoResult : public ServiceResult + { + public: + struct CertInfo + { + std::string status; + std::string certLife; + std::string domainName; + std::string sSLPub; + std::string certDomainName; + std::string certOrg; + std::string certType; + std::string certExpireTime; + std::string certName; + std::string serverCertificateStatus; + }; + + + DescribeVsDomainCertificateInfoResult(); + explicit DescribeVsDomainCertificateInfoResult(const std::string &payload); + ~DescribeVsDomainCertificateInfoResult(); + std::vector getCertInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector certInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCERTIFICATEINFORESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainConfigsRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainConfigsRequest.h new file mode 100644 index 000000000..2f8ccade4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainConfigsRequest.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_VS_MODEL_DESCRIBEVSDOMAINCONFIGSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCONFIGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainConfigsRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainConfigsRequest(); + ~DescribeVsDomainConfigsRequest(); + + std::string getFunctionNames()const; + void setFunctionNames(const std::string& functionNames); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string functionNames_; + std::string showLog_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCONFIGSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainConfigsResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainConfigsResult.h new file mode 100644 index 000000000..ebda6d91c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainConfigsResult.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCONFIGSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCONFIGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainConfigsResult : public ServiceResult + { + public: + struct DomainConfig + { + struct FunctionArg + { + std::string argValue; + std::string argName; + }; + std::string status; + std::string functionName; + std::vector functionArgs; + std::string configId; + }; + + + DescribeVsDomainConfigsResult(); + explicit DescribeVsDomainConfigsResult(const std::string &payload); + ~DescribeVsDomainConfigsResult(); + std::vector getDomainConfigs()const; + + protected: + void parse(const std::string &payload); + private: + std::vector domainConfigs_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINCONFIGSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainDetailRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainDetailRequest.h new file mode 100644 index 000000000..2110107b6 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainDetailRequest.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_VS_MODEL_DESCRIBEVSDOMAINDETAILREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINDETAILREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainDetailRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainDetailRequest(); + ~DescribeVsDomainDetailRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string showLog_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINDETAILREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainDetailResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainDetailResult.h new file mode 100644 index 000000000..632ad7cea --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainDetailResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINDETAILRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINDETAILRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainDetailResult : public ServiceResult + { + public: + struct DomainConfig + { + std::string domainType; + std::string description; + std::string scope; + std::string domainName; + std::string gmtModified; + std::string region; + std::string gmtCreated; + std::string cname; + std::string domainStatus; + std::string sSLProtocol; + }; + + + DescribeVsDomainDetailResult(); + explicit DescribeVsDomainDetailResult(const std::string &payload); + ~DescribeVsDomainDetailResult(); + DomainConfig getDomainConfig()const; + + protected: + void parse(const std::string &payload); + private: + DomainConfig domainConfig_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINDETAILRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainPvDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainPvDataRequest.h new file mode 100644 index 000000000..2d7d8ff0b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainPvDataRequest.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_VS_MODEL_DESCRIBEVSDOMAINPVDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINPVDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainPvDataRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainPvDataRequest(); + ~DescribeVsDomainPvDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINPVDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainPvDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainPvDataResult.h new file mode 100644 index 000000000..45a5f9211 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainPvDataResult.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_VS_MODEL_DESCRIBEVSDOMAINPVDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINPVDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainPvDataResult : public ServiceResult + { + public: + struct UsageData + { + std::string value; + std::string timeStamp; + }; + + + DescribeVsDomainPvDataResult(); + explicit DescribeVsDomainPvDataResult(const std::string &payload); + ~DescribeVsDomainPvDataResult(); + std::string getDomainName()const; + std::string getStartTime()const; + std::vector getPvDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string domainName_; + std::string startTime_; + std::vector pvDataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINPVDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainRecordDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainRecordDataRequest.h new file mode 100644 index 000000000..4eaeb4bc0 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainRecordDataRequest.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_VS_MODEL_DESCRIBEVSDOMAINRECORDDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINRECORDDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainRecordDataRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainRecordDataRequest(); + ~DescribeVsDomainRecordDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINRECORDDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainRecordDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainRecordDataResult.h new file mode 100644 index 000000000..0e8c91fc2 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainRecordDataResult.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_VS_MODEL_DESCRIBEVSDOMAINRECORDDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINRECORDDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainRecordDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string recordValue; + std::string timeStamp; + }; + + + DescribeVsDomainRecordDataResult(); + explicit DescribeVsDomainRecordDataResult(const std::string &payload); + ~DescribeVsDomainRecordDataResult(); + std::string getEndTime()const; + std::vector getRecordDataPerInterval()const; + std::string getDomainName()const; + std::string getStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::vector recordDataPerInterval_; + std::string domainName_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINRECORDDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainRegionDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainRegionDataRequest.h new file mode 100644 index 000000000..8443aac57 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainRegionDataRequest.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_VS_MODEL_DESCRIBEVSDOMAINREGIONDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREGIONDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainRegionDataRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainRegionDataRequest(); + ~DescribeVsDomainRegionDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREGIONDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainRegionDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainRegionDataResult.h new file mode 100644 index 000000000..d076d7f28 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainRegionDataResult.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_VS_MODEL_DESCRIBEVSDOMAINREGIONDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREGIONDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainRegionDataResult : public ServiceResult + { + public: + struct RegionProportionData + { + std::string avgObjectSize; + std::string bytesProportion; + std::string bps; + std::string proportion; + std::string qps; + std::string totalQuery; + std::string totalBytes; + std::string avgResponseRate; + std::string region; + std::string reqErrRate; + std::string regionEname; + std::string avgResponseTime; + }; + + + DescribeVsDomainRegionDataResult(); + explicit DescribeVsDomainRegionDataResult(const std::string &payload); + ~DescribeVsDomainRegionDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::vector getValue()const; + std::string getDataInterval()const; + std::string getStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::vector value_; + std::string dataInterval_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREGIONDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataRequest.h new file mode 100644 index 000000000..9ce834994 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataRequest.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_VS_MODEL_DESCRIBEVSDOMAINREQBPSDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQBPSDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainReqBpsDataRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainReqBpsDataRequest(); + ~DescribeVsDomainReqBpsDataRequest(); + + std::string getLocationNameEn()const; + void setLocationNameEn(const std::string& locationNameEn); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getIspNameEn()const; + void setIspNameEn(const std::string& ispNameEn); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInterval()const; + void setInterval(const std::string& interval); + + private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQBPSDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataResult.h new file mode 100644 index 000000000..f1075a2d9 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainReqBpsDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQBPSDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQBPSDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainReqBpsDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string reqBpsValue; + std::string timeStamp; + }; + + + DescribeVsDomainReqBpsDataResult(); + explicit DescribeVsDomainReqBpsDataResult(const std::string &payload); + ~DescribeVsDomainReqBpsDataResult(); + std::string getEndTime()const; + std::string getDomainName()const; + std::vector getReqBpsDataPerInterval()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::string domainName_; + std::vector reqBpsDataPerInterval_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQBPSDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataRequest.h new file mode 100644 index 000000000..9877dd7aa --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataRequest.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_VS_MODEL_DESCRIBEVSDOMAINREQTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainReqTrafficDataRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainReqTrafficDataRequest(); + ~DescribeVsDomainReqTrafficDataRequest(); + + std::string getLocationNameEn()const; + void setLocationNameEn(const std::string& locationNameEn); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getIspNameEn()const; + void setIspNameEn(const std::string& ispNameEn); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInterval()const; + void setInterval(const std::string& interval); + + private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQTRAFFICDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataResult.h new file mode 100644 index 000000000..39c650667 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainReqTrafficDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQTRAFFICDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQTRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainReqTrafficDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string reqTrafficValue; + std::string timeStamp; + }; + + + DescribeVsDomainReqTrafficDataResult(); + explicit DescribeVsDomainReqTrafficDataResult(const std::string &payload); + ~DescribeVsDomainReqTrafficDataResult(); + std::vector getReqTrafficDataPerInterval()const; + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::vector reqTrafficDataPerInterval_; + std::string endTime_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINREQTRAFFICDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataRequest.h new file mode 100644 index 000000000..03d534382 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataRequest.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_VS_MODEL_DESCRIBEVSDOMAINSNAPSHOTDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINSNAPSHOTDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainSnapshotDataRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainSnapshotDataRequest(); + ~DescribeVsDomainSnapshotDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINSNAPSHOTDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataResult.h new file mode 100644 index 000000000..dfa28fd1d --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainSnapshotDataResult.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_VS_MODEL_DESCRIBEVSDOMAINSNAPSHOTDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINSNAPSHOTDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainSnapshotDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string snapshotValue; + std::string timeStamp; + }; + + + DescribeVsDomainSnapshotDataResult(); + explicit DescribeVsDomainSnapshotDataResult(const std::string &payload); + ~DescribeVsDomainSnapshotDataResult(); + std::vector getSnapshotDataPerInterval()const; + std::string getEndTime()const; + std::string getDomainName()const; + std::string getStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::vector snapshotDataPerInterval_; + std::string endTime_; + std::string domainName_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINSNAPSHOTDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainTrafficDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainTrafficDataRequest.h new file mode 100644 index 000000000..cff15aa6f --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainTrafficDataRequest.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_VS_MODEL_DESCRIBEVSDOMAINTRAFFICDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINTRAFFICDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainTrafficDataRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainTrafficDataRequest(); + ~DescribeVsDomainTrafficDataRequest(); + + std::string getLocationNameEn()const; + void setLocationNameEn(const std::string& locationNameEn); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getIspNameEn()const; + void setIspNameEn(const std::string& ispNameEn); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInterval()const; + void setInterval(const std::string& interval); + + private: + std::string locationNameEn_; + std::string startTime_; + std::string ispNameEn_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string interval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINTRAFFICDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainTrafficDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainTrafficDataResult.h new file mode 100644 index 000000000..5a0d01c1b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainTrafficDataResult.h @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINTRAFFICDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINTRAFFICDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainTrafficDataResult : public ServiceResult + { + public: + struct DataModule + { + std::string trafficValue; + std::string timeStamp; + }; + + + DescribeVsDomainTrafficDataResult(); + explicit DescribeVsDomainTrafficDataResult(const std::string &payload); + ~DescribeVsDomainTrafficDataResult(); + std::string getEndTime()const; + std::vector getTrafficDataPerInterval()const; + std::string getDomainName()const; + std::string getStartTime()const; + std::string getDataInterval()const; + + protected: + void parse(const std::string &payload); + private: + std::string endTime_; + std::vector trafficDataPerInterval_; + std::string domainName_; + std::string startTime_; + std::string dataInterval_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINTRAFFICDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainUvDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainUvDataRequest.h new file mode 100644 index 000000000..40ce63b33 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainUvDataRequest.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_VS_MODEL_DESCRIBEVSDOMAINUVDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINUVDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainUvDataRequest : public RpcServiceRequest + { + + public: + DescribeVsDomainUvDataRequest(); + ~DescribeVsDomainUvDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINUVDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsDomainUvDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsDomainUvDataResult.h new file mode 100644 index 000000000..8b008e925 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsDomainUvDataResult.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_VS_MODEL_DESCRIBEVSDOMAINUVDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINUVDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsDomainUvDataResult : public ServiceResult + { + public: + struct UsageData + { + std::string value; + std::string timeStamp; + }; + + + DescribeVsDomainUvDataResult(); + explicit DescribeVsDomainUvDataResult(const std::string &payload); + ~DescribeVsDomainUvDataResult(); + std::vector getUvDataInterval()const; + std::string getDomainName()const; + std::string getStartTime()const; + + protected: + void parse(const std::string &payload); + private: + std::vector uvDataInterval_; + std::string domainName_; + std::string startTime_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSDOMAINUVDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigRequest.h new file mode 100644 index 000000000..d2cfa15eb --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigRequest.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_VS_MODEL_DESCRIBEVSPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsPullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + DescribeVsPullStreamInfoConfigRequest(); + ~DescribeVsPullStreamInfoConfigRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string showLog_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigResult.h b/vs/include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigResult.h new file mode 100644 index 000000000..fd9d3f74a --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsPullStreamInfoConfigResult.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_VS_MODEL_DESCRIBEVSPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsPullStreamInfoConfigResult : public ServiceResult + { + public: + struct LiveAppRecord + { + std::string sourceUrl; + std::string streamName; + std::string endTime; + std::string domainName; + std::string startTime; + std::string appName; + }; + + + DescribeVsPullStreamInfoConfigResult(); + explicit DescribeVsPullStreamInfoConfigResult(const std::string &payload); + ~DescribeVsPullStreamInfoConfigResult(); + std::vector getLiveAppRecordList()const; + + protected: + void parse(const std::string &payload); + private: + std::vector liveAppRecordList_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigRequest.h new file mode 100644 index 000000000..91ced245a --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigRequest.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_VS_MODEL_DESCRIBEVSSTREAMSNOTIFYURLCONFIGREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSNOTIFYURLCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsStreamsNotifyUrlConfigRequest : public RpcServiceRequest + { + + public: + DescribeVsStreamsNotifyUrlConfigRequest(); + ~DescribeVsStreamsNotifyUrlConfigRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string showLog_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSNOTIFYURLCONFIGREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigResult.h b/vs/include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigResult.h new file mode 100644 index 000000000..be3a35861 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsStreamsNotifyUrlConfigResult.h @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSNOTIFYURLCONFIGRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSNOTIFYURLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsStreamsNotifyUrlConfigResult : public ServiceResult + { + public: + struct LiveStreamsNotifyConfig + { + std::string domainName; + std::string notifyUrl; + std::string authKey; + std::string authType; + }; + + + DescribeVsStreamsNotifyUrlConfigResult(); + explicit DescribeVsStreamsNotifyUrlConfigResult(const std::string &payload); + ~DescribeVsStreamsNotifyUrlConfigResult(); + LiveStreamsNotifyConfig getLiveStreamsNotifyConfig()const; + + protected: + void parse(const std::string &payload); + private: + LiveStreamsNotifyConfig liveStreamsNotifyConfig_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSNOTIFYURLCONFIGRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsStreamsOnlineListRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsStreamsOnlineListRequest.h new file mode 100644 index 000000000..f84befb45 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsStreamsOnlineListRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSONLINELISTREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSONLINELISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsStreamsOnlineListRequest : public RpcServiceRequest + { + + public: + DescribeVsStreamsOnlineListRequest(); + ~DescribeVsStreamsOnlineListRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + int getPageNum()const; + void setPageNum(int pageNum); + std::string getAppName()const; + void setAppName(const std::string& appName); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getQueryType()const; + void setQueryType(const std::string& queryType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getStreamType()const; + void setStreamType(const std::string& streamType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getOrderBy()const; + void setOrderBy(const std::string& orderBy); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + int pageNum_; + std::string appName_; + int pageSize_; + std::string streamName_; + std::string queryType_; + std::string showLog_; + std::string streamType_; + std::string domainName_; + std::string endTime_; + std::string orderBy_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSONLINELISTREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsStreamsOnlineListResult.h b/vs/include/alibabacloud/vs/model/DescribeVsStreamsOnlineListResult.h new file mode 100644 index 000000000..861c8dc22 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsStreamsOnlineListResult.h @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSONLINELISTRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSONLINELISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsStreamsOnlineListResult : public ServiceResult + { + public: + struct LiveStreamOnlineInfo + { + std::string publishUrl; + std::string streamName; + std::string domainName; + std::string transcodeId; + std::string publishDomain; + std::string transcoded; + std::string publishTime; + std::string publishType; + std::string appName; + }; + + + DescribeVsStreamsOnlineListResult(); + explicit DescribeVsStreamsOnlineListResult(const std::string &payload); + ~DescribeVsStreamsOnlineListResult(); + int getTotalNum()const; + int getPageNum()const; + int getPageSize()const; + int getTotalPage()const; + std::vector getOnlineInfo()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + int pageNum_; + int pageSize_; + int totalPage_; + std::vector onlineInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSONLINELISTRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsStreamsPublishListRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsStreamsPublishListRequest.h new file mode 100644 index 000000000..065449773 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsStreamsPublishListRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSPUBLISHLISTREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSPUBLISHLISTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsStreamsPublishListRequest : public RpcServiceRequest + { + + public: + DescribeVsStreamsPublishListRequest(); + ~DescribeVsStreamsPublishListRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + int getPageNumber()const; + void setPageNumber(int pageNumber); + std::string getAppName()const; + void setAppName(const std::string& appName); + int getPageSize()const; + void setPageSize(int pageSize); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getQueryType()const; + void setQueryType(const std::string& queryType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getStreamType()const; + void setStreamType(const std::string& streamType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getOrderBy()const; + void setOrderBy(const std::string& orderBy); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + int pageNumber_; + std::string appName_; + int pageSize_; + std::string streamName_; + std::string queryType_; + std::string showLog_; + std::string streamType_; + std::string domainName_; + std::string endTime_; + std::string orderBy_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSPUBLISHLISTREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsStreamsPublishListResult.h b/vs/include/alibabacloud/vs/model/DescribeVsStreamsPublishListResult.h new file mode 100644 index 000000000..abd411c47 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsStreamsPublishListResult.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSPUBLISHLISTRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSPUBLISHLISTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsStreamsPublishListResult : public ServiceResult + { + public: + struct LiveStreamPublishInfo + { + std::string publishUrl; + std::string clientAddr; + std::string domainName; + std::string transcodeId; + std::string streamUrl; + std::string publishType; + std::string appName; + std::string streamName; + std::string edgeNodeAddr; + std::string publishDomain; + std::string transcoded; + std::string publishTime; + std::string stopTime; + }; + + + DescribeVsStreamsPublishListResult(); + explicit DescribeVsStreamsPublishListResult(const std::string &payload); + ~DescribeVsStreamsPublishListResult(); + int getTotalNum()const; + int getPageNum()const; + int getPageSize()const; + int getTotalPage()const; + std::vector getPublishInfo()const; + + protected: + void parse(const std::string &payload); + private: + int totalNum_; + int pageNum_; + int pageSize_; + int totalPage_; + std::vector publishInfo_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSSTREAMSPUBLISHLISTRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowRequest.h new file mode 100644 index 000000000..67efae188 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowRequest.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_VS_MODEL_DESCRIBEVSTOPDOMAINSBYFLOWREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSTOPDOMAINSBYFLOWREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsTopDomainsByFlowRequest : public RpcServiceRequest + { + + public: + DescribeVsTopDomainsByFlowRequest(); + ~DescribeVsTopDomainsByFlowRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + long getLimit()const; + void setLimit(long limit); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + long limit_; + std::string showLog_; + std::string endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSTOPDOMAINSBYFLOWREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowResult.h b/vs/include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowResult.h new file mode 100644 index 000000000..73d999fcd --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsTopDomainsByFlowResult.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_VS_MODEL_DESCRIBEVSTOPDOMAINSBYFLOWRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSTOPDOMAINSBYFLOWRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsTopDomainsByFlowResult : public ServiceResult + { + public: + struct TopDomain + { + long maxBps; + std::string domainName; + std::string maxBpsTime; + long rank; + std::string totalTraffic; + long totalAccess; + std::string trafficPercent; + }; + + + DescribeVsTopDomainsByFlowResult(); + explicit DescribeVsTopDomainsByFlowResult(const std::string &payload); + ~DescribeVsTopDomainsByFlowResult(); + std::vector getTopDomains()const; + std::string getEndTime()const; + long getDomainOnlineCount()const; + std::string getStartTime()const; + long getDomainCount()const; + + protected: + void parse(const std::string &payload); + private: + std::vector topDomains_; + std::string endTime_; + long domainOnlineCount_; + std::string startTime_; + long domainCount_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSTOPDOMAINSBYFLOWRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataRequest.h new file mode 100644 index 000000000..0fbc416d5 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_DESCRIBEVSUPPEAKPUBLISHSTREAMDATAREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSUPPEAKPUBLISHSTREAMDATAREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsUpPeakPublishStreamDataRequest : public RpcServiceRequest + { + + public: + DescribeVsUpPeakPublishStreamDataRequest(); + ~DescribeVsUpPeakPublishStreamDataRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDomainSwitch()const; + void setDomainSwitch(const std::string& domainSwitch); + + private: + std::string startTime_; + std::string showLog_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string domainSwitch_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSUPPEAKPUBLISHSTREAMDATAREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataResult.h b/vs/include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataResult.h new file mode 100644 index 000000000..cdc9d0136 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsUpPeakPublishStreamDataResult.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_VS_MODEL_DESCRIBEVSUPPEAKPUBLISHSTREAMDATARESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSUPPEAKPUBLISHSTREAMDATARESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsUpPeakPublishStreamDataResult : public ServiceResult + { + public: + struct DescribeVsUpPeakPublishStreamData + { + std::string bandWidth; + std::string peakTime; + std::string queryTime; + int publishStreamNum; + std::string statName; + }; + + + DescribeVsUpPeakPublishStreamDataResult(); + explicit DescribeVsUpPeakPublishStreamDataResult(const std::string &payload); + ~DescribeVsUpPeakPublishStreamDataResult(); + std::vector getDescribeVsUpPeakPublishStreamDatas()const; + + protected: + void parse(const std::string &payload); + private: + std::vector describeVsUpPeakPublishStreamDatas_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSUPPEAKPUBLISHSTREAMDATARESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsUserResourcePackageRequest.h b/vs/include/alibabacloud/vs/model/DescribeVsUserResourcePackageRequest.h new file mode 100644 index 000000000..2455828ed --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsUserResourcePackageRequest.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_VS_MODEL_DESCRIBEVSUSERRESOURCEPACKAGEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSUSERRESOURCEPACKAGEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsUserResourcePackageRequest : public RpcServiceRequest + { + + public: + DescribeVsUserResourcePackageRequest(); + ~DescribeVsUserResourcePackageRequest(); + + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSecurityToken()const; + void setSecurityToken(const std::string& securityToken); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + + private: + long ownerId_; + std::string securityToken_; + std::string showLog_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSUSERRESOURCEPACKAGEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/DescribeVsUserResourcePackageResult.h b/vs/include/alibabacloud/vs/model/DescribeVsUserResourcePackageResult.h new file mode 100644 index 000000000..0f87aab5d --- /dev/null +++ b/vs/include/alibabacloud/vs/model/DescribeVsUserResourcePackageResult.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_VS_MODEL_DESCRIBEVSUSERRESOURCEPACKAGERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_DESCRIBEVSUSERRESOURCEPACKAGERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT DescribeVsUserResourcePackageResult : public ServiceResult + { + public: + struct ResourcePackageInfo + { + std::string status; + std::string initCapacity; + std::string instanceId; + std::string commodityCode; + std::string displayName; + std::string currCapacity; + }; + + + DescribeVsUserResourcePackageResult(); + explicit DescribeVsUserResourcePackageResult(const std::string &payload); + ~DescribeVsUserResourcePackageResult(); + std::vector getResourcePackageInfos()const; + + protected: + void parse(const std::string &payload); + private: + std::vector resourcePackageInfos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_DESCRIBEVSUSERRESOURCEPACKAGERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ForbidVsStreamRequest.h b/vs/include/alibabacloud/vs/model/ForbidVsStreamRequest.h new file mode 100644 index 000000000..e63b35083 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ForbidVsStreamRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_FORBIDVSSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_FORBIDVSSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ForbidVsStreamRequest : public RpcServiceRequest + { + + public: + ForbidVsStreamRequest(); + ~ForbidVsStreamRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getControlStreamAction()const; + void setControlStreamAction(const std::string& controlStreamAction); + std::string getResumeTime()const; + void setResumeTime(const std::string& resumeTime); + std::string getLiveStreamType()const; + void setLiveStreamType(const std::string& liveStreamType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getOneshot()const; + void setOneshot(const std::string& oneshot); + + private: + std::string appName_; + std::string streamName_; + std::string showLog_; + std::string controlStreamAction_; + std::string resumeTime_; + std::string liveStreamType_; + std::string domainName_; + long ownerId_; + std::string oneshot_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_FORBIDVSSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ForbidVsStreamResult.h b/vs/include/alibabacloud/vs/model/ForbidVsStreamResult.h new file mode 100644 index 000000000..06bd52d08 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ForbidVsStreamResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_FORBIDVSSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_FORBIDVSSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ForbidVsStreamResult : public ServiceResult + { + public: + + + ForbidVsStreamResult(); + explicit ForbidVsStreamResult(const std::string &payload); + ~ForbidVsStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_FORBIDVSSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/GotoPresetRequest.h b/vs/include/alibabacloud/vs/model/GotoPresetRequest.h new file mode 100644 index 000000000..f2cfc8bde --- /dev/null +++ b/vs/include/alibabacloud/vs/model/GotoPresetRequest.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_VS_MODEL_GOTOPRESETREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_GOTOPRESETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT GotoPresetRequest : public RpcServiceRequest + { + + public: + GotoPresetRequest(); + ~GotoPresetRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getPresetId()const; + void setPresetId(const std::string& presetId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string presetId_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_GOTOPRESETREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/GotoPresetResult.h b/vs/include/alibabacloud/vs/model/GotoPresetResult.h new file mode 100644 index 000000000..d0a904cb6 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/GotoPresetResult.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_VS_MODEL_GOTOPRESETRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_GOTOPRESETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT GotoPresetResult : public ServiceResult + { + public: + + + GotoPresetResult(); + explicit GotoPresetResult(const std::string &payload); + ~GotoPresetResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_GOTOPRESETRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDeviceAlarmRequest.h b/vs/include/alibabacloud/vs/model/ModifyDeviceAlarmRequest.h new file mode 100644 index 000000000..8b6f7c2af --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDeviceAlarmRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_MODIFYDEVICEALARMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDEVICEALARMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDeviceAlarmRequest : public RpcServiceRequest + { + + public: + ModifyDeviceAlarmRequest(); + ~ModifyDeviceAlarmRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getAlarmId()const; + void setAlarmId(const std::string& alarmId); + int getChannelId()const; + void setChannelId(int channelId); + int getStatus()const; + void setStatus(int status); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + std::string alarmId_; + int channelId_; + int status_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDEVICEALARMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDeviceAlarmResult.h b/vs/include/alibabacloud/vs/model/ModifyDeviceAlarmResult.h new file mode 100644 index 000000000..48ab32050 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDeviceAlarmResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_MODIFYDEVICEALARMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDEVICEALARMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDeviceAlarmResult : public ServiceResult + { + public: + + + ModifyDeviceAlarmResult(); + explicit ModifyDeviceAlarmResult(const std::string &payload); + ~ModifyDeviceAlarmResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDEVICEALARMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDeviceCaptureRequest.h b/vs/include/alibabacloud/vs/model/ModifyDeviceCaptureRequest.h new file mode 100644 index 000000000..294436efb --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDeviceCaptureRequest.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_VS_MODEL_MODIFYDEVICECAPTUREREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDEVICECAPTUREREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDeviceCaptureRequest : public RpcServiceRequest + { + + public: + ModifyDeviceCaptureRequest(); + ~ModifyDeviceCaptureRequest(); + + int getVideo()const; + void setVideo(int video); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + int getImage()const; + void setImage(int image); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + int video_; + std::string id_; + std::string showLog_; + int image_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDEVICECAPTUREREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDeviceCaptureResult.h b/vs/include/alibabacloud/vs/model/ModifyDeviceCaptureResult.h new file mode 100644 index 000000000..28ca4f0fb --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDeviceCaptureResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_MODIFYDEVICECAPTURERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDEVICECAPTURERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDeviceCaptureResult : public ServiceResult + { + public: + + + ModifyDeviceCaptureResult(); + explicit ModifyDeviceCaptureResult(const std::string &payload); + ~ModifyDeviceCaptureResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDEVICECAPTURERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDeviceChannelsRequest.h b/vs/include/alibabacloud/vs/model/ModifyDeviceChannelsRequest.h new file mode 100644 index 000000000..30e8e307e --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDeviceChannelsRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_MODIFYDEVICECHANNELSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDEVICECHANNELSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDeviceChannelsRequest : public RpcServiceRequest + { + + public: + ModifyDeviceChannelsRequest(); + ~ModifyDeviceChannelsRequest(); + + std::string getDeviceStatus()const; + void setDeviceStatus(const std::string& deviceStatus); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getChannels()const; + void setChannels(const std::string& channels); + std::string getDsn()const; + void setDsn(const std::string& dsn); + + private: + std::string deviceStatus_; + std::string id_; + std::string showLog_; + long ownerId_; + std::string channels_; + std::string dsn_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDEVICECHANNELSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDeviceChannelsResult.h b/vs/include/alibabacloud/vs/model/ModifyDeviceChannelsResult.h new file mode 100644 index 000000000..c303c5b0f --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDeviceChannelsResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_MODIFYDEVICECHANNELSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDEVICECHANNELSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDeviceChannelsResult : public ServiceResult + { + public: + + + ModifyDeviceChannelsResult(); + explicit ModifyDeviceChannelsResult(const std::string &payload); + ~ModifyDeviceChannelsResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDEVICECHANNELSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDeviceRequest.h b/vs/include/alibabacloud/vs/model/ModifyDeviceRequest.h new file mode 100644 index 000000000..1f8663c75 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDeviceRequest.h @@ -0,0 +1,114 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_MODIFYDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDeviceRequest : public RpcServiceRequest + { + + public: + ModifyDeviceRequest(); + ~ModifyDeviceRequest(); + + std::string getGbId()const; + void setGbId(const std::string& gbId); + std::string getLatitude()const; + void setLatitude(const std::string& latitude); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getType()const; + void setType(const std::string& type); + bool getAutoStart()const; + void setAutoStart(bool autoStart); + std::string getParentId()const; + void setParentId(const std::string& parentId); + std::string getPassword()const; + void setPassword(const std::string& password); + std::string getVendor()const; + void setVendor(const std::string& vendor); + std::string getAlarmMethod()const; + void setAlarmMethod(const std::string& alarmMethod); + std::string getDirectoryId()const; + void setDirectoryId(const std::string& directoryId); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getLongitude()const; + void setLongitude(const std::string& longitude); + std::string getGroupId()const; + void setGroupId(const std::string& groupId); + std::string getIp()const; + void setIp(const std::string& ip); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getParams()const; + void setParams(const std::string& params); + std::string getUrl()const; + void setUrl(const std::string& url); + long getPort()const; + void setPort(long port); + std::string getName()const; + void setName(const std::string& name); + long getPosInterval()const; + void setPosInterval(long posInterval); + std::string getUsername()const; + void setUsername(const std::string& username); + bool getAutoPos()const; + void setAutoPos(bool autoPos); + + private: + std::string gbId_; + std::string latitude_; + std::string description_; + std::string type_; + bool autoStart_; + std::string parentId_; + std::string password_; + std::string vendor_; + std::string alarmMethod_; + std::string directoryId_; + std::string id_; + std::string showLog_; + std::string longitude_; + std::string groupId_; + std::string ip_; + long ownerId_; + std::string params_; + std::string url_; + long port_; + std::string name_; + long posInterval_; + std::string username_; + bool autoPos_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDeviceResult.h b/vs/include/alibabacloud/vs/model/ModifyDeviceResult.h new file mode 100644 index 000000000..6102d010b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDeviceResult.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_VS_MODEL_MODIFYDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDeviceResult : public ServiceResult + { + public: + + + ModifyDeviceResult(); + explicit ModifyDeviceResult(const std::string &payload); + ~ModifyDeviceResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDirectoryRequest.h b/vs/include/alibabacloud/vs/model/ModifyDirectoryRequest.h new file mode 100644 index 000000000..cc3630a35 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDirectoryRequest.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_VS_MODEL_MODIFYDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDIRECTORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDirectoryRequest : public RpcServiceRequest + { + + public: + ModifyDirectoryRequest(); + ~ModifyDirectoryRequest(); + + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string description_; + std::string id_; + std::string showLog_; + long ownerId_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDIRECTORYREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyDirectoryResult.h b/vs/include/alibabacloud/vs/model/ModifyDirectoryResult.h new file mode 100644 index 000000000..9f7358d96 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyDirectoryResult.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_VS_MODEL_MODIFYDIRECTORYRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYDIRECTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyDirectoryResult : public ServiceResult + { + public: + + + ModifyDirectoryResult(); + explicit ModifyDirectoryResult(const std::string &payload); + ~ModifyDirectoryResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYDIRECTORYRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyGroupRequest.h b/vs/include/alibabacloud/vs/model/ModifyGroupRequest.h new file mode 100644 index 000000000..e96f873da --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyGroupRequest.h @@ -0,0 +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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_MODIFYGROUPREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYGROUPREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyGroupRequest : public RpcServiceRequest + { + + public: + ModifyGroupRequest(); + ~ModifyGroupRequest(); + + int getCaptureVideo()const; + void setCaptureVideo(int captureVideo); + std::string getDescription()const; + void setDescription(const std::string& description); + bool getEnabled()const; + void setEnabled(bool enabled); + std::string getCaptureOssPath()const; + void setCaptureOssPath(const std::string& captureOssPath); + std::string getPushDomain()const; + void setPushDomain(const std::string& pushDomain); + int getCaptureImage()const; + void setCaptureImage(int captureImage); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getPlayDomain()const; + void setPlayDomain(const std::string& playDomain); + std::string getOutProtocol()const; + void setOutProtocol(const std::string& outProtocol); + int getCaptureInterval()const; + void setCaptureInterval(int captureInterval); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getInProtocol()const; + void setInProtocol(const std::string& inProtocol); + bool getLazyPull()const; + void setLazyPull(bool lazyPull); + std::string getName()const; + void setName(const std::string& name); + std::string getCallback()const; + void setCallback(const std::string& callback); + std::string getRegion()const; + void setRegion(const std::string& region); + std::string getCaptureOssBucket()const; + void setCaptureOssBucket(const std::string& captureOssBucket); + + private: + int captureVideo_; + std::string description_; + bool enabled_; + std::string captureOssPath_; + std::string pushDomain_; + int captureImage_; + std::string id_; + std::string showLog_; + std::string playDomain_; + std::string outProtocol_; + int captureInterval_; + long ownerId_; + std::string inProtocol_; + bool lazyPull_; + std::string name_; + std::string callback_; + std::string region_; + std::string captureOssBucket_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYGROUPREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyGroupResult.h b/vs/include/alibabacloud/vs/model/ModifyGroupResult.h new file mode 100644 index 000000000..fa073ff63 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyGroupResult.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_VS_MODEL_MODIFYGROUPRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYGROUPRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyGroupResult : public ServiceResult + { + public: + + + ModifyGroupResult(); + explicit ModifyGroupResult(const std::string &payload); + ~ModifyGroupResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYGROUPRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyParentPlatformRequest.h b/vs/include/alibabacloud/vs/model/ModifyParentPlatformRequest.h new file mode 100644 index 000000000..621560868 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyParentPlatformRequest.h @@ -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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_MODIFYPARENTPLATFORMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYPARENTPLATFORMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyParentPlatformRequest : public RpcServiceRequest + { + + public: + ModifyParentPlatformRequest(); + ~ModifyParentPlatformRequest(); + + std::string getGbId()const; + void setGbId(const std::string& gbId); + bool getClientAuth()const; + void setClientAuth(bool clientAuth); + std::string getDescription()const; + void setDescription(const std::string& description); + bool getAutoStart()const; + void setAutoStart(bool autoStart); + std::string getId()const; + void setId(const std::string& id); + std::string getClientPassword()const; + void setClientPassword(const std::string& clientPassword); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getIp()const; + void setIp(const std::string& ip); + long getOwnerId()const; + void setOwnerId(long ownerId); + long getPort()const; + void setPort(long port); + std::string getName()const; + void setName(const std::string& name); + std::string getClientUsername()const; + void setClientUsername(const std::string& clientUsername); + + private: + std::string gbId_; + bool clientAuth_; + std::string description_; + bool autoStart_; + std::string id_; + std::string clientPassword_; + std::string showLog_; + std::string ip_; + long ownerId_; + long port_; + std::string name_; + std::string clientUsername_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYPARENTPLATFORMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyParentPlatformResult.h b/vs/include/alibabacloud/vs/model/ModifyParentPlatformResult.h new file mode 100644 index 000000000..c59872b0f --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyParentPlatformResult.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_VS_MODEL_MODIFYPARENTPLATFORMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYPARENTPLATFORMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyParentPlatformResult : public ServiceResult + { + public: + + + ModifyParentPlatformResult(); + explicit ModifyParentPlatformResult(const std::string &payload); + ~ModifyParentPlatformResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYPARENTPLATFORMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyTemplateRequest.h b/vs/include/alibabacloud/vs/model/ModifyTemplateRequest.h new file mode 100644 index 000000000..11c17c449 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyTemplateRequest.h @@ -0,0 +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. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_MODIFYTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyTemplateRequest : public RpcServiceRequest + { + + public: + ModifyTemplateRequest(); + ~ModifyTemplateRequest(); + + std::string getHlsTs()const; + void setHlsTs(const std::string& hlsTs); + std::string getOssEndpoint()const; + void setOssEndpoint(const std::string& ossEndpoint); + std::string getDescription()const; + void setDescription(const std::string& description); + std::string getOssFilePrefix()const; + void setOssFilePrefix(const std::string& ossFilePrefix); + std::string getJpgOverwrite()const; + void setJpgOverwrite(const std::string& jpgOverwrite); + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getJpgOnDemand()const; + void setJpgOnDemand(const std::string& jpgOnDemand); + std::string getId()const; + void setId(const std::string& id); + long getRetention()const; + void setRetention(long retention); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getHlsM3u8()const; + void setHlsM3u8(const std::string& hlsM3u8); + std::string getOssBucket()const; + void setOssBucket(const std::string& ossBucket); + std::string getTransConfigsJSON()const; + void setTransConfigsJSON(const std::string& transConfigsJSON); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + std::string getTrigger()const; + void setTrigger(const std::string& trigger); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getJpgSequence()const; + void setJpgSequence(const std::string& jpgSequence); + std::string getMp4()const; + void setMp4(const std::string& mp4); + std::string getFlv()const; + void setFlv(const std::string& flv); + std::string getName()const; + void setName(const std::string& name); + std::string getCallback()const; + void setCallback(const std::string& callback); + long getInterval()const; + void setInterval(long interval); + std::string getFileFormat()const; + void setFileFormat(const std::string& fileFormat); + std::string getRegion()const; + void setRegion(const std::string& region); + + private: + std::string hlsTs_; + std::string ossEndpoint_; + std::string description_; + std::string ossFilePrefix_; + std::string jpgOverwrite_; + std::string startTime_; + std::string jpgOnDemand_; + std::string id_; + long retention_; + std::string showLog_; + std::string hlsM3u8_; + std::string ossBucket_; + std::string transConfigsJSON_; + std::string endTime_; + std::string trigger_; + long ownerId_; + std::string jpgSequence_; + std::string mp4_; + std::string flv_; + std::string name_; + std::string callback_; + long interval_; + std::string fileFormat_; + std::string region_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ModifyTemplateResult.h b/vs/include/alibabacloud/vs/model/ModifyTemplateResult.h new file mode 100644 index 000000000..55dd717d4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ModifyTemplateResult.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_VS_MODEL_MODIFYTEMPLATERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_MODIFYTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ModifyTemplateResult : public ServiceResult + { + public: + + + ModifyTemplateResult(); + explicit ModifyTemplateResult(const std::string &payload); + ~ModifyTemplateResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_MODIFYTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ResumeVsStreamRequest.h b/vs/include/alibabacloud/vs/model/ResumeVsStreamRequest.h new file mode 100644 index 000000000..9cc25b21c --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ResumeVsStreamRequest.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_VS_MODEL_RESUMEVSSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_RESUMEVSSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ResumeVsStreamRequest : public RpcServiceRequest + { + + public: + ResumeVsStreamRequest(); + ~ResumeVsStreamRequest(); + + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getControlStreamAction()const; + void setControlStreamAction(const std::string& controlStreamAction); + std::string getLiveStreamType()const; + void setLiveStreamType(const std::string& liveStreamType); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string appName_; + std::string streamName_; + std::string showLog_; + std::string controlStreamAction_; + std::string liveStreamType_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_RESUMEVSSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/ResumeVsStreamResult.h b/vs/include/alibabacloud/vs/model/ResumeVsStreamResult.h new file mode 100644 index 000000000..52adcedae --- /dev/null +++ b/vs/include/alibabacloud/vs/model/ResumeVsStreamResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_RESUMEVSSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_RESUMEVSSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT ResumeVsStreamResult : public ServiceResult + { + public: + + + ResumeVsStreamResult(); + explicit ResumeVsStreamResult(const std::string &payload); + ~ResumeVsStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_RESUMEVSSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/SetPresetRequest.h b/vs/include/alibabacloud/vs/model/SetPresetRequest.h new file mode 100644 index 000000000..1ff22d397 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/SetPresetRequest.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_VS_MODEL_SETPRESETREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_SETPRESETREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT SetPresetRequest : public RpcServiceRequest + { + + public: + SetPresetRequest(); + ~SetPresetRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getPresetId()const; + void setPresetId(const std::string& presetId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string presetId_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_SETPRESETREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/SetPresetResult.h b/vs/include/alibabacloud/vs/model/SetPresetResult.h new file mode 100644 index 000000000..65dc66b69 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/SetPresetResult.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_VS_MODEL_SETPRESETRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_SETPRESETRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT SetPresetResult : public ServiceResult + { + public: + + + SetPresetResult(); + explicit SetPresetResult(const std::string &payload); + ~SetPresetResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_SETPRESETRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/SetVsDomainCertificateRequest.h b/vs/include/alibabacloud/vs/model/SetVsDomainCertificateRequest.h new file mode 100644 index 000000000..5d944b6d4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/SetVsDomainCertificateRequest.h @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_SETVSDOMAINCERTIFICATEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_SETVSDOMAINCERTIFICATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT SetVsDomainCertificateRequest : public RpcServiceRequest + { + + public: + SetVsDomainCertificateRequest(); + ~SetVsDomainCertificateRequest(); + + std::string getSSLProtocol()const; + void setSSLProtocol(const std::string& sSLProtocol); + std::string getCertType()const; + void setCertType(const std::string& certType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getSSLPri()const; + void setSSLPri(const std::string& sSLPri); + std::string getForceSet()const; + void setForceSet(const std::string& forceSet); + std::string getCertName()const; + void setCertName(const std::string& certName); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSSLPub()const; + void setSSLPub(const std::string& sSLPub); + std::string getRegion()const; + void setRegion(const std::string& region); + + private: + std::string sSLProtocol_; + std::string certType_; + std::string showLog_; + std::string sSLPri_; + std::string forceSet_; + std::string certName_; + std::string domainName_; + long ownerId_; + std::string sSLPub_; + std::string region_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_SETVSDOMAINCERTIFICATEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/SetVsDomainCertificateResult.h b/vs/include/alibabacloud/vs/model/SetVsDomainCertificateResult.h new file mode 100644 index 000000000..6ff8e141b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/SetVsDomainCertificateResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_SETVSDOMAINCERTIFICATERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_SETVSDOMAINCERTIFICATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT SetVsDomainCertificateResult : public ServiceResult + { + public: + + + SetVsDomainCertificateResult(); + explicit SetVsDomainCertificateResult(const std::string &payload); + ~SetVsDomainCertificateResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_SETVSDOMAINCERTIFICATERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigRequest.h b/vs/include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigRequest.h new file mode 100644 index 000000000..ed0156b4d --- /dev/null +++ b/vs/include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_SETVSSTREAMSNOTIFYURLCONFIGREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_SETVSSTREAMSNOTIFYURLCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT SetVsStreamsNotifyUrlConfigRequest : public RpcServiceRequest + { + + public: + SetVsStreamsNotifyUrlConfigRequest(); + ~SetVsStreamsNotifyUrlConfigRequest(); + + std::string getAuthKey()const; + void setAuthKey(const std::string& authKey); + std::string getAuthType()const; + void setAuthType(const std::string& authType); + std::string getNotifyUrl()const; + void setNotifyUrl(const std::string& notifyUrl); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string authKey_; + std::string authType_; + std::string notifyUrl_; + std::string showLog_; + std::string domainName_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_SETVSSTREAMSNOTIFYURLCONFIGREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigResult.h b/vs/include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigResult.h new file mode 100644 index 000000000..8cb19ae16 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/SetVsStreamsNotifyUrlConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_SETVSSTREAMSNOTIFYURLCONFIGRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_SETVSSTREAMSNOTIFYURLCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT SetVsStreamsNotifyUrlConfigResult : public ServiceResult + { + public: + + + SetVsStreamsNotifyUrlConfigResult(); + explicit SetVsStreamsNotifyUrlConfigResult(const std::string &payload); + ~SetVsStreamsNotifyUrlConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_SETVSSTREAMSNOTIFYURLCONFIGRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartDeviceRequest.h b/vs/include/alibabacloud/vs/model/StartDeviceRequest.h new file mode 100644 index 000000000..ce78319aa --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartDeviceRequest.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_VS_MODEL_STARTDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STARTDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartDeviceRequest : public RpcServiceRequest + { + + public: + StartDeviceRequest(); + ~StartDeviceRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartDeviceResult.h b/vs/include/alibabacloud/vs/model/StartDeviceResult.h new file mode 100644 index 000000000..e9f55bfb1 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartDeviceResult.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_VS_MODEL_STARTDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STARTDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartDeviceResult : public ServiceResult + { + public: + + + StartDeviceResult(); + explicit StartDeviceResult(const std::string &payload); + ~StartDeviceResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartParentPlatformRequest.h b/vs/include/alibabacloud/vs/model/StartParentPlatformRequest.h new file mode 100644 index 000000000..10704b6a0 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartParentPlatformRequest.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_VS_MODEL_STARTPARENTPLATFORMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STARTPARENTPLATFORMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartParentPlatformRequest : public RpcServiceRequest + { + + public: + StartParentPlatformRequest(); + ~StartParentPlatformRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTPARENTPLATFORMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartParentPlatformResult.h b/vs/include/alibabacloud/vs/model/StartParentPlatformResult.h new file mode 100644 index 000000000..dd0d69c22 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartParentPlatformResult.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_VS_MODEL_STARTPARENTPLATFORMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STARTPARENTPLATFORMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartParentPlatformResult : public ServiceResult + { + public: + + + StartParentPlatformResult(); + explicit StartParentPlatformResult(const std::string &payload); + ~StartParentPlatformResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTPARENTPLATFORMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartRecordStreamRequest.h b/vs/include/alibabacloud/vs/model/StartRecordStreamRequest.h new file mode 100644 index 000000000..36b3d43bf --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartRecordStreamRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_STARTRECORDSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STARTRECORDSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartRecordStreamRequest : public RpcServiceRequest + { + + public: + StartRecordStreamRequest(); + ~StartRecordStreamRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getPlayDomain()const; + void setPlayDomain(const std::string& playDomain); + std::string getApp()const; + void setApp(const std::string& app); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string id_; + std::string showLog_; + std::string playDomain_; + std::string app_; + long ownerId_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTRECORDSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartRecordStreamResult.h b/vs/include/alibabacloud/vs/model/StartRecordStreamResult.h new file mode 100644 index 000000000..cd76c27c2 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartRecordStreamResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_STARTRECORDSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STARTRECORDSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartRecordStreamResult : public ServiceResult + { + public: + + + StartRecordStreamResult(); + explicit StartRecordStreamResult(const std::string &payload); + ~StartRecordStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTRECORDSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartStreamRequest.h b/vs/include/alibabacloud/vs/model/StartStreamRequest.h new file mode 100644 index 000000000..23119860e --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartStreamRequest.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_VS_MODEL_STARTSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STARTSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartStreamRequest : public RpcServiceRequest + { + + public: + StartStreamRequest(); + ~StartStreamRequest(); + + long getStartTime()const; + void setStartTime(long startTime); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getEndTime()const; + void setEndTime(long endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + long startTime_; + std::string id_; + std::string showLog_; + long endTime_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartStreamResult.h b/vs/include/alibabacloud/vs/model/StartStreamResult.h new file mode 100644 index 000000000..436713149 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartStreamResult.h @@ -0,0 +1,53 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_STARTSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STARTSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartStreamResult : public ServiceResult + { + public: + + + StartStreamResult(); + explicit StartStreamResult(const std::string &payload); + ~StartStreamResult(); + std::string getId()const; + std::string getName()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartTransferStreamRequest.h b/vs/include/alibabacloud/vs/model/StartTransferStreamRequest.h new file mode 100644 index 000000000..97b399934 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartTransferStreamRequest.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_VS_MODEL_STARTTRANSFERSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STARTTRANSFERSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartTransferStreamRequest : public RpcServiceRequest + { + + public: + StartTransferStreamRequest(); + ~StartTransferStreamRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getTranscode()const; + void setTranscode(const std::string& transcode); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getUrl()const; + void setUrl(const std::string& url); + + private: + std::string id_; + std::string showLog_; + std::string transcode_; + long ownerId_; + std::string url_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTTRANSFERSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StartTransferStreamResult.h b/vs/include/alibabacloud/vs/model/StartTransferStreamResult.h new file mode 100644 index 000000000..e493ee0ab --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StartTransferStreamResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_STARTTRANSFERSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STARTTRANSFERSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StartTransferStreamResult : public ServiceResult + { + public: + + + StartTransferStreamResult(); + explicit StartTransferStreamResult(const std::string &payload); + ~StartTransferStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STARTTRANSFERSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopAdjustRequest.h b/vs/include/alibabacloud/vs/model/StopAdjustRequest.h new file mode 100644 index 000000000..16fdec885 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopAdjustRequest.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_VS_MODEL_STOPADJUSTREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STOPADJUSTREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopAdjustRequest : public RpcServiceRequest + { + + public: + StopAdjustRequest(); + ~StopAdjustRequest(); + + bool getFocus()const; + void setFocus(bool focus); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + bool getIris()const; + void setIris(bool iris); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + bool focus_; + std::string id_; + std::string showLog_; + bool iris_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPADJUSTREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopAdjustResult.h b/vs/include/alibabacloud/vs/model/StopAdjustResult.h new file mode 100644 index 000000000..09cee3d16 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopAdjustResult.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_VS_MODEL_STOPADJUSTRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STOPADJUSTRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopAdjustResult : public ServiceResult + { + public: + + + StopAdjustResult(); + explicit StopAdjustResult(const std::string &payload); + ~StopAdjustResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPADJUSTRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopDeviceRequest.h b/vs/include/alibabacloud/vs/model/StopDeviceRequest.h new file mode 100644 index 000000000..ea56bcb68 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopDeviceRequest.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_VS_MODEL_STOPDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STOPDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopDeviceRequest : public RpcServiceRequest + { + + public: + StopDeviceRequest(); + ~StopDeviceRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string startTime_; + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopDeviceResult.h b/vs/include/alibabacloud/vs/model/StopDeviceResult.h new file mode 100644 index 000000000..6afcf319b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopDeviceResult.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_VS_MODEL_STOPDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STOPDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopDeviceResult : public ServiceResult + { + public: + + + StopDeviceResult(); + explicit StopDeviceResult(const std::string &payload); + ~StopDeviceResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopMoveRequest.h b/vs/include/alibabacloud/vs/model/StopMoveRequest.h new file mode 100644 index 000000000..0ea371589 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopMoveRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_STOPMOVEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STOPMOVEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopMoveRequest : public RpcServiceRequest + { + + public: + StopMoveRequest(); + ~StopMoveRequest(); + + bool getTilt()const; + void setTilt(bool tilt); + std::string getId()const; + void setId(const std::string& id); + bool getPan()const; + void setPan(bool pan); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + bool getZoom()const; + void setZoom(bool zoom); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + bool tilt_; + std::string id_; + bool pan_; + std::string showLog_; + bool zoom_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPMOVEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopMoveResult.h b/vs/include/alibabacloud/vs/model/StopMoveResult.h new file mode 100644 index 000000000..22d73cb36 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopMoveResult.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_VS_MODEL_STOPMOVERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STOPMOVERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopMoveResult : public ServiceResult + { + public: + + + StopMoveResult(); + explicit StopMoveResult(const std::string &payload); + ~StopMoveResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPMOVERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopRecordStreamRequest.h b/vs/include/alibabacloud/vs/model/StopRecordStreamRequest.h new file mode 100644 index 000000000..7fb0e700b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopRecordStreamRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_STOPRECORDSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STOPRECORDSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopRecordStreamRequest : public RpcServiceRequest + { + + public: + StopRecordStreamRequest(); + ~StopRecordStreamRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getPlayDomain()const; + void setPlayDomain(const std::string& playDomain); + std::string getApp()const; + void setApp(const std::string& app); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string id_; + std::string showLog_; + std::string playDomain_; + std::string app_; + long ownerId_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPRECORDSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopRecordStreamResult.h b/vs/include/alibabacloud/vs/model/StopRecordStreamResult.h new file mode 100644 index 000000000..77b3587ac --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopRecordStreamResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_STOPRECORDSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STOPRECORDSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopRecordStreamResult : public ServiceResult + { + public: + + + StopRecordStreamResult(); + explicit StopRecordStreamResult(const std::string &payload); + ~StopRecordStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPRECORDSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopStreamRequest.h b/vs/include/alibabacloud/vs/model/StopStreamRequest.h new file mode 100644 index 000000000..9c5ce07d4 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopStreamRequest.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_VS_MODEL_STOPSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STOPSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopStreamRequest : public RpcServiceRequest + { + + public: + StopStreamRequest(); + ~StopStreamRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getName()const; + void setName(const std::string& name); + + private: + std::string startTime_; + std::string id_; + std::string showLog_; + long ownerId_; + std::string name_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopStreamResult.h b/vs/include/alibabacloud/vs/model/StopStreamResult.h new file mode 100644 index 000000000..b1239ee05 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopStreamResult.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_VS_MODEL_STOPSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STOPSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopStreamResult : public ServiceResult + { + public: + + + StopStreamResult(); + explicit StopStreamResult(const std::string &payload); + ~StopStreamResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopTransferStreamRequest.h b/vs/include/alibabacloud/vs/model/StopTransferStreamRequest.h new file mode 100644 index 000000000..e157106b1 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopTransferStreamRequest.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_VS_MODEL_STOPTRANSFERSTREAMREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_STOPTRANSFERSTREAMREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopTransferStreamRequest : public RpcServiceRequest + { + + public: + StopTransferStreamRequest(); + ~StopTransferStreamRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getTranscode()const; + void setTranscode(const std::string& transcode); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + std::string transcode_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPTRANSFERSTREAMREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/StopTransferStreamResult.h b/vs/include/alibabacloud/vs/model/StopTransferStreamResult.h new file mode 100644 index 000000000..c8915828b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/StopTransferStreamResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_STOPTRANSFERSTREAMRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_STOPTRANSFERSTREAMRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT StopTransferStreamResult : public ServiceResult + { + public: + + + StopTransferStreamResult(); + explicit StopTransferStreamResult(const std::string &payload); + ~StopTransferStreamResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_STOPTRANSFERSTREAMRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/SyncCatalogsRequest.h b/vs/include/alibabacloud/vs/model/SyncCatalogsRequest.h new file mode 100644 index 000000000..b2b835a04 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/SyncCatalogsRequest.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_VS_MODEL_SYNCCATALOGSREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_SYNCCATALOGSREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT SyncCatalogsRequest : public RpcServiceRequest + { + + public: + SyncCatalogsRequest(); + ~SyncCatalogsRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_SYNCCATALOGSREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/SyncCatalogsResult.h b/vs/include/alibabacloud/vs/model/SyncCatalogsResult.h new file mode 100644 index 000000000..3c02cf164 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/SyncCatalogsResult.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_VS_MODEL_SYNCCATALOGSRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_SYNCCATALOGSRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT SyncCatalogsResult : public ServiceResult + { + public: + + + SyncCatalogsResult(); + explicit SyncCatalogsResult(const std::string &payload); + ~SyncCatalogsResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_SYNCCATALOGSRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnbindDirectoryRequest.h b/vs/include/alibabacloud/vs/model/UnbindDirectoryRequest.h new file mode 100644 index 000000000..29894144b --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnbindDirectoryRequest.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_VS_MODEL_UNBINDDIRECTORYREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_UNBINDDIRECTORYREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnbindDirectoryRequest : public RpcServiceRequest + { + + public: + UnbindDirectoryRequest(); + ~UnbindDirectoryRequest(); + + std::string getDirectoryId()const; + void setDirectoryId(const std::string& directoryId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string directoryId_; + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNBINDDIRECTORYREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnbindDirectoryResult.h b/vs/include/alibabacloud/vs/model/UnbindDirectoryResult.h new file mode 100644 index 000000000..3cf554017 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnbindDirectoryResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_UNBINDDIRECTORYRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_UNBINDDIRECTORYRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnbindDirectoryResult : public ServiceResult + { + public: + + + UnbindDirectoryResult(); + explicit UnbindDirectoryResult(const std::string &payload); + ~UnbindDirectoryResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNBINDDIRECTORYRESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnbindParentPlatformDeviceRequest.h b/vs/include/alibabacloud/vs/model/UnbindParentPlatformDeviceRequest.h new file mode 100644 index 000000000..2cd7c4289 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnbindParentPlatformDeviceRequest.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_VS_MODEL_UNBINDPARENTPLATFORMDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_UNBINDPARENTPLATFORMDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnbindParentPlatformDeviceRequest : public RpcServiceRequest + { + + public: + UnbindParentPlatformDeviceRequest(); + ~UnbindParentPlatformDeviceRequest(); + + std::string getParentPlatformId()const; + void setParentPlatformId(const std::string& parentPlatformId); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string parentPlatformId_; + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNBINDPARENTPLATFORMDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnbindParentPlatformDeviceResult.h b/vs/include/alibabacloud/vs/model/UnbindParentPlatformDeviceResult.h new file mode 100644 index 000000000..77ad243ae --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnbindParentPlatformDeviceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_UNBINDPARENTPLATFORMDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_UNBINDPARENTPLATFORMDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnbindParentPlatformDeviceResult : public ServiceResult + { + public: + + + UnbindParentPlatformDeviceResult(); + explicit UnbindParentPlatformDeviceResult(const std::string &payload); + ~UnbindParentPlatformDeviceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNBINDPARENTPLATFORMDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnbindPurchasedDeviceRequest.h b/vs/include/alibabacloud/vs/model/UnbindPurchasedDeviceRequest.h new file mode 100644 index 000000000..a3ad23f97 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnbindPurchasedDeviceRequest.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_VS_MODEL_UNBINDPURCHASEDDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_UNBINDPURCHASEDDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnbindPurchasedDeviceRequest : public RpcServiceRequest + { + + public: + UnbindPurchasedDeviceRequest(); + ~UnbindPurchasedDeviceRequest(); + + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getDeviceId()const; + void setDeviceId(const std::string& deviceId); + + private: + std::string showLog_; + long ownerId_; + std::string deviceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNBINDPURCHASEDDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnbindPurchasedDeviceResult.h b/vs/include/alibabacloud/vs/model/UnbindPurchasedDeviceResult.h new file mode 100644 index 000000000..6850b27b9 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnbindPurchasedDeviceResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_UNBINDPURCHASEDDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_UNBINDPURCHASEDDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnbindPurchasedDeviceResult : public ServiceResult + { + public: + + + UnbindPurchasedDeviceResult(); + explicit UnbindPurchasedDeviceResult(const std::string &payload); + ~UnbindPurchasedDeviceResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNBINDPURCHASEDDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnbindTemplateRequest.h b/vs/include/alibabacloud/vs/model/UnbindTemplateRequest.h new file mode 100644 index 000000000..a54033441 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnbindTemplateRequest.h @@ -0,0 +1,63 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_UNBINDTEMPLATEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_UNBINDTEMPLATEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnbindTemplateRequest : public RpcServiceRequest + { + + public: + UnbindTemplateRequest(); + ~UnbindTemplateRequest(); + + std::string getTemplateType()const; + void setTemplateType(const std::string& templateType); + std::string getInstanceType()const; + void setInstanceType(const std::string& instanceType); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getTemplateId()const; + void setTemplateId(const std::string& templateId); + std::string getInstanceId()const; + void setInstanceId(const std::string& instanceId); + + private: + std::string templateType_; + std::string instanceType_; + std::string showLog_; + long ownerId_; + std::string templateId_; + std::string instanceId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNBINDTEMPLATEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnbindTemplateResult.h b/vs/include/alibabacloud/vs/model/UnbindTemplateResult.h new file mode 100644 index 000000000..1063527b1 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnbindTemplateResult.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_VS_MODEL_UNBINDTEMPLATERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_UNBINDTEMPLATERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnbindTemplateResult : public ServiceResult + { + public: + + + UnbindTemplateResult(); + explicit UnbindTemplateResult(const std::string &payload); + ~UnbindTemplateResult(); + std::string getInstanceId()const; + std::string getTemplateType()const; + std::string getInstanceType()const; + std::string getTemplateId()const; + + protected: + void parse(const std::string &payload); + private: + std::string instanceId_; + std::string templateType_; + std::string instanceType_; + std::string templateId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNBINDTEMPLATERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnlockDeviceRequest.h b/vs/include/alibabacloud/vs/model/UnlockDeviceRequest.h new file mode 100644 index 000000000..fc7e3f699 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnlockDeviceRequest.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_VS_MODEL_UNLOCKDEVICEREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_UNLOCKDEVICEREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnlockDeviceRequest : public RpcServiceRequest + { + + public: + UnlockDeviceRequest(); + ~UnlockDeviceRequest(); + + std::string getId()const; + void setId(const std::string& id); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + long getOwnerId()const; + void setOwnerId(long ownerId); + + private: + std::string id_; + std::string showLog_; + long ownerId_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNLOCKDEVICEREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UnlockDeviceResult.h b/vs/include/alibabacloud/vs/model/UnlockDeviceResult.h new file mode 100644 index 000000000..72888dd76 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UnlockDeviceResult.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_VS_MODEL_UNLOCKDEVICERESULT_H_ +#define ALIBABACLOUD_VS_MODEL_UNLOCKDEVICERESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UnlockDeviceResult : public ServiceResult + { + public: + + + UnlockDeviceResult(); + explicit UnlockDeviceResult(const std::string &payload); + ~UnlockDeviceResult(); + std::string getId()const; + + protected: + void parse(const std::string &payload); + private: + std::string id_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UNLOCKDEVICERESULT_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigRequest.h b/vs/include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigRequest.h new file mode 100644 index 000000000..1427bc098 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigRequest.h @@ -0,0 +1,72 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_UPDATEVSPULLSTREAMINFOCONFIGREQUEST_H_ +#define ALIBABACLOUD_VS_MODEL_UPDATEVSPULLSTREAMINFOCONFIGREQUEST_H_ + +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UpdateVsPullStreamInfoConfigRequest : public RpcServiceRequest + { + + public: + UpdateVsPullStreamInfoConfigRequest(); + ~UpdateVsPullStreamInfoConfigRequest(); + + std::string getStartTime()const; + void setStartTime(const std::string& startTime); + std::string getAppName()const; + void setAppName(const std::string& appName); + std::string getStreamName()const; + void setStreamName(const std::string& streamName); + std::string getShowLog()const; + void setShowLog(const std::string& showLog); + std::string getAlways()const; + void setAlways(const std::string& always); + std::string getDomainName()const; + void setDomainName(const std::string& domainName); + std::string getEndTime()const; + void setEndTime(const std::string& endTime); + long getOwnerId()const; + void setOwnerId(long ownerId); + std::string getSourceUrl()const; + void setSourceUrl(const std::string& sourceUrl); + + private: + std::string startTime_; + std::string appName_; + std::string streamName_; + std::string showLog_; + std::string always_; + std::string domainName_; + std::string endTime_; + long ownerId_; + std::string sourceUrl_; + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UPDATEVSPULLSTREAMINFOCONFIGREQUEST_H_ \ No newline at end of file diff --git a/vs/include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigResult.h b/vs/include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigResult.h new file mode 100644 index 000000000..4c6bff782 --- /dev/null +++ b/vs/include/alibabacloud/vs/model/UpdateVsPullStreamInfoConfigResult.h @@ -0,0 +1,49 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#ifndef ALIBABACLOUD_VS_MODEL_UPDATEVSPULLSTREAMINFOCONFIGRESULT_H_ +#define ALIBABACLOUD_VS_MODEL_UPDATEVSPULLSTREAMINFOCONFIGRESULT_H_ + +#include +#include +#include +#include +#include + +namespace AlibabaCloud +{ + namespace Vs + { + namespace Model + { + class ALIBABACLOUD_VS_EXPORT UpdateVsPullStreamInfoConfigResult : public ServiceResult + { + public: + + + UpdateVsPullStreamInfoConfigResult(); + explicit UpdateVsPullStreamInfoConfigResult(const std::string &payload); + ~UpdateVsPullStreamInfoConfigResult(); + + protected: + void parse(const std::string &payload); + private: + + }; + } + } +} +#endif // !ALIBABACLOUD_VS_MODEL_UPDATEVSPULLSTREAMINFOCONFIGRESULT_H_ \ No newline at end of file diff --git a/vs/src/VsClient.cc b/vs/src/VsClient.cc new file mode 100644 index 000000000..217e97b28 --- /dev/null +++ b/vs/src/VsClient.cc @@ -0,0 +1,4301 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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; +using namespace AlibabaCloud::Location; +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +namespace +{ + const std::string SERVICE_NAME = "vs"; +} + +VsClient::VsClient(const Credentials &credentials, const ClientConfiguration &configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(credentials), configuration) +{ + auto locationClient = std::make_shared(credentials, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "vs"); +} + +VsClient::VsClient(const std::shared_ptr& credentialsProvider, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration) +{ + auto locationClient = std::make_shared(credentialsProvider, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "vs"); +} + +VsClient::VsClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) : + RpcServiceClient(SERVICE_NAME, std::make_shared(accessKeyId, accessKeySecret), configuration) +{ + auto locationClient = std::make_shared(accessKeyId, accessKeySecret, configuration); + endpointProvider_ = std::make_shared(locationClient, configuration.regionId(), SERVICE_NAME, "vs"); +} + +VsClient::~VsClient() +{} + +VsClient::AddVsPullStreamInfoConfigOutcome VsClient::addVsPullStreamInfoConfig(const AddVsPullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return AddVsPullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return AddVsPullStreamInfoConfigOutcome(AddVsPullStreamInfoConfigResult(outcome.result())); + else + return AddVsPullStreamInfoConfigOutcome(outcome.error()); +} + +void VsClient::addVsPullStreamInfoConfigAsync(const AddVsPullStreamInfoConfigRequest& request, const AddVsPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, addVsPullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::AddVsPullStreamInfoConfigOutcomeCallable VsClient::addVsPullStreamInfoConfigCallable(const AddVsPullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->addVsPullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchBindDirectoriesOutcome VsClient::batchBindDirectories(const BatchBindDirectoriesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchBindDirectoriesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchBindDirectoriesOutcome(BatchBindDirectoriesResult(outcome.result())); + else + return BatchBindDirectoriesOutcome(outcome.error()); +} + +void VsClient::batchBindDirectoriesAsync(const BatchBindDirectoriesRequest& request, const BatchBindDirectoriesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchBindDirectories(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchBindDirectoriesOutcomeCallable VsClient::batchBindDirectoriesCallable(const BatchBindDirectoriesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchBindDirectories(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchBindParentPlatformDevicesOutcome VsClient::batchBindParentPlatformDevices(const BatchBindParentPlatformDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchBindParentPlatformDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchBindParentPlatformDevicesOutcome(BatchBindParentPlatformDevicesResult(outcome.result())); + else + return BatchBindParentPlatformDevicesOutcome(outcome.error()); +} + +void VsClient::batchBindParentPlatformDevicesAsync(const BatchBindParentPlatformDevicesRequest& request, const BatchBindParentPlatformDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchBindParentPlatformDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchBindParentPlatformDevicesOutcomeCallable VsClient::batchBindParentPlatformDevicesCallable(const BatchBindParentPlatformDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchBindParentPlatformDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchBindPurchasedDevicesOutcome VsClient::batchBindPurchasedDevices(const BatchBindPurchasedDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchBindPurchasedDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchBindPurchasedDevicesOutcome(BatchBindPurchasedDevicesResult(outcome.result())); + else + return BatchBindPurchasedDevicesOutcome(outcome.error()); +} + +void VsClient::batchBindPurchasedDevicesAsync(const BatchBindPurchasedDevicesRequest& request, const BatchBindPurchasedDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchBindPurchasedDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchBindPurchasedDevicesOutcomeCallable VsClient::batchBindPurchasedDevicesCallable(const BatchBindPurchasedDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchBindPurchasedDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchBindTemplateOutcome VsClient::batchBindTemplate(const BatchBindTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchBindTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchBindTemplateOutcome(BatchBindTemplateResult(outcome.result())); + else + return BatchBindTemplateOutcome(outcome.error()); +} + +void VsClient::batchBindTemplateAsync(const BatchBindTemplateRequest& request, const BatchBindTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchBindTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchBindTemplateOutcomeCallable VsClient::batchBindTemplateCallable(const BatchBindTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchBindTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchBindTemplatesOutcome VsClient::batchBindTemplates(const BatchBindTemplatesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchBindTemplatesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchBindTemplatesOutcome(BatchBindTemplatesResult(outcome.result())); + else + return BatchBindTemplatesOutcome(outcome.error()); +} + +void VsClient::batchBindTemplatesAsync(const BatchBindTemplatesRequest& request, const BatchBindTemplatesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchBindTemplates(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchBindTemplatesOutcomeCallable VsClient::batchBindTemplatesCallable(const BatchBindTemplatesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchBindTemplates(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchDeleteDevicesOutcome VsClient::batchDeleteDevices(const BatchDeleteDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchDeleteDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchDeleteDevicesOutcome(BatchDeleteDevicesResult(outcome.result())); + else + return BatchDeleteDevicesOutcome(outcome.error()); +} + +void VsClient::batchDeleteDevicesAsync(const BatchDeleteDevicesRequest& request, const BatchDeleteDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchDeleteDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchDeleteDevicesOutcomeCallable VsClient::batchDeleteDevicesCallable(const BatchDeleteDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchDeleteDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchDeleteVsDomainConfigsOutcome VsClient::batchDeleteVsDomainConfigs(const BatchDeleteVsDomainConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchDeleteVsDomainConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchDeleteVsDomainConfigsOutcome(BatchDeleteVsDomainConfigsResult(outcome.result())); + else + return BatchDeleteVsDomainConfigsOutcome(outcome.error()); +} + +void VsClient::batchDeleteVsDomainConfigsAsync(const BatchDeleteVsDomainConfigsRequest& request, const BatchDeleteVsDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchDeleteVsDomainConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchDeleteVsDomainConfigsOutcomeCallable VsClient::batchDeleteVsDomainConfigsCallable(const BatchDeleteVsDomainConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchDeleteVsDomainConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchForbidVsStreamOutcome VsClient::batchForbidVsStream(const BatchForbidVsStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchForbidVsStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchForbidVsStreamOutcome(BatchForbidVsStreamResult(outcome.result())); + else + return BatchForbidVsStreamOutcome(outcome.error()); +} + +void VsClient::batchForbidVsStreamAsync(const BatchForbidVsStreamRequest& request, const BatchForbidVsStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchForbidVsStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchForbidVsStreamOutcomeCallable VsClient::batchForbidVsStreamCallable(const BatchForbidVsStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchForbidVsStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchResumeVsStreamOutcome VsClient::batchResumeVsStream(const BatchResumeVsStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchResumeVsStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchResumeVsStreamOutcome(BatchResumeVsStreamResult(outcome.result())); + else + return BatchResumeVsStreamOutcome(outcome.error()); +} + +void VsClient::batchResumeVsStreamAsync(const BatchResumeVsStreamRequest& request, const BatchResumeVsStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchResumeVsStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchResumeVsStreamOutcomeCallable VsClient::batchResumeVsStreamCallable(const BatchResumeVsStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchResumeVsStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchSetVsDomainConfigsOutcome VsClient::batchSetVsDomainConfigs(const BatchSetVsDomainConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchSetVsDomainConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchSetVsDomainConfigsOutcome(BatchSetVsDomainConfigsResult(outcome.result())); + else + return BatchSetVsDomainConfigsOutcome(outcome.error()); +} + +void VsClient::batchSetVsDomainConfigsAsync(const BatchSetVsDomainConfigsRequest& request, const BatchSetVsDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchSetVsDomainConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchSetVsDomainConfigsOutcomeCallable VsClient::batchSetVsDomainConfigsCallable(const BatchSetVsDomainConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchSetVsDomainConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchStartDevicesOutcome VsClient::batchStartDevices(const BatchStartDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchStartDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchStartDevicesOutcome(BatchStartDevicesResult(outcome.result())); + else + return BatchStartDevicesOutcome(outcome.error()); +} + +void VsClient::batchStartDevicesAsync(const BatchStartDevicesRequest& request, const BatchStartDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchStartDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchStartDevicesOutcomeCallable VsClient::batchStartDevicesCallable(const BatchStartDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchStartDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchStartStreamsOutcome VsClient::batchStartStreams(const BatchStartStreamsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchStartStreamsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchStartStreamsOutcome(BatchStartStreamsResult(outcome.result())); + else + return BatchStartStreamsOutcome(outcome.error()); +} + +void VsClient::batchStartStreamsAsync(const BatchStartStreamsRequest& request, const BatchStartStreamsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchStartStreams(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchStartStreamsOutcomeCallable VsClient::batchStartStreamsCallable(const BatchStartStreamsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchStartStreams(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchStopDevicesOutcome VsClient::batchStopDevices(const BatchStopDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchStopDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchStopDevicesOutcome(BatchStopDevicesResult(outcome.result())); + else + return BatchStopDevicesOutcome(outcome.error()); +} + +void VsClient::batchStopDevicesAsync(const BatchStopDevicesRequest& request, const BatchStopDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchStopDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchStopDevicesOutcomeCallable VsClient::batchStopDevicesCallable(const BatchStopDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchStopDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchStopStreamsOutcome VsClient::batchStopStreams(const BatchStopStreamsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchStopStreamsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchStopStreamsOutcome(BatchStopStreamsResult(outcome.result())); + else + return BatchStopStreamsOutcome(outcome.error()); +} + +void VsClient::batchStopStreamsAsync(const BatchStopStreamsRequest& request, const BatchStopStreamsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchStopStreams(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchStopStreamsOutcomeCallable VsClient::batchStopStreamsCallable(const BatchStopStreamsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchStopStreams(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchUnbindDirectoriesOutcome VsClient::batchUnbindDirectories(const BatchUnbindDirectoriesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUnbindDirectoriesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUnbindDirectoriesOutcome(BatchUnbindDirectoriesResult(outcome.result())); + else + return BatchUnbindDirectoriesOutcome(outcome.error()); +} + +void VsClient::batchUnbindDirectoriesAsync(const BatchUnbindDirectoriesRequest& request, const BatchUnbindDirectoriesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUnbindDirectories(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchUnbindDirectoriesOutcomeCallable VsClient::batchUnbindDirectoriesCallable(const BatchUnbindDirectoriesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUnbindDirectories(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchUnbindParentPlatformDevicesOutcome VsClient::batchUnbindParentPlatformDevices(const BatchUnbindParentPlatformDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUnbindParentPlatformDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUnbindParentPlatformDevicesOutcome(BatchUnbindParentPlatformDevicesResult(outcome.result())); + else + return BatchUnbindParentPlatformDevicesOutcome(outcome.error()); +} + +void VsClient::batchUnbindParentPlatformDevicesAsync(const BatchUnbindParentPlatformDevicesRequest& request, const BatchUnbindParentPlatformDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUnbindParentPlatformDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchUnbindParentPlatformDevicesOutcomeCallable VsClient::batchUnbindParentPlatformDevicesCallable(const BatchUnbindParentPlatformDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUnbindParentPlatformDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchUnbindPurchasedDevicesOutcome VsClient::batchUnbindPurchasedDevices(const BatchUnbindPurchasedDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUnbindPurchasedDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUnbindPurchasedDevicesOutcome(BatchUnbindPurchasedDevicesResult(outcome.result())); + else + return BatchUnbindPurchasedDevicesOutcome(outcome.error()); +} + +void VsClient::batchUnbindPurchasedDevicesAsync(const BatchUnbindPurchasedDevicesRequest& request, const BatchUnbindPurchasedDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUnbindPurchasedDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchUnbindPurchasedDevicesOutcomeCallable VsClient::batchUnbindPurchasedDevicesCallable(const BatchUnbindPurchasedDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUnbindPurchasedDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchUnbindTemplateOutcome VsClient::batchUnbindTemplate(const BatchUnbindTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUnbindTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUnbindTemplateOutcome(BatchUnbindTemplateResult(outcome.result())); + else + return BatchUnbindTemplateOutcome(outcome.error()); +} + +void VsClient::batchUnbindTemplateAsync(const BatchUnbindTemplateRequest& request, const BatchUnbindTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUnbindTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchUnbindTemplateOutcomeCallable VsClient::batchUnbindTemplateCallable(const BatchUnbindTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUnbindTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BatchUnbindTemplatesOutcome VsClient::batchUnbindTemplates(const BatchUnbindTemplatesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BatchUnbindTemplatesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BatchUnbindTemplatesOutcome(BatchUnbindTemplatesResult(outcome.result())); + else + return BatchUnbindTemplatesOutcome(outcome.error()); +} + +void VsClient::batchUnbindTemplatesAsync(const BatchUnbindTemplatesRequest& request, const BatchUnbindTemplatesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, batchUnbindTemplates(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BatchUnbindTemplatesOutcomeCallable VsClient::batchUnbindTemplatesCallable(const BatchUnbindTemplatesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->batchUnbindTemplates(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BindDirectoryOutcome VsClient::bindDirectory(const BindDirectoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BindDirectoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BindDirectoryOutcome(BindDirectoryResult(outcome.result())); + else + return BindDirectoryOutcome(outcome.error()); +} + +void VsClient::bindDirectoryAsync(const BindDirectoryRequest& request, const BindDirectoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bindDirectory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BindDirectoryOutcomeCallable VsClient::bindDirectoryCallable(const BindDirectoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bindDirectory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BindParentPlatformDeviceOutcome VsClient::bindParentPlatformDevice(const BindParentPlatformDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BindParentPlatformDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BindParentPlatformDeviceOutcome(BindParentPlatformDeviceResult(outcome.result())); + else + return BindParentPlatformDeviceOutcome(outcome.error()); +} + +void VsClient::bindParentPlatformDeviceAsync(const BindParentPlatformDeviceRequest& request, const BindParentPlatformDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bindParentPlatformDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BindParentPlatformDeviceOutcomeCallable VsClient::bindParentPlatformDeviceCallable(const BindParentPlatformDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bindParentPlatformDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BindPurchasedDeviceOutcome VsClient::bindPurchasedDevice(const BindPurchasedDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BindPurchasedDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BindPurchasedDeviceOutcome(BindPurchasedDeviceResult(outcome.result())); + else + return BindPurchasedDeviceOutcome(outcome.error()); +} + +void VsClient::bindPurchasedDeviceAsync(const BindPurchasedDeviceRequest& request, const BindPurchasedDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bindPurchasedDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BindPurchasedDeviceOutcomeCallable VsClient::bindPurchasedDeviceCallable(const BindPurchasedDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bindPurchasedDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::BindTemplateOutcome VsClient::bindTemplate(const BindTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return BindTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return BindTemplateOutcome(BindTemplateResult(outcome.result())); + else + return BindTemplateOutcome(outcome.error()); +} + +void VsClient::bindTemplateAsync(const BindTemplateRequest& request, const BindTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, bindTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::BindTemplateOutcomeCallable VsClient::bindTemplateCallable(const BindTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->bindTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ContinuousAdjustOutcome VsClient::continuousAdjust(const ContinuousAdjustRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ContinuousAdjustOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ContinuousAdjustOutcome(ContinuousAdjustResult(outcome.result())); + else + return ContinuousAdjustOutcome(outcome.error()); +} + +void VsClient::continuousAdjustAsync(const ContinuousAdjustRequest& request, const ContinuousAdjustAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, continuousAdjust(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ContinuousAdjustOutcomeCallable VsClient::continuousAdjustCallable(const ContinuousAdjustRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->continuousAdjust(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ContinuousMoveOutcome VsClient::continuousMove(const ContinuousMoveRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ContinuousMoveOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ContinuousMoveOutcome(ContinuousMoveResult(outcome.result())); + else + return ContinuousMoveOutcome(outcome.error()); +} + +void VsClient::continuousMoveAsync(const ContinuousMoveRequest& request, const ContinuousMoveAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, continuousMove(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ContinuousMoveOutcomeCallable VsClient::continuousMoveCallable(const ContinuousMoveRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->continuousMove(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::CreateDeviceOutcome VsClient::createDevice(const CreateDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDeviceOutcome(CreateDeviceResult(outcome.result())); + else + return CreateDeviceOutcome(outcome.error()); +} + +void VsClient::createDeviceAsync(const CreateDeviceRequest& request, const CreateDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::CreateDeviceOutcomeCallable VsClient::createDeviceCallable(const CreateDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::CreateDeviceAlarmOutcome VsClient::createDeviceAlarm(const CreateDeviceAlarmRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDeviceAlarmOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDeviceAlarmOutcome(CreateDeviceAlarmResult(outcome.result())); + else + return CreateDeviceAlarmOutcome(outcome.error()); +} + +void VsClient::createDeviceAlarmAsync(const CreateDeviceAlarmRequest& request, const CreateDeviceAlarmAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDeviceAlarm(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::CreateDeviceAlarmOutcomeCallable VsClient::createDeviceAlarmCallable(const CreateDeviceAlarmRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDeviceAlarm(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::CreateDirectoryOutcome VsClient::createDirectory(const CreateDirectoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateDirectoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateDirectoryOutcome(CreateDirectoryResult(outcome.result())); + else + return CreateDirectoryOutcome(outcome.error()); +} + +void VsClient::createDirectoryAsync(const CreateDirectoryRequest& request, const CreateDirectoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createDirectory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::CreateDirectoryOutcomeCallable VsClient::createDirectoryCallable(const CreateDirectoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createDirectory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::CreateGroupOutcome VsClient::createGroup(const CreateGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateGroupOutcome(CreateGroupResult(outcome.result())); + else + return CreateGroupOutcome(outcome.error()); +} + +void VsClient::createGroupAsync(const CreateGroupRequest& request, const CreateGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::CreateGroupOutcomeCallable VsClient::createGroupCallable(const CreateGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::CreateParentPlatformOutcome VsClient::createParentPlatform(const CreateParentPlatformRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateParentPlatformOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateParentPlatformOutcome(CreateParentPlatformResult(outcome.result())); + else + return CreateParentPlatformOutcome(outcome.error()); +} + +void VsClient::createParentPlatformAsync(const CreateParentPlatformRequest& request, const CreateParentPlatformAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createParentPlatform(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::CreateParentPlatformOutcomeCallable VsClient::createParentPlatformCallable(const CreateParentPlatformRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createParentPlatform(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::CreateStreamSnapshotOutcome VsClient::createStreamSnapshot(const CreateStreamSnapshotRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateStreamSnapshotOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateStreamSnapshotOutcome(CreateStreamSnapshotResult(outcome.result())); + else + return CreateStreamSnapshotOutcome(outcome.error()); +} + +void VsClient::createStreamSnapshotAsync(const CreateStreamSnapshotRequest& request, const CreateStreamSnapshotAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createStreamSnapshot(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::CreateStreamSnapshotOutcomeCallable VsClient::createStreamSnapshotCallable(const CreateStreamSnapshotRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createStreamSnapshot(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::CreateTemplateOutcome VsClient::createTemplate(const CreateTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return CreateTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return CreateTemplateOutcome(CreateTemplateResult(outcome.result())); + else + return CreateTemplateOutcome(outcome.error()); +} + +void VsClient::createTemplateAsync(const CreateTemplateRequest& request, const CreateTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, createTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::CreateTemplateOutcomeCallable VsClient::createTemplateCallable(const CreateTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->createTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DeleteDeviceOutcome VsClient::deleteDevice(const DeleteDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDeviceOutcome(DeleteDeviceResult(outcome.result())); + else + return DeleteDeviceOutcome(outcome.error()); +} + +void VsClient::deleteDeviceAsync(const DeleteDeviceRequest& request, const DeleteDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DeleteDeviceOutcomeCallable VsClient::deleteDeviceCallable(const DeleteDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DeleteDirectoryOutcome VsClient::deleteDirectory(const DeleteDirectoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteDirectoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteDirectoryOutcome(DeleteDirectoryResult(outcome.result())); + else + return DeleteDirectoryOutcome(outcome.error()); +} + +void VsClient::deleteDirectoryAsync(const DeleteDirectoryRequest& request, const DeleteDirectoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteDirectory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DeleteDirectoryOutcomeCallable VsClient::deleteDirectoryCallable(const DeleteDirectoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteDirectory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DeleteGroupOutcome VsClient::deleteGroup(const DeleteGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteGroupOutcome(DeleteGroupResult(outcome.result())); + else + return DeleteGroupOutcome(outcome.error()); +} + +void VsClient::deleteGroupAsync(const DeleteGroupRequest& request, const DeleteGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DeleteGroupOutcomeCallable VsClient::deleteGroupCallable(const DeleteGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DeleteParentPlatformOutcome VsClient::deleteParentPlatform(const DeleteParentPlatformRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteParentPlatformOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteParentPlatformOutcome(DeleteParentPlatformResult(outcome.result())); + else + return DeleteParentPlatformOutcome(outcome.error()); +} + +void VsClient::deleteParentPlatformAsync(const DeleteParentPlatformRequest& request, const DeleteParentPlatformAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteParentPlatform(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DeleteParentPlatformOutcomeCallable VsClient::deleteParentPlatformCallable(const DeleteParentPlatformRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteParentPlatform(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DeletePresetOutcome VsClient::deletePreset(const DeletePresetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeletePresetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeletePresetOutcome(DeletePresetResult(outcome.result())); + else + return DeletePresetOutcome(outcome.error()); +} + +void VsClient::deletePresetAsync(const DeletePresetRequest& request, const DeletePresetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deletePreset(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DeletePresetOutcomeCallable VsClient::deletePresetCallable(const DeletePresetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deletePreset(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DeleteTemplateOutcome VsClient::deleteTemplate(const DeleteTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteTemplateOutcome(DeleteTemplateResult(outcome.result())); + else + return DeleteTemplateOutcome(outcome.error()); +} + +void VsClient::deleteTemplateAsync(const DeleteTemplateRequest& request, const DeleteTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DeleteTemplateOutcomeCallable VsClient::deleteTemplateCallable(const DeleteTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DeleteVsPullStreamInfoConfigOutcome VsClient::deleteVsPullStreamInfoConfig(const DeleteVsPullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVsPullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVsPullStreamInfoConfigOutcome(DeleteVsPullStreamInfoConfigResult(outcome.result())); + else + return DeleteVsPullStreamInfoConfigOutcome(outcome.error()); +} + +void VsClient::deleteVsPullStreamInfoConfigAsync(const DeleteVsPullStreamInfoConfigRequest& request, const DeleteVsPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVsPullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DeleteVsPullStreamInfoConfigOutcomeCallable VsClient::deleteVsPullStreamInfoConfigCallable(const DeleteVsPullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVsPullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DeleteVsStreamsNotifyUrlConfigOutcome VsClient::deleteVsStreamsNotifyUrlConfig(const DeleteVsStreamsNotifyUrlConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DeleteVsStreamsNotifyUrlConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DeleteVsStreamsNotifyUrlConfigOutcome(DeleteVsStreamsNotifyUrlConfigResult(outcome.result())); + else + return DeleteVsStreamsNotifyUrlConfigOutcome(outcome.error()); +} + +void VsClient::deleteVsStreamsNotifyUrlConfigAsync(const DeleteVsStreamsNotifyUrlConfigRequest& request, const DeleteVsStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, deleteVsStreamsNotifyUrlConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DeleteVsStreamsNotifyUrlConfigOutcomeCallable VsClient::deleteVsStreamsNotifyUrlConfigCallable(const DeleteVsStreamsNotifyUrlConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->deleteVsStreamsNotifyUrlConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeAccountStatOutcome VsClient::describeAccountStat(const DescribeAccountStatRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeAccountStatOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeAccountStatOutcome(DescribeAccountStatResult(outcome.result())); + else + return DescribeAccountStatOutcome(outcome.error()); +} + +void VsClient::describeAccountStatAsync(const DescribeAccountStatRequest& request, const DescribeAccountStatAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeAccountStat(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeAccountStatOutcomeCallable VsClient::describeAccountStatCallable(const DescribeAccountStatRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeAccountStat(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeDeviceOutcome VsClient::describeDevice(const DescribeDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDeviceOutcome(DescribeDeviceResult(outcome.result())); + else + return DescribeDeviceOutcome(outcome.error()); +} + +void VsClient::describeDeviceAsync(const DescribeDeviceRequest& request, const DescribeDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeDeviceOutcomeCallable VsClient::describeDeviceCallable(const DescribeDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeDeviceChannelsOutcome VsClient::describeDeviceChannels(const DescribeDeviceChannelsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDeviceChannelsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDeviceChannelsOutcome(DescribeDeviceChannelsResult(outcome.result())); + else + return DescribeDeviceChannelsOutcome(outcome.error()); +} + +void VsClient::describeDeviceChannelsAsync(const DescribeDeviceChannelsRequest& request, const DescribeDeviceChannelsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDeviceChannels(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeDeviceChannelsOutcomeCallable VsClient::describeDeviceChannelsCallable(const DescribeDeviceChannelsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDeviceChannels(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeDeviceGatewayOutcome VsClient::describeDeviceGateway(const DescribeDeviceGatewayRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDeviceGatewayOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDeviceGatewayOutcome(DescribeDeviceGatewayResult(outcome.result())); + else + return DescribeDeviceGatewayOutcome(outcome.error()); +} + +void VsClient::describeDeviceGatewayAsync(const DescribeDeviceGatewayRequest& request, const DescribeDeviceGatewayAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDeviceGateway(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeDeviceGatewayOutcomeCallable VsClient::describeDeviceGatewayCallable(const DescribeDeviceGatewayRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDeviceGateway(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeDeviceURLOutcome VsClient::describeDeviceURL(const DescribeDeviceURLRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDeviceURLOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDeviceURLOutcome(DescribeDeviceURLResult(outcome.result())); + else + return DescribeDeviceURLOutcome(outcome.error()); +} + +void VsClient::describeDeviceURLAsync(const DescribeDeviceURLRequest& request, const DescribeDeviceURLAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDeviceURL(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeDeviceURLOutcomeCallable VsClient::describeDeviceURLCallable(const DescribeDeviceURLRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDeviceURL(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeDevicesOutcome VsClient::describeDevices(const DescribeDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDevicesOutcome(DescribeDevicesResult(outcome.result())); + else + return DescribeDevicesOutcome(outcome.error()); +} + +void VsClient::describeDevicesAsync(const DescribeDevicesRequest& request, const DescribeDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeDevicesOutcomeCallable VsClient::describeDevicesCallable(const DescribeDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeDirectoriesOutcome VsClient::describeDirectories(const DescribeDirectoriesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDirectoriesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDirectoriesOutcome(DescribeDirectoriesResult(outcome.result())); + else + return DescribeDirectoriesOutcome(outcome.error()); +} + +void VsClient::describeDirectoriesAsync(const DescribeDirectoriesRequest& request, const DescribeDirectoriesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDirectories(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeDirectoriesOutcomeCallable VsClient::describeDirectoriesCallable(const DescribeDirectoriesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDirectories(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeDirectoryOutcome VsClient::describeDirectory(const DescribeDirectoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeDirectoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeDirectoryOutcome(DescribeDirectoryResult(outcome.result())); + else + return DescribeDirectoryOutcome(outcome.error()); +} + +void VsClient::describeDirectoryAsync(const DescribeDirectoryRequest& request, const DescribeDirectoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeDirectory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeDirectoryOutcomeCallable VsClient::describeDirectoryCallable(const DescribeDirectoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeDirectory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeGroupOutcome VsClient::describeGroup(const DescribeGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGroupOutcome(DescribeGroupResult(outcome.result())); + else + return DescribeGroupOutcome(outcome.error()); +} + +void VsClient::describeGroupAsync(const DescribeGroupRequest& request, const DescribeGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeGroupOutcomeCallable VsClient::describeGroupCallable(const DescribeGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeGroupsOutcome VsClient::describeGroups(const DescribeGroupsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeGroupsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeGroupsOutcome(DescribeGroupsResult(outcome.result())); + else + return DescribeGroupsOutcome(outcome.error()); +} + +void VsClient::describeGroupsAsync(const DescribeGroupsRequest& request, const DescribeGroupsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeGroups(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeGroupsOutcomeCallable VsClient::describeGroupsCallable(const DescribeGroupsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeGroups(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeParentPlatformOutcome VsClient::describeParentPlatform(const DescribeParentPlatformRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeParentPlatformOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeParentPlatformOutcome(DescribeParentPlatformResult(outcome.result())); + else + return DescribeParentPlatformOutcome(outcome.error()); +} + +void VsClient::describeParentPlatformAsync(const DescribeParentPlatformRequest& request, const DescribeParentPlatformAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeParentPlatform(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeParentPlatformOutcomeCallable VsClient::describeParentPlatformCallable(const DescribeParentPlatformRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeParentPlatform(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeParentPlatformDevicesOutcome VsClient::describeParentPlatformDevices(const DescribeParentPlatformDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeParentPlatformDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeParentPlatformDevicesOutcome(DescribeParentPlatformDevicesResult(outcome.result())); + else + return DescribeParentPlatformDevicesOutcome(outcome.error()); +} + +void VsClient::describeParentPlatformDevicesAsync(const DescribeParentPlatformDevicesRequest& request, const DescribeParentPlatformDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeParentPlatformDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeParentPlatformDevicesOutcomeCallable VsClient::describeParentPlatformDevicesCallable(const DescribeParentPlatformDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeParentPlatformDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeParentPlatformsOutcome VsClient::describeParentPlatforms(const DescribeParentPlatformsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeParentPlatformsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeParentPlatformsOutcome(DescribeParentPlatformsResult(outcome.result())); + else + return DescribeParentPlatformsOutcome(outcome.error()); +} + +void VsClient::describeParentPlatformsAsync(const DescribeParentPlatformsRequest& request, const DescribeParentPlatformsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeParentPlatforms(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeParentPlatformsOutcomeCallable VsClient::describeParentPlatformsCallable(const DescribeParentPlatformsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeParentPlatforms(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribePresetsOutcome VsClient::describePresets(const DescribePresetsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribePresetsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribePresetsOutcome(DescribePresetsResult(outcome.result())); + else + return DescribePresetsOutcome(outcome.error()); +} + +void VsClient::describePresetsAsync(const DescribePresetsRequest& request, const DescribePresetsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describePresets(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribePresetsOutcomeCallable VsClient::describePresetsCallable(const DescribePresetsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describePresets(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribePurchasedDeviceOutcome VsClient::describePurchasedDevice(const DescribePurchasedDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribePurchasedDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribePurchasedDeviceOutcome(DescribePurchasedDeviceResult(outcome.result())); + else + return DescribePurchasedDeviceOutcome(outcome.error()); +} + +void VsClient::describePurchasedDeviceAsync(const DescribePurchasedDeviceRequest& request, const DescribePurchasedDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describePurchasedDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribePurchasedDeviceOutcomeCallable VsClient::describePurchasedDeviceCallable(const DescribePurchasedDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describePurchasedDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribePurchasedDevicesOutcome VsClient::describePurchasedDevices(const DescribePurchasedDevicesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribePurchasedDevicesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribePurchasedDevicesOutcome(DescribePurchasedDevicesResult(outcome.result())); + else + return DescribePurchasedDevicesOutcome(outcome.error()); +} + +void VsClient::describePurchasedDevicesAsync(const DescribePurchasedDevicesRequest& request, const DescribePurchasedDevicesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describePurchasedDevices(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribePurchasedDevicesOutcomeCallable VsClient::describePurchasedDevicesCallable(const DescribePurchasedDevicesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describePurchasedDevices(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeRecordsOutcome VsClient::describeRecords(const DescribeRecordsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeRecordsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeRecordsOutcome(DescribeRecordsResult(outcome.result())); + else + return DescribeRecordsOutcome(outcome.error()); +} + +void VsClient::describeRecordsAsync(const DescribeRecordsRequest& request, const DescribeRecordsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeRecords(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeRecordsOutcomeCallable VsClient::describeRecordsCallable(const DescribeRecordsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeRecords(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeStreamOutcome VsClient::describeStream(const DescribeStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStreamOutcome(DescribeStreamResult(outcome.result())); + else + return DescribeStreamOutcome(outcome.error()); +} + +void VsClient::describeStreamAsync(const DescribeStreamRequest& request, const DescribeStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeStreamOutcomeCallable VsClient::describeStreamCallable(const DescribeStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeStreamURLOutcome VsClient::describeStreamURL(const DescribeStreamURLRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStreamURLOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStreamURLOutcome(DescribeStreamURLResult(outcome.result())); + else + return DescribeStreamURLOutcome(outcome.error()); +} + +void VsClient::describeStreamURLAsync(const DescribeStreamURLRequest& request, const DescribeStreamURLAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStreamURL(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeStreamURLOutcomeCallable VsClient::describeStreamURLCallable(const DescribeStreamURLRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStreamURL(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeStreamVodListOutcome VsClient::describeStreamVodList(const DescribeStreamVodListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStreamVodListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStreamVodListOutcome(DescribeStreamVodListResult(outcome.result())); + else + return DescribeStreamVodListOutcome(outcome.error()); +} + +void VsClient::describeStreamVodListAsync(const DescribeStreamVodListRequest& request, const DescribeStreamVodListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStreamVodList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeStreamVodListOutcomeCallable VsClient::describeStreamVodListCallable(const DescribeStreamVodListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStreamVodList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeStreamsOutcome VsClient::describeStreams(const DescribeStreamsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeStreamsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeStreamsOutcome(DescribeStreamsResult(outcome.result())); + else + return DescribeStreamsOutcome(outcome.error()); +} + +void VsClient::describeStreamsAsync(const DescribeStreamsRequest& request, const DescribeStreamsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeStreams(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeStreamsOutcomeCallable VsClient::describeStreamsCallable(const DescribeStreamsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeStreams(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeTemplateOutcome VsClient::describeTemplate(const DescribeTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTemplateOutcome(DescribeTemplateResult(outcome.result())); + else + return DescribeTemplateOutcome(outcome.error()); +} + +void VsClient::describeTemplateAsync(const DescribeTemplateRequest& request, const DescribeTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeTemplateOutcomeCallable VsClient::describeTemplateCallable(const DescribeTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeTemplatesOutcome VsClient::describeTemplates(const DescribeTemplatesRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeTemplatesOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeTemplatesOutcome(DescribeTemplatesResult(outcome.result())); + else + return DescribeTemplatesOutcome(outcome.error()); +} + +void VsClient::describeTemplatesAsync(const DescribeTemplatesRequest& request, const DescribeTemplatesAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeTemplates(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeTemplatesOutcomeCallable VsClient::describeTemplatesCallable(const DescribeTemplatesRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeTemplates(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVodStreamURLOutcome VsClient::describeVodStreamURL(const DescribeVodStreamURLRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVodStreamURLOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVodStreamURLOutcome(DescribeVodStreamURLResult(outcome.result())); + else + return DescribeVodStreamURLOutcome(outcome.error()); +} + +void VsClient::describeVodStreamURLAsync(const DescribeVodStreamURLRequest& request, const DescribeVodStreamURLAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVodStreamURL(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVodStreamURLOutcomeCallable VsClient::describeVodStreamURLCallable(const DescribeVodStreamURLRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVodStreamURL(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsCertificateDetailOutcome VsClient::describeVsCertificateDetail(const DescribeVsCertificateDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsCertificateDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsCertificateDetailOutcome(DescribeVsCertificateDetailResult(outcome.result())); + else + return DescribeVsCertificateDetailOutcome(outcome.error()); +} + +void VsClient::describeVsCertificateDetailAsync(const DescribeVsCertificateDetailRequest& request, const DescribeVsCertificateDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsCertificateDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsCertificateDetailOutcomeCallable VsClient::describeVsCertificateDetailCallable(const DescribeVsCertificateDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsCertificateDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsCertificateListOutcome VsClient::describeVsCertificateList(const DescribeVsCertificateListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsCertificateListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsCertificateListOutcome(DescribeVsCertificateListResult(outcome.result())); + else + return DescribeVsCertificateListOutcome(outcome.error()); +} + +void VsClient::describeVsCertificateListAsync(const DescribeVsCertificateListRequest& request, const DescribeVsCertificateListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsCertificateList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsCertificateListOutcomeCallable VsClient::describeVsCertificateListCallable(const DescribeVsCertificateListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsCertificateList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainBpsDataOutcome VsClient::describeVsDomainBpsData(const DescribeVsDomainBpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainBpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainBpsDataOutcome(DescribeVsDomainBpsDataResult(outcome.result())); + else + return DescribeVsDomainBpsDataOutcome(outcome.error()); +} + +void VsClient::describeVsDomainBpsDataAsync(const DescribeVsDomainBpsDataRequest& request, const DescribeVsDomainBpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainBpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainBpsDataOutcomeCallable VsClient::describeVsDomainBpsDataCallable(const DescribeVsDomainBpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainBpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainCertificateInfoOutcome VsClient::describeVsDomainCertificateInfo(const DescribeVsDomainCertificateInfoRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainCertificateInfoOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainCertificateInfoOutcome(DescribeVsDomainCertificateInfoResult(outcome.result())); + else + return DescribeVsDomainCertificateInfoOutcome(outcome.error()); +} + +void VsClient::describeVsDomainCertificateInfoAsync(const DescribeVsDomainCertificateInfoRequest& request, const DescribeVsDomainCertificateInfoAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainCertificateInfo(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainCertificateInfoOutcomeCallable VsClient::describeVsDomainCertificateInfoCallable(const DescribeVsDomainCertificateInfoRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainCertificateInfo(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainConfigsOutcome VsClient::describeVsDomainConfigs(const DescribeVsDomainConfigsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainConfigsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainConfigsOutcome(DescribeVsDomainConfigsResult(outcome.result())); + else + return DescribeVsDomainConfigsOutcome(outcome.error()); +} + +void VsClient::describeVsDomainConfigsAsync(const DescribeVsDomainConfigsRequest& request, const DescribeVsDomainConfigsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainConfigs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainConfigsOutcomeCallable VsClient::describeVsDomainConfigsCallable(const DescribeVsDomainConfigsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainConfigs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainDetailOutcome VsClient::describeVsDomainDetail(const DescribeVsDomainDetailRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainDetailOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainDetailOutcome(DescribeVsDomainDetailResult(outcome.result())); + else + return DescribeVsDomainDetailOutcome(outcome.error()); +} + +void VsClient::describeVsDomainDetailAsync(const DescribeVsDomainDetailRequest& request, const DescribeVsDomainDetailAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainDetail(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainDetailOutcomeCallable VsClient::describeVsDomainDetailCallable(const DescribeVsDomainDetailRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainDetail(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainPvDataOutcome VsClient::describeVsDomainPvData(const DescribeVsDomainPvDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainPvDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainPvDataOutcome(DescribeVsDomainPvDataResult(outcome.result())); + else + return DescribeVsDomainPvDataOutcome(outcome.error()); +} + +void VsClient::describeVsDomainPvDataAsync(const DescribeVsDomainPvDataRequest& request, const DescribeVsDomainPvDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainPvData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainPvDataOutcomeCallable VsClient::describeVsDomainPvDataCallable(const DescribeVsDomainPvDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainPvData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainRecordDataOutcome VsClient::describeVsDomainRecordData(const DescribeVsDomainRecordDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainRecordDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainRecordDataOutcome(DescribeVsDomainRecordDataResult(outcome.result())); + else + return DescribeVsDomainRecordDataOutcome(outcome.error()); +} + +void VsClient::describeVsDomainRecordDataAsync(const DescribeVsDomainRecordDataRequest& request, const DescribeVsDomainRecordDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainRecordData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainRecordDataOutcomeCallable VsClient::describeVsDomainRecordDataCallable(const DescribeVsDomainRecordDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainRecordData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainRegionDataOutcome VsClient::describeVsDomainRegionData(const DescribeVsDomainRegionDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainRegionDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainRegionDataOutcome(DescribeVsDomainRegionDataResult(outcome.result())); + else + return DescribeVsDomainRegionDataOutcome(outcome.error()); +} + +void VsClient::describeVsDomainRegionDataAsync(const DescribeVsDomainRegionDataRequest& request, const DescribeVsDomainRegionDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainRegionData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainRegionDataOutcomeCallable VsClient::describeVsDomainRegionDataCallable(const DescribeVsDomainRegionDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainRegionData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainReqBpsDataOutcome VsClient::describeVsDomainReqBpsData(const DescribeVsDomainReqBpsDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainReqBpsDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainReqBpsDataOutcome(DescribeVsDomainReqBpsDataResult(outcome.result())); + else + return DescribeVsDomainReqBpsDataOutcome(outcome.error()); +} + +void VsClient::describeVsDomainReqBpsDataAsync(const DescribeVsDomainReqBpsDataRequest& request, const DescribeVsDomainReqBpsDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainReqBpsData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainReqBpsDataOutcomeCallable VsClient::describeVsDomainReqBpsDataCallable(const DescribeVsDomainReqBpsDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainReqBpsData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainReqTrafficDataOutcome VsClient::describeVsDomainReqTrafficData(const DescribeVsDomainReqTrafficDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainReqTrafficDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainReqTrafficDataOutcome(DescribeVsDomainReqTrafficDataResult(outcome.result())); + else + return DescribeVsDomainReqTrafficDataOutcome(outcome.error()); +} + +void VsClient::describeVsDomainReqTrafficDataAsync(const DescribeVsDomainReqTrafficDataRequest& request, const DescribeVsDomainReqTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainReqTrafficData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainReqTrafficDataOutcomeCallable VsClient::describeVsDomainReqTrafficDataCallable(const DescribeVsDomainReqTrafficDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainReqTrafficData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainSnapshotDataOutcome VsClient::describeVsDomainSnapshotData(const DescribeVsDomainSnapshotDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainSnapshotDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainSnapshotDataOutcome(DescribeVsDomainSnapshotDataResult(outcome.result())); + else + return DescribeVsDomainSnapshotDataOutcome(outcome.error()); +} + +void VsClient::describeVsDomainSnapshotDataAsync(const DescribeVsDomainSnapshotDataRequest& request, const DescribeVsDomainSnapshotDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainSnapshotData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainSnapshotDataOutcomeCallable VsClient::describeVsDomainSnapshotDataCallable(const DescribeVsDomainSnapshotDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainSnapshotData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainTrafficDataOutcome VsClient::describeVsDomainTrafficData(const DescribeVsDomainTrafficDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainTrafficDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainTrafficDataOutcome(DescribeVsDomainTrafficDataResult(outcome.result())); + else + return DescribeVsDomainTrafficDataOutcome(outcome.error()); +} + +void VsClient::describeVsDomainTrafficDataAsync(const DescribeVsDomainTrafficDataRequest& request, const DescribeVsDomainTrafficDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainTrafficData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainTrafficDataOutcomeCallable VsClient::describeVsDomainTrafficDataCallable(const DescribeVsDomainTrafficDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainTrafficData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsDomainUvDataOutcome VsClient::describeVsDomainUvData(const DescribeVsDomainUvDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsDomainUvDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsDomainUvDataOutcome(DescribeVsDomainUvDataResult(outcome.result())); + else + return DescribeVsDomainUvDataOutcome(outcome.error()); +} + +void VsClient::describeVsDomainUvDataAsync(const DescribeVsDomainUvDataRequest& request, const DescribeVsDomainUvDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsDomainUvData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsDomainUvDataOutcomeCallable VsClient::describeVsDomainUvDataCallable(const DescribeVsDomainUvDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsDomainUvData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsPullStreamInfoConfigOutcome VsClient::describeVsPullStreamInfoConfig(const DescribeVsPullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsPullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsPullStreamInfoConfigOutcome(DescribeVsPullStreamInfoConfigResult(outcome.result())); + else + return DescribeVsPullStreamInfoConfigOutcome(outcome.error()); +} + +void VsClient::describeVsPullStreamInfoConfigAsync(const DescribeVsPullStreamInfoConfigRequest& request, const DescribeVsPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsPullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsPullStreamInfoConfigOutcomeCallable VsClient::describeVsPullStreamInfoConfigCallable(const DescribeVsPullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsPullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsStreamsNotifyUrlConfigOutcome VsClient::describeVsStreamsNotifyUrlConfig(const DescribeVsStreamsNotifyUrlConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsStreamsNotifyUrlConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsStreamsNotifyUrlConfigOutcome(DescribeVsStreamsNotifyUrlConfigResult(outcome.result())); + else + return DescribeVsStreamsNotifyUrlConfigOutcome(outcome.error()); +} + +void VsClient::describeVsStreamsNotifyUrlConfigAsync(const DescribeVsStreamsNotifyUrlConfigRequest& request, const DescribeVsStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsStreamsNotifyUrlConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsStreamsNotifyUrlConfigOutcomeCallable VsClient::describeVsStreamsNotifyUrlConfigCallable(const DescribeVsStreamsNotifyUrlConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsStreamsNotifyUrlConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsStreamsOnlineListOutcome VsClient::describeVsStreamsOnlineList(const DescribeVsStreamsOnlineListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsStreamsOnlineListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsStreamsOnlineListOutcome(DescribeVsStreamsOnlineListResult(outcome.result())); + else + return DescribeVsStreamsOnlineListOutcome(outcome.error()); +} + +void VsClient::describeVsStreamsOnlineListAsync(const DescribeVsStreamsOnlineListRequest& request, const DescribeVsStreamsOnlineListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsStreamsOnlineList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsStreamsOnlineListOutcomeCallable VsClient::describeVsStreamsOnlineListCallable(const DescribeVsStreamsOnlineListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsStreamsOnlineList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsStreamsPublishListOutcome VsClient::describeVsStreamsPublishList(const DescribeVsStreamsPublishListRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsStreamsPublishListOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsStreamsPublishListOutcome(DescribeVsStreamsPublishListResult(outcome.result())); + else + return DescribeVsStreamsPublishListOutcome(outcome.error()); +} + +void VsClient::describeVsStreamsPublishListAsync(const DescribeVsStreamsPublishListRequest& request, const DescribeVsStreamsPublishListAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsStreamsPublishList(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsStreamsPublishListOutcomeCallable VsClient::describeVsStreamsPublishListCallable(const DescribeVsStreamsPublishListRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsStreamsPublishList(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsTopDomainsByFlowOutcome VsClient::describeVsTopDomainsByFlow(const DescribeVsTopDomainsByFlowRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsTopDomainsByFlowOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsTopDomainsByFlowOutcome(DescribeVsTopDomainsByFlowResult(outcome.result())); + else + return DescribeVsTopDomainsByFlowOutcome(outcome.error()); +} + +void VsClient::describeVsTopDomainsByFlowAsync(const DescribeVsTopDomainsByFlowRequest& request, const DescribeVsTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsTopDomainsByFlow(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsTopDomainsByFlowOutcomeCallable VsClient::describeVsTopDomainsByFlowCallable(const DescribeVsTopDomainsByFlowRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsTopDomainsByFlow(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsUpPeakPublishStreamDataOutcome VsClient::describeVsUpPeakPublishStreamData(const DescribeVsUpPeakPublishStreamDataRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsUpPeakPublishStreamDataOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsUpPeakPublishStreamDataOutcome(DescribeVsUpPeakPublishStreamDataResult(outcome.result())); + else + return DescribeVsUpPeakPublishStreamDataOutcome(outcome.error()); +} + +void VsClient::describeVsUpPeakPublishStreamDataAsync(const DescribeVsUpPeakPublishStreamDataRequest& request, const DescribeVsUpPeakPublishStreamDataAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsUpPeakPublishStreamData(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsUpPeakPublishStreamDataOutcomeCallable VsClient::describeVsUpPeakPublishStreamDataCallable(const DescribeVsUpPeakPublishStreamDataRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsUpPeakPublishStreamData(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::DescribeVsUserResourcePackageOutcome VsClient::describeVsUserResourcePackage(const DescribeVsUserResourcePackageRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return DescribeVsUserResourcePackageOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return DescribeVsUserResourcePackageOutcome(DescribeVsUserResourcePackageResult(outcome.result())); + else + return DescribeVsUserResourcePackageOutcome(outcome.error()); +} + +void VsClient::describeVsUserResourcePackageAsync(const DescribeVsUserResourcePackageRequest& request, const DescribeVsUserResourcePackageAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, describeVsUserResourcePackage(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::DescribeVsUserResourcePackageOutcomeCallable VsClient::describeVsUserResourcePackageCallable(const DescribeVsUserResourcePackageRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->describeVsUserResourcePackage(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ForbidVsStreamOutcome VsClient::forbidVsStream(const ForbidVsStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ForbidVsStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ForbidVsStreamOutcome(ForbidVsStreamResult(outcome.result())); + else + return ForbidVsStreamOutcome(outcome.error()); +} + +void VsClient::forbidVsStreamAsync(const ForbidVsStreamRequest& request, const ForbidVsStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, forbidVsStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ForbidVsStreamOutcomeCallable VsClient::forbidVsStreamCallable(const ForbidVsStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->forbidVsStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::GotoPresetOutcome VsClient::gotoPreset(const GotoPresetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return GotoPresetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return GotoPresetOutcome(GotoPresetResult(outcome.result())); + else + return GotoPresetOutcome(outcome.error()); +} + +void VsClient::gotoPresetAsync(const GotoPresetRequest& request, const GotoPresetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, gotoPreset(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::GotoPresetOutcomeCallable VsClient::gotoPresetCallable(const GotoPresetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->gotoPreset(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ModifyDeviceOutcome VsClient::modifyDevice(const ModifyDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDeviceOutcome(ModifyDeviceResult(outcome.result())); + else + return ModifyDeviceOutcome(outcome.error()); +} + +void VsClient::modifyDeviceAsync(const ModifyDeviceRequest& request, const ModifyDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ModifyDeviceOutcomeCallable VsClient::modifyDeviceCallable(const ModifyDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ModifyDeviceAlarmOutcome VsClient::modifyDeviceAlarm(const ModifyDeviceAlarmRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDeviceAlarmOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDeviceAlarmOutcome(ModifyDeviceAlarmResult(outcome.result())); + else + return ModifyDeviceAlarmOutcome(outcome.error()); +} + +void VsClient::modifyDeviceAlarmAsync(const ModifyDeviceAlarmRequest& request, const ModifyDeviceAlarmAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDeviceAlarm(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ModifyDeviceAlarmOutcomeCallable VsClient::modifyDeviceAlarmCallable(const ModifyDeviceAlarmRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDeviceAlarm(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ModifyDeviceCaptureOutcome VsClient::modifyDeviceCapture(const ModifyDeviceCaptureRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDeviceCaptureOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDeviceCaptureOutcome(ModifyDeviceCaptureResult(outcome.result())); + else + return ModifyDeviceCaptureOutcome(outcome.error()); +} + +void VsClient::modifyDeviceCaptureAsync(const ModifyDeviceCaptureRequest& request, const ModifyDeviceCaptureAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDeviceCapture(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ModifyDeviceCaptureOutcomeCallable VsClient::modifyDeviceCaptureCallable(const ModifyDeviceCaptureRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDeviceCapture(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ModifyDeviceChannelsOutcome VsClient::modifyDeviceChannels(const ModifyDeviceChannelsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDeviceChannelsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDeviceChannelsOutcome(ModifyDeviceChannelsResult(outcome.result())); + else + return ModifyDeviceChannelsOutcome(outcome.error()); +} + +void VsClient::modifyDeviceChannelsAsync(const ModifyDeviceChannelsRequest& request, const ModifyDeviceChannelsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDeviceChannels(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ModifyDeviceChannelsOutcomeCallable VsClient::modifyDeviceChannelsCallable(const ModifyDeviceChannelsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDeviceChannels(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ModifyDirectoryOutcome VsClient::modifyDirectory(const ModifyDirectoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyDirectoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyDirectoryOutcome(ModifyDirectoryResult(outcome.result())); + else + return ModifyDirectoryOutcome(outcome.error()); +} + +void VsClient::modifyDirectoryAsync(const ModifyDirectoryRequest& request, const ModifyDirectoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyDirectory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ModifyDirectoryOutcomeCallable VsClient::modifyDirectoryCallable(const ModifyDirectoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyDirectory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ModifyGroupOutcome VsClient::modifyGroup(const ModifyGroupRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyGroupOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyGroupOutcome(ModifyGroupResult(outcome.result())); + else + return ModifyGroupOutcome(outcome.error()); +} + +void VsClient::modifyGroupAsync(const ModifyGroupRequest& request, const ModifyGroupAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyGroup(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ModifyGroupOutcomeCallable VsClient::modifyGroupCallable(const ModifyGroupRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyGroup(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ModifyParentPlatformOutcome VsClient::modifyParentPlatform(const ModifyParentPlatformRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyParentPlatformOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyParentPlatformOutcome(ModifyParentPlatformResult(outcome.result())); + else + return ModifyParentPlatformOutcome(outcome.error()); +} + +void VsClient::modifyParentPlatformAsync(const ModifyParentPlatformRequest& request, const ModifyParentPlatformAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyParentPlatform(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ModifyParentPlatformOutcomeCallable VsClient::modifyParentPlatformCallable(const ModifyParentPlatformRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyParentPlatform(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ModifyTemplateOutcome VsClient::modifyTemplate(const ModifyTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ModifyTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ModifyTemplateOutcome(ModifyTemplateResult(outcome.result())); + else + return ModifyTemplateOutcome(outcome.error()); +} + +void VsClient::modifyTemplateAsync(const ModifyTemplateRequest& request, const ModifyTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, modifyTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ModifyTemplateOutcomeCallable VsClient::modifyTemplateCallable(const ModifyTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->modifyTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::ResumeVsStreamOutcome VsClient::resumeVsStream(const ResumeVsStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return ResumeVsStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return ResumeVsStreamOutcome(ResumeVsStreamResult(outcome.result())); + else + return ResumeVsStreamOutcome(outcome.error()); +} + +void VsClient::resumeVsStreamAsync(const ResumeVsStreamRequest& request, const ResumeVsStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, resumeVsStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::ResumeVsStreamOutcomeCallable VsClient::resumeVsStreamCallable(const ResumeVsStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->resumeVsStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::SetPresetOutcome VsClient::setPreset(const SetPresetRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetPresetOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetPresetOutcome(SetPresetResult(outcome.result())); + else + return SetPresetOutcome(outcome.error()); +} + +void VsClient::setPresetAsync(const SetPresetRequest& request, const SetPresetAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setPreset(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::SetPresetOutcomeCallable VsClient::setPresetCallable(const SetPresetRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setPreset(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::SetVsDomainCertificateOutcome VsClient::setVsDomainCertificate(const SetVsDomainCertificateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetVsDomainCertificateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetVsDomainCertificateOutcome(SetVsDomainCertificateResult(outcome.result())); + else + return SetVsDomainCertificateOutcome(outcome.error()); +} + +void VsClient::setVsDomainCertificateAsync(const SetVsDomainCertificateRequest& request, const SetVsDomainCertificateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setVsDomainCertificate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::SetVsDomainCertificateOutcomeCallable VsClient::setVsDomainCertificateCallable(const SetVsDomainCertificateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setVsDomainCertificate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::SetVsStreamsNotifyUrlConfigOutcome VsClient::setVsStreamsNotifyUrlConfig(const SetVsStreamsNotifyUrlConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SetVsStreamsNotifyUrlConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SetVsStreamsNotifyUrlConfigOutcome(SetVsStreamsNotifyUrlConfigResult(outcome.result())); + else + return SetVsStreamsNotifyUrlConfigOutcome(outcome.error()); +} + +void VsClient::setVsStreamsNotifyUrlConfigAsync(const SetVsStreamsNotifyUrlConfigRequest& request, const SetVsStreamsNotifyUrlConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, setVsStreamsNotifyUrlConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::SetVsStreamsNotifyUrlConfigOutcomeCallable VsClient::setVsStreamsNotifyUrlConfigCallable(const SetVsStreamsNotifyUrlConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->setVsStreamsNotifyUrlConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StartDeviceOutcome VsClient::startDevice(const StartDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartDeviceOutcome(StartDeviceResult(outcome.result())); + else + return StartDeviceOutcome(outcome.error()); +} + +void VsClient::startDeviceAsync(const StartDeviceRequest& request, const StartDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StartDeviceOutcomeCallable VsClient::startDeviceCallable(const StartDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StartParentPlatformOutcome VsClient::startParentPlatform(const StartParentPlatformRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartParentPlatformOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartParentPlatformOutcome(StartParentPlatformResult(outcome.result())); + else + return StartParentPlatformOutcome(outcome.error()); +} + +void VsClient::startParentPlatformAsync(const StartParentPlatformRequest& request, const StartParentPlatformAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startParentPlatform(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StartParentPlatformOutcomeCallable VsClient::startParentPlatformCallable(const StartParentPlatformRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startParentPlatform(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StartRecordStreamOutcome VsClient::startRecordStream(const StartRecordStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartRecordStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartRecordStreamOutcome(StartRecordStreamResult(outcome.result())); + else + return StartRecordStreamOutcome(outcome.error()); +} + +void VsClient::startRecordStreamAsync(const StartRecordStreamRequest& request, const StartRecordStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startRecordStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StartRecordStreamOutcomeCallable VsClient::startRecordStreamCallable(const StartRecordStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startRecordStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StartStreamOutcome VsClient::startStream(const StartStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartStreamOutcome(StartStreamResult(outcome.result())); + else + return StartStreamOutcome(outcome.error()); +} + +void VsClient::startStreamAsync(const StartStreamRequest& request, const StartStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StartStreamOutcomeCallable VsClient::startStreamCallable(const StartStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StartTransferStreamOutcome VsClient::startTransferStream(const StartTransferStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StartTransferStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StartTransferStreamOutcome(StartTransferStreamResult(outcome.result())); + else + return StartTransferStreamOutcome(outcome.error()); +} + +void VsClient::startTransferStreamAsync(const StartTransferStreamRequest& request, const StartTransferStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, startTransferStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StartTransferStreamOutcomeCallable VsClient::startTransferStreamCallable(const StartTransferStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->startTransferStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StopAdjustOutcome VsClient::stopAdjust(const StopAdjustRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopAdjustOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopAdjustOutcome(StopAdjustResult(outcome.result())); + else + return StopAdjustOutcome(outcome.error()); +} + +void VsClient::stopAdjustAsync(const StopAdjustRequest& request, const StopAdjustAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopAdjust(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StopAdjustOutcomeCallable VsClient::stopAdjustCallable(const StopAdjustRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopAdjust(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StopDeviceOutcome VsClient::stopDevice(const StopDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopDeviceOutcome(StopDeviceResult(outcome.result())); + else + return StopDeviceOutcome(outcome.error()); +} + +void VsClient::stopDeviceAsync(const StopDeviceRequest& request, const StopDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StopDeviceOutcomeCallable VsClient::stopDeviceCallable(const StopDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StopMoveOutcome VsClient::stopMove(const StopMoveRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopMoveOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopMoveOutcome(StopMoveResult(outcome.result())); + else + return StopMoveOutcome(outcome.error()); +} + +void VsClient::stopMoveAsync(const StopMoveRequest& request, const StopMoveAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopMove(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StopMoveOutcomeCallable VsClient::stopMoveCallable(const StopMoveRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopMove(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StopRecordStreamOutcome VsClient::stopRecordStream(const StopRecordStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopRecordStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopRecordStreamOutcome(StopRecordStreamResult(outcome.result())); + else + return StopRecordStreamOutcome(outcome.error()); +} + +void VsClient::stopRecordStreamAsync(const StopRecordStreamRequest& request, const StopRecordStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopRecordStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StopRecordStreamOutcomeCallable VsClient::stopRecordStreamCallable(const StopRecordStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopRecordStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StopStreamOutcome VsClient::stopStream(const StopStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopStreamOutcome(StopStreamResult(outcome.result())); + else + return StopStreamOutcome(outcome.error()); +} + +void VsClient::stopStreamAsync(const StopStreamRequest& request, const StopStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StopStreamOutcomeCallable VsClient::stopStreamCallable(const StopStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::StopTransferStreamOutcome VsClient::stopTransferStream(const StopTransferStreamRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return StopTransferStreamOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return StopTransferStreamOutcome(StopTransferStreamResult(outcome.result())); + else + return StopTransferStreamOutcome(outcome.error()); +} + +void VsClient::stopTransferStreamAsync(const StopTransferStreamRequest& request, const StopTransferStreamAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, stopTransferStream(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::StopTransferStreamOutcomeCallable VsClient::stopTransferStreamCallable(const StopTransferStreamRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->stopTransferStream(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::SyncCatalogsOutcome VsClient::syncCatalogs(const SyncCatalogsRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return SyncCatalogsOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return SyncCatalogsOutcome(SyncCatalogsResult(outcome.result())); + else + return SyncCatalogsOutcome(outcome.error()); +} + +void VsClient::syncCatalogsAsync(const SyncCatalogsRequest& request, const SyncCatalogsAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, syncCatalogs(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::SyncCatalogsOutcomeCallable VsClient::syncCatalogsCallable(const SyncCatalogsRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->syncCatalogs(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::UnbindDirectoryOutcome VsClient::unbindDirectory(const UnbindDirectoryRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnbindDirectoryOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnbindDirectoryOutcome(UnbindDirectoryResult(outcome.result())); + else + return UnbindDirectoryOutcome(outcome.error()); +} + +void VsClient::unbindDirectoryAsync(const UnbindDirectoryRequest& request, const UnbindDirectoryAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unbindDirectory(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::UnbindDirectoryOutcomeCallable VsClient::unbindDirectoryCallable(const UnbindDirectoryRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unbindDirectory(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::UnbindParentPlatformDeviceOutcome VsClient::unbindParentPlatformDevice(const UnbindParentPlatformDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnbindParentPlatformDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnbindParentPlatformDeviceOutcome(UnbindParentPlatformDeviceResult(outcome.result())); + else + return UnbindParentPlatformDeviceOutcome(outcome.error()); +} + +void VsClient::unbindParentPlatformDeviceAsync(const UnbindParentPlatformDeviceRequest& request, const UnbindParentPlatformDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unbindParentPlatformDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::UnbindParentPlatformDeviceOutcomeCallable VsClient::unbindParentPlatformDeviceCallable(const UnbindParentPlatformDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unbindParentPlatformDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::UnbindPurchasedDeviceOutcome VsClient::unbindPurchasedDevice(const UnbindPurchasedDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnbindPurchasedDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnbindPurchasedDeviceOutcome(UnbindPurchasedDeviceResult(outcome.result())); + else + return UnbindPurchasedDeviceOutcome(outcome.error()); +} + +void VsClient::unbindPurchasedDeviceAsync(const UnbindPurchasedDeviceRequest& request, const UnbindPurchasedDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unbindPurchasedDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::UnbindPurchasedDeviceOutcomeCallable VsClient::unbindPurchasedDeviceCallable(const UnbindPurchasedDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unbindPurchasedDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::UnbindTemplateOutcome VsClient::unbindTemplate(const UnbindTemplateRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnbindTemplateOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnbindTemplateOutcome(UnbindTemplateResult(outcome.result())); + else + return UnbindTemplateOutcome(outcome.error()); +} + +void VsClient::unbindTemplateAsync(const UnbindTemplateRequest& request, const UnbindTemplateAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unbindTemplate(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::UnbindTemplateOutcomeCallable VsClient::unbindTemplateCallable(const UnbindTemplateRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unbindTemplate(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::UnlockDeviceOutcome VsClient::unlockDevice(const UnlockDeviceRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UnlockDeviceOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UnlockDeviceOutcome(UnlockDeviceResult(outcome.result())); + else + return UnlockDeviceOutcome(outcome.error()); +} + +void VsClient::unlockDeviceAsync(const UnlockDeviceRequest& request, const UnlockDeviceAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, unlockDevice(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::UnlockDeviceOutcomeCallable VsClient::unlockDeviceCallable(const UnlockDeviceRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->unlockDevice(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + +VsClient::UpdateVsPullStreamInfoConfigOutcome VsClient::updateVsPullStreamInfoConfig(const UpdateVsPullStreamInfoConfigRequest &request) const +{ + auto endpointOutcome = endpointProvider_->getEndpoint(); + if (!endpointOutcome.isSuccess()) + return UpdateVsPullStreamInfoConfigOutcome(endpointOutcome.error()); + + auto outcome = makeRequest(endpointOutcome.result(), request); + + if (outcome.isSuccess()) + return UpdateVsPullStreamInfoConfigOutcome(UpdateVsPullStreamInfoConfigResult(outcome.result())); + else + return UpdateVsPullStreamInfoConfigOutcome(outcome.error()); +} + +void VsClient::updateVsPullStreamInfoConfigAsync(const UpdateVsPullStreamInfoConfigRequest& request, const UpdateVsPullStreamInfoConfigAsyncHandler& handler, const std::shared_ptr& context) const +{ + auto fn = [this, request, handler, context]() + { + handler(this, request, updateVsPullStreamInfoConfig(request), context); + }; + + asyncExecute(new Runnable(fn)); +} + +VsClient::UpdateVsPullStreamInfoConfigOutcomeCallable VsClient::updateVsPullStreamInfoConfigCallable(const UpdateVsPullStreamInfoConfigRequest &request) const +{ + auto task = std::make_shared>( + [this, request]() + { + return this->updateVsPullStreamInfoConfig(request); + }); + + asyncExecute(new Runnable([task]() { (*task)(); })); + return task->get_future(); +} + diff --git a/vs/src/model/AddVsPullStreamInfoConfigRequest.cc b/vs/src/model/AddVsPullStreamInfoConfigRequest.cc new file mode 100644 index 000000000..069e5d983 --- /dev/null +++ b/vs/src/model/AddVsPullStreamInfoConfigRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::AddVsPullStreamInfoConfigRequest; + +AddVsPullStreamInfoConfigRequest::AddVsPullStreamInfoConfigRequest() : + RpcServiceRequest("vs", "2018-12-12", "AddVsPullStreamInfoConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +AddVsPullStreamInfoConfigRequest::~AddVsPullStreamInfoConfigRequest() +{} + +std::string AddVsPullStreamInfoConfigRequest::getStartTime()const +{ + return startTime_; +} + +void AddVsPullStreamInfoConfigRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string AddVsPullStreamInfoConfigRequest::getAppName()const +{ + return appName_; +} + +void AddVsPullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string AddVsPullStreamInfoConfigRequest::getStreamName()const +{ + return streamName_; +} + +void AddVsPullStreamInfoConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string AddVsPullStreamInfoConfigRequest::getShowLog()const +{ + return showLog_; +} + +void AddVsPullStreamInfoConfigRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string AddVsPullStreamInfoConfigRequest::getAlways()const +{ + return always_; +} + +void AddVsPullStreamInfoConfigRequest::setAlways(const std::string& always) +{ + always_ = always; + setParameter("Always", always); +} + +std::string AddVsPullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; +} + +void AddVsPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string AddVsPullStreamInfoConfigRequest::getEndTime()const +{ + return endTime_; +} + +void AddVsPullStreamInfoConfigRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long AddVsPullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void AddVsPullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string AddVsPullStreamInfoConfigRequest::getSourceUrl()const +{ + return sourceUrl_; +} + +void AddVsPullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl) +{ + sourceUrl_ = sourceUrl; + setParameter("SourceUrl", sourceUrl); +} + diff --git a/vs/src/model/AddVsPullStreamInfoConfigResult.cc b/vs/src/model/AddVsPullStreamInfoConfigResult.cc new file mode 100644 index 000000000..3f8b2b3bd --- /dev/null +++ b/vs/src/model/AddVsPullStreamInfoConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +AddVsPullStreamInfoConfigResult::AddVsPullStreamInfoConfigResult() : + ServiceResult() +{} + +AddVsPullStreamInfoConfigResult::AddVsPullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +AddVsPullStreamInfoConfigResult::~AddVsPullStreamInfoConfigResult() +{} + +void AddVsPullStreamInfoConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/BatchBindDirectoriesRequest.cc b/vs/src/model/BatchBindDirectoriesRequest.cc new file mode 100644 index 000000000..c62ad50c3 --- /dev/null +++ b/vs/src/model/BatchBindDirectoriesRequest.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 + +using AlibabaCloud::Vs::Model::BatchBindDirectoriesRequest; + +BatchBindDirectoriesRequest::BatchBindDirectoriesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchBindDirectories") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchBindDirectoriesRequest::~BatchBindDirectoriesRequest() +{} + +std::string BatchBindDirectoriesRequest::getDirectoryId()const +{ + return directoryId_; +} + +void BatchBindDirectoriesRequest::setDirectoryId(const std::string& directoryId) +{ + directoryId_ = directoryId; + setParameter("DirectoryId", directoryId); +} + +std::string BatchBindDirectoriesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchBindDirectoriesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchBindDirectoriesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchBindDirectoriesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchBindDirectoriesRequest::getDeviceId()const +{ + return deviceId_; +} + +void BatchBindDirectoriesRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/BatchBindDirectoriesResult.cc b/vs/src/model/BatchBindDirectoriesResult.cc new file mode 100644 index 000000000..f7cfe1fdf --- /dev/null +++ b/vs/src/model/BatchBindDirectoriesResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchBindDirectoriesResult::BatchBindDirectoriesResult() : + ServiceResult() +{} + +BatchBindDirectoriesResult::BatchBindDirectoriesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchBindDirectoriesResult::~BatchBindDirectoriesResult() +{} + +void BatchBindDirectoriesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["DirectoryId"].isNull()) + resultsObject.directoryId = valueResultsResult["DirectoryId"].asString(); + if(!valueResultsResult["DeviceId"].isNull()) + resultsObject.deviceId = valueResultsResult["DeviceId"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchBindDirectoriesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchBindParentPlatformDevicesRequest.cc b/vs/src/model/BatchBindParentPlatformDevicesRequest.cc new file mode 100644 index 000000000..bfbec0429 --- /dev/null +++ b/vs/src/model/BatchBindParentPlatformDevicesRequest.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 + +using AlibabaCloud::Vs::Model::BatchBindParentPlatformDevicesRequest; + +BatchBindParentPlatformDevicesRequest::BatchBindParentPlatformDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchBindParentPlatformDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchBindParentPlatformDevicesRequest::~BatchBindParentPlatformDevicesRequest() +{} + +std::string BatchBindParentPlatformDevicesRequest::getParentPlatformId()const +{ + return parentPlatformId_; +} + +void BatchBindParentPlatformDevicesRequest::setParentPlatformId(const std::string& parentPlatformId) +{ + parentPlatformId_ = parentPlatformId; + setParameter("ParentPlatformId", parentPlatformId); +} + +std::string BatchBindParentPlatformDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchBindParentPlatformDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchBindParentPlatformDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchBindParentPlatformDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchBindParentPlatformDevicesRequest::getDeviceId()const +{ + return deviceId_; +} + +void BatchBindParentPlatformDevicesRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/BatchBindParentPlatformDevicesResult.cc b/vs/src/model/BatchBindParentPlatformDevicesResult.cc new file mode 100644 index 000000000..727f7c862 --- /dev/null +++ b/vs/src/model/BatchBindParentPlatformDevicesResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchBindParentPlatformDevicesResult::BatchBindParentPlatformDevicesResult() : + ServiceResult() +{} + +BatchBindParentPlatformDevicesResult::BatchBindParentPlatformDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchBindParentPlatformDevicesResult::~BatchBindParentPlatformDevicesResult() +{} + +void BatchBindParentPlatformDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["ParentPlatformId"].isNull()) + resultsObject.parentPlatformId = valueResultsResult["ParentPlatformId"].asString(); + if(!valueResultsResult["DeviceId"].isNull()) + resultsObject.deviceId = valueResultsResult["DeviceId"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchBindParentPlatformDevicesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchBindPurchasedDevicesRequest.cc b/vs/src/model/BatchBindPurchasedDevicesRequest.cc new file mode 100644 index 000000000..4591011b9 --- /dev/null +++ b/vs/src/model/BatchBindPurchasedDevicesRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::BatchBindPurchasedDevicesRequest; + +BatchBindPurchasedDevicesRequest::BatchBindPurchasedDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchBindPurchasedDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchBindPurchasedDevicesRequest::~BatchBindPurchasedDevicesRequest() +{} + +std::string BatchBindPurchasedDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchBindPurchasedDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string BatchBindPurchasedDevicesRequest::getGroupId()const +{ + return groupId_; +} + +void BatchBindPurchasedDevicesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +long BatchBindPurchasedDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchBindPurchasedDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchBindPurchasedDevicesRequest::getDeviceId()const +{ + return deviceId_; +} + +void BatchBindPurchasedDevicesRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + +std::string BatchBindPurchasedDevicesRequest::getRegion()const +{ + return region_; +} + +void BatchBindPurchasedDevicesRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); +} + diff --git a/vs/src/model/BatchBindPurchasedDevicesResult.cc b/vs/src/model/BatchBindPurchasedDevicesResult.cc new file mode 100644 index 000000000..521ff311e --- /dev/null +++ b/vs/src/model/BatchBindPurchasedDevicesResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchBindPurchasedDevicesResult::BatchBindPurchasedDevicesResult() : + ServiceResult() +{} + +BatchBindPurchasedDevicesResult::BatchBindPurchasedDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchBindPurchasedDevicesResult::~BatchBindPurchasedDevicesResult() +{} + +void BatchBindPurchasedDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["Region"].isNull()) + resultsObject.region = valueResultsResult["Region"].asString(); + if(!valueResultsResult["GroupId"].isNull()) + resultsObject.groupId = valueResultsResult["GroupId"].asString(); + if(!valueResultsResult["DeviceId"].isNull()) + resultsObject.deviceId = valueResultsResult["DeviceId"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchBindPurchasedDevicesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchBindTemplateRequest.cc b/vs/src/model/BatchBindTemplateRequest.cc new file mode 100644 index 000000000..477649987 --- /dev/null +++ b/vs/src/model/BatchBindTemplateRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::BatchBindTemplateRequest; + +BatchBindTemplateRequest::BatchBindTemplateRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchBindTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchBindTemplateRequest::~BatchBindTemplateRequest() +{} + +bool BatchBindTemplateRequest::getReplace()const +{ + return replace_; +} + +void BatchBindTemplateRequest::setReplace(bool replace) +{ + replace_ = replace; + setParameter("Replace", replace ? "true" : "false"); +} + +std::string BatchBindTemplateRequest::getInstanceType()const +{ + return instanceType_; +} + +void BatchBindTemplateRequest::setInstanceType(const std::string& instanceType) +{ + instanceType_ = instanceType; + setParameter("InstanceType", instanceType); +} + +std::string BatchBindTemplateRequest::getShowLog()const +{ + return showLog_; +} + +void BatchBindTemplateRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +bool BatchBindTemplateRequest::getApplyAll()const +{ + return applyAll_; +} + +void BatchBindTemplateRequest::setApplyAll(bool applyAll) +{ + applyAll_ = applyAll; + setParameter("ApplyAll", applyAll ? "true" : "false"); +} + +long BatchBindTemplateRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchBindTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchBindTemplateRequest::getTemplateId()const +{ + return templateId_; +} + +void BatchBindTemplateRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); +} + +std::string BatchBindTemplateRequest::getInstanceId()const +{ + return instanceId_; +} + +void BatchBindTemplateRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + diff --git a/vs/src/model/BatchBindTemplateResult.cc b/vs/src/model/BatchBindTemplateResult.cc new file mode 100644 index 000000000..e5aadf887 --- /dev/null +++ b/vs/src/model/BatchBindTemplateResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchBindTemplateResult::BatchBindTemplateResult() : + ServiceResult() +{} + +BatchBindTemplateResult::BatchBindTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchBindTemplateResult::~BatchBindTemplateResult() +{} + +void BatchBindTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBindingsNode = value["Bindings"]["Binding"]; + for (auto valueBindingsBinding : allBindingsNode) + { + Binding bindingsObject; + if(!valueBindingsBinding["TemplateId"].isNull()) + bindingsObject.templateId = valueBindingsBinding["TemplateId"].asString(); + if(!valueBindingsBinding["InstanceId"].isNull()) + bindingsObject.instanceId = valueBindingsBinding["InstanceId"].asString(); + if(!valueBindingsBinding["InstanceType"].isNull()) + bindingsObject.instanceType = valueBindingsBinding["InstanceType"].asString(); + if(!valueBindingsBinding["Error"].isNull()) + bindingsObject.error = valueBindingsBinding["Error"].asString(); + bindings_.push_back(bindingsObject); + } + +} + +std::vector BatchBindTemplateResult::getBindings()const +{ + return bindings_; +} + diff --git a/vs/src/model/BatchBindTemplatesRequest.cc b/vs/src/model/BatchBindTemplatesRequest.cc new file mode 100644 index 000000000..1e05ce593 --- /dev/null +++ b/vs/src/model/BatchBindTemplatesRequest.cc @@ -0,0 +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::Vs::Model::BatchBindTemplatesRequest; + +BatchBindTemplatesRequest::BatchBindTemplatesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchBindTemplates") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchBindTemplatesRequest::~BatchBindTemplatesRequest() +{} + +bool BatchBindTemplatesRequest::getReplace()const +{ + return replace_; +} + +void BatchBindTemplatesRequest::setReplace(bool replace) +{ + replace_ = replace; + setParameter("Replace", replace ? "true" : "false"); +} + +std::string BatchBindTemplatesRequest::getTemplateType()const +{ + return templateType_; +} + +void BatchBindTemplatesRequest::setTemplateType(const std::string& templateType) +{ + templateType_ = templateType; + setParameter("TemplateType", templateType); +} + +std::string BatchBindTemplatesRequest::getInstanceType()const +{ + return instanceType_; +} + +void BatchBindTemplatesRequest::setInstanceType(const std::string& instanceType) +{ + instanceType_ = instanceType; + setParameter("InstanceType", instanceType); +} + +std::string BatchBindTemplatesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchBindTemplatesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +bool BatchBindTemplatesRequest::getApplyAll()const +{ + return applyAll_; +} + +void BatchBindTemplatesRequest::setApplyAll(bool applyAll) +{ + applyAll_ = applyAll; + setParameter("ApplyAll", applyAll ? "true" : "false"); +} + +long BatchBindTemplatesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchBindTemplatesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchBindTemplatesRequest::getTemplateId()const +{ + return templateId_; +} + +void BatchBindTemplatesRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); +} + +std::string BatchBindTemplatesRequest::getInstanceId()const +{ + return instanceId_; +} + +void BatchBindTemplatesRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + diff --git a/vs/src/model/BatchBindTemplatesResult.cc b/vs/src/model/BatchBindTemplatesResult.cc new file mode 100644 index 000000000..9a5694e4e --- /dev/null +++ b/vs/src/model/BatchBindTemplatesResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchBindTemplatesResult::BatchBindTemplatesResult() : + ServiceResult() +{} + +BatchBindTemplatesResult::BatchBindTemplatesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchBindTemplatesResult::~BatchBindTemplatesResult() +{} + +void BatchBindTemplatesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["TemplateId"].isNull()) + resultsObject.templateId = valueResultsResult["TemplateId"].asString(); + if(!valueResultsResult["InstanceId"].isNull()) + resultsObject.instanceId = valueResultsResult["InstanceId"].asString(); + if(!valueResultsResult["InstanceType"].isNull()) + resultsObject.instanceType = valueResultsResult["InstanceType"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchBindTemplatesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchDeleteDevicesRequest.cc b/vs/src/model/BatchDeleteDevicesRequest.cc new file mode 100644 index 000000000..fcee99491 --- /dev/null +++ b/vs/src/model/BatchDeleteDevicesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::BatchDeleteDevicesRequest; + +BatchDeleteDevicesRequest::BatchDeleteDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchDeleteDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchDeleteDevicesRequest::~BatchDeleteDevicesRequest() +{} + +std::string BatchDeleteDevicesRequest::getId()const +{ + return id_; +} + +void BatchDeleteDevicesRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string BatchDeleteDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchDeleteDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchDeleteDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchDeleteDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/BatchDeleteDevicesResult.cc b/vs/src/model/BatchDeleteDevicesResult.cc new file mode 100644 index 000000000..54abe0c7d --- /dev/null +++ b/vs/src/model/BatchDeleteDevicesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchDeleteDevicesResult::BatchDeleteDevicesResult() : + ServiceResult() +{} + +BatchDeleteDevicesResult::BatchDeleteDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchDeleteDevicesResult::~BatchDeleteDevicesResult() +{} + +void BatchDeleteDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["Id"].isNull()) + resultsObject.id = valueResultsResult["Id"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchDeleteDevicesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchDeleteVsDomainConfigsRequest.cc b/vs/src/model/BatchDeleteVsDomainConfigsRequest.cc new file mode 100644 index 000000000..382f47053 --- /dev/null +++ b/vs/src/model/BatchDeleteVsDomainConfigsRequest.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 + +using AlibabaCloud::Vs::Model::BatchDeleteVsDomainConfigsRequest; + +BatchDeleteVsDomainConfigsRequest::BatchDeleteVsDomainConfigsRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchDeleteVsDomainConfigs") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchDeleteVsDomainConfigsRequest::~BatchDeleteVsDomainConfigsRequest() +{} + +std::string BatchDeleteVsDomainConfigsRequest::getFunctionNames()const +{ + return functionNames_; +} + +void BatchDeleteVsDomainConfigsRequest::setFunctionNames(const std::string& functionNames) +{ + functionNames_ = functionNames; + setParameter("FunctionNames", functionNames); +} + +std::string BatchDeleteVsDomainConfigsRequest::getDomainNames()const +{ + return domainNames_; +} + +void BatchDeleteVsDomainConfigsRequest::setDomainNames(const std::string& domainNames) +{ + domainNames_ = domainNames; + setParameter("DomainNames", domainNames); +} + +std::string BatchDeleteVsDomainConfigsRequest::getShowLog()const +{ + return showLog_; +} + +void BatchDeleteVsDomainConfigsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchDeleteVsDomainConfigsRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchDeleteVsDomainConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/BatchDeleteVsDomainConfigsResult.cc b/vs/src/model/BatchDeleteVsDomainConfigsResult.cc new file mode 100644 index 000000000..cbc62d2da --- /dev/null +++ b/vs/src/model/BatchDeleteVsDomainConfigsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchDeleteVsDomainConfigsResult::BatchDeleteVsDomainConfigsResult() : + ServiceResult() +{} + +BatchDeleteVsDomainConfigsResult::BatchDeleteVsDomainConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchDeleteVsDomainConfigsResult::~BatchDeleteVsDomainConfigsResult() +{} + +void BatchDeleteVsDomainConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/BatchForbidVsStreamRequest.cc b/vs/src/model/BatchForbidVsStreamRequest.cc new file mode 100644 index 000000000..47acfa767 --- /dev/null +++ b/vs/src/model/BatchForbidVsStreamRequest.cc @@ -0,0 +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::Vs::Model::BatchForbidVsStreamRequest; + +BatchForbidVsStreamRequest::BatchForbidVsStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchForbidVsStream") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchForbidVsStreamRequest::~BatchForbidVsStreamRequest() +{} + +std::string BatchForbidVsStreamRequest::getChannel()const +{ + return channel_; +} + +void BatchForbidVsStreamRequest::setChannel(const std::string& channel) +{ + channel_ = channel; + setParameter("Channel", channel); +} + +std::string BatchForbidVsStreamRequest::getShowLog()const +{ + return showLog_; +} + +void BatchForbidVsStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string BatchForbidVsStreamRequest::getControlStreamAction()const +{ + return controlStreamAction_; +} + +void BatchForbidVsStreamRequest::setControlStreamAction(const std::string& controlStreamAction) +{ + controlStreamAction_ = controlStreamAction; + setParameter("ControlStreamAction", controlStreamAction); +} + +std::string BatchForbidVsStreamRequest::getResumeTime()const +{ + return resumeTime_; +} + +void BatchForbidVsStreamRequest::setResumeTime(const std::string& resumeTime) +{ + resumeTime_ = resumeTime; + setParameter("ResumeTime", resumeTime); +} + +std::string BatchForbidVsStreamRequest::getLiveStreamType()const +{ + return liveStreamType_; +} + +void BatchForbidVsStreamRequest::setLiveStreamType(const std::string& liveStreamType) +{ + liveStreamType_ = liveStreamType; + setParameter("LiveStreamType", liveStreamType); +} + +std::string BatchForbidVsStreamRequest::getDomainName()const +{ + return domainName_; +} + +void BatchForbidVsStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long BatchForbidVsStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchForbidVsStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchForbidVsStreamRequest::getOneshot()const +{ + return oneshot_; +} + +void BatchForbidVsStreamRequest::setOneshot(const std::string& oneshot) +{ + oneshot_ = oneshot; + setParameter("Oneshot", oneshot); +} + diff --git a/vs/src/model/BatchForbidVsStreamResult.cc b/vs/src/model/BatchForbidVsStreamResult.cc new file mode 100644 index 000000000..44cf410bb --- /dev/null +++ b/vs/src/model/BatchForbidVsStreamResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchForbidVsStreamResult::BatchForbidVsStreamResult() : + ServiceResult() +{} + +BatchForbidVsStreamResult::BatchForbidVsStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchForbidVsStreamResult::~BatchForbidVsStreamResult() +{} + +void BatchForbidVsStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allForbidResultNode = value["ForbidResult"]["ForbidResultInfo"]; + for (auto valueForbidResultForbidResultInfo : allForbidResultNode) + { + ForbidResultInfo forbidResultObject; + if(!valueForbidResultForbidResultInfo["Result"].isNull()) + forbidResultObject.result = valueForbidResultForbidResultInfo["Result"].asString(); + if(!valueForbidResultForbidResultInfo["Detail"].isNull()) + forbidResultObject.detail = valueForbidResultForbidResultInfo["Detail"].asString(); + if(!valueForbidResultForbidResultInfo["Count"].isNull()) + forbidResultObject.count = std::stoi(valueForbidResultForbidResultInfo["Count"].asString()); + auto allChannels = value["Channels"]["Channel"]; + for (auto value : allChannels) + forbidResultObject.channels.push_back(value.asString()); + forbidResult_.push_back(forbidResultObject); + } + +} + +std::vector BatchForbidVsStreamResult::getForbidResult()const +{ + return forbidResult_; +} + diff --git a/vs/src/model/BatchResumeVsStreamRequest.cc b/vs/src/model/BatchResumeVsStreamRequest.cc new file mode 100644 index 000000000..25eeb7083 --- /dev/null +++ b/vs/src/model/BatchResumeVsStreamRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::BatchResumeVsStreamRequest; + +BatchResumeVsStreamRequest::BatchResumeVsStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchResumeVsStream") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchResumeVsStreamRequest::~BatchResumeVsStreamRequest() +{} + +std::string BatchResumeVsStreamRequest::getChannel()const +{ + return channel_; +} + +void BatchResumeVsStreamRequest::setChannel(const std::string& channel) +{ + channel_ = channel; + setParameter("Channel", channel); +} + +std::string BatchResumeVsStreamRequest::getShowLog()const +{ + return showLog_; +} + +void BatchResumeVsStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string BatchResumeVsStreamRequest::getControlStreamAction()const +{ + return controlStreamAction_; +} + +void BatchResumeVsStreamRequest::setControlStreamAction(const std::string& controlStreamAction) +{ + controlStreamAction_ = controlStreamAction; + setParameter("ControlStreamAction", controlStreamAction); +} + +std::string BatchResumeVsStreamRequest::getLiveStreamType()const +{ + return liveStreamType_; +} + +void BatchResumeVsStreamRequest::setLiveStreamType(const std::string& liveStreamType) +{ + liveStreamType_ = liveStreamType; + setParameter("LiveStreamType", liveStreamType); +} + +std::string BatchResumeVsStreamRequest::getDomainName()const +{ + return domainName_; +} + +void BatchResumeVsStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long BatchResumeVsStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchResumeVsStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/BatchResumeVsStreamResult.cc b/vs/src/model/BatchResumeVsStreamResult.cc new file mode 100644 index 000000000..eb06cdcb7 --- /dev/null +++ b/vs/src/model/BatchResumeVsStreamResult.cc @@ -0,0 +1,64 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchResumeVsStreamResult::BatchResumeVsStreamResult() : + ServiceResult() +{} + +BatchResumeVsStreamResult::BatchResumeVsStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchResumeVsStreamResult::~BatchResumeVsStreamResult() +{} + +void BatchResumeVsStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResumeResultNode = value["ResumeResult"]["ResumeResultInfo"]; + for (auto valueResumeResultResumeResultInfo : allResumeResultNode) + { + ResumeResultInfo resumeResultObject; + if(!valueResumeResultResumeResultInfo["Result"].isNull()) + resumeResultObject.result = valueResumeResultResumeResultInfo["Result"].asString(); + if(!valueResumeResultResumeResultInfo["Detail"].isNull()) + resumeResultObject.detail = valueResumeResultResumeResultInfo["Detail"].asString(); + if(!valueResumeResultResumeResultInfo["Count"].isNull()) + resumeResultObject.count = std::stoi(valueResumeResultResumeResultInfo["Count"].asString()); + auto allChannels = value["Channels"]["Channel"]; + for (auto value : allChannels) + resumeResultObject.channels.push_back(value.asString()); + resumeResult_.push_back(resumeResultObject); + } + +} + +std::vector BatchResumeVsStreamResult::getResumeResult()const +{ + return resumeResult_; +} + diff --git a/vs/src/model/BatchSetVsDomainConfigsRequest.cc b/vs/src/model/BatchSetVsDomainConfigsRequest.cc new file mode 100644 index 000000000..2178de907 --- /dev/null +++ b/vs/src/model/BatchSetVsDomainConfigsRequest.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 + +using AlibabaCloud::Vs::Model::BatchSetVsDomainConfigsRequest; + +BatchSetVsDomainConfigsRequest::BatchSetVsDomainConfigsRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchSetVsDomainConfigs") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchSetVsDomainConfigsRequest::~BatchSetVsDomainConfigsRequest() +{} + +std::string BatchSetVsDomainConfigsRequest::getFunctions()const +{ + return functions_; +} + +void BatchSetVsDomainConfigsRequest::setFunctions(const std::string& functions) +{ + functions_ = functions; + setParameter("Functions", functions); +} + +std::string BatchSetVsDomainConfigsRequest::getDomainNames()const +{ + return domainNames_; +} + +void BatchSetVsDomainConfigsRequest::setDomainNames(const std::string& domainNames) +{ + domainNames_ = domainNames; + setParameter("DomainNames", domainNames); +} + +std::string BatchSetVsDomainConfigsRequest::getShowLog()const +{ + return showLog_; +} + +void BatchSetVsDomainConfigsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchSetVsDomainConfigsRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchSetVsDomainConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/BatchSetVsDomainConfigsResult.cc b/vs/src/model/BatchSetVsDomainConfigsResult.cc new file mode 100644 index 000000000..12beeabe8 --- /dev/null +++ b/vs/src/model/BatchSetVsDomainConfigsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchSetVsDomainConfigsResult::BatchSetVsDomainConfigsResult() : + ServiceResult() +{} + +BatchSetVsDomainConfigsResult::BatchSetVsDomainConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchSetVsDomainConfigsResult::~BatchSetVsDomainConfigsResult() +{} + +void BatchSetVsDomainConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/BatchStartDevicesRequest.cc b/vs/src/model/BatchStartDevicesRequest.cc new file mode 100644 index 000000000..5aa7ceb29 --- /dev/null +++ b/vs/src/model/BatchStartDevicesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::BatchStartDevicesRequest; + +BatchStartDevicesRequest::BatchStartDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchStartDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchStartDevicesRequest::~BatchStartDevicesRequest() +{} + +std::string BatchStartDevicesRequest::getId()const +{ + return id_; +} + +void BatchStartDevicesRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string BatchStartDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchStartDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchStartDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchStartDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/BatchStartDevicesResult.cc b/vs/src/model/BatchStartDevicesResult.cc new file mode 100644 index 000000000..e088ec6d2 --- /dev/null +++ b/vs/src/model/BatchStartDevicesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchStartDevicesResult::BatchStartDevicesResult() : + ServiceResult() +{} + +BatchStartDevicesResult::BatchStartDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchStartDevicesResult::~BatchStartDevicesResult() +{} + +void BatchStartDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["Id"].isNull()) + resultsObject.id = valueResultsResult["Id"].asString(); + auto allStreamsNode = allResultsNode["Streams"]["Stream"]; + for (auto allResultsNodeStreamsStream : allStreamsNode) + { + Result::Stream streamsObject; + if(!allResultsNodeStreamsStream["Id"].isNull()) + streamsObject.id = allResultsNodeStreamsStream["Id"].asString(); + if(!allResultsNodeStreamsStream["Name"].isNull()) + streamsObject.name = allResultsNodeStreamsStream["Name"].asString(); + if(!allResultsNodeStreamsStream["Error"].isNull()) + streamsObject.error = allResultsNodeStreamsStream["Error"].asString(); + resultsObject.streams.push_back(streamsObject); + } + results_.push_back(resultsObject); + } + +} + +std::vector BatchStartDevicesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchStartStreamsRequest.cc b/vs/src/model/BatchStartStreamsRequest.cc new file mode 100644 index 000000000..8ab7a52a2 --- /dev/null +++ b/vs/src/model/BatchStartStreamsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::BatchStartStreamsRequest; + +BatchStartStreamsRequest::BatchStartStreamsRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchStartStreams") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchStartStreamsRequest::~BatchStartStreamsRequest() +{} + +std::string BatchStartStreamsRequest::getId()const +{ + return id_; +} + +void BatchStartStreamsRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string BatchStartStreamsRequest::getShowLog()const +{ + return showLog_; +} + +void BatchStartStreamsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchStartStreamsRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchStartStreamsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/BatchStartStreamsResult.cc b/vs/src/model/BatchStartStreamsResult.cc new file mode 100644 index 000000000..0a8733732 --- /dev/null +++ b/vs/src/model/BatchStartStreamsResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchStartStreamsResult::BatchStartStreamsResult() : + ServiceResult() +{} + +BatchStartStreamsResult::BatchStartStreamsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchStartStreamsResult::~BatchStartStreamsResult() +{} + +void BatchStartStreamsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["Id"].isNull()) + resultsObject.id = valueResultsResult["Id"].asString(); + if(!valueResultsResult["Name"].isNull()) + resultsObject.name = valueResultsResult["Name"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchStartStreamsResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchStopDevicesRequest.cc b/vs/src/model/BatchStopDevicesRequest.cc new file mode 100644 index 000000000..26b101de7 --- /dev/null +++ b/vs/src/model/BatchStopDevicesRequest.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 + +using AlibabaCloud::Vs::Model::BatchStopDevicesRequest; + +BatchStopDevicesRequest::BatchStopDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchStopDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchStopDevicesRequest::~BatchStopDevicesRequest() +{} + +std::string BatchStopDevicesRequest::getStartTime()const +{ + return startTime_; +} + +void BatchStopDevicesRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string BatchStopDevicesRequest::getId()const +{ + return id_; +} + +void BatchStopDevicesRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string BatchStopDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchStopDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchStopDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchStopDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/BatchStopDevicesResult.cc b/vs/src/model/BatchStopDevicesResult.cc new file mode 100644 index 000000000..23d90a7e5 --- /dev/null +++ b/vs/src/model/BatchStopDevicesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchStopDevicesResult::BatchStopDevicesResult() : + ServiceResult() +{} + +BatchStopDevicesResult::BatchStopDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchStopDevicesResult::~BatchStopDevicesResult() +{} + +void BatchStopDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["Id"].isNull()) + resultsObject.id = valueResultsResult["Id"].asString(); + auto allStreamsNode = allResultsNode["Streams"]["Stream"]; + for (auto allResultsNodeStreamsStream : allStreamsNode) + { + Result::Stream streamsObject; + if(!allResultsNodeStreamsStream["Id"].isNull()) + streamsObject.id = allResultsNodeStreamsStream["Id"].asString(); + if(!allResultsNodeStreamsStream["Name"].isNull()) + streamsObject.name = allResultsNodeStreamsStream["Name"].asString(); + if(!allResultsNodeStreamsStream["Error"].isNull()) + streamsObject.error = allResultsNodeStreamsStream["Error"].asString(); + resultsObject.streams.push_back(streamsObject); + } + results_.push_back(resultsObject); + } + +} + +std::vector BatchStopDevicesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchStopStreamsRequest.cc b/vs/src/model/BatchStopStreamsRequest.cc new file mode 100644 index 000000000..62f93b409 --- /dev/null +++ b/vs/src/model/BatchStopStreamsRequest.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 + +using AlibabaCloud::Vs::Model::BatchStopStreamsRequest; + +BatchStopStreamsRequest::BatchStopStreamsRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchStopStreams") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchStopStreamsRequest::~BatchStopStreamsRequest() +{} + +std::string BatchStopStreamsRequest::getStartTime()const +{ + return startTime_; +} + +void BatchStopStreamsRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string BatchStopStreamsRequest::getId()const +{ + return id_; +} + +void BatchStopStreamsRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string BatchStopStreamsRequest::getShowLog()const +{ + return showLog_; +} + +void BatchStopStreamsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchStopStreamsRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchStopStreamsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/BatchStopStreamsResult.cc b/vs/src/model/BatchStopStreamsResult.cc new file mode 100644 index 000000000..bed53eab4 --- /dev/null +++ b/vs/src/model/BatchStopStreamsResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchStopStreamsResult::BatchStopStreamsResult() : + ServiceResult() +{} + +BatchStopStreamsResult::BatchStopStreamsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchStopStreamsResult::~BatchStopStreamsResult() +{} + +void BatchStopStreamsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["Id"].isNull()) + resultsObject.id = valueResultsResult["Id"].asString(); + if(!valueResultsResult["Name"].isNull()) + resultsObject.name = valueResultsResult["Name"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchStopStreamsResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchUnbindDirectoriesRequest.cc b/vs/src/model/BatchUnbindDirectoriesRequest.cc new file mode 100644 index 000000000..48ffd799b --- /dev/null +++ b/vs/src/model/BatchUnbindDirectoriesRequest.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 + +using AlibabaCloud::Vs::Model::BatchUnbindDirectoriesRequest; + +BatchUnbindDirectoriesRequest::BatchUnbindDirectoriesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchUnbindDirectories") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchUnbindDirectoriesRequest::~BatchUnbindDirectoriesRequest() +{} + +std::string BatchUnbindDirectoriesRequest::getDirectoryId()const +{ + return directoryId_; +} + +void BatchUnbindDirectoriesRequest::setDirectoryId(const std::string& directoryId) +{ + directoryId_ = directoryId; + setParameter("DirectoryId", directoryId); +} + +std::string BatchUnbindDirectoriesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchUnbindDirectoriesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchUnbindDirectoriesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchUnbindDirectoriesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchUnbindDirectoriesRequest::getDeviceId()const +{ + return deviceId_; +} + +void BatchUnbindDirectoriesRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/BatchUnbindDirectoriesResult.cc b/vs/src/model/BatchUnbindDirectoriesResult.cc new file mode 100644 index 000000000..218e8159f --- /dev/null +++ b/vs/src/model/BatchUnbindDirectoriesResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchUnbindDirectoriesResult::BatchUnbindDirectoriesResult() : + ServiceResult() +{} + +BatchUnbindDirectoriesResult::BatchUnbindDirectoriesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUnbindDirectoriesResult::~BatchUnbindDirectoriesResult() +{} + +void BatchUnbindDirectoriesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["DirectoryId"].isNull()) + resultsObject.directoryId = valueResultsResult["DirectoryId"].asString(); + if(!valueResultsResult["DeviceId"].isNull()) + resultsObject.deviceId = valueResultsResult["DeviceId"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchUnbindDirectoriesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchUnbindParentPlatformDevicesRequest.cc b/vs/src/model/BatchUnbindParentPlatformDevicesRequest.cc new file mode 100644 index 000000000..aa9fbf28c --- /dev/null +++ b/vs/src/model/BatchUnbindParentPlatformDevicesRequest.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 + +using AlibabaCloud::Vs::Model::BatchUnbindParentPlatformDevicesRequest; + +BatchUnbindParentPlatformDevicesRequest::BatchUnbindParentPlatformDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchUnbindParentPlatformDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchUnbindParentPlatformDevicesRequest::~BatchUnbindParentPlatformDevicesRequest() +{} + +std::string BatchUnbindParentPlatformDevicesRequest::getParentPlatformId()const +{ + return parentPlatformId_; +} + +void BatchUnbindParentPlatformDevicesRequest::setParentPlatformId(const std::string& parentPlatformId) +{ + parentPlatformId_ = parentPlatformId; + setParameter("ParentPlatformId", parentPlatformId); +} + +std::string BatchUnbindParentPlatformDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchUnbindParentPlatformDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchUnbindParentPlatformDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchUnbindParentPlatformDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchUnbindParentPlatformDevicesRequest::getDeviceId()const +{ + return deviceId_; +} + +void BatchUnbindParentPlatformDevicesRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/BatchUnbindParentPlatformDevicesResult.cc b/vs/src/model/BatchUnbindParentPlatformDevicesResult.cc new file mode 100644 index 000000000..2be436364 --- /dev/null +++ b/vs/src/model/BatchUnbindParentPlatformDevicesResult.cc @@ -0,0 +1,61 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchUnbindParentPlatformDevicesResult::BatchUnbindParentPlatformDevicesResult() : + ServiceResult() +{} + +BatchUnbindParentPlatformDevicesResult::BatchUnbindParentPlatformDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUnbindParentPlatformDevicesResult::~BatchUnbindParentPlatformDevicesResult() +{} + +void BatchUnbindParentPlatformDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["ParentPlatformId"].isNull()) + resultsObject.parentPlatformId = valueResultsResult["ParentPlatformId"].asString(); + if(!valueResultsResult["DeviceId"].isNull()) + resultsObject.deviceId = valueResultsResult["DeviceId"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchUnbindParentPlatformDevicesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchUnbindPurchasedDevicesRequest.cc b/vs/src/model/BatchUnbindPurchasedDevicesRequest.cc new file mode 100644 index 000000000..662bff6b5 --- /dev/null +++ b/vs/src/model/BatchUnbindPurchasedDevicesRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::BatchUnbindPurchasedDevicesRequest; + +BatchUnbindPurchasedDevicesRequest::BatchUnbindPurchasedDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchUnbindPurchasedDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchUnbindPurchasedDevicesRequest::~BatchUnbindPurchasedDevicesRequest() +{} + +std::string BatchUnbindPurchasedDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchUnbindPurchasedDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchUnbindPurchasedDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchUnbindPurchasedDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchUnbindPurchasedDevicesRequest::getDeviceId()const +{ + return deviceId_; +} + +void BatchUnbindPurchasedDevicesRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/BatchUnbindPurchasedDevicesResult.cc b/vs/src/model/BatchUnbindPurchasedDevicesResult.cc new file mode 100644 index 000000000..24b7fdb78 --- /dev/null +++ b/vs/src/model/BatchUnbindPurchasedDevicesResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchUnbindPurchasedDevicesResult::BatchUnbindPurchasedDevicesResult() : + ServiceResult() +{} + +BatchUnbindPurchasedDevicesResult::BatchUnbindPurchasedDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUnbindPurchasedDevicesResult::~BatchUnbindPurchasedDevicesResult() +{} + +void BatchUnbindPurchasedDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["DeviceId"].isNull()) + resultsObject.deviceId = valueResultsResult["DeviceId"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchUnbindPurchasedDevicesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BatchUnbindTemplateRequest.cc b/vs/src/model/BatchUnbindTemplateRequest.cc new file mode 100644 index 000000000..96016b19e --- /dev/null +++ b/vs/src/model/BatchUnbindTemplateRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::BatchUnbindTemplateRequest; + +BatchUnbindTemplateRequest::BatchUnbindTemplateRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchUnbindTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchUnbindTemplateRequest::~BatchUnbindTemplateRequest() +{} + +std::string BatchUnbindTemplateRequest::getTemplateType()const +{ + return templateType_; +} + +void BatchUnbindTemplateRequest::setTemplateType(const std::string& templateType) +{ + templateType_ = templateType; + setParameter("TemplateType", templateType); +} + +std::string BatchUnbindTemplateRequest::getInstanceType()const +{ + return instanceType_; +} + +void BatchUnbindTemplateRequest::setInstanceType(const std::string& instanceType) +{ + instanceType_ = instanceType; + setParameter("InstanceType", instanceType); +} + +std::string BatchUnbindTemplateRequest::getShowLog()const +{ + return showLog_; +} + +void BatchUnbindTemplateRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchUnbindTemplateRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchUnbindTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchUnbindTemplateRequest::getTemplateId()const +{ + return templateId_; +} + +void BatchUnbindTemplateRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); +} + +std::string BatchUnbindTemplateRequest::getInstanceId()const +{ + return instanceId_; +} + +void BatchUnbindTemplateRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + diff --git a/vs/src/model/BatchUnbindTemplateResult.cc b/vs/src/model/BatchUnbindTemplateResult.cc new file mode 100644 index 000000000..c180d00fa --- /dev/null +++ b/vs/src/model/BatchUnbindTemplateResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchUnbindTemplateResult::BatchUnbindTemplateResult() : + ServiceResult() +{} + +BatchUnbindTemplateResult::BatchUnbindTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUnbindTemplateResult::~BatchUnbindTemplateResult() +{} + +void BatchUnbindTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBindingsNode = value["Bindings"]["Binding"]; + for (auto valueBindingsBinding : allBindingsNode) + { + Binding bindingsObject; + if(!valueBindingsBinding["TemplateId"].isNull()) + bindingsObject.templateId = valueBindingsBinding["TemplateId"].asString(); + if(!valueBindingsBinding["InstanceId"].isNull()) + bindingsObject.instanceId = valueBindingsBinding["InstanceId"].asString(); + if(!valueBindingsBinding["InstanceType"].isNull()) + bindingsObject.instanceType = valueBindingsBinding["InstanceType"].asString(); + if(!valueBindingsBinding["Error"].isNull()) + bindingsObject.error = valueBindingsBinding["Error"].asString(); + bindings_.push_back(bindingsObject); + } + +} + +std::vector BatchUnbindTemplateResult::getBindings()const +{ + return bindings_; +} + diff --git a/vs/src/model/BatchUnbindTemplatesRequest.cc b/vs/src/model/BatchUnbindTemplatesRequest.cc new file mode 100644 index 000000000..32f2107f2 --- /dev/null +++ b/vs/src/model/BatchUnbindTemplatesRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::BatchUnbindTemplatesRequest; + +BatchUnbindTemplatesRequest::BatchUnbindTemplatesRequest() : + RpcServiceRequest("vs", "2018-12-12", "BatchUnbindTemplates") +{ + setMethod(HttpRequest::Method::Post); +} + +BatchUnbindTemplatesRequest::~BatchUnbindTemplatesRequest() +{} + +std::string BatchUnbindTemplatesRequest::getTemplateType()const +{ + return templateType_; +} + +void BatchUnbindTemplatesRequest::setTemplateType(const std::string& templateType) +{ + templateType_ = templateType; + setParameter("TemplateType", templateType); +} + +std::string BatchUnbindTemplatesRequest::getInstanceType()const +{ + return instanceType_; +} + +void BatchUnbindTemplatesRequest::setInstanceType(const std::string& instanceType) +{ + instanceType_ = instanceType; + setParameter("InstanceType", instanceType); +} + +std::string BatchUnbindTemplatesRequest::getShowLog()const +{ + return showLog_; +} + +void BatchUnbindTemplatesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BatchUnbindTemplatesRequest::getOwnerId()const +{ + return ownerId_; +} + +void BatchUnbindTemplatesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BatchUnbindTemplatesRequest::getTemplateId()const +{ + return templateId_; +} + +void BatchUnbindTemplatesRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); +} + +std::string BatchUnbindTemplatesRequest::getInstanceId()const +{ + return instanceId_; +} + +void BatchUnbindTemplatesRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + diff --git a/vs/src/model/BatchUnbindTemplatesResult.cc b/vs/src/model/BatchUnbindTemplatesResult.cc new file mode 100644 index 000000000..d8be6b2d1 --- /dev/null +++ b/vs/src/model/BatchUnbindTemplatesResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +BatchUnbindTemplatesResult::BatchUnbindTemplatesResult() : + ServiceResult() +{} + +BatchUnbindTemplatesResult::BatchUnbindTemplatesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BatchUnbindTemplatesResult::~BatchUnbindTemplatesResult() +{} + +void BatchUnbindTemplatesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResultsNode = value["Results"]["Result"]; + for (auto valueResultsResult : allResultsNode) + { + Result resultsObject; + if(!valueResultsResult["TemplateId"].isNull()) + resultsObject.templateId = valueResultsResult["TemplateId"].asString(); + if(!valueResultsResult["TemplateType"].isNull()) + resultsObject.templateType = valueResultsResult["TemplateType"].asString(); + if(!valueResultsResult["InstanceId"].isNull()) + resultsObject.instanceId = valueResultsResult["InstanceId"].asString(); + if(!valueResultsResult["InstanceType"].isNull()) + resultsObject.instanceType = valueResultsResult["InstanceType"].asString(); + if(!valueResultsResult["Error"].isNull()) + resultsObject.error = valueResultsResult["Error"].asString(); + results_.push_back(resultsObject); + } + +} + +std::vector BatchUnbindTemplatesResult::getResults()const +{ + return results_; +} + diff --git a/vs/src/model/BindDirectoryRequest.cc b/vs/src/model/BindDirectoryRequest.cc new file mode 100644 index 000000000..5a5fa9291 --- /dev/null +++ b/vs/src/model/BindDirectoryRequest.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 + +using AlibabaCloud::Vs::Model::BindDirectoryRequest; + +BindDirectoryRequest::BindDirectoryRequest() : + RpcServiceRequest("vs", "2018-12-12", "BindDirectory") +{ + setMethod(HttpRequest::Method::Post); +} + +BindDirectoryRequest::~BindDirectoryRequest() +{} + +std::string BindDirectoryRequest::getDirectoryId()const +{ + return directoryId_; +} + +void BindDirectoryRequest::setDirectoryId(const std::string& directoryId) +{ + directoryId_ = directoryId; + setParameter("DirectoryId", directoryId); +} + +std::string BindDirectoryRequest::getShowLog()const +{ + return showLog_; +} + +void BindDirectoryRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BindDirectoryRequest::getOwnerId()const +{ + return ownerId_; +} + +void BindDirectoryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BindDirectoryRequest::getDeviceId()const +{ + return deviceId_; +} + +void BindDirectoryRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/BindDirectoryResult.cc b/vs/src/model/BindDirectoryResult.cc new file mode 100644 index 000000000..c790bd8ac --- /dev/null +++ b/vs/src/model/BindDirectoryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BindDirectoryResult::BindDirectoryResult() : + ServiceResult() +{} + +BindDirectoryResult::BindDirectoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindDirectoryResult::~BindDirectoryResult() +{} + +void BindDirectoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/BindParentPlatformDeviceRequest.cc b/vs/src/model/BindParentPlatformDeviceRequest.cc new file mode 100644 index 000000000..983431b1c --- /dev/null +++ b/vs/src/model/BindParentPlatformDeviceRequest.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 + +using AlibabaCloud::Vs::Model::BindParentPlatformDeviceRequest; + +BindParentPlatformDeviceRequest::BindParentPlatformDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "BindParentPlatformDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +BindParentPlatformDeviceRequest::~BindParentPlatformDeviceRequest() +{} + +std::string BindParentPlatformDeviceRequest::getParentPlatformId()const +{ + return parentPlatformId_; +} + +void BindParentPlatformDeviceRequest::setParentPlatformId(const std::string& parentPlatformId) +{ + parentPlatformId_ = parentPlatformId; + setParameter("ParentPlatformId", parentPlatformId); +} + +std::string BindParentPlatformDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void BindParentPlatformDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long BindParentPlatformDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void BindParentPlatformDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BindParentPlatformDeviceRequest::getDeviceId()const +{ + return deviceId_; +} + +void BindParentPlatformDeviceRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/BindParentPlatformDeviceResult.cc b/vs/src/model/BindParentPlatformDeviceResult.cc new file mode 100644 index 000000000..719747638 --- /dev/null +++ b/vs/src/model/BindParentPlatformDeviceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BindParentPlatformDeviceResult::BindParentPlatformDeviceResult() : + ServiceResult() +{} + +BindParentPlatformDeviceResult::BindParentPlatformDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindParentPlatformDeviceResult::~BindParentPlatformDeviceResult() +{} + +void BindParentPlatformDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/BindPurchasedDeviceRequest.cc b/vs/src/model/BindPurchasedDeviceRequest.cc new file mode 100644 index 000000000..ddc11a2cd --- /dev/null +++ b/vs/src/model/BindPurchasedDeviceRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::BindPurchasedDeviceRequest; + +BindPurchasedDeviceRequest::BindPurchasedDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "BindPurchasedDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +BindPurchasedDeviceRequest::~BindPurchasedDeviceRequest() +{} + +std::string BindPurchasedDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void BindPurchasedDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string BindPurchasedDeviceRequest::getGroupId()const +{ + return groupId_; +} + +void BindPurchasedDeviceRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +long BindPurchasedDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void BindPurchasedDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BindPurchasedDeviceRequest::getDeviceId()const +{ + return deviceId_; +} + +void BindPurchasedDeviceRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + +std::string BindPurchasedDeviceRequest::getRegion()const +{ + return region_; +} + +void BindPurchasedDeviceRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); +} + diff --git a/vs/src/model/BindPurchasedDeviceResult.cc b/vs/src/model/BindPurchasedDeviceResult.cc new file mode 100644 index 000000000..b811c579a --- /dev/null +++ b/vs/src/model/BindPurchasedDeviceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +BindPurchasedDeviceResult::BindPurchasedDeviceResult() : + ServiceResult() +{} + +BindPurchasedDeviceResult::BindPurchasedDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindPurchasedDeviceResult::~BindPurchasedDeviceResult() +{} + +void BindPurchasedDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/BindTemplateRequest.cc b/vs/src/model/BindTemplateRequest.cc new file mode 100644 index 000000000..829e2ea89 --- /dev/null +++ b/vs/src/model/BindTemplateRequest.cc @@ -0,0 +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::Vs::Model::BindTemplateRequest; + +BindTemplateRequest::BindTemplateRequest() : + RpcServiceRequest("vs", "2018-12-12", "BindTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +BindTemplateRequest::~BindTemplateRequest() +{} + +bool BindTemplateRequest::getReplace()const +{ + return replace_; +} + +void BindTemplateRequest::setReplace(bool replace) +{ + replace_ = replace; + setParameter("Replace", replace ? "true" : "false"); +} + +std::string BindTemplateRequest::getTemplateType()const +{ + return templateType_; +} + +void BindTemplateRequest::setTemplateType(const std::string& templateType) +{ + templateType_ = templateType; + setParameter("TemplateType", templateType); +} + +std::string BindTemplateRequest::getInstanceType()const +{ + return instanceType_; +} + +void BindTemplateRequest::setInstanceType(const std::string& instanceType) +{ + instanceType_ = instanceType; + setParameter("InstanceType", instanceType); +} + +std::string BindTemplateRequest::getShowLog()const +{ + return showLog_; +} + +void BindTemplateRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +bool BindTemplateRequest::getApplyAll()const +{ + return applyAll_; +} + +void BindTemplateRequest::setApplyAll(bool applyAll) +{ + applyAll_ = applyAll; + setParameter("ApplyAll", applyAll ? "true" : "false"); +} + +long BindTemplateRequest::getOwnerId()const +{ + return ownerId_; +} + +void BindTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string BindTemplateRequest::getTemplateId()const +{ + return templateId_; +} + +void BindTemplateRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); +} + +std::string BindTemplateRequest::getInstanceId()const +{ + return instanceId_; +} + +void BindTemplateRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + diff --git a/vs/src/model/BindTemplateResult.cc b/vs/src/model/BindTemplateResult.cc new file mode 100644 index 000000000..5a889cb38 --- /dev/null +++ b/vs/src/model/BindTemplateResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +BindTemplateResult::BindTemplateResult() : + ServiceResult() +{} + +BindTemplateResult::BindTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +BindTemplateResult::~BindTemplateResult() +{} + +void BindTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["TemplateId"].isNull()) + templateId_ = value["TemplateId"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["InstanceType"].isNull()) + instanceType_ = value["InstanceType"].asString(); + +} + +std::string BindTemplateResult::getInstanceId()const +{ + return instanceId_; +} + +std::string BindTemplateResult::getInstanceType()const +{ + return instanceType_; +} + +std::string BindTemplateResult::getTemplateId()const +{ + return templateId_; +} + diff --git a/vs/src/model/ContinuousAdjustRequest.cc b/vs/src/model/ContinuousAdjustRequest.cc new file mode 100644 index 000000000..70ef96505 --- /dev/null +++ b/vs/src/model/ContinuousAdjustRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::ContinuousAdjustRequest; + +ContinuousAdjustRequest::ContinuousAdjustRequest() : + RpcServiceRequest("vs", "2018-12-12", "ContinuousAdjust") +{ + setMethod(HttpRequest::Method::Post); +} + +ContinuousAdjustRequest::~ContinuousAdjustRequest() +{} + +std::string ContinuousAdjustRequest::getFocus()const +{ + return focus_; +} + +void ContinuousAdjustRequest::setFocus(const std::string& focus) +{ + focus_ = focus; + setParameter("Focus", focus); +} + +std::string ContinuousAdjustRequest::getId()const +{ + return id_; +} + +void ContinuousAdjustRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string ContinuousAdjustRequest::getShowLog()const +{ + return showLog_; +} + +void ContinuousAdjustRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string ContinuousAdjustRequest::getIris()const +{ + return iris_; +} + +void ContinuousAdjustRequest::setIris(const std::string& iris) +{ + iris_ = iris; + setParameter("Iris", iris); +} + +long ContinuousAdjustRequest::getOwnerId()const +{ + return ownerId_; +} + +void ContinuousAdjustRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/ContinuousAdjustResult.cc b/vs/src/model/ContinuousAdjustResult.cc new file mode 100644 index 000000000..87e6ae0c4 --- /dev/null +++ b/vs/src/model/ContinuousAdjustResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ContinuousAdjustResult::ContinuousAdjustResult() : + ServiceResult() +{} + +ContinuousAdjustResult::ContinuousAdjustResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ContinuousAdjustResult::~ContinuousAdjustResult() +{} + +void ContinuousAdjustResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string ContinuousAdjustResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/ContinuousMoveRequest.cc b/vs/src/model/ContinuousMoveRequest.cc new file mode 100644 index 000000000..f8c283798 --- /dev/null +++ b/vs/src/model/ContinuousMoveRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::ContinuousMoveRequest; + +ContinuousMoveRequest::ContinuousMoveRequest() : + RpcServiceRequest("vs", "2018-12-12", "ContinuousMove") +{ + setMethod(HttpRequest::Method::Post); +} + +ContinuousMoveRequest::~ContinuousMoveRequest() +{} + +std::string ContinuousMoveRequest::getTilt()const +{ + return tilt_; +} + +void ContinuousMoveRequest::setTilt(const std::string& tilt) +{ + tilt_ = tilt; + setParameter("Tilt", tilt); +} + +std::string ContinuousMoveRequest::getId()const +{ + return id_; +} + +void ContinuousMoveRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string ContinuousMoveRequest::getPan()const +{ + return pan_; +} + +void ContinuousMoveRequest::setPan(const std::string& pan) +{ + pan_ = pan; + setParameter("Pan", pan); +} + +std::string ContinuousMoveRequest::getShowLog()const +{ + return showLog_; +} + +void ContinuousMoveRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string ContinuousMoveRequest::getZoom()const +{ + return zoom_; +} + +void ContinuousMoveRequest::setZoom(const std::string& zoom) +{ + zoom_ = zoom; + setParameter("Zoom", zoom); +} + +long ContinuousMoveRequest::getOwnerId()const +{ + return ownerId_; +} + +void ContinuousMoveRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/ContinuousMoveResult.cc b/vs/src/model/ContinuousMoveResult.cc new file mode 100644 index 000000000..cf3b5e00e --- /dev/null +++ b/vs/src/model/ContinuousMoveResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ContinuousMoveResult::ContinuousMoveResult() : + ServiceResult() +{} + +ContinuousMoveResult::ContinuousMoveResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ContinuousMoveResult::~ContinuousMoveResult() +{} + +void ContinuousMoveResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string ContinuousMoveResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/CreateDeviceAlarmRequest.cc b/vs/src/model/CreateDeviceAlarmRequest.cc new file mode 100644 index 000000000..d29e66af0 --- /dev/null +++ b/vs/src/model/CreateDeviceAlarmRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::CreateDeviceAlarmRequest; + +CreateDeviceAlarmRequest::CreateDeviceAlarmRequest() : + RpcServiceRequest("vs", "2018-12-12", "CreateDeviceAlarm") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDeviceAlarmRequest::~CreateDeviceAlarmRequest() +{} + +long CreateDeviceAlarmRequest::getStartTime()const +{ + return startTime_; +} + +void CreateDeviceAlarmRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setParameter("StartTime", std::to_string(startTime)); +} + +int CreateDeviceAlarmRequest::getAlarm()const +{ + return alarm_; +} + +void CreateDeviceAlarmRequest::setAlarm(int alarm) +{ + alarm_ = alarm; + setParameter("Alarm", std::to_string(alarm)); +} + +std::string CreateDeviceAlarmRequest::getId()const +{ + return id_; +} + +void CreateDeviceAlarmRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +int CreateDeviceAlarmRequest::getObjectType()const +{ + return objectType_; +} + +void CreateDeviceAlarmRequest::setObjectType(int objectType) +{ + objectType_ = objectType; + setParameter("ObjectType", std::to_string(objectType)); +} + +std::string CreateDeviceAlarmRequest::getShowLog()const +{ + return showLog_; +} + +void CreateDeviceAlarmRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long CreateDeviceAlarmRequest::getEndTime()const +{ + return endTime_; +} + +void CreateDeviceAlarmRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setParameter("EndTime", std::to_string(endTime)); +} + +long CreateDeviceAlarmRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateDeviceAlarmRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +int CreateDeviceAlarmRequest::getSubAlarm()const +{ + return subAlarm_; +} + +void CreateDeviceAlarmRequest::setSubAlarm(int subAlarm) +{ + subAlarm_ = subAlarm; + setParameter("SubAlarm", std::to_string(subAlarm)); +} + +long CreateDeviceAlarmRequest::getExpire()const +{ + return expire_; +} + +void CreateDeviceAlarmRequest::setExpire(long expire) +{ + expire_ = expire; + setParameter("Expire", std::to_string(expire)); +} + +int CreateDeviceAlarmRequest::getChannelId()const +{ + return channelId_; +} + +void CreateDeviceAlarmRequest::setChannelId(int channelId) +{ + channelId_ = channelId; + setParameter("ChannelId", std::to_string(channelId)); +} + diff --git a/vs/src/model/CreateDeviceAlarmResult.cc b/vs/src/model/CreateDeviceAlarmResult.cc new file mode 100644 index 000000000..bc624813b --- /dev/null +++ b/vs/src/model/CreateDeviceAlarmResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +CreateDeviceAlarmResult::CreateDeviceAlarmResult() : + ServiceResult() +{} + +CreateDeviceAlarmResult::CreateDeviceAlarmResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDeviceAlarmResult::~CreateDeviceAlarmResult() +{} + +void CreateDeviceAlarmResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Url"].isNull()) + url_ = value["Url"].asString(); + if(!value["Expire"].isNull()) + expire_ = std::stol(value["Expire"].asString()); + if(!value["AlarmId"].isNull()) + alarmId_ = value["AlarmId"].asString(); + if(!value["AlarmDelay"].isNull()) + alarmDelay_ = std::stol(value["AlarmDelay"].asString()); + +} + +std::string CreateDeviceAlarmResult::getAlarmId()const +{ + return alarmId_; +} + +long CreateDeviceAlarmResult::getExpire()const +{ + return expire_; +} + +long CreateDeviceAlarmResult::getAlarmDelay()const +{ + return alarmDelay_; +} + +std::string CreateDeviceAlarmResult::getUrl()const +{ + return url_; +} + diff --git a/vs/src/model/CreateDeviceRequest.cc b/vs/src/model/CreateDeviceRequest.cc new file mode 100644 index 000000000..5176a4d0f --- /dev/null +++ b/vs/src/model/CreateDeviceRequest.cc @@ -0,0 +1,282 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::CreateDeviceRequest; + +CreateDeviceRequest::CreateDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "CreateDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDeviceRequest::~CreateDeviceRequest() +{} + +std::string CreateDeviceRequest::getGbId()const +{ + return gbId_; +} + +void CreateDeviceRequest::setGbId(const std::string& gbId) +{ + gbId_ = gbId; + setParameter("GbId", gbId); +} + +std::string CreateDeviceRequest::getLatitude()const +{ + return latitude_; +} + +void CreateDeviceRequest::setLatitude(const std::string& latitude) +{ + latitude_ = latitude; + setParameter("Latitude", latitude); +} + +std::string CreateDeviceRequest::getDescription()const +{ + return description_; +} + +void CreateDeviceRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string CreateDeviceRequest::getType()const +{ + return type_; +} + +void CreateDeviceRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +bool CreateDeviceRequest::getAutoStart()const +{ + return autoStart_; +} + +void CreateDeviceRequest::setAutoStart(bool autoStart) +{ + autoStart_ = autoStart; + setParameter("AutoStart", autoStart ? "true" : "false"); +} + +std::string CreateDeviceRequest::getParentId()const +{ + return parentId_; +} + +void CreateDeviceRequest::setParentId(const std::string& parentId) +{ + parentId_ = parentId; + setParameter("ParentId", parentId); +} + +std::string CreateDeviceRequest::getPassword()const +{ + return password_; +} + +void CreateDeviceRequest::setPassword(const std::string& password) +{ + password_ = password; + setParameter("Password", password); +} + +std::string CreateDeviceRequest::getVendor()const +{ + return vendor_; +} + +void CreateDeviceRequest::setVendor(const std::string& vendor) +{ + vendor_ = vendor; + setParameter("Vendor", vendor); +} + +std::string CreateDeviceRequest::getAlarmMethod()const +{ + return alarmMethod_; +} + +void CreateDeviceRequest::setAlarmMethod(const std::string& alarmMethod) +{ + alarmMethod_ = alarmMethod; + setParameter("AlarmMethod", alarmMethod); +} + +std::string CreateDeviceRequest::getDirectoryId()const +{ + return directoryId_; +} + +void CreateDeviceRequest::setDirectoryId(const std::string& directoryId) +{ + directoryId_ = directoryId; + setParameter("DirectoryId", directoryId); +} + +std::string CreateDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void CreateDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string CreateDeviceRequest::getLongitude()const +{ + return longitude_; +} + +void CreateDeviceRequest::setLongitude(const std::string& longitude) +{ + longitude_ = longitude; + setParameter("Longitude", longitude); +} + +std::string CreateDeviceRequest::getGroupId()const +{ + return groupId_; +} + +void CreateDeviceRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string CreateDeviceRequest::getIp()const +{ + return ip_; +} + +void CreateDeviceRequest::setIp(const std::string& ip) +{ + ip_ = ip; + setParameter("Ip", ip); +} + +long CreateDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateDeviceRequest::getParams()const +{ + return params_; +} + +void CreateDeviceRequest::setParams(const std::string& params) +{ + params_ = params; + setParameter("Params", params); +} + +std::string CreateDeviceRequest::getUrl()const +{ + return url_; +} + +void CreateDeviceRequest::setUrl(const std::string& url) +{ + url_ = url; + setParameter("Url", url); +} + +long CreateDeviceRequest::getPort()const +{ + return port_; +} + +void CreateDeviceRequest::setPort(long port) +{ + port_ = port; + setParameter("Port", std::to_string(port)); +} + +std::string CreateDeviceRequest::getName()const +{ + return name_; +} + +void CreateDeviceRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +long CreateDeviceRequest::getPosInterval()const +{ + return posInterval_; +} + +void CreateDeviceRequest::setPosInterval(long posInterval) +{ + posInterval_ = posInterval; + setParameter("PosInterval", std::to_string(posInterval)); +} + +std::string CreateDeviceRequest::getDsn()const +{ + return dsn_; +} + +void CreateDeviceRequest::setDsn(const std::string& dsn) +{ + dsn_ = dsn; + setParameter("Dsn", dsn); +} + +std::string CreateDeviceRequest::getUsername()const +{ + return username_; +} + +void CreateDeviceRequest::setUsername(const std::string& username) +{ + username_ = username; + setParameter("Username", username); +} + +bool CreateDeviceRequest::getAutoPos()const +{ + return autoPos_; +} + +void CreateDeviceRequest::setAutoPos(bool autoPos) +{ + autoPos_ = autoPos; + setParameter("AutoPos", autoPos ? "true" : "false"); +} + diff --git a/vs/src/model/CreateDeviceResult.cc b/vs/src/model/CreateDeviceResult.cc new file mode 100644 index 000000000..654a53fee --- /dev/null +++ b/vs/src/model/CreateDeviceResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +CreateDeviceResult::CreateDeviceResult() : + ServiceResult() +{} + +CreateDeviceResult::CreateDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDeviceResult::~CreateDeviceResult() +{} + +void CreateDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string CreateDeviceResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/CreateDirectoryRequest.cc b/vs/src/model/CreateDirectoryRequest.cc new file mode 100644 index 000000000..d5b1af333 --- /dev/null +++ b/vs/src/model/CreateDirectoryRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::CreateDirectoryRequest; + +CreateDirectoryRequest::CreateDirectoryRequest() : + RpcServiceRequest("vs", "2018-12-12", "CreateDirectory") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateDirectoryRequest::~CreateDirectoryRequest() +{} + +std::string CreateDirectoryRequest::getDescription()const +{ + return description_; +} + +void CreateDirectoryRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string CreateDirectoryRequest::getParentId()const +{ + return parentId_; +} + +void CreateDirectoryRequest::setParentId(const std::string& parentId) +{ + parentId_ = parentId; + setParameter("ParentId", parentId); +} + +std::string CreateDirectoryRequest::getShowLog()const +{ + return showLog_; +} + +void CreateDirectoryRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string CreateDirectoryRequest::getGroupId()const +{ + return groupId_; +} + +void CreateDirectoryRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +long CreateDirectoryRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateDirectoryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateDirectoryRequest::getName()const +{ + return name_; +} + +void CreateDirectoryRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + diff --git a/vs/src/model/CreateDirectoryResult.cc b/vs/src/model/CreateDirectoryResult.cc new file mode 100644 index 000000000..1aa9abd6b --- /dev/null +++ b/vs/src/model/CreateDirectoryResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +CreateDirectoryResult::CreateDirectoryResult() : + ServiceResult() +{} + +CreateDirectoryResult::CreateDirectoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateDirectoryResult::~CreateDirectoryResult() +{} + +void CreateDirectoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string CreateDirectoryResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/CreateGroupRequest.cc b/vs/src/model/CreateGroupRequest.cc new file mode 100644 index 000000000..0d548d906 --- /dev/null +++ b/vs/src/model/CreateGroupRequest.cc @@ -0,0 +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::Vs::Model::CreateGroupRequest; + +CreateGroupRequest::CreateGroupRequest() : + RpcServiceRequest("vs", "2018-12-12", "CreateGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateGroupRequest::~CreateGroupRequest() +{} + +int CreateGroupRequest::getCaptureVideo()const +{ + return captureVideo_; +} + +void CreateGroupRequest::setCaptureVideo(int captureVideo) +{ + captureVideo_ = captureVideo; + setParameter("CaptureVideo", std::to_string(captureVideo)); +} + +std::string CreateGroupRequest::getDescription()const +{ + return description_; +} + +void CreateGroupRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string CreateGroupRequest::getCaptureOssPath()const +{ + return captureOssPath_; +} + +void CreateGroupRequest::setCaptureOssPath(const std::string& captureOssPath) +{ + captureOssPath_ = captureOssPath; + setParameter("CaptureOssPath", captureOssPath); +} + +std::string CreateGroupRequest::getPushDomain()const +{ + return pushDomain_; +} + +void CreateGroupRequest::setPushDomain(const std::string& pushDomain) +{ + pushDomain_ = pushDomain; + setParameter("PushDomain", pushDomain); +} + +int CreateGroupRequest::getCaptureImage()const +{ + return captureImage_; +} + +void CreateGroupRequest::setCaptureImage(int captureImage) +{ + captureImage_ = captureImage; + setParameter("CaptureImage", std::to_string(captureImage)); +} + +std::string CreateGroupRequest::getShowLog()const +{ + return showLog_; +} + +void CreateGroupRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string CreateGroupRequest::getApp()const +{ + return app_; +} + +void CreateGroupRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); +} + +std::string CreateGroupRequest::getPlayDomain()const +{ + return playDomain_; +} + +void CreateGroupRequest::setPlayDomain(const std::string& playDomain) +{ + playDomain_ = playDomain; + setParameter("PlayDomain", playDomain); +} + +std::string CreateGroupRequest::getOutProtocol()const +{ + return outProtocol_; +} + +void CreateGroupRequest::setOutProtocol(const std::string& outProtocol) +{ + outProtocol_ = outProtocol; + setParameter("OutProtocol", outProtocol); +} + +int CreateGroupRequest::getCaptureInterval()const +{ + return captureInterval_; +} + +void CreateGroupRequest::setCaptureInterval(int captureInterval) +{ + captureInterval_ = captureInterval; + setParameter("CaptureInterval", std::to_string(captureInterval)); +} + +long CreateGroupRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateGroupRequest::getInProtocol()const +{ + return inProtocol_; +} + +void CreateGroupRequest::setInProtocol(const std::string& inProtocol) +{ + inProtocol_ = inProtocol; + setParameter("InProtocol", inProtocol); +} + +bool CreateGroupRequest::getLazyPull()const +{ + return lazyPull_; +} + +void CreateGroupRequest::setLazyPull(bool lazyPull) +{ + lazyPull_ = lazyPull; + setParameter("LazyPull", lazyPull ? "true" : "false"); +} + +std::string CreateGroupRequest::getName()const +{ + return name_; +} + +void CreateGroupRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string CreateGroupRequest::getCallback()const +{ + return callback_; +} + +void CreateGroupRequest::setCallback(const std::string& callback) +{ + callback_ = callback; + setParameter("Callback", callback); +} + +std::string CreateGroupRequest::getRegion()const +{ + return region_; +} + +void CreateGroupRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); +} + +std::string CreateGroupRequest::getCaptureOssBucket()const +{ + return captureOssBucket_; +} + +void CreateGroupRequest::setCaptureOssBucket(const std::string& captureOssBucket) +{ + captureOssBucket_ = captureOssBucket; + setParameter("CaptureOssBucket", captureOssBucket); +} + diff --git a/vs/src/model/CreateGroupResult.cc b/vs/src/model/CreateGroupResult.cc new file mode 100644 index 000000000..d20fe0852 --- /dev/null +++ b/vs/src/model/CreateGroupResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +CreateGroupResult::CreateGroupResult() : + ServiceResult() +{} + +CreateGroupResult::CreateGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateGroupResult::~CreateGroupResult() +{} + +void CreateGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["GbId"].isNull()) + gbId_ = value["GbId"].asString(); + if(!value["GbIp"].isNull()) + gbIp_ = value["GbIp"].asString(); + if(!value["GbPort"].isNull()) + gbPort_ = std::stol(value["GbPort"].asString()); + +} + +std::string CreateGroupResult::getGbIp()const +{ + return gbIp_; +} + +std::string CreateGroupResult::getGbId()const +{ + return gbId_; +} + +std::string CreateGroupResult::getId()const +{ + return id_; +} + +long CreateGroupResult::getGbPort()const +{ + return gbPort_; +} + diff --git a/vs/src/model/CreateParentPlatformRequest.cc b/vs/src/model/CreateParentPlatformRequest.cc new file mode 100644 index 000000000..493dd5fc9 --- /dev/null +++ b/vs/src/model/CreateParentPlatformRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::CreateParentPlatformRequest; + +CreateParentPlatformRequest::CreateParentPlatformRequest() : + RpcServiceRequest("vs", "2018-12-12", "CreateParentPlatform") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateParentPlatformRequest::~CreateParentPlatformRequest() +{} + +std::string CreateParentPlatformRequest::getGbId()const +{ + return gbId_; +} + +void CreateParentPlatformRequest::setGbId(const std::string& gbId) +{ + gbId_ = gbId; + setParameter("GbId", gbId); +} + +bool CreateParentPlatformRequest::getClientAuth()const +{ + return clientAuth_; +} + +void CreateParentPlatformRequest::setClientAuth(bool clientAuth) +{ + clientAuth_ = clientAuth; + setParameter("ClientAuth", clientAuth ? "true" : "false"); +} + +std::string CreateParentPlatformRequest::getDescription()const +{ + return description_; +} + +void CreateParentPlatformRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +bool CreateParentPlatformRequest::getAutoStart()const +{ + return autoStart_; +} + +void CreateParentPlatformRequest::setAutoStart(bool autoStart) +{ + autoStart_ = autoStart; + setParameter("AutoStart", autoStart ? "true" : "false"); +} + +std::string CreateParentPlatformRequest::getProtocol()const +{ + return protocol_; +} + +void CreateParentPlatformRequest::setProtocol(const std::string& protocol) +{ + protocol_ = protocol; + setParameter("Protocol", protocol); +} + +std::string CreateParentPlatformRequest::getClientPassword()const +{ + return clientPassword_; +} + +void CreateParentPlatformRequest::setClientPassword(const std::string& clientPassword) +{ + clientPassword_ = clientPassword; + setParameter("ClientPassword", clientPassword); +} + +std::string CreateParentPlatformRequest::getShowLog()const +{ + return showLog_; +} + +void CreateParentPlatformRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string CreateParentPlatformRequest::getIp()const +{ + return ip_; +} + +void CreateParentPlatformRequest::setIp(const std::string& ip) +{ + ip_ = ip; + setParameter("Ip", ip); +} + +long CreateParentPlatformRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateParentPlatformRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +long CreateParentPlatformRequest::getPort()const +{ + return port_; +} + +void CreateParentPlatformRequest::setPort(long port) +{ + port_ = port; + setParameter("Port", std::to_string(port)); +} + +std::string CreateParentPlatformRequest::getName()const +{ + return name_; +} + +void CreateParentPlatformRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string CreateParentPlatformRequest::getClientUsername()const +{ + return clientUsername_; +} + +void CreateParentPlatformRequest::setClientUsername(const std::string& clientUsername) +{ + clientUsername_ = clientUsername; + setParameter("ClientUsername", clientUsername); +} + diff --git a/vs/src/model/CreateParentPlatformResult.cc b/vs/src/model/CreateParentPlatformResult.cc new file mode 100644 index 000000000..0656efbd3 --- /dev/null +++ b/vs/src/model/CreateParentPlatformResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +CreateParentPlatformResult::CreateParentPlatformResult() : + ServiceResult() +{} + +CreateParentPlatformResult::CreateParentPlatformResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateParentPlatformResult::~CreateParentPlatformResult() +{} + +void CreateParentPlatformResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string CreateParentPlatformResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/CreateStreamSnapshotRequest.cc b/vs/src/model/CreateStreamSnapshotRequest.cc new file mode 100644 index 000000000..d03e38118 --- /dev/null +++ b/vs/src/model/CreateStreamSnapshotRequest.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 + +using AlibabaCloud::Vs::Model::CreateStreamSnapshotRequest; + +CreateStreamSnapshotRequest::CreateStreamSnapshotRequest() : + RpcServiceRequest("vs", "2018-12-12", "CreateStreamSnapshot") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateStreamSnapshotRequest::~CreateStreamSnapshotRequest() +{} + +std::string CreateStreamSnapshotRequest::getId()const +{ + return id_; +} + +void CreateStreamSnapshotRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string CreateStreamSnapshotRequest::getShowLog()const +{ + return showLog_; +} + +void CreateStreamSnapshotRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long CreateStreamSnapshotRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateStreamSnapshotRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateStreamSnapshotRequest::getLocation()const +{ + return location_; +} + +void CreateStreamSnapshotRequest::setLocation(const std::string& location) +{ + location_ = location; + setParameter("Location", location); +} + diff --git a/vs/src/model/CreateStreamSnapshotResult.cc b/vs/src/model/CreateStreamSnapshotResult.cc new file mode 100644 index 000000000..7ebe295b8 --- /dev/null +++ b/vs/src/model/CreateStreamSnapshotResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +CreateStreamSnapshotResult::CreateStreamSnapshotResult() : + ServiceResult() +{} + +CreateStreamSnapshotResult::CreateStreamSnapshotResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateStreamSnapshotResult::~CreateStreamSnapshotResult() +{} + +void CreateStreamSnapshotResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["Url"].isNull()) + url_ = value["Url"].asString(); + if(!value["OssBucket"].isNull()) + ossBucket_ = value["OssBucket"].asString(); + if(!value["OssObject"].isNull()) + ossObject_ = value["OssObject"].asString(); + if(!value["OssEndpoint"].isNull()) + ossEndpoint_ = value["OssEndpoint"].asString(); + if(!value["Height"].isNull()) + height_ = std::stol(value["Height"].asString()); + if(!value["Width"].isNull()) + width_ = std::stol(value["Width"].asString()); + if(!value["Format"].isNull()) + format_ = value["Format"].asString(); + if(!value["Timestamp"].isNull()) + timestamp_ = std::stol(value["Timestamp"].asString()); + +} + +std::string CreateStreamSnapshotResult::getFormat()const +{ + return format_; +} + +std::string CreateStreamSnapshotResult::getOssEndpoint()const +{ + return ossEndpoint_; +} + +std::string CreateStreamSnapshotResult::getOssBucket()const +{ + return ossBucket_; +} + +std::string CreateStreamSnapshotResult::getOssObject()const +{ + return ossObject_; +} + +long CreateStreamSnapshotResult::getHeight()const +{ + return height_; +} + +std::string CreateStreamSnapshotResult::getId()const +{ + return id_; +} + +long CreateStreamSnapshotResult::getWidth()const +{ + return width_; +} + +long CreateStreamSnapshotResult::getTimestamp()const +{ + return timestamp_; +} + +std::string CreateStreamSnapshotResult::getUrl()const +{ + return url_; +} + diff --git a/vs/src/model/CreateTemplateRequest.cc b/vs/src/model/CreateTemplateRequest.cc new file mode 100644 index 000000000..754acb0a0 --- /dev/null +++ b/vs/src/model/CreateTemplateRequest.cc @@ -0,0 +1,293 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::CreateTemplateRequest; + +CreateTemplateRequest::CreateTemplateRequest() : + RpcServiceRequest("vs", "2018-12-12", "CreateTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +CreateTemplateRequest::~CreateTemplateRequest() +{} + +std::string CreateTemplateRequest::getHlsTs()const +{ + return hlsTs_; +} + +void CreateTemplateRequest::setHlsTs(const std::string& hlsTs) +{ + hlsTs_ = hlsTs; + setParameter("HlsTs", hlsTs); +} + +std::string CreateTemplateRequest::getOssEndpoint()const +{ + return ossEndpoint_; +} + +void CreateTemplateRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); +} + +std::string CreateTemplateRequest::getDescription()const +{ + return description_; +} + +void CreateTemplateRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string CreateTemplateRequest::getOssFilePrefix()const +{ + return ossFilePrefix_; +} + +void CreateTemplateRequest::setOssFilePrefix(const std::string& ossFilePrefix) +{ + ossFilePrefix_ = ossFilePrefix; + setParameter("OssFilePrefix", ossFilePrefix); +} + +std::string CreateTemplateRequest::getJpgOverwrite()const +{ + return jpgOverwrite_; +} + +void CreateTemplateRequest::setJpgOverwrite(const std::string& jpgOverwrite) +{ + jpgOverwrite_ = jpgOverwrite; + setParameter("JpgOverwrite", jpgOverwrite); +} + +std::string CreateTemplateRequest::getStartTime()const +{ + return startTime_; +} + +void CreateTemplateRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string CreateTemplateRequest::getType()const +{ + return type_; +} + +void CreateTemplateRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string CreateTemplateRequest::getJpgOnDemand()const +{ + return jpgOnDemand_; +} + +void CreateTemplateRequest::setJpgOnDemand(const std::string& jpgOnDemand) +{ + jpgOnDemand_ = jpgOnDemand; + setParameter("JpgOnDemand", jpgOnDemand); +} + +long CreateTemplateRequest::getRetention()const +{ + return retention_; +} + +void CreateTemplateRequest::setRetention(long retention) +{ + retention_ = retention; + setParameter("Retention", std::to_string(retention)); +} + +std::string CreateTemplateRequest::getShowLog()const +{ + return showLog_; +} + +void CreateTemplateRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string CreateTemplateRequest::getHlsM3u8()const +{ + return hlsM3u8_; +} + +void CreateTemplateRequest::setHlsM3u8(const std::string& hlsM3u8) +{ + hlsM3u8_ = hlsM3u8; + setParameter("HlsM3u8", hlsM3u8); +} + +std::string CreateTemplateRequest::getOssBucket()const +{ + return ossBucket_; +} + +void CreateTemplateRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); +} + +std::string CreateTemplateRequest::getTransConfigsJSON()const +{ + return transConfigsJSON_; +} + +void CreateTemplateRequest::setTransConfigsJSON(const std::string& transConfigsJSON) +{ + transConfigsJSON_ = transConfigsJSON; + setParameter("TransConfigsJSON", transConfigsJSON); +} + +std::string CreateTemplateRequest::getEndTime()const +{ + return endTime_; +} + +void CreateTemplateRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string CreateTemplateRequest::getTrigger()const +{ + return trigger_; +} + +void CreateTemplateRequest::setTrigger(const std::string& trigger) +{ + trigger_ = trigger; + setParameter("Trigger", trigger); +} + +long CreateTemplateRequest::getOwnerId()const +{ + return ownerId_; +} + +void CreateTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string CreateTemplateRequest::getJpgSequence()const +{ + return jpgSequence_; +} + +void CreateTemplateRequest::setJpgSequence(const std::string& jpgSequence) +{ + jpgSequence_ = jpgSequence; + setParameter("JpgSequence", jpgSequence); +} + +std::string CreateTemplateRequest::getMp4()const +{ + return mp4_; +} + +void CreateTemplateRequest::setMp4(const std::string& mp4) +{ + mp4_ = mp4; + setParameter("Mp4", mp4); +} + +std::string CreateTemplateRequest::getFlv()const +{ + return flv_; +} + +void CreateTemplateRequest::setFlv(const std::string& flv) +{ + flv_ = flv; + setParameter("Flv", flv); +} + +std::string CreateTemplateRequest::getName()const +{ + return name_; +} + +void CreateTemplateRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string CreateTemplateRequest::getCallback()const +{ + return callback_; +} + +void CreateTemplateRequest::setCallback(const std::string& callback) +{ + callback_ = callback; + setParameter("Callback", callback); +} + +long CreateTemplateRequest::getInterval()const +{ + return interval_; +} + +void CreateTemplateRequest::setInterval(long interval) +{ + interval_ = interval; + setParameter("Interval", std::to_string(interval)); +} + +std::string CreateTemplateRequest::getFileFormat()const +{ + return fileFormat_; +} + +void CreateTemplateRequest::setFileFormat(const std::string& fileFormat) +{ + fileFormat_ = fileFormat; + setParameter("FileFormat", fileFormat); +} + +std::string CreateTemplateRequest::getRegion()const +{ + return region_; +} + +void CreateTemplateRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); +} + diff --git a/vs/src/model/CreateTemplateResult.cc b/vs/src/model/CreateTemplateResult.cc new file mode 100644 index 000000000..ec5fde2e2 --- /dev/null +++ b/vs/src/model/CreateTemplateResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +CreateTemplateResult::CreateTemplateResult() : + ServiceResult() +{} + +CreateTemplateResult::CreateTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +CreateTemplateResult::~CreateTemplateResult() +{} + +void CreateTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string CreateTemplateResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/DeleteDeviceRequest.cc b/vs/src/model/DeleteDeviceRequest.cc new file mode 100644 index 000000000..1f90604cd --- /dev/null +++ b/vs/src/model/DeleteDeviceRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DeleteDeviceRequest; + +DeleteDeviceRequest::DeleteDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "DeleteDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDeviceRequest::~DeleteDeviceRequest() +{} + +std::string DeleteDeviceRequest::getId()const +{ + return id_; +} + +void DeleteDeviceRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DeleteDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void DeleteDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DeleteDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DeleteDeviceResult.cc b/vs/src/model/DeleteDeviceResult.cc new file mode 100644 index 000000000..7b46d11a3 --- /dev/null +++ b/vs/src/model/DeleteDeviceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DeleteDeviceResult::DeleteDeviceResult() : + ServiceResult() +{} + +DeleteDeviceResult::DeleteDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDeviceResult::~DeleteDeviceResult() +{} + +void DeleteDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/DeleteDirectoryRequest.cc b/vs/src/model/DeleteDirectoryRequest.cc new file mode 100644 index 000000000..11bb1e28d --- /dev/null +++ b/vs/src/model/DeleteDirectoryRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DeleteDirectoryRequest; + +DeleteDirectoryRequest::DeleteDirectoryRequest() : + RpcServiceRequest("vs", "2018-12-12", "DeleteDirectory") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteDirectoryRequest::~DeleteDirectoryRequest() +{} + +std::string DeleteDirectoryRequest::getId()const +{ + return id_; +} + +void DeleteDirectoryRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DeleteDirectoryRequest::getShowLog()const +{ + return showLog_; +} + +void DeleteDirectoryRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DeleteDirectoryRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteDirectoryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DeleteDirectoryResult.cc b/vs/src/model/DeleteDirectoryResult.cc new file mode 100644 index 000000000..fde56c30d --- /dev/null +++ b/vs/src/model/DeleteDirectoryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DeleteDirectoryResult::DeleteDirectoryResult() : + ServiceResult() +{} + +DeleteDirectoryResult::DeleteDirectoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteDirectoryResult::~DeleteDirectoryResult() +{} + +void DeleteDirectoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/DeleteGroupRequest.cc b/vs/src/model/DeleteGroupRequest.cc new file mode 100644 index 000000000..85e6be3be --- /dev/null +++ b/vs/src/model/DeleteGroupRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DeleteGroupRequest; + +DeleteGroupRequest::DeleteGroupRequest() : + RpcServiceRequest("vs", "2018-12-12", "DeleteGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteGroupRequest::~DeleteGroupRequest() +{} + +std::string DeleteGroupRequest::getId()const +{ + return id_; +} + +void DeleteGroupRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DeleteGroupRequest::getShowLog()const +{ + return showLog_; +} + +void DeleteGroupRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DeleteGroupRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DeleteGroupResult.cc b/vs/src/model/DeleteGroupResult.cc new file mode 100644 index 000000000..64f73237a --- /dev/null +++ b/vs/src/model/DeleteGroupResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DeleteGroupResult::DeleteGroupResult() : + ServiceResult() +{} + +DeleteGroupResult::DeleteGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteGroupResult::~DeleteGroupResult() +{} + +void DeleteGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/DeleteParentPlatformRequest.cc b/vs/src/model/DeleteParentPlatformRequest.cc new file mode 100644 index 000000000..0f7b7f257 --- /dev/null +++ b/vs/src/model/DeleteParentPlatformRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DeleteParentPlatformRequest; + +DeleteParentPlatformRequest::DeleteParentPlatformRequest() : + RpcServiceRequest("vs", "2018-12-12", "DeleteParentPlatform") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteParentPlatformRequest::~DeleteParentPlatformRequest() +{} + +std::string DeleteParentPlatformRequest::getId()const +{ + return id_; +} + +void DeleteParentPlatformRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DeleteParentPlatformRequest::getShowLog()const +{ + return showLog_; +} + +void DeleteParentPlatformRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DeleteParentPlatformRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteParentPlatformRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DeleteParentPlatformResult.cc b/vs/src/model/DeleteParentPlatformResult.cc new file mode 100644 index 000000000..6a528f320 --- /dev/null +++ b/vs/src/model/DeleteParentPlatformResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DeleteParentPlatformResult::DeleteParentPlatformResult() : + ServiceResult() +{} + +DeleteParentPlatformResult::DeleteParentPlatformResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteParentPlatformResult::~DeleteParentPlatformResult() +{} + +void DeleteParentPlatformResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/DeletePresetRequest.cc b/vs/src/model/DeletePresetRequest.cc new file mode 100644 index 000000000..f4d4c7812 --- /dev/null +++ b/vs/src/model/DeletePresetRequest.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 + +using AlibabaCloud::Vs::Model::DeletePresetRequest; + +DeletePresetRequest::DeletePresetRequest() : + RpcServiceRequest("vs", "2018-12-12", "DeletePreset") +{ + setMethod(HttpRequest::Method::Post); +} + +DeletePresetRequest::~DeletePresetRequest() +{} + +std::string DeletePresetRequest::getId()const +{ + return id_; +} + +void DeletePresetRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DeletePresetRequest::getPresetId()const +{ + return presetId_; +} + +void DeletePresetRequest::setPresetId(const std::string& presetId) +{ + presetId_ = presetId; + setParameter("PresetId", presetId); +} + +std::string DeletePresetRequest::getShowLog()const +{ + return showLog_; +} + +void DeletePresetRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DeletePresetRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeletePresetRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DeletePresetResult.cc b/vs/src/model/DeletePresetResult.cc new file mode 100644 index 000000000..bb843087c --- /dev/null +++ b/vs/src/model/DeletePresetResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DeletePresetResult::DeletePresetResult() : + ServiceResult() +{} + +DeletePresetResult::DeletePresetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeletePresetResult::~DeletePresetResult() +{} + +void DeletePresetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string DeletePresetResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/DeleteTemplateRequest.cc b/vs/src/model/DeleteTemplateRequest.cc new file mode 100644 index 000000000..03ecf0004 --- /dev/null +++ b/vs/src/model/DeleteTemplateRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DeleteTemplateRequest; + +DeleteTemplateRequest::DeleteTemplateRequest() : + RpcServiceRequest("vs", "2018-12-12", "DeleteTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteTemplateRequest::~DeleteTemplateRequest() +{} + +std::string DeleteTemplateRequest::getId()const +{ + return id_; +} + +void DeleteTemplateRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DeleteTemplateRequest::getShowLog()const +{ + return showLog_; +} + +void DeleteTemplateRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DeleteTemplateRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DeleteTemplateResult.cc b/vs/src/model/DeleteTemplateResult.cc new file mode 100644 index 000000000..0c4f54cac --- /dev/null +++ b/vs/src/model/DeleteTemplateResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DeleteTemplateResult::DeleteTemplateResult() : + ServiceResult() +{} + +DeleteTemplateResult::DeleteTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteTemplateResult::~DeleteTemplateResult() +{} + +void DeleteTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/DeleteVsPullStreamInfoConfigRequest.cc b/vs/src/model/DeleteVsPullStreamInfoConfigRequest.cc new file mode 100644 index 000000000..5f1fdfca3 --- /dev/null +++ b/vs/src/model/DeleteVsPullStreamInfoConfigRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DeleteVsPullStreamInfoConfigRequest; + +DeleteVsPullStreamInfoConfigRequest::DeleteVsPullStreamInfoConfigRequest() : + RpcServiceRequest("vs", "2018-12-12", "DeleteVsPullStreamInfoConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteVsPullStreamInfoConfigRequest::~DeleteVsPullStreamInfoConfigRequest() +{} + +std::string DeleteVsPullStreamInfoConfigRequest::getAppName()const +{ + return appName_; +} + +void DeleteVsPullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string DeleteVsPullStreamInfoConfigRequest::getStreamName()const +{ + return streamName_; +} + +void DeleteVsPullStreamInfoConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DeleteVsPullStreamInfoConfigRequest::getShowLog()const +{ + return showLog_; +} + +void DeleteVsPullStreamInfoConfigRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DeleteVsPullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteVsPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteVsPullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteVsPullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DeleteVsPullStreamInfoConfigResult.cc b/vs/src/model/DeleteVsPullStreamInfoConfigResult.cc new file mode 100644 index 000000000..1d8aaec69 --- /dev/null +++ b/vs/src/model/DeleteVsPullStreamInfoConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DeleteVsPullStreamInfoConfigResult::DeleteVsPullStreamInfoConfigResult() : + ServiceResult() +{} + +DeleteVsPullStreamInfoConfigResult::DeleteVsPullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVsPullStreamInfoConfigResult::~DeleteVsPullStreamInfoConfigResult() +{} + +void DeleteVsPullStreamInfoConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/DeleteVsStreamsNotifyUrlConfigRequest.cc b/vs/src/model/DeleteVsStreamsNotifyUrlConfigRequest.cc new file mode 100644 index 000000000..d7d28c145 --- /dev/null +++ b/vs/src/model/DeleteVsStreamsNotifyUrlConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DeleteVsStreamsNotifyUrlConfigRequest; + +DeleteVsStreamsNotifyUrlConfigRequest::DeleteVsStreamsNotifyUrlConfigRequest() : + RpcServiceRequest("vs", "2018-12-12", "DeleteVsStreamsNotifyUrlConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DeleteVsStreamsNotifyUrlConfigRequest::~DeleteVsStreamsNotifyUrlConfigRequest() +{} + +std::string DeleteVsStreamsNotifyUrlConfigRequest::getShowLog()const +{ + return showLog_; +} + +void DeleteVsStreamsNotifyUrlConfigRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DeleteVsStreamsNotifyUrlConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DeleteVsStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DeleteVsStreamsNotifyUrlConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DeleteVsStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DeleteVsStreamsNotifyUrlConfigResult.cc b/vs/src/model/DeleteVsStreamsNotifyUrlConfigResult.cc new file mode 100644 index 000000000..f3ae7a938 --- /dev/null +++ b/vs/src/model/DeleteVsStreamsNotifyUrlConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DeleteVsStreamsNotifyUrlConfigResult::DeleteVsStreamsNotifyUrlConfigResult() : + ServiceResult() +{} + +DeleteVsStreamsNotifyUrlConfigResult::DeleteVsStreamsNotifyUrlConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DeleteVsStreamsNotifyUrlConfigResult::~DeleteVsStreamsNotifyUrlConfigResult() +{} + +void DeleteVsStreamsNotifyUrlConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/DescribeAccountStatRequest.cc b/vs/src/model/DescribeAccountStatRequest.cc new file mode 100644 index 000000000..7761c8d46 --- /dev/null +++ b/vs/src/model/DescribeAccountStatRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeAccountStatRequest; + +DescribeAccountStatRequest::DescribeAccountStatRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeAccountStat") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeAccountStatRequest::~DescribeAccountStatRequest() +{} + +std::string DescribeAccountStatRequest::getId()const +{ + return id_; +} + +void DescribeAccountStatRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeAccountStatRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeAccountStatRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeAccountStatRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeAccountStatRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeAccountStatResult.cc b/vs/src/model/DescribeAccountStatResult.cc new file mode 100644 index 000000000..12d9e8eb9 --- /dev/null +++ b/vs/src/model/DescribeAccountStatResult.cc @@ -0,0 +1,79 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeAccountStatResult::DescribeAccountStatResult() : + ServiceResult() +{} + +DescribeAccountStatResult::DescribeAccountStatResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeAccountStatResult::~DescribeAccountStatResult() +{} + +void DescribeAccountStatResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["GroupNum"].isNull()) + groupNum_ = std::stol(value["GroupNum"].asString()); + if(!value["GroupLimit"].isNull()) + groupLimit_ = std::stol(value["GroupLimit"].asString()); + if(!value["TemplateNum"].isNull()) + templateNum_ = std::stol(value["TemplateNum"].asString()); + if(!value["TemplateLimit"].isNull()) + templateLimit_ = std::stol(value["TemplateLimit"].asString()); + +} + +long DescribeAccountStatResult::getTemplateLimit()const +{ + return templateLimit_; +} + +long DescribeAccountStatResult::getTemplateNum()const +{ + return templateNum_; +} + +std::string DescribeAccountStatResult::getId()const +{ + return id_; +} + +long DescribeAccountStatResult::getGroupLimit()const +{ + return groupLimit_; +} + +long DescribeAccountStatResult::getGroupNum()const +{ + return groupNum_; +} + diff --git a/vs/src/model/DescribeDeviceChannelsRequest.cc b/vs/src/model/DescribeDeviceChannelsRequest.cc new file mode 100644 index 000000000..e028dba9f --- /dev/null +++ b/vs/src/model/DescribeDeviceChannelsRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeDeviceChannelsRequest; + +DescribeDeviceChannelsRequest::DescribeDeviceChannelsRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeDeviceChannels") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDeviceChannelsRequest::~DescribeDeviceChannelsRequest() +{} + +long DescribeDeviceChannelsRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeDeviceChannelsRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +long DescribeDeviceChannelsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDeviceChannelsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDeviceChannelsRequest::getId()const +{ + return id_; +} + +void DescribeDeviceChannelsRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeDeviceChannelsRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeDeviceChannelsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeDeviceChannelsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDeviceChannelsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeDeviceChannelsResult.cc b/vs/src/model/DescribeDeviceChannelsResult.cc new file mode 100644 index 000000000..3795b3790 --- /dev/null +++ b/vs/src/model/DescribeDeviceChannelsResult.cc @@ -0,0 +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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeDeviceChannelsResult::DescribeDeviceChannelsResult() : + ServiceResult() +{} + +DescribeDeviceChannelsResult::DescribeDeviceChannelsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeviceChannelsResult::~DescribeDeviceChannelsResult() +{} + +void DescribeDeviceChannelsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allChannelsNode = value["Channels"]["Channel"]; + for (auto valueChannelsChannel : allChannelsNode) + { + Channel channelsObject; + if(!valueChannelsChannel["Name"].isNull()) + channelsObject.name = valueChannelsChannel["Name"].asString(); + if(!valueChannelsChannel["GbId"].isNull()) + channelsObject.gbId = valueChannelsChannel["GbId"].asString(); + if(!valueChannelsChannel["StreamId"].isNull()) + channelsObject.streamId = valueChannelsChannel["StreamId"].asString(); + if(!valueChannelsChannel["StreamStatus"].isNull()) + channelsObject.streamStatus = valueChannelsChannel["StreamStatus"].asString(); + if(!valueChannelsChannel["DeviceId"].isNull()) + channelsObject.deviceId = valueChannelsChannel["DeviceId"].asString(); + if(!valueChannelsChannel["DeviceStatus"].isNull()) + channelsObject.deviceStatus = valueChannelsChannel["DeviceStatus"].asString(); + if(!valueChannelsChannel["ChannelId"].isNull()) + channelsObject.channelId = std::stol(valueChannelsChannel["ChannelId"].asString()); + if(!valueChannelsChannel["Params"].isNull()) + channelsObject.params = valueChannelsChannel["Params"].asString(); + channels_.push_back(channelsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribeDeviceChannelsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDeviceChannelsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDeviceChannelsResult::getPageNum()const +{ + return pageNum_; +} + +long DescribeDeviceChannelsResult::getPageCount()const +{ + return pageCount_; +} + +std::vector DescribeDeviceChannelsResult::getChannels()const +{ + return channels_; +} + diff --git a/vs/src/model/DescribeDeviceGatewayRequest.cc b/vs/src/model/DescribeDeviceGatewayRequest.cc new file mode 100644 index 000000000..35b3ac4c4 --- /dev/null +++ b/vs/src/model/DescribeDeviceGatewayRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeDeviceGatewayRequest; + +DescribeDeviceGatewayRequest::DescribeDeviceGatewayRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeDeviceGateway") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDeviceGatewayRequest::~DescribeDeviceGatewayRequest() +{} + +std::string DescribeDeviceGatewayRequest::getClientIp()const +{ + return clientIp_; +} + +void DescribeDeviceGatewayRequest::setClientIp(const std::string& clientIp) +{ + clientIp_ = clientIp; + setParameter("ClientIp", clientIp); +} + +std::string DescribeDeviceGatewayRequest::getId()const +{ + return id_; +} + +void DescribeDeviceGatewayRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeDeviceGatewayRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeDeviceGatewayRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeDeviceGatewayRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDeviceGatewayRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +long DescribeDeviceGatewayRequest::getExpire()const +{ + return expire_; +} + +void DescribeDeviceGatewayRequest::setExpire(long expire) +{ + expire_ = expire; + setParameter("Expire", std::to_string(expire)); +} + diff --git a/vs/src/model/DescribeDeviceGatewayResult.cc b/vs/src/model/DescribeDeviceGatewayResult.cc new file mode 100644 index 000000000..f50f27e06 --- /dev/null +++ b/vs/src/model/DescribeDeviceGatewayResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeDeviceGatewayResult::DescribeDeviceGatewayResult() : + ServiceResult() +{} + +DescribeDeviceGatewayResult::DescribeDeviceGatewayResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeviceGatewayResult::~DescribeDeviceGatewayResult() +{} + +void DescribeDeviceGatewayResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Host"].isNull()) + host_ = value["Host"].asString(); + if(!value["Port"].isNull()) + port_ = std::stol(value["Port"].asString()); + if(!value["Protocol"].isNull()) + protocol_ = value["Protocol"].asString(); + if(!value["Token"].isNull()) + token_ = value["Token"].asString(); + +} + +long DescribeDeviceGatewayResult::getPort()const +{ + return port_; +} + +std::string DescribeDeviceGatewayResult::getHost()const +{ + return host_; +} + +std::string DescribeDeviceGatewayResult::getToken()const +{ + return token_; +} + +std::string DescribeDeviceGatewayResult::getProtocol()const +{ + return protocol_; +} + diff --git a/vs/src/model/DescribeDeviceRequest.cc b/vs/src/model/DescribeDeviceRequest.cc new file mode 100644 index 000000000..342aabd00 --- /dev/null +++ b/vs/src/model/DescribeDeviceRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeDeviceRequest; + +DescribeDeviceRequest::DescribeDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDeviceRequest::~DescribeDeviceRequest() +{} + +bool DescribeDeviceRequest::getIncludeDirectory()const +{ + return includeDirectory_; +} + +void DescribeDeviceRequest::setIncludeDirectory(bool includeDirectory) +{ + includeDirectory_ = includeDirectory; + setParameter("IncludeDirectory", includeDirectory ? "true" : "false"); +} + +bool DescribeDeviceRequest::getIncludeStats()const +{ + return includeStats_; +} + +void DescribeDeviceRequest::setIncludeStats(bool includeStats) +{ + includeStats_ = includeStats; + setParameter("IncludeStats", includeStats ? "true" : "false"); +} + +std::string DescribeDeviceRequest::getId()const +{ + return id_; +} + +void DescribeDeviceRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeDeviceResult.cc b/vs/src/model/DescribeDeviceResult.cc new file mode 100644 index 000000000..3e7d4493d --- /dev/null +++ b/vs/src/model/DescribeDeviceResult.cc @@ -0,0 +1,274 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeDeviceResult::DescribeDeviceResult() : + ServiceResult() +{} + +DescribeDeviceResult::DescribeDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeviceResult::~DescribeDeviceResult() +{} + +void DescribeDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto statsNode = value["Stats"]; + if(!statsNode["ChannelNum"].isNull()) + stats_.channelNum = std::stol(statsNode["ChannelNum"].asString()); + if(!statsNode["StreamNum"].isNull()) + stats_.streamNum = std::stol(statsNode["StreamNum"].asString()); + if(!statsNode["OnlineNum"].isNull()) + stats_.onlineNum = std::stol(statsNode["OnlineNum"].asString()); + if(!statsNode["OfflineNum"].isNull()) + stats_.offlineNum = std::stol(statsNode["OfflineNum"].asString()); + if(!statsNode["FailedNum"].isNull()) + stats_.failedNum = std::stol(statsNode["FailedNum"].asString()); + auto directoryNode = value["Directory"]; + if(!directoryNode["Id"].isNull()) + directory_.id = directoryNode["Id"].asString(); + if(!directoryNode["Name"].isNull()) + directory_.name = directoryNode["Name"].asString(); + if(!directoryNode["Description"].isNull()) + directory_.description = directoryNode["Description"].asString(); + if(!directoryNode["GroupId"].isNull()) + directory_.groupId = directoryNode["GroupId"].asString(); + if(!directoryNode["ParentId"].isNull()) + directory_.parentId = directoryNode["ParentId"].asString(); + if(!directoryNode["CreatedTime"].isNull()) + directory_.createdTime = directoryNode["CreatedTime"].asString(); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["ParentId"].isNull()) + parentId_ = value["ParentId"].asString(); + if(!value["DirectoryId"].isNull()) + directoryId_ = value["DirectoryId"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["AutoStart"].isNull()) + autoStart_ = value["AutoStart"].asString() == "true"; + if(!value["Enabled"].isNull()) + enabled_ = value["Enabled"].asString() == "true"; + if(!value["Protocol"].isNull()) + protocol_ = value["Protocol"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["GbId"].isNull()) + gbId_ = value["GbId"].asString(); + if(!value["Ip"].isNull()) + ip_ = value["Ip"].asString(); + if(!value["Port"].isNull()) + port_ = std::stol(value["Port"].asString()); + if(!value["Url"].isNull()) + url_ = value["Url"].asString(); + if(!value["Username"].isNull()) + username_ = value["Username"].asString(); + if(!value["Password"].isNull()) + password_ = value["Password"].asString(); + if(!value["Vendor"].isNull()) + vendor_ = value["Vendor"].asString(); + if(!value["Dsn"].isNull()) + dsn_ = value["Dsn"].asString(); + if(!value["Longitude"].isNull()) + longitude_ = value["Longitude"].asString(); + if(!value["Latitude"].isNull()) + latitude_ = value["Latitude"].asString(); + if(!value["AutoPos"].isNull()) + autoPos_ = value["AutoPos"].asString() == "true"; + if(!value["PosInterval"].isNull()) + posInterval_ = std::stol(value["PosInterval"].asString()); + if(!value["AlarmMethod"].isNull()) + alarmMethod_ = value["AlarmMethod"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + if(!value["RegisteredTime"].isNull()) + registeredTime_ = value["RegisteredTime"].asString(); + if(!value["ChannelSyncTime"].isNull()) + channelSyncTime_ = value["ChannelSyncTime"].asString(); + if(!value["Params"].isNull()) + params_ = value["Params"].asString(); + +} + +std::string DescribeDeviceResult::getAlarmMethod()const +{ + return alarmMethod_; +} + +std::string DescribeDeviceResult::getDescription()const +{ + return description_; +} + +std::string DescribeDeviceResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeDeviceResult::getIp()const +{ + return ip_; +} + +long DescribeDeviceResult::getPort()const +{ + return port_; +} + +std::string DescribeDeviceResult::getChannelSyncTime()const +{ + return channelSyncTime_; +} + +std::string DescribeDeviceResult::getLatitude()const +{ + return latitude_; +} + +std::string DescribeDeviceResult::getUrl()const +{ + return url_; +} + +std::string DescribeDeviceResult::getName()const +{ + return name_; +} + +std::string DescribeDeviceResult::getGbId()const +{ + return gbId_; +} + +std::string DescribeDeviceResult::getProtocol()const +{ + return protocol_; +} + +bool DescribeDeviceResult::getAutoStart()const +{ + return autoStart_; +} + +std::string DescribeDeviceResult::getDsn()const +{ + return dsn_; +} + +DescribeDeviceResult::Directory DescribeDeviceResult::getDirectory()const +{ + return directory_; +} + +std::string DescribeDeviceResult::getPassword()const +{ + return password_; +} + +std::string DescribeDeviceResult::getParentId()const +{ + return parentId_; +} + +std::string DescribeDeviceResult::getStatus()const +{ + return status_; +} + +bool DescribeDeviceResult::getEnabled()const +{ + return enabled_; +} + +std::string DescribeDeviceResult::getParams()const +{ + return params_; +} + +std::string DescribeDeviceResult::getVendor()const +{ + return vendor_; +} + +std::string DescribeDeviceResult::getLongitude()const +{ + return longitude_; +} + +std::string DescribeDeviceResult::getRegisteredTime()const +{ + return registeredTime_; +} + +std::string DescribeDeviceResult::getGroupId()const +{ + return groupId_; +} + +long DescribeDeviceResult::getPosInterval()const +{ + return posInterval_; +} + +std::string DescribeDeviceResult::getType()const +{ + return type_; +} + +std::string DescribeDeviceResult::getDirectoryId()const +{ + return directoryId_; +} + +std::string DescribeDeviceResult::getUsername()const +{ + return username_; +} + +bool DescribeDeviceResult::getAutoPos()const +{ + return autoPos_; +} + +DescribeDeviceResult::Stats DescribeDeviceResult::getStats()const +{ + return stats_; +} + +std::string DescribeDeviceResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/DescribeDeviceURLRequest.cc b/vs/src/model/DescribeDeviceURLRequest.cc new file mode 100644 index 000000000..655830138 --- /dev/null +++ b/vs/src/model/DescribeDeviceURLRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeDeviceURLRequest; + +DescribeDeviceURLRequest::DescribeDeviceURLRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeDeviceURL") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDeviceURLRequest::~DescribeDeviceURLRequest() +{} + +bool DescribeDeviceURLRequest::getAuth()const +{ + return auth_; +} + +void DescribeDeviceURLRequest::setAuth(bool auth) +{ + auth_ = auth; + setParameter("Auth", auth ? "true" : "false"); +} + +std::string DescribeDeviceURLRequest::getType()const +{ + return type_; +} + +void DescribeDeviceURLRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string DescribeDeviceURLRequest::getMode()const +{ + return mode_; +} + +void DescribeDeviceURLRequest::setMode(const std::string& mode) +{ + mode_ = mode; + setParameter("Mode", mode); +} + +std::string DescribeDeviceURLRequest::getStream()const +{ + return stream_; +} + +void DescribeDeviceURLRequest::setStream(const std::string& stream) +{ + stream_ = stream; + setParameter("Stream", stream); +} + +std::string DescribeDeviceURLRequest::getId()const +{ + return id_; +} + +void DescribeDeviceURLRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeDeviceURLRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeDeviceURLRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeDeviceURLRequest::getOutProtocol()const +{ + return outProtocol_; +} + +void DescribeDeviceURLRequest::setOutProtocol(const std::string& outProtocol) +{ + outProtocol_ = outProtocol; + setParameter("OutProtocol", outProtocol); +} + +long DescribeDeviceURLRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDeviceURLRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +long DescribeDeviceURLRequest::getExpire()const +{ + return expire_; +} + +void DescribeDeviceURLRequest::setExpire(long expire) +{ + expire_ = expire; + setParameter("Expire", std::to_string(expire)); +} + diff --git a/vs/src/model/DescribeDeviceURLResult.cc b/vs/src/model/DescribeDeviceURLResult.cc new file mode 100644 index 000000000..e8d74245d --- /dev/null +++ b/vs/src/model/DescribeDeviceURLResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeDeviceURLResult::DescribeDeviceURLResult() : + ServiceResult() +{} + +DescribeDeviceURLResult::DescribeDeviceURLResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDeviceURLResult::~DescribeDeviceURLResult() +{} + +void DescribeDeviceURLResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Url"].isNull()) + url_ = value["Url"].asString(); + if(!value["ExpireTime"].isNull()) + expireTime_ = std::stol(value["ExpireTime"].asString()); + +} + +long DescribeDeviceURLResult::getExpireTime()const +{ + return expireTime_; +} + +std::string DescribeDeviceURLResult::getUrl()const +{ + return url_; +} + diff --git a/vs/src/model/DescribeDevicesRequest.cc b/vs/src/model/DescribeDevicesRequest.cc new file mode 100644 index 000000000..dc53e3c03 --- /dev/null +++ b/vs/src/model/DescribeDevicesRequest.cc @@ -0,0 +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::Vs::Model::DescribeDevicesRequest; + +DescribeDevicesRequest::DescribeDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDevicesRequest::~DescribeDevicesRequest() +{} + +std::string DescribeDevicesRequest::getSortDirection()const +{ + return sortDirection_; +} + +void DescribeDevicesRequest::setSortDirection(const std::string& sortDirection) +{ + sortDirection_ = sortDirection; + setParameter("SortDirection", sortDirection); +} + +bool DescribeDevicesRequest::getIncludeDirectory()const +{ + return includeDirectory_; +} + +void DescribeDevicesRequest::setIncludeDirectory(bool includeDirectory) +{ + includeDirectory_ = includeDirectory; + setParameter("IncludeDirectory", includeDirectory ? "true" : "false"); +} + +std::string DescribeDevicesRequest::getGbId()const +{ + return gbId_; +} + +void DescribeDevicesRequest::setGbId(const std::string& gbId) +{ + gbId_ = gbId; + setParameter("GbId", gbId); +} + +std::string DescribeDevicesRequest::getType()const +{ + return type_; +} + +void DescribeDevicesRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long DescribeDevicesRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeDevicesRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeDevicesRequest::getParentId()const +{ + return parentId_; +} + +void DescribeDevicesRequest::setParentId(const std::string& parentId) +{ + parentId_ = parentId; + setParameter("ParentId", parentId); +} + +bool DescribeDevicesRequest::getIncludeStats()const +{ + return includeStats_; +} + +void DescribeDevicesRequest::setIncludeStats(bool includeStats) +{ + includeStats_ = includeStats; + setParameter("IncludeStats", includeStats ? "true" : "false"); +} + +std::string DescribeDevicesRequest::getVendor()const +{ + return vendor_; +} + +void DescribeDevicesRequest::setVendor(const std::string& vendor) +{ + vendor_ = vendor; + setParameter("Vendor", vendor); +} + +long DescribeDevicesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDevicesRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDevicesRequest::getDirectoryId()const +{ + return directoryId_; +} + +void DescribeDevicesRequest::setDirectoryId(const std::string& directoryId) +{ + directoryId_ = directoryId; + setParameter("DirectoryId", directoryId); +} + +std::string DescribeDevicesRequest::getId()const +{ + return id_; +} + +void DescribeDevicesRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeDevicesRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDevicesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +long DescribeDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDevicesRequest::getName()const +{ + return name_; +} + +void DescribeDevicesRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string DescribeDevicesRequest::getSortBy()const +{ + return sortBy_; +} + +void DescribeDevicesRequest::setSortBy(const std::string& sortBy) +{ + sortBy_ = sortBy; + setParameter("SortBy", sortBy); +} + +std::string DescribeDevicesRequest::getStatus()const +{ + return status_; +} + +void DescribeDevicesRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/vs/src/model/DescribeDevicesResult.cc b/vs/src/model/DescribeDevicesResult.cc new file mode 100644 index 000000000..6a88c378a --- /dev/null +++ b/vs/src/model/DescribeDevicesResult.cc @@ -0,0 +1,163 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeDevicesResult::DescribeDevicesResult() : + ServiceResult() +{} + +DescribeDevicesResult::DescribeDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDevicesResult::~DescribeDevicesResult() +{} + +void DescribeDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDevicesNode = value["Devices"]["Device"]; + for (auto valueDevicesDevice : allDevicesNode) + { + Device devicesObject; + if(!valueDevicesDevice["Id"].isNull()) + devicesObject.id = valueDevicesDevice["Id"].asString(); + if(!valueDevicesDevice["Name"].isNull()) + devicesObject.name = valueDevicesDevice["Name"].asString(); + if(!valueDevicesDevice["Description"].isNull()) + devicesObject.description = valueDevicesDevice["Description"].asString(); + if(!valueDevicesDevice["GroupId"].isNull()) + devicesObject.groupId = valueDevicesDevice["GroupId"].asString(); + if(!valueDevicesDevice["ParentId"].isNull()) + devicesObject.parentId = valueDevicesDevice["ParentId"].asString(); + if(!valueDevicesDevice["DirectoryId"].isNull()) + devicesObject.directoryId = valueDevicesDevice["DirectoryId"].asString(); + if(!valueDevicesDevice["Type"].isNull()) + devicesObject.type = valueDevicesDevice["Type"].asString(); + if(!valueDevicesDevice["AutoStart"].isNull()) + devicesObject.autoStart = valueDevicesDevice["AutoStart"].asString() == "true"; + if(!valueDevicesDevice["Enabled"].isNull()) + devicesObject.enabled = valueDevicesDevice["Enabled"].asString() == "true"; + if(!valueDevicesDevice["Protocol"].isNull()) + devicesObject.protocol = valueDevicesDevice["Protocol"].asString(); + if(!valueDevicesDevice["Status"].isNull()) + devicesObject.status = valueDevicesDevice["Status"].asString(); + if(!valueDevicesDevice["GbId"].isNull()) + devicesObject.gbId = valueDevicesDevice["GbId"].asString(); + if(!valueDevicesDevice["Ip"].isNull()) + devicesObject.ip = valueDevicesDevice["Ip"].asString(); + if(!valueDevicesDevice["Port"].isNull()) + devicesObject.port = std::stol(valueDevicesDevice["Port"].asString()); + if(!valueDevicesDevice["Url"].isNull()) + devicesObject.url = valueDevicesDevice["Url"].asString(); + if(!valueDevicesDevice["Username"].isNull()) + devicesObject.username = valueDevicesDevice["Username"].asString(); + if(!valueDevicesDevice["Password"].isNull()) + devicesObject.password = valueDevicesDevice["Password"].asString(); + if(!valueDevicesDevice["Vendor"].isNull()) + devicesObject.vendor = valueDevicesDevice["Vendor"].asString(); + if(!valueDevicesDevice["Dsn"].isNull()) + devicesObject.dsn = valueDevicesDevice["Dsn"].asString(); + if(!valueDevicesDevice["Longitude"].isNull()) + devicesObject.longitude = valueDevicesDevice["Longitude"].asString(); + if(!valueDevicesDevice["Latitude"].isNull()) + devicesObject.latitude = valueDevicesDevice["Latitude"].asString(); + if(!valueDevicesDevice["AutoPos"].isNull()) + devicesObject.autoPos = valueDevicesDevice["AutoPos"].asString() == "true"; + if(!valueDevicesDevice["AlarmMethod"].isNull()) + devicesObject.alarmMethod = valueDevicesDevice["AlarmMethod"].asString(); + if(!valueDevicesDevice["PosInterval"].isNull()) + devicesObject.posInterval = std::stol(valueDevicesDevice["PosInterval"].asString()); + if(!valueDevicesDevice["CreatedTime"].isNull()) + devicesObject.createdTime = valueDevicesDevice["CreatedTime"].asString(); + if(!valueDevicesDevice["RegisteredTime"].isNull()) + devicesObject.registeredTime = valueDevicesDevice["RegisteredTime"].asString(); + if(!valueDevicesDevice["ChannelSyncTime"].isNull()) + devicesObject.channelSyncTime = valueDevicesDevice["ChannelSyncTime"].asString(); + if(!valueDevicesDevice["Params"].isNull()) + devicesObject.params = valueDevicesDevice["Params"].asString(); + auto statsNode = value["Stats"]; + if(!statsNode["ChannelNum"].isNull()) + devicesObject.stats.channelNum = std::stol(statsNode["ChannelNum"].asString()); + if(!statsNode["StreamNum"].isNull()) + devicesObject.stats.streamNum = std::stol(statsNode["StreamNum"].asString()); + if(!statsNode["OnlineNum"].isNull()) + devicesObject.stats.onlineNum = std::stol(statsNode["OnlineNum"].asString()); + if(!statsNode["OfflineNum"].isNull()) + devicesObject.stats.offlineNum = std::stol(statsNode["OfflineNum"].asString()); + if(!statsNode["FailedNum"].isNull()) + devicesObject.stats.failedNum = std::stol(statsNode["FailedNum"].asString()); + auto directoryNode = value["Directory"]; + if(!directoryNode["Id"].isNull()) + devicesObject.directory.id = directoryNode["Id"].asString(); + if(!directoryNode["Name"].isNull()) + devicesObject.directory.name = directoryNode["Name"].asString(); + if(!directoryNode["Description"].isNull()) + devicesObject.directory.description = directoryNode["Description"].asString(); + if(!directoryNode["GroupId"].isNull()) + devicesObject.directory.groupId = directoryNode["GroupId"].asString(); + if(!directoryNode["ParentId"].isNull()) + devicesObject.directory.parentId = directoryNode["ParentId"].asString(); + if(!directoryNode["CreatedTime"].isNull()) + devicesObject.directory.createdTime = directoryNode["CreatedTime"].asString(); + devices_.push_back(devicesObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribeDevicesResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDevicesResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDevicesResult::getPageNum()const +{ + return pageNum_; +} + +long DescribeDevicesResult::getPageCount()const +{ + return pageCount_; +} + +std::vector DescribeDevicesResult::getDevices()const +{ + return devices_; +} + diff --git a/vs/src/model/DescribeDirectoriesRequest.cc b/vs/src/model/DescribeDirectoriesRequest.cc new file mode 100644 index 000000000..bb8d14d37 --- /dev/null +++ b/vs/src/model/DescribeDirectoriesRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeDirectoriesRequest; + +DescribeDirectoriesRequest::DescribeDirectoriesRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeDirectories") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDirectoriesRequest::~DescribeDirectoriesRequest() +{} + +std::string DescribeDirectoriesRequest::getSortDirection()const +{ + return sortDirection_; +} + +void DescribeDirectoriesRequest::setSortDirection(const std::string& sortDirection) +{ + sortDirection_ = sortDirection; + setParameter("SortDirection", sortDirection); +} + +long DescribeDirectoriesRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeDirectoriesRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +bool DescribeDirectoriesRequest::getNoPagination()const +{ + return noPagination_; +} + +void DescribeDirectoriesRequest::setNoPagination(bool noPagination) +{ + noPagination_ = noPagination; + setParameter("NoPagination", noPagination ? "true" : "false"); +} + +std::string DescribeDirectoriesRequest::getParentId()const +{ + return parentId_; +} + +void DescribeDirectoriesRequest::setParentId(const std::string& parentId) +{ + parentId_ = parentId; + setParameter("ParentId", parentId); +} + +long DescribeDirectoriesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeDirectoriesRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeDirectoriesRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeDirectoriesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeDirectoriesRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeDirectoriesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +long DescribeDirectoriesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDirectoriesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeDirectoriesRequest::getSortBy()const +{ + return sortBy_; +} + +void DescribeDirectoriesRequest::setSortBy(const std::string& sortBy) +{ + sortBy_ = sortBy; + setParameter("SortBy", sortBy); +} + diff --git a/vs/src/model/DescribeDirectoriesResult.cc b/vs/src/model/DescribeDirectoriesResult.cc new file mode 100644 index 000000000..75407b292 --- /dev/null +++ b/vs/src/model/DescribeDirectoriesResult.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeDirectoriesResult::DescribeDirectoriesResult() : + ServiceResult() +{} + +DescribeDirectoriesResult::DescribeDirectoriesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDirectoriesResult::~DescribeDirectoriesResult() +{} + +void DescribeDirectoriesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDirectoriesNode = value["Directories"]["Directory"]; + for (auto valueDirectoriesDirectory : allDirectoriesNode) + { + Directory directoriesObject; + if(!valueDirectoriesDirectory["Id"].isNull()) + directoriesObject.id = valueDirectoriesDirectory["Id"].asString(); + if(!valueDirectoriesDirectory["Name"].isNull()) + directoriesObject.name = valueDirectoriesDirectory["Name"].asString(); + if(!valueDirectoriesDirectory["Description"].isNull()) + directoriesObject.description = valueDirectoriesDirectory["Description"].asString(); + if(!valueDirectoriesDirectory["GroupId"].isNull()) + directoriesObject.groupId = valueDirectoriesDirectory["GroupId"].asString(); + if(!valueDirectoriesDirectory["ParentId"].isNull()) + directoriesObject.parentId = valueDirectoriesDirectory["ParentId"].asString(); + if(!valueDirectoriesDirectory["CreatedTime"].isNull()) + directoriesObject.createdTime = valueDirectoriesDirectory["CreatedTime"].asString(); + directories_.push_back(directoriesObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector DescribeDirectoriesResult::getDirectories()const +{ + return directories_; +} + +long DescribeDirectoriesResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeDirectoriesResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeDirectoriesResult::getPageNum()const +{ + return pageNum_; +} + +long DescribeDirectoriesResult::getPageCount()const +{ + return pageCount_; +} + diff --git a/vs/src/model/DescribeDirectoryRequest.cc b/vs/src/model/DescribeDirectoryRequest.cc new file mode 100644 index 000000000..4238550b2 --- /dev/null +++ b/vs/src/model/DescribeDirectoryRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeDirectoryRequest; + +DescribeDirectoryRequest::DescribeDirectoryRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeDirectory") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeDirectoryRequest::~DescribeDirectoryRequest() +{} + +std::string DescribeDirectoryRequest::getId()const +{ + return id_; +} + +void DescribeDirectoryRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeDirectoryRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeDirectoryRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeDirectoryRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeDirectoryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeDirectoryResult.cc b/vs/src/model/DescribeDirectoryResult.cc new file mode 100644 index 000000000..9d6c6a011 --- /dev/null +++ b/vs/src/model/DescribeDirectoryResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeDirectoryResult::DescribeDirectoryResult() : + ServiceResult() +{} + +DescribeDirectoryResult::DescribeDirectoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeDirectoryResult::~DescribeDirectoryResult() +{} + +void DescribeDirectoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["ParentId"].isNull()) + parentId_ = value["ParentId"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + +} + +std::string DescribeDirectoryResult::getParentId()const +{ + return parentId_; +} + +std::string DescribeDirectoryResult::getDescription()const +{ + return description_; +} + +std::string DescribeDirectoryResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeDirectoryResult::getId()const +{ + return id_; +} + +std::string DescribeDirectoryResult::getName()const +{ + return name_; +} + +std::string DescribeDirectoryResult::getGroupId()const +{ + return groupId_; +} + diff --git a/vs/src/model/DescribeGroupRequest.cc b/vs/src/model/DescribeGroupRequest.cc new file mode 100644 index 000000000..385fda5d1 --- /dev/null +++ b/vs/src/model/DescribeGroupRequest.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 + +using AlibabaCloud::Vs::Model::DescribeGroupRequest; + +DescribeGroupRequest::DescribeGroupRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeGroupRequest::~DescribeGroupRequest() +{} + +bool DescribeGroupRequest::getIncludeStats()const +{ + return includeStats_; +} + +void DescribeGroupRequest::setIncludeStats(bool includeStats) +{ + includeStats_ = includeStats; + setParameter("IncludeStats", includeStats ? "true" : "false"); +} + +std::string DescribeGroupRequest::getId()const +{ + return id_; +} + +void DescribeGroupRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeGroupRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeGroupRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeGroupRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeGroupResult.cc b/vs/src/model/DescribeGroupResult.cc new file mode 100644 index 000000000..b748b0479 --- /dev/null +++ b/vs/src/model/DescribeGroupResult.cc @@ -0,0 +1,235 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeGroupResult::DescribeGroupResult() : + ServiceResult() +{} + +DescribeGroupResult::DescribeGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGroupResult::~DescribeGroupResult() +{} + +void DescribeGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto statsNode = value["Stats"]; + if(!statsNode["DeviceNum"].isNull()) + stats_.deviceNum = std::stol(statsNode["DeviceNum"].asString()); + if(!statsNode["IedNum"].isNull()) + stats_.iedNum = std::stol(statsNode["IedNum"].asString()); + if(!statsNode["IpcNum"].isNull()) + stats_.ipcNum = std::stol(statsNode["IpcNum"].asString()); + if(!statsNode["PlatformNum"].isNull()) + stats_.platformNum = std::stol(statsNode["PlatformNum"].asString()); + auto allGbUdpPorts = value["GbUdpPorts"]["Port"]; + for (const auto &item : allGbUdpPorts) + gbUdpPorts_.push_back(item.asString()); + auto allGbTcpPorts = value["GbTcpPorts"]["Port"]; + for (const auto &item : allGbTcpPorts) + gbTcpPorts_.push_back(item.asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["AliasId"].isNull()) + aliasId_ = value["AliasId"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["App"].isNull()) + app_ = value["App"].asString(); + if(!value["Region"].isNull()) + region_ = value["Region"].asString(); + if(!value["InProtocol"].isNull()) + inProtocol_ = value["InProtocol"].asString(); + if(!value["OutProtocol"].isNull()) + outProtocol_ = value["OutProtocol"].asString(); + if(!value["Enabled"].isNull()) + enabled_ = value["Enabled"].asString() == "true"; + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + if(!value["PushDomain"].isNull()) + pushDomain_ = value["PushDomain"].asString(); + if(!value["PlayDomain"].isNull()) + playDomain_ = value["PlayDomain"].asString(); + if(!value["LazyPull"].isNull()) + lazyPull_ = value["LazyPull"].asString() == "true"; + if(!value["Callback"].isNull()) + callback_ = value["Callback"].asString(); + if(!value["CaptureInterval"].isNull()) + captureInterval_ = std::stoi(value["CaptureInterval"].asString()); + if(!value["CaptureImage"].isNull()) + captureImage_ = std::stoi(value["CaptureImage"].asString()); + if(!value["CaptureVideo"].isNull()) + captureVideo_ = std::stoi(value["CaptureVideo"].asString()); + if(!value["CaptureOssBucket"].isNull()) + captureOssBucket_ = value["CaptureOssBucket"].asString(); + if(!value["CaptureOssPath"].isNull()) + captureOssPath_ = value["CaptureOssPath"].asString(); + if(!value["GbId"].isNull()) + gbId_ = value["GbId"].asString(); + if(!value["GbIp"].isNull()) + gbIp_ = value["GbIp"].asString(); + if(!value["GbPort"].isNull()) + gbPort_ = std::stol(value["GbPort"].asString()); + +} + +std::string DescribeGroupResult::getApp()const +{ + return app_; +} + +std::string DescribeGroupResult::getInProtocol()const +{ + return inProtocol_; +} + +std::string DescribeGroupResult::getDescription()const +{ + return description_; +} + +std::string DescribeGroupResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeGroupResult::getName()const +{ + return name_; +} + +std::vector DescribeGroupResult::getGbUdpPorts()const +{ + return gbUdpPorts_; +} + +int DescribeGroupResult::getCaptureInterval()const +{ + return captureInterval_; +} + +std::string DescribeGroupResult::getGbId()const +{ + return gbId_; +} + +std::string DescribeGroupResult::getPushDomain()const +{ + return pushDomain_; +} + +std::string DescribeGroupResult::getAliasId()const +{ + return aliasId_; +} + +int DescribeGroupResult::getCaptureImage()const +{ + return captureImage_; +} + +std::string DescribeGroupResult::getStatus()const +{ + return status_; +} + +std::string DescribeGroupResult::getCaptureOssPath()const +{ + return captureOssPath_; +} + +std::string DescribeGroupResult::getGbIp()const +{ + return gbIp_; +} + +bool DescribeGroupResult::getEnabled()const +{ + return enabled_; +} + +std::string DescribeGroupResult::getOutProtocol()const +{ + return outProtocol_; +} + +bool DescribeGroupResult::getLazyPull()const +{ + return lazyPull_; +} + +long DescribeGroupResult::getGbPort()const +{ + return gbPort_; +} + +std::string DescribeGroupResult::getCallback()const +{ + return callback_; +} + +int DescribeGroupResult::getCaptureVideo()const +{ + return captureVideo_; +} + +std::string DescribeGroupResult::getPlayDomain()const +{ + return playDomain_; +} + +DescribeGroupResult::Stats DescribeGroupResult::getStats()const +{ + return stats_; +} + +std::string DescribeGroupResult::getRegion()const +{ + return region_; +} + +std::string DescribeGroupResult::getCaptureOssBucket()const +{ + return captureOssBucket_; +} + +std::vector DescribeGroupResult::getGbTcpPorts()const +{ + return gbTcpPorts_; +} + +std::string DescribeGroupResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/DescribeGroupsRequest.cc b/vs/src/model/DescribeGroupsRequest.cc new file mode 100644 index 000000000..c8064bec7 --- /dev/null +++ b/vs/src/model/DescribeGroupsRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::DescribeGroupsRequest; + +DescribeGroupsRequest::DescribeGroupsRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeGroups") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeGroupsRequest::~DescribeGroupsRequest() +{} + +std::string DescribeGroupsRequest::getSortDirection()const +{ + return sortDirection_; +} + +void DescribeGroupsRequest::setSortDirection(const std::string& sortDirection) +{ + sortDirection_ = sortDirection; + setParameter("SortDirection", sortDirection); +} + +long DescribeGroupsRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeGroupsRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +bool DescribeGroupsRequest::getIncludeStats()const +{ + return includeStats_; +} + +void DescribeGroupsRequest::setIncludeStats(bool includeStats) +{ + includeStats_ = includeStats; + setParameter("IncludeStats", includeStats ? "true" : "false"); +} + +long DescribeGroupsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeGroupsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeGroupsRequest::getId()const +{ + return id_; +} + +void DescribeGroupsRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeGroupsRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeGroupsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeGroupsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeGroupsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeGroupsRequest::getInProtocol()const +{ + return inProtocol_; +} + +void DescribeGroupsRequest::setInProtocol(const std::string& inProtocol) +{ + inProtocol_ = inProtocol; + setParameter("InProtocol", inProtocol); +} + +std::string DescribeGroupsRequest::getName()const +{ + return name_; +} + +void DescribeGroupsRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string DescribeGroupsRequest::getSortBy()const +{ + return sortBy_; +} + +void DescribeGroupsRequest::setSortBy(const std::string& sortBy) +{ + sortBy_ = sortBy; + setParameter("SortBy", sortBy); +} + +std::string DescribeGroupsRequest::getRegion()const +{ + return region_; +} + +void DescribeGroupsRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); +} + +std::string DescribeGroupsRequest::getStatus()const +{ + return status_; +} + +void DescribeGroupsRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/vs/src/model/DescribeGroupsResult.cc b/vs/src/model/DescribeGroupsResult.cc new file mode 100644 index 000000000..341e8d0d7 --- /dev/null +++ b/vs/src/model/DescribeGroupsResult.cc @@ -0,0 +1,144 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeGroupsResult::DescribeGroupsResult() : + ServiceResult() +{} + +DescribeGroupsResult::DescribeGroupsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeGroupsResult::~DescribeGroupsResult() +{} + +void DescribeGroupsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allGroupsNode = value["Groups"]["Group"]; + for (auto valueGroupsGroup : allGroupsNode) + { + Group groupsObject; + if(!valueGroupsGroup["Id"].isNull()) + groupsObject.id = valueGroupsGroup["Id"].asString(); + if(!valueGroupsGroup["AliasId"].isNull()) + groupsObject.aliasId = valueGroupsGroup["AliasId"].asString(); + if(!valueGroupsGroup["Name"].isNull()) + groupsObject.name = valueGroupsGroup["Name"].asString(); + if(!valueGroupsGroup["Description"].isNull()) + groupsObject.description = valueGroupsGroup["Description"].asString(); + if(!valueGroupsGroup["App"].isNull()) + groupsObject.app = valueGroupsGroup["App"].asString(); + if(!valueGroupsGroup["Region"].isNull()) + groupsObject.region = valueGroupsGroup["Region"].asString(); + if(!valueGroupsGroup["InProtocol"].isNull()) + groupsObject.inProtocol = valueGroupsGroup["InProtocol"].asString(); + if(!valueGroupsGroup["OutProtocol"].isNull()) + groupsObject.outProtocol = valueGroupsGroup["OutProtocol"].asString(); + if(!valueGroupsGroup["Enabled"].isNull()) + groupsObject.enabled = valueGroupsGroup["Enabled"].asString() == "true"; + if(!valueGroupsGroup["Status"].isNull()) + groupsObject.status = valueGroupsGroup["Status"].asString(); + if(!valueGroupsGroup["CreatedTime"].isNull()) + groupsObject.createdTime = valueGroupsGroup["CreatedTime"].asString(); + if(!valueGroupsGroup["PushDomain"].isNull()) + groupsObject.pushDomain = valueGroupsGroup["PushDomain"].asString(); + if(!valueGroupsGroup["PlayDomain"].isNull()) + groupsObject.playDomain = valueGroupsGroup["PlayDomain"].asString(); + if(!valueGroupsGroup["LazyPull"].isNull()) + groupsObject.lazyPull = valueGroupsGroup["LazyPull"].asString() == "true"; + if(!valueGroupsGroup["Callback"].isNull()) + groupsObject.callback = valueGroupsGroup["Callback"].asString(); + if(!valueGroupsGroup["CaptureInterval"].isNull()) + groupsObject.captureInterval = std::stoi(valueGroupsGroup["CaptureInterval"].asString()); + if(!valueGroupsGroup["CaptureImage"].isNull()) + groupsObject.captureImage = std::stoi(valueGroupsGroup["CaptureImage"].asString()); + if(!valueGroupsGroup["CaptureVideo"].isNull()) + groupsObject.captureVideo = std::stoi(valueGroupsGroup["CaptureVideo"].asString()); + if(!valueGroupsGroup["CaptureOssBucket"].isNull()) + groupsObject.captureOssBucket = valueGroupsGroup["CaptureOssBucket"].asString(); + if(!valueGroupsGroup["CaptureOssPath"].isNull()) + groupsObject.captureOssPath = valueGroupsGroup["CaptureOssPath"].asString(); + if(!valueGroupsGroup["GbId"].isNull()) + groupsObject.gbId = valueGroupsGroup["GbId"].asString(); + if(!valueGroupsGroup["GbIp"].isNull()) + groupsObject.gbIp = valueGroupsGroup["GbIp"].asString(); + if(!valueGroupsGroup["GbPort"].isNull()) + groupsObject.gbPort = std::stol(valueGroupsGroup["GbPort"].asString()); + auto statsNode = value["Stats"]; + if(!statsNode["DeviceNum"].isNull()) + groupsObject.stats.deviceNum = std::stol(statsNode["DeviceNum"].asString()); + if(!statsNode["IedNum"].isNull()) + groupsObject.stats.iedNum = std::stol(statsNode["IedNum"].asString()); + if(!statsNode["IpcNum"].isNull()) + groupsObject.stats.ipcNum = std::stol(statsNode["IpcNum"].asString()); + if(!statsNode["PlatformNum"].isNull()) + groupsObject.stats.platformNum = std::stol(statsNode["PlatformNum"].asString()); + auto allGbUdpPorts = value["GbUdpPorts"]["Port"]; + for (auto value : allGbUdpPorts) + groupsObject.gbUdpPorts.push_back(value.asString()); + auto allGbTcpPorts = value["GbTcpPorts"]["Port"]; + for (auto value : allGbTcpPorts) + groupsObject.gbTcpPorts.push_back(value.asString()); + groups_.push_back(groupsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribeGroupsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeGroupsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeGroupsResult::getPageNum()const +{ + return pageNum_; +} + +long DescribeGroupsResult::getPageCount()const +{ + return pageCount_; +} + +std::vector DescribeGroupsResult::getGroups()const +{ + return groups_; +} + diff --git a/vs/src/model/DescribeParentPlatformDevicesRequest.cc b/vs/src/model/DescribeParentPlatformDevicesRequest.cc new file mode 100644 index 000000000..f23757ded --- /dev/null +++ b/vs/src/model/DescribeParentPlatformDevicesRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeParentPlatformDevicesRequest; + +DescribeParentPlatformDevicesRequest::DescribeParentPlatformDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeParentPlatformDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeParentPlatformDevicesRequest::~DescribeParentPlatformDevicesRequest() +{} + +std::string DescribeParentPlatformDevicesRequest::getSortDirection()const +{ + return sortDirection_; +} + +void DescribeParentPlatformDevicesRequest::setSortDirection(const std::string& sortDirection) +{ + sortDirection_ = sortDirection; + setParameter("SortDirection", sortDirection); +} + +long DescribeParentPlatformDevicesRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeParentPlatformDevicesRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +long DescribeParentPlatformDevicesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeParentPlatformDevicesRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeParentPlatformDevicesRequest::getId()const +{ + return id_; +} + +void DescribeParentPlatformDevicesRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeParentPlatformDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeParentPlatformDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeParentPlatformDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeParentPlatformDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeParentPlatformDevicesRequest::getSortBy()const +{ + return sortBy_; +} + +void DescribeParentPlatformDevicesRequest::setSortBy(const std::string& sortBy) +{ + sortBy_ = sortBy; + setParameter("SortBy", sortBy); +} + diff --git a/vs/src/model/DescribeParentPlatformDevicesResult.cc b/vs/src/model/DescribeParentPlatformDevicesResult.cc new file mode 100644 index 000000000..17e1cdf12 --- /dev/null +++ b/vs/src/model/DescribeParentPlatformDevicesResult.cc @@ -0,0 +1,93 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeParentPlatformDevicesResult::DescribeParentPlatformDevicesResult() : + ServiceResult() +{} + +DescribeParentPlatformDevicesResult::DescribeParentPlatformDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeParentPlatformDevicesResult::~DescribeParentPlatformDevicesResult() +{} + +void DescribeParentPlatformDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDevicesNode = value["Devices"]["Device"]; + for (auto valueDevicesDevice : allDevicesNode) + { + Device devicesObject; + if(!valueDevicesDevice["Id"].isNull()) + devicesObject.id = valueDevicesDevice["Id"].asString(); + if(!valueDevicesDevice["Name"].isNull()) + devicesObject.name = valueDevicesDevice["Name"].asString(); + if(!valueDevicesDevice["GbId"].isNull()) + devicesObject.gbId = valueDevicesDevice["GbId"].asString(); + if(!valueDevicesDevice["GroupId"].isNull()) + devicesObject.groupId = valueDevicesDevice["GroupId"].asString(); + if(!valueDevicesDevice["ParentId"].isNull()) + devicesObject.parentId = valueDevicesDevice["ParentId"].asString(); + devices_.push_back(devicesObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribeParentPlatformDevicesResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeParentPlatformDevicesResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeParentPlatformDevicesResult::getPageNum()const +{ + return pageNum_; +} + +long DescribeParentPlatformDevicesResult::getPageCount()const +{ + return pageCount_; +} + +std::vector DescribeParentPlatformDevicesResult::getDevices()const +{ + return devices_; +} + diff --git a/vs/src/model/DescribeParentPlatformRequest.cc b/vs/src/model/DescribeParentPlatformRequest.cc new file mode 100644 index 000000000..991924ac7 --- /dev/null +++ b/vs/src/model/DescribeParentPlatformRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeParentPlatformRequest; + +DescribeParentPlatformRequest::DescribeParentPlatformRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeParentPlatform") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeParentPlatformRequest::~DescribeParentPlatformRequest() +{} + +std::string DescribeParentPlatformRequest::getId()const +{ + return id_; +} + +void DescribeParentPlatformRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeParentPlatformRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeParentPlatformRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeParentPlatformRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeParentPlatformRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeParentPlatformResult.cc b/vs/src/model/DescribeParentPlatformResult.cc new file mode 100644 index 000000000..39dbcafc2 --- /dev/null +++ b/vs/src/model/DescribeParentPlatformResult.cc @@ -0,0 +1,156 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeParentPlatformResult::DescribeParentPlatformResult() : + ServiceResult() +{} + +DescribeParentPlatformResult::DescribeParentPlatformResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeParentPlatformResult::~DescribeParentPlatformResult() +{} + +void DescribeParentPlatformResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["Protocol"].isNull()) + protocol_ = value["Protocol"].asString(); + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["GbId"].isNull()) + gbId_ = value["GbId"].asString(); + if(!value["Ip"].isNull()) + ip_ = value["Ip"].asString(); + if(!value["Port"].isNull()) + port_ = std::stol(value["Port"].asString()); + if(!value["ClientGbId"].isNull()) + clientGbId_ = value["ClientGbId"].asString(); + if(!value["ClientAuth"].isNull()) + clientAuth_ = value["ClientAuth"].asString() == "true"; + if(!value["ClientUsername"].isNull()) + clientUsername_ = value["ClientUsername"].asString(); + if(!value["ClientPassword"].isNull()) + clientPassword_ = value["ClientPassword"].asString(); + if(!value["ClientIp"].isNull()) + clientIp_ = value["ClientIp"].asString(); + if(!value["ClientPort"].isNull()) + clientPort_ = std::stol(value["ClientPort"].asString()); + if(!value["AutoStart"].isNull()) + autoStart_ = value["AutoStart"].asString() == "true"; + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + +} + +std::string DescribeParentPlatformResult::getStatus()const +{ + return status_; +} + +std::string DescribeParentPlatformResult::getClientGbId()const +{ + return clientGbId_; +} + +std::string DescribeParentPlatformResult::getDescription()const +{ + return description_; +} + +std::string DescribeParentPlatformResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeParentPlatformResult::getIp()const +{ + return ip_; +} + +long DescribeParentPlatformResult::getPort()const +{ + return port_; +} + +long DescribeParentPlatformResult::getClientPort()const +{ + return clientPort_; +} + +bool DescribeParentPlatformResult::getClientAuth()const +{ + return clientAuth_; +} + +std::string DescribeParentPlatformResult::getClientIp()const +{ + return clientIp_; +} + +std::string DescribeParentPlatformResult::getName()const +{ + return name_; +} + +std::string DescribeParentPlatformResult::getGbId()const +{ + return gbId_; +} + +std::string DescribeParentPlatformResult::getClientPassword()const +{ + return clientPassword_; +} + +std::string DescribeParentPlatformResult::getId()const +{ + return id_; +} + +std::string DescribeParentPlatformResult::getProtocol()const +{ + return protocol_; +} + +bool DescribeParentPlatformResult::getAutoStart()const +{ + return autoStart_; +} + +std::string DescribeParentPlatformResult::getClientUsername()const +{ + return clientUsername_; +} + diff --git a/vs/src/model/DescribeParentPlatformsRequest.cc b/vs/src/model/DescribeParentPlatformsRequest.cc new file mode 100644 index 000000000..517a00981 --- /dev/null +++ b/vs/src/model/DescribeParentPlatformsRequest.cc @@ -0,0 +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::Vs::Model::DescribeParentPlatformsRequest; + +DescribeParentPlatformsRequest::DescribeParentPlatformsRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeParentPlatforms") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeParentPlatformsRequest::~DescribeParentPlatformsRequest() +{} + +std::string DescribeParentPlatformsRequest::getSortDirection()const +{ + return sortDirection_; +} + +void DescribeParentPlatformsRequest::setSortDirection(const std::string& sortDirection) +{ + sortDirection_ = sortDirection; + setParameter("SortDirection", sortDirection); +} + +std::string DescribeParentPlatformsRequest::getGbId()const +{ + return gbId_; +} + +void DescribeParentPlatformsRequest::setGbId(const std::string& gbId) +{ + gbId_ = gbId; + setParameter("GbId", gbId); +} + +long DescribeParentPlatformsRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeParentPlatformsRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +long DescribeParentPlatformsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeParentPlatformsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeParentPlatformsRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeParentPlatformsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeParentPlatformsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeParentPlatformsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeParentPlatformsRequest::getSortBy()const +{ + return sortBy_; +} + +void DescribeParentPlatformsRequest::setSortBy(const std::string& sortBy) +{ + sortBy_ = sortBy; + setParameter("SortBy", sortBy); +} + +std::string DescribeParentPlatformsRequest::getStatus()const +{ + return status_; +} + +void DescribeParentPlatformsRequest::setStatus(const std::string& status) +{ + status_ = status; + setParameter("Status", status); +} + diff --git a/vs/src/model/DescribeParentPlatformsResult.cc b/vs/src/model/DescribeParentPlatformsResult.cc new file mode 100644 index 000000000..ca3b7141c --- /dev/null +++ b/vs/src/model/DescribeParentPlatformsResult.cc @@ -0,0 +1,115 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeParentPlatformsResult::DescribeParentPlatformsResult() : + ServiceResult() +{} + +DescribeParentPlatformsResult::DescribeParentPlatformsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeParentPlatformsResult::~DescribeParentPlatformsResult() +{} + +void DescribeParentPlatformsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPlatformsNode = value["Platforms"]["Platform"]; + for (auto valuePlatformsPlatform : allPlatformsNode) + { + Platform platformsObject; + if(!valuePlatformsPlatform["Id"].isNull()) + platformsObject.id = valuePlatformsPlatform["Id"].asString(); + if(!valuePlatformsPlatform["Name"].isNull()) + platformsObject.name = valuePlatformsPlatform["Name"].asString(); + if(!valuePlatformsPlatform["Description"].isNull()) + platformsObject.description = valuePlatformsPlatform["Description"].asString(); + if(!valuePlatformsPlatform["Protocol"].isNull()) + platformsObject.protocol = valuePlatformsPlatform["Protocol"].asString(); + if(!valuePlatformsPlatform["Status"].isNull()) + platformsObject.status = valuePlatformsPlatform["Status"].asString(); + if(!valuePlatformsPlatform["GbId"].isNull()) + platformsObject.gbId = valuePlatformsPlatform["GbId"].asString(); + if(!valuePlatformsPlatform["Ip"].isNull()) + platformsObject.ip = valuePlatformsPlatform["Ip"].asString(); + if(!valuePlatformsPlatform["Port"].isNull()) + platformsObject.port = std::stol(valuePlatformsPlatform["Port"].asString()); + if(!valuePlatformsPlatform["ClientGbId"].isNull()) + platformsObject.clientGbId = valuePlatformsPlatform["ClientGbId"].asString(); + if(!valuePlatformsPlatform["ClientAuth"].isNull()) + platformsObject.clientAuth = valuePlatformsPlatform["ClientAuth"].asString() == "true"; + if(!valuePlatformsPlatform["ClientUsername"].isNull()) + platformsObject.clientUsername = valuePlatformsPlatform["ClientUsername"].asString(); + if(!valuePlatformsPlatform["ClientPassword"].isNull()) + platformsObject.clientPassword = valuePlatformsPlatform["ClientPassword"].asString(); + if(!valuePlatformsPlatform["ClientIp"].isNull()) + platformsObject.clientIp = valuePlatformsPlatform["ClientIp"].asString(); + if(!valuePlatformsPlatform["ClientPort"].isNull()) + platformsObject.clientPort = std::stol(valuePlatformsPlatform["ClientPort"].asString()); + if(!valuePlatformsPlatform["AutoStart"].isNull()) + platformsObject.autoStart = valuePlatformsPlatform["AutoStart"].asString() == "true"; + if(!valuePlatformsPlatform["CreatedTime"].isNull()) + platformsObject.createdTime = valuePlatformsPlatform["CreatedTime"].asString(); + platforms_.push_back(platformsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +std::vector DescribeParentPlatformsResult::getPlatforms()const +{ + return platforms_; +} + +long DescribeParentPlatformsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeParentPlatformsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeParentPlatformsResult::getPageNum()const +{ + return pageNum_; +} + +long DescribeParentPlatformsResult::getPageCount()const +{ + return pageCount_; +} + diff --git a/vs/src/model/DescribePresetsRequest.cc b/vs/src/model/DescribePresetsRequest.cc new file mode 100644 index 000000000..6429cc19f --- /dev/null +++ b/vs/src/model/DescribePresetsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribePresetsRequest; + +DescribePresetsRequest::DescribePresetsRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribePresets") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribePresetsRequest::~DescribePresetsRequest() +{} + +std::string DescribePresetsRequest::getId()const +{ + return id_; +} + +void DescribePresetsRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribePresetsRequest::getShowLog()const +{ + return showLog_; +} + +void DescribePresetsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribePresetsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribePresetsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribePresetsResult.cc b/vs/src/model/DescribePresetsResult.cc new file mode 100644 index 000000000..500d37879 --- /dev/null +++ b/vs/src/model/DescribePresetsResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribePresetsResult::DescribePresetsResult() : + ServiceResult() +{} + +DescribePresetsResult::DescribePresetsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePresetsResult::~DescribePresetsResult() +{} + +void DescribePresetsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPresetsNode = value["Presets"]["Preset"]; + for (auto valuePresetsPreset : allPresetsNode) + { + Preset presetsObject; + if(!valuePresetsPreset["Id"].isNull()) + presetsObject.id = valuePresetsPreset["Id"].asString(); + if(!valuePresetsPreset["Name"].isNull()) + presetsObject.name = valuePresetsPreset["Name"].asString(); + presets_.push_back(presetsObject); + } + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::vector DescribePresetsResult::getPresets()const +{ + return presets_; +} + +std::string DescribePresetsResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/DescribePurchasedDeviceRequest.cc b/vs/src/model/DescribePurchasedDeviceRequest.cc new file mode 100644 index 000000000..5bb51db09 --- /dev/null +++ b/vs/src/model/DescribePurchasedDeviceRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribePurchasedDeviceRequest; + +DescribePurchasedDeviceRequest::DescribePurchasedDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribePurchasedDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribePurchasedDeviceRequest::~DescribePurchasedDeviceRequest() +{} + +std::string DescribePurchasedDeviceRequest::getId()const +{ + return id_; +} + +void DescribePurchasedDeviceRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribePurchasedDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void DescribePurchasedDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribePurchasedDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribePurchasedDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribePurchasedDeviceResult.cc b/vs/src/model/DescribePurchasedDeviceResult.cc new file mode 100644 index 000000000..dfe2bfc65 --- /dev/null +++ b/vs/src/model/DescribePurchasedDeviceResult.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribePurchasedDeviceResult::DescribePurchasedDeviceResult() : + ServiceResult() +{} + +DescribePurchasedDeviceResult::DescribePurchasedDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePurchasedDeviceResult::~DescribePurchasedDeviceResult() +{} + +void DescribePurchasedDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["SubType"].isNull()) + subType_ = value["SubType"].asString(); + if(!value["RegisterCode"].isNull()) + registerCode_ = value["RegisterCode"].asString(); + if(!value["Vendor"].isNull()) + vendor_ = value["Vendor"].asString(); + if(!value["OrderId"].isNull()) + orderId_ = value["OrderId"].asString(); + if(!value["Region"].isNull()) + region_ = value["Region"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["GroupName"].isNull()) + groupName_ = value["GroupName"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + +} + +std::string DescribePurchasedDeviceResult::getGroupName()const +{ + return groupName_; +} + +std::string DescribePurchasedDeviceResult::getType()const +{ + return type_; +} + +std::string DescribePurchasedDeviceResult::getDescription()const +{ + return description_; +} + +std::string DescribePurchasedDeviceResult::getSubType()const +{ + return subType_; +} + +std::string DescribePurchasedDeviceResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribePurchasedDeviceResult::getRegisterCode()const +{ + return registerCode_; +} + +std::string DescribePurchasedDeviceResult::getRegion()const +{ + return region_; +} + +std::string DescribePurchasedDeviceResult::getId()const +{ + return id_; +} + +std::string DescribePurchasedDeviceResult::getVendor()const +{ + return vendor_; +} + +std::string DescribePurchasedDeviceResult::getOrderId()const +{ + return orderId_; +} + +std::string DescribePurchasedDeviceResult::getName()const +{ + return name_; +} + +std::string DescribePurchasedDeviceResult::getGroupId()const +{ + return groupId_; +} + diff --git a/vs/src/model/DescribePurchasedDevicesRequest.cc b/vs/src/model/DescribePurchasedDevicesRequest.cc new file mode 100644 index 000000000..7bb36097c --- /dev/null +++ b/vs/src/model/DescribePurchasedDevicesRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::DescribePurchasedDevicesRequest; + +DescribePurchasedDevicesRequest::DescribePurchasedDevicesRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribePurchasedDevices") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribePurchasedDevicesRequest::~DescribePurchasedDevicesRequest() +{} + +std::string DescribePurchasedDevicesRequest::getSortDirection()const +{ + return sortDirection_; +} + +void DescribePurchasedDevicesRequest::setSortDirection(const std::string& sortDirection) +{ + sortDirection_ = sortDirection; + setParameter("SortDirection", sortDirection); +} + +std::string DescribePurchasedDevicesRequest::getType()const +{ + return type_; +} + +void DescribePurchasedDevicesRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long DescribePurchasedDevicesRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribePurchasedDevicesRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribePurchasedDevicesRequest::getSubType()const +{ + return subType_; +} + +void DescribePurchasedDevicesRequest::setSubType(const std::string& subType) +{ + subType_ = subType; + setParameter("SubType", subType); +} + +std::string DescribePurchasedDevicesRequest::getVendor()const +{ + return vendor_; +} + +void DescribePurchasedDevicesRequest::setVendor(const std::string& vendor) +{ + vendor_ = vendor; + setParameter("Vendor", vendor); +} + +long DescribePurchasedDevicesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribePurchasedDevicesRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribePurchasedDevicesRequest::getId()const +{ + return id_; +} + +void DescribePurchasedDevicesRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribePurchasedDevicesRequest::getShowLog()const +{ + return showLog_; +} + +void DescribePurchasedDevicesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribePurchasedDevicesRequest::getGroupId()const +{ + return groupId_; +} + +void DescribePurchasedDevicesRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +long DescribePurchasedDevicesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribePurchasedDevicesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribePurchasedDevicesRequest::getName()const +{ + return name_; +} + +void DescribePurchasedDevicesRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string DescribePurchasedDevicesRequest::getSortBy()const +{ + return sortBy_; +} + +void DescribePurchasedDevicesRequest::setSortBy(const std::string& sortBy) +{ + sortBy_ = sortBy; + setParameter("SortBy", sortBy); +} + diff --git a/vs/src/model/DescribePurchasedDevicesResult.cc b/vs/src/model/DescribePurchasedDevicesResult.cc new file mode 100644 index 000000000..201c006c7 --- /dev/null +++ b/vs/src/model/DescribePurchasedDevicesResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribePurchasedDevicesResult::DescribePurchasedDevicesResult() : + ServiceResult() +{} + +DescribePurchasedDevicesResult::DescribePurchasedDevicesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribePurchasedDevicesResult::~DescribePurchasedDevicesResult() +{} + +void DescribePurchasedDevicesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDevicesNode = value["Devices"]["Device"]; + for (auto valueDevicesDevice : allDevicesNode) + { + Device devicesObject; + if(!valueDevicesDevice["Id"].isNull()) + devicesObject.id = valueDevicesDevice["Id"].asString(); + if(!valueDevicesDevice["Name"].isNull()) + devicesObject.name = valueDevicesDevice["Name"].asString(); + if(!valueDevicesDevice["Description"].isNull()) + devicesObject.description = valueDevicesDevice["Description"].asString(); + if(!valueDevicesDevice["Type"].isNull()) + devicesObject.type = valueDevicesDevice["Type"].asString(); + if(!valueDevicesDevice["SubType"].isNull()) + devicesObject.subType = valueDevicesDevice["SubType"].asString(); + if(!valueDevicesDevice["RegisterCode"].isNull()) + devicesObject.registerCode = valueDevicesDevice["RegisterCode"].asString(); + if(!valueDevicesDevice["Vendor"].isNull()) + devicesObject.vendor = valueDevicesDevice["Vendor"].asString(); + if(!valueDevicesDevice["OrderId"].isNull()) + devicesObject.orderId = valueDevicesDevice["OrderId"].asString(); + if(!valueDevicesDevice["Region"].isNull()) + devicesObject.region = valueDevicesDevice["Region"].asString(); + if(!valueDevicesDevice["GroupId"].isNull()) + devicesObject.groupId = valueDevicesDevice["GroupId"].asString(); + if(!valueDevicesDevice["GroupName"].isNull()) + devicesObject.groupName = valueDevicesDevice["GroupName"].asString(); + if(!valueDevicesDevice["CreatedTime"].isNull()) + devicesObject.createdTime = valueDevicesDevice["CreatedTime"].asString(); + devices_.push_back(devicesObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribePurchasedDevicesResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribePurchasedDevicesResult::getPageSize()const +{ + return pageSize_; +} + +long DescribePurchasedDevicesResult::getPageNum()const +{ + return pageNum_; +} + +long DescribePurchasedDevicesResult::getPageCount()const +{ + return pageCount_; +} + +std::vector DescribePurchasedDevicesResult::getDevices()const +{ + return devices_; +} + diff --git a/vs/src/model/DescribeRecordsRequest.cc b/vs/src/model/DescribeRecordsRequest.cc new file mode 100644 index 000000000..d2aafb174 --- /dev/null +++ b/vs/src/model/DescribeRecordsRequest.cc @@ -0,0 +1,150 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::DescribeRecordsRequest; + +DescribeRecordsRequest::DescribeRecordsRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeRecords") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeRecordsRequest::~DescribeRecordsRequest() +{} + +std::string DescribeRecordsRequest::getSortDirection()const +{ + return sortDirection_; +} + +void DescribeRecordsRequest::setSortDirection(const std::string& sortDirection) +{ + sortDirection_ = sortDirection; + setParameter("SortDirection", sortDirection); +} + +std::string DescribeRecordsRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeRecordsRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeRecordsRequest::getType()const +{ + return type_; +} + +void DescribeRecordsRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long DescribeRecordsRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeRecordsRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +bool DescribeRecordsRequest::getPrivateBucket()const +{ + return privateBucket_; +} + +void DescribeRecordsRequest::setPrivateBucket(bool privateBucket) +{ + privateBucket_ = privateBucket; + setParameter("PrivateBucket", privateBucket ? "true" : "false"); +} + +long DescribeRecordsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeRecordsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeRecordsRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeRecordsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeRecordsRequest::getStreamId()const +{ + return streamId_; +} + +void DescribeRecordsRequest::setStreamId(const std::string& streamId) +{ + streamId_ = streamId; + setParameter("StreamId", streamId); +} + +std::string DescribeRecordsRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeRecordsRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeRecordsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeRecordsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeRecordsRequest::getSortBy()const +{ + return sortBy_; +} + +void DescribeRecordsRequest::setSortBy(const std::string& sortBy) +{ + sortBy_ = sortBy; + setParameter("SortBy", sortBy); +} + diff --git a/vs/src/model/DescribeRecordsResult.cc b/vs/src/model/DescribeRecordsResult.cc new file mode 100644 index 000000000..908277504 --- /dev/null +++ b/vs/src/model/DescribeRecordsResult.cc @@ -0,0 +1,116 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeRecordsResult::DescribeRecordsResult() : + ServiceResult() +{} + +DescribeRecordsResult::DescribeRecordsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeRecordsResult::~DescribeRecordsResult() +{} + +void DescribeRecordsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRecordsNode = value["Records"]["Record"]; + for (auto valueRecordsRecord : allRecordsNode) + { + Record recordsObject; + if(!valueRecordsRecord["Id"].isNull()) + recordsObject.id = valueRecordsRecord["Id"].asString(); + if(!valueRecordsRecord["StreamId"].isNull()) + recordsObject.streamId = valueRecordsRecord["StreamId"].asString(); + if(!valueRecordsRecord["TemplateId"].isNull()) + recordsObject.templateId = valueRecordsRecord["TemplateId"].asString(); + if(!valueRecordsRecord["Type"].isNull()) + recordsObject.type = valueRecordsRecord["Type"].asString(); + if(!valueRecordsRecord["Url"].isNull()) + recordsObject.url = valueRecordsRecord["Url"].asString(); + if(!valueRecordsRecord["FileFormat"].isNull()) + recordsObject.fileFormat = valueRecordsRecord["FileFormat"].asString(); + if(!valueRecordsRecord["OssBucket"].isNull()) + recordsObject.ossBucket = valueRecordsRecord["OssBucket"].asString(); + if(!valueRecordsRecord["OssObject"].isNull()) + recordsObject.ossObject = valueRecordsRecord["OssObject"].asString(); + if(!valueRecordsRecord["OssEndpoint"].isNull()) + recordsObject.ossEndpoint = valueRecordsRecord["OssEndpoint"].asString(); + if(!valueRecordsRecord["StartTime"].isNull()) + recordsObject.startTime = valueRecordsRecord["StartTime"].asString(); + if(!valueRecordsRecord["EndTime"].isNull()) + recordsObject.endTime = valueRecordsRecord["EndTime"].asString(); + if(!valueRecordsRecord["Height"].isNull()) + recordsObject.height = std::stol(valueRecordsRecord["Height"].asString()); + if(!valueRecordsRecord["Width"].isNull()) + recordsObject.width = std::stol(valueRecordsRecord["Width"].asString()); + records_.push_back(recordsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + if(!value["NextStartTime"].isNull()) + nextStartTime_ = value["NextStartTime"].asString(); + +} + +long DescribeRecordsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeRecordsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeRecordsResult::getPageNum()const +{ + return pageNum_; +} + +long DescribeRecordsResult::getPageCount()const +{ + return pageCount_; +} + +std::string DescribeRecordsResult::getNextStartTime()const +{ + return nextStartTime_; +} + +std::vector DescribeRecordsResult::getRecords()const +{ + return records_; +} + diff --git a/vs/src/model/DescribeStreamRequest.cc b/vs/src/model/DescribeStreamRequest.cc new file mode 100644 index 000000000..31817558a --- /dev/null +++ b/vs/src/model/DescribeStreamRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeStreamRequest; + +DescribeStreamRequest::DescribeStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeStream") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeStreamRequest::~DescribeStreamRequest() +{} + +std::string DescribeStreamRequest::getId()const +{ + return id_; +} + +void DescribeStreamRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeStreamRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeStreamResult.cc b/vs/src/model/DescribeStreamResult.cc new file mode 100644 index 000000000..d1e1ab406 --- /dev/null +++ b/vs/src/model/DescribeStreamResult.cc @@ -0,0 +1,135 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeStreamResult::DescribeStreamResult() : + ServiceResult() +{} + +DescribeStreamResult::DescribeStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStreamResult::~DescribeStreamResult() +{} + +void DescribeStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["PushDomain"].isNull()) + pushDomain_ = value["PushDomain"].asString(); + if(!value["PlayDomain"].isNull()) + playDomain_ = value["PlayDomain"].asString(); + if(!value["App"].isNull()) + app_ = value["App"].asString(); + if(!value["Protocol"].isNull()) + protocol_ = value["Protocol"].asString(); + if(!value["GroupId"].isNull()) + groupId_ = value["GroupId"].asString(); + if(!value["DeviceId"].isNull()) + deviceId_ = value["DeviceId"].asString(); + if(!value["Enabled"].isNull()) + enabled_ = value["Enabled"].asString() == "true"; + if(!value["Status"].isNull()) + status_ = value["Status"].asString(); + if(!value["Height"].isNull()) + height_ = std::stoi(value["Height"].asString()); + if(!value["Width"].isNull()) + width_ = std::stoi(value["Width"].asString()); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + +} + +std::string DescribeStreamResult::getApp()const +{ + return app_; +} + +std::string DescribeStreamResult::getStatus()const +{ + return status_; +} + +std::string DescribeStreamResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeStreamResult::getDeviceId()const +{ + return deviceId_; +} + +bool DescribeStreamResult::getEnabled()const +{ + return enabled_; +} + +std::string DescribeStreamResult::getName()const +{ + return name_; +} + +std::string DescribeStreamResult::getGroupId()const +{ + return groupId_; +} + +std::string DescribeStreamResult::getPlayDomain()const +{ + return playDomain_; +} + +int DescribeStreamResult::getHeight()const +{ + return height_; +} + +std::string DescribeStreamResult::getId()const +{ + return id_; +} + +std::string DescribeStreamResult::getPushDomain()const +{ + return pushDomain_; +} + +std::string DescribeStreamResult::getProtocol()const +{ + return protocol_; +} + +int DescribeStreamResult::getWidth()const +{ + return width_; +} + diff --git a/vs/src/model/DescribeStreamURLRequest.cc b/vs/src/model/DescribeStreamURLRequest.cc new file mode 100644 index 000000000..66aaecc5f --- /dev/null +++ b/vs/src/model/DescribeStreamURLRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeStreamURLRequest; + +DescribeStreamURLRequest::DescribeStreamURLRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeStreamURL") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeStreamURLRequest::~DescribeStreamURLRequest() +{} + +std::string DescribeStreamURLRequest::getAuthKey()const +{ + return authKey_; +} + +void DescribeStreamURLRequest::setAuthKey(const std::string& authKey) +{ + authKey_ = authKey; + setParameter("AuthKey", authKey); +} + +bool DescribeStreamURLRequest::getAuth()const +{ + return auth_; +} + +void DescribeStreamURLRequest::setAuth(bool auth) +{ + auth_ = auth; + setParameter("Auth", auth ? "true" : "false"); +} + +long DescribeStreamURLRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeStreamURLRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setParameter("StartTime", std::to_string(startTime)); +} + +std::string DescribeStreamURLRequest::getType()const +{ + return type_; +} + +void DescribeStreamURLRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +std::string DescribeStreamURLRequest::getOutHostType()const +{ + return outHostType_; +} + +void DescribeStreamURLRequest::setOutHostType(const std::string& outHostType) +{ + outHostType_ = outHostType; + setParameter("OutHostType", outHostType); +} + +std::string DescribeStreamURLRequest::getId()const +{ + return id_; +} + +void DescribeStreamURLRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeStreamURLRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeStreamURLRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeStreamURLRequest::getOutProtocol()const +{ + return outProtocol_; +} + +void DescribeStreamURLRequest::setOutProtocol(const std::string& outProtocol) +{ + outProtocol_ = outProtocol; + setParameter("OutProtocol", outProtocol); +} + +std::string DescribeStreamURLRequest::getTranscode()const +{ + return transcode_; +} + +void DescribeStreamURLRequest::setTranscode(const std::string& transcode) +{ + transcode_ = transcode; + setParameter("Transcode", transcode); +} + +long DescribeStreamURLRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeStreamURLRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setParameter("EndTime", std::to_string(endTime)); +} + +long DescribeStreamURLRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeStreamURLRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +long DescribeStreamURLRequest::getExpire()const +{ + return expire_; +} + +void DescribeStreamURLRequest::setExpire(long expire) +{ + expire_ = expire; + setParameter("Expire", std::to_string(expire)); +} + +std::string DescribeStreamURLRequest::getLocation()const +{ + return location_; +} + +void DescribeStreamURLRequest::setLocation(const std::string& location) +{ + location_ = location; + setParameter("Location", location); +} + diff --git a/vs/src/model/DescribeStreamURLResult.cc b/vs/src/model/DescribeStreamURLResult.cc new file mode 100644 index 000000000..41d0eb193 --- /dev/null +++ b/vs/src/model/DescribeStreamURLResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeStreamURLResult::DescribeStreamURLResult() : + ServiceResult() +{} + +DescribeStreamURLResult::DescribeStreamURLResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStreamURLResult::~DescribeStreamURLResult() +{} + +void DescribeStreamURLResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Url"].isNull()) + url_ = value["Url"].asString(); + if(!value["ExpireTime"].isNull()) + expireTime_ = std::stol(value["ExpireTime"].asString()); + +} + +long DescribeStreamURLResult::getExpireTime()const +{ + return expireTime_; +} + +std::string DescribeStreamURLResult::getUrl()const +{ + return url_; +} + diff --git a/vs/src/model/DescribeStreamVodListRequest.cc b/vs/src/model/DescribeStreamVodListRequest.cc new file mode 100644 index 000000000..aa3bfaad8 --- /dev/null +++ b/vs/src/model/DescribeStreamVodListRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeStreamVodListRequest; + +DescribeStreamVodListRequest::DescribeStreamVodListRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeStreamVodList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeStreamVodListRequest::~DescribeStreamVodListRequest() +{} + +long DescribeStreamVodListRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeStreamVodListRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setParameter("StartTime", std::to_string(startTime)); +} + +std::string DescribeStreamVodListRequest::getId()const +{ + return id_; +} + +void DescribeStreamVodListRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeStreamVodListRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeStreamVodListRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeStreamVodListRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeStreamVodListRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setParameter("EndTime", std::to_string(endTime)); +} + +long DescribeStreamVodListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeStreamVodListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeStreamVodListResult.cc b/vs/src/model/DescribeStreamVodListResult.cc new file mode 100644 index 000000000..e9f6e7559 --- /dev/null +++ b/vs/src/model/DescribeStreamVodListResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeStreamVodListResult::DescribeStreamVodListResult() : + ServiceResult() +{} + +DescribeStreamVodListResult::DescribeStreamVodListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStreamVodListResult::~DescribeStreamVodListResult() +{} + +void DescribeStreamVodListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRecordsNode = value["Records"]["Record"]; + for (auto valueRecordsRecord : allRecordsNode) + { + Record recordsObject; + if(!valueRecordsRecord["StartTime"].isNull()) + recordsObject.startTime = std::stol(valueRecordsRecord["StartTime"].asString()); + if(!valueRecordsRecord["EndTime"].isNull()) + recordsObject.endTime = std::stol(valueRecordsRecord["EndTime"].asString()); + records_.push_back(recordsObject); + } + +} + +std::vector DescribeStreamVodListResult::getRecords()const +{ + return records_; +} + diff --git a/vs/src/model/DescribeStreamsRequest.cc b/vs/src/model/DescribeStreamsRequest.cc new file mode 100644 index 000000000..d9d900cd7 --- /dev/null +++ b/vs/src/model/DescribeStreamsRequest.cc @@ -0,0 +1,172 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeStreamsRequest; + +DescribeStreamsRequest::DescribeStreamsRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeStreams") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeStreamsRequest::~DescribeStreamsRequest() +{} + +std::string DescribeStreamsRequest::getSortDirection()const +{ + return sortDirection_; +} + +void DescribeStreamsRequest::setSortDirection(const std::string& sortDirection) +{ + sortDirection_ = sortDirection; + setParameter("SortDirection", sortDirection); +} + +long DescribeStreamsRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeStreamsRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeStreamsRequest::getParentId()const +{ + return parentId_; +} + +void DescribeStreamsRequest::setParentId(const std::string& parentId) +{ + parentId_ = parentId; + setParameter("ParentId", parentId); +} + +long DescribeStreamsRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeStreamsRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeStreamsRequest::getId()const +{ + return id_; +} + +void DescribeStreamsRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeStreamsRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeStreamsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeStreamsRequest::getApp()const +{ + return app_; +} + +void DescribeStreamsRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); +} + +std::string DescribeStreamsRequest::getGroupId()const +{ + return groupId_; +} + +void DescribeStreamsRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +long DescribeStreamsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeStreamsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeStreamsRequest::getDeviceId()const +{ + return deviceId_; +} + +void DescribeStreamsRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + +std::string DescribeStreamsRequest::getDomain()const +{ + return domain_; +} + +void DescribeStreamsRequest::setDomain(const std::string& domain) +{ + domain_ = domain; + setParameter("Domain", domain); +} + +std::string DescribeStreamsRequest::getName()const +{ + return name_; +} + +void DescribeStreamsRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string DescribeStreamsRequest::getSortBy()const +{ + return sortBy_; +} + +void DescribeStreamsRequest::setSortBy(const std::string& sortBy) +{ + sortBy_ = sortBy; + setParameter("SortBy", sortBy); +} + diff --git a/vs/src/model/DescribeStreamsResult.cc b/vs/src/model/DescribeStreamsResult.cc new file mode 100644 index 000000000..ace617983 --- /dev/null +++ b/vs/src/model/DescribeStreamsResult.cc @@ -0,0 +1,109 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeStreamsResult::DescribeStreamsResult() : + ServiceResult() +{} + +DescribeStreamsResult::DescribeStreamsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeStreamsResult::~DescribeStreamsResult() +{} + +void DescribeStreamsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allStreamsNode = value["Streams"]["Stream"]; + for (auto valueStreamsStream : allStreamsNode) + { + Stream streamsObject; + if(!valueStreamsStream["Id"].isNull()) + streamsObject.id = valueStreamsStream["Id"].asString(); + if(!valueStreamsStream["Name"].isNull()) + streamsObject.name = valueStreamsStream["Name"].asString(); + if(!valueStreamsStream["PushDomain"].isNull()) + streamsObject.pushDomain = valueStreamsStream["PushDomain"].asString(); + if(!valueStreamsStream["PlayDomain"].isNull()) + streamsObject.playDomain = valueStreamsStream["PlayDomain"].asString(); + if(!valueStreamsStream["App"].isNull()) + streamsObject.app = valueStreamsStream["App"].asString(); + if(!valueStreamsStream["Protocol"].isNull()) + streamsObject.protocol = valueStreamsStream["Protocol"].asString(); + if(!valueStreamsStream["GroupId"].isNull()) + streamsObject.groupId = valueStreamsStream["GroupId"].asString(); + if(!valueStreamsStream["DeviceId"].isNull()) + streamsObject.deviceId = valueStreamsStream["DeviceId"].asString(); + if(!valueStreamsStream["Enabled"].isNull()) + streamsObject.enabled = valueStreamsStream["Enabled"].asString() == "true"; + if(!valueStreamsStream["Status"].isNull()) + streamsObject.status = valueStreamsStream["Status"].asString(); + if(!valueStreamsStream["Height"].isNull()) + streamsObject.height = std::stoi(valueStreamsStream["Height"].asString()); + if(!valueStreamsStream["Width"].isNull()) + streamsObject.width = std::stoi(valueStreamsStream["Width"].asString()); + if(!valueStreamsStream["CreatedTime"].isNull()) + streamsObject.createdTime = valueStreamsStream["CreatedTime"].asString(); + streams_.push_back(streamsObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribeStreamsResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeStreamsResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeStreamsResult::getPageNum()const +{ + return pageNum_; +} + +long DescribeStreamsResult::getPageCount()const +{ + return pageCount_; +} + +std::vector DescribeStreamsResult::getStreams()const +{ + return streams_; +} + diff --git a/vs/src/model/DescribeTemplateRequest.cc b/vs/src/model/DescribeTemplateRequest.cc new file mode 100644 index 000000000..78b11788f --- /dev/null +++ b/vs/src/model/DescribeTemplateRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeTemplateRequest; + +DescribeTemplateRequest::DescribeTemplateRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeTemplateRequest::~DescribeTemplateRequest() +{} + +std::string DescribeTemplateRequest::getId()const +{ + return id_; +} + +void DescribeTemplateRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeTemplateRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeTemplateRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeTemplateRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeTemplateResult.cc b/vs/src/model/DescribeTemplateResult.cc new file mode 100644 index 000000000..496f1ba28 --- /dev/null +++ b/vs/src/model/DescribeTemplateResult.cc @@ -0,0 +1,232 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeTemplateResult::DescribeTemplateResult() : + ServiceResult() +{} + +DescribeTemplateResult::DescribeTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTemplateResult::~DescribeTemplateResult() +{} + +void DescribeTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTransConfigsNode = value["TransConfigs"]["TransConfig"]; + for (auto valueTransConfigsTransConfig : allTransConfigsNode) + { + TransConfig transConfigsObject; + if(!valueTransConfigsTransConfig["Id"].isNull()) + transConfigsObject.id = valueTransConfigsTransConfig["Id"].asString(); + if(!valueTransConfigsTransConfig["Name"].isNull()) + transConfigsObject.name = valueTransConfigsTransConfig["Name"].asString(); + if(!valueTransConfigsTransConfig["VideoCodec"].isNull()) + transConfigsObject.videoCodec = valueTransConfigsTransConfig["VideoCodec"].asString(); + if(!valueTransConfigsTransConfig["VideoBitrate"].isNull()) + transConfigsObject.videoBitrate = std::stol(valueTransConfigsTransConfig["VideoBitrate"].asString()); + if(!valueTransConfigsTransConfig["Fps"].isNull()) + transConfigsObject.fps = std::stol(valueTransConfigsTransConfig["Fps"].asString()); + if(!valueTransConfigsTransConfig["Gop"].isNull()) + transConfigsObject.gop = std::stol(valueTransConfigsTransConfig["Gop"].asString()); + if(!valueTransConfigsTransConfig["Height"].isNull()) + transConfigsObject.height = std::stol(valueTransConfigsTransConfig["Height"].asString()); + if(!valueTransConfigsTransConfig["Width"].isNull()) + transConfigsObject.width = std::stol(valueTransConfigsTransConfig["Width"].asString()); + transConfigs_.push_back(transConfigsObject); + } + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + if(!value["Description"].isNull()) + description_ = value["Description"].asString(); + if(!value["Type"].isNull()) + type_ = value["Type"].asString(); + if(!value["Region"].isNull()) + region_ = value["Region"].asString(); + if(!value["OssBucket"].isNull()) + ossBucket_ = value["OssBucket"].asString(); + if(!value["OssEndpoint"].isNull()) + ossEndpoint_ = value["OssEndpoint"].asString(); + if(!value["OssFilePrefix"].isNull()) + ossFilePrefix_ = value["OssFilePrefix"].asString(); + if(!value["Trigger"].isNull()) + trigger_ = value["Trigger"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["Interval"].isNull()) + interval_ = std::stol(value["Interval"].asString()); + if(!value["Retention"].isNull()) + retention_ = std::stol(value["Retention"].asString()); + if(!value["FileFormat"].isNull()) + fileFormat_ = value["FileFormat"].asString(); + if(!value["JpgOverwrite"].isNull()) + jpgOverwrite_ = value["JpgOverwrite"].asString(); + if(!value["JpgSequence"].isNull()) + jpgSequence_ = value["JpgSequence"].asString(); + if(!value["JpgOnDemand"].isNull()) + jpgOnDemand_ = value["JpgOnDemand"].asString(); + if(!value["Mp4"].isNull()) + mp4_ = value["Mp4"].asString(); + if(!value["Flv"].isNull()) + flv_ = value["Flv"].asString(); + if(!value["HlsM3u8"].isNull()) + hlsM3u8_ = value["HlsM3u8"].asString(); + if(!value["HlsTs"].isNull()) + hlsTs_ = value["HlsTs"].asString(); + if(!value["Callback"].isNull()) + callback_ = value["Callback"].asString(); + if(!value["CreatedTime"].isNull()) + createdTime_ = value["CreatedTime"].asString(); + +} + +std::string DescribeTemplateResult::getDescription()const +{ + return description_; +} + +std::string DescribeTemplateResult::getCreatedTime()const +{ + return createdTime_; +} + +std::string DescribeTemplateResult::getEndTime()const +{ + return endTime_; +} + +std::vector DescribeTemplateResult::getTransConfigs()const +{ + return transConfigs_; +} + +std::string DescribeTemplateResult::getHlsTs()const +{ + return hlsTs_; +} + +std::string DescribeTemplateResult::getOssBucket()const +{ + return ossBucket_; +} + +std::string DescribeTemplateResult::getStartTime()const +{ + return startTime_; +} + +long DescribeTemplateResult::getRetention()const +{ + return retention_; +} + +std::string DescribeTemplateResult::getFileFormat()const +{ + return fileFormat_; +} + +std::string DescribeTemplateResult::getName()const +{ + return name_; +} + +std::string DescribeTemplateResult::getJpgOnDemand()const +{ + return jpgOnDemand_; +} + +std::string DescribeTemplateResult::getMp4()const +{ + return mp4_; +} + +std::string DescribeTemplateResult::getOssFilePrefix()const +{ + return ossFilePrefix_; +} + +std::string DescribeTemplateResult::getFlv()const +{ + return flv_; +} + +std::string DescribeTemplateResult::getType()const +{ + return type_; +} + +std::string DescribeTemplateResult::getJpgSequence()const +{ + return jpgSequence_; +} + +std::string DescribeTemplateResult::getTrigger()const +{ + return trigger_; +} + +std::string DescribeTemplateResult::getCallback()const +{ + return callback_; +} + +std::string DescribeTemplateResult::getOssEndpoint()const +{ + return ossEndpoint_; +} + +std::string DescribeTemplateResult::getJpgOverwrite()const +{ + return jpgOverwrite_; +} + +std::string DescribeTemplateResult::getRegion()const +{ + return region_; +} + +std::string DescribeTemplateResult::getId()const +{ + return id_; +} + +std::string DescribeTemplateResult::getHlsM3u8()const +{ + return hlsM3u8_; +} + +long DescribeTemplateResult::getInterval()const +{ + return interval_; +} + diff --git a/vs/src/model/DescribeTemplatesRequest.cc b/vs/src/model/DescribeTemplatesRequest.cc new file mode 100644 index 000000000..bdcc38913 --- /dev/null +++ b/vs/src/model/DescribeTemplatesRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeTemplatesRequest; + +DescribeTemplatesRequest::DescribeTemplatesRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeTemplates") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeTemplatesRequest::~DescribeTemplatesRequest() +{} + +std::string DescribeTemplatesRequest::getSortDirection()const +{ + return sortDirection_; +} + +void DescribeTemplatesRequest::setSortDirection(const std::string& sortDirection) +{ + sortDirection_ = sortDirection; + setParameter("SortDirection", sortDirection); +} + +std::string DescribeTemplatesRequest::getType()const +{ + return type_; +} + +void DescribeTemplatesRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +long DescribeTemplatesRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeTemplatesRequest::setPageNum(long pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +long DescribeTemplatesRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeTemplatesRequest::setPageSize(long pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeTemplatesRequest::getId()const +{ + return id_; +} + +void DescribeTemplatesRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string DescribeTemplatesRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeTemplatesRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long DescribeTemplatesRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeTemplatesRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeTemplatesRequest::getInstanceId()const +{ + return instanceId_; +} + +void DescribeTemplatesRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + +std::string DescribeTemplatesRequest::getSortBy()const +{ + return sortBy_; +} + +void DescribeTemplatesRequest::setSortBy(const std::string& sortBy) +{ + sortBy_ = sortBy; + setParameter("SortBy", sortBy); +} + diff --git a/vs/src/model/DescribeTemplatesResult.cc b/vs/src/model/DescribeTemplatesResult.cc new file mode 100644 index 000000000..6abf4aad5 --- /dev/null +++ b/vs/src/model/DescribeTemplatesResult.cc @@ -0,0 +1,151 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeTemplatesResult::DescribeTemplatesResult() : + ServiceResult() +{} + +DescribeTemplatesResult::DescribeTemplatesResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeTemplatesResult::~DescribeTemplatesResult() +{} + +void DescribeTemplatesResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTemplatesNode = value["Templates"]["Template"]; + for (auto valueTemplatesTemplate : allTemplatesNode) + { + _Template templatesObject; + if(!valueTemplatesTemplate["Id"].isNull()) + templatesObject.id = valueTemplatesTemplate["Id"].asString(); + if(!valueTemplatesTemplate["Name"].isNull()) + templatesObject.name = valueTemplatesTemplate["Name"].asString(); + if(!valueTemplatesTemplate["Description"].isNull()) + templatesObject.description = valueTemplatesTemplate["Description"].asString(); + if(!valueTemplatesTemplate["Type"].isNull()) + templatesObject.type = valueTemplatesTemplate["Type"].asString(); + if(!valueTemplatesTemplate["Region"].isNull()) + templatesObject.region = valueTemplatesTemplate["Region"].asString(); + if(!valueTemplatesTemplate["OssBucket"].isNull()) + templatesObject.ossBucket = valueTemplatesTemplate["OssBucket"].asString(); + if(!valueTemplatesTemplate["OssEndpoint"].isNull()) + templatesObject.ossEndpoint = valueTemplatesTemplate["OssEndpoint"].asString(); + if(!valueTemplatesTemplate["OssFilePrefix"].isNull()) + templatesObject.ossFilePrefix = valueTemplatesTemplate["OssFilePrefix"].asString(); + if(!valueTemplatesTemplate["Trigger"].isNull()) + templatesObject.trigger = valueTemplatesTemplate["Trigger"].asString(); + if(!valueTemplatesTemplate["StartTime"].isNull()) + templatesObject.startTime = valueTemplatesTemplate["StartTime"].asString(); + if(!valueTemplatesTemplate["EndTime"].isNull()) + templatesObject.endTime = valueTemplatesTemplate["EndTime"].asString(); + if(!valueTemplatesTemplate["Interval"].isNull()) + templatesObject.interval = std::stol(valueTemplatesTemplate["Interval"].asString()); + if(!valueTemplatesTemplate["Retention"].isNull()) + templatesObject.retention = std::stol(valueTemplatesTemplate["Retention"].asString()); + if(!valueTemplatesTemplate["FileFormat"].isNull()) + templatesObject.fileFormat = valueTemplatesTemplate["FileFormat"].asString(); + if(!valueTemplatesTemplate["JpgOverwrite"].isNull()) + templatesObject.jpgOverwrite = valueTemplatesTemplate["JpgOverwrite"].asString(); + if(!valueTemplatesTemplate["JpgSequence"].isNull()) + templatesObject.jpgSequence = valueTemplatesTemplate["JpgSequence"].asString(); + if(!valueTemplatesTemplate["JpgOnDemand"].isNull()) + templatesObject.jpgOnDemand = valueTemplatesTemplate["JpgOnDemand"].asString(); + if(!valueTemplatesTemplate["Mp4"].isNull()) + templatesObject.mp4 = valueTemplatesTemplate["Mp4"].asString(); + if(!valueTemplatesTemplate["Flv"].isNull()) + templatesObject.flv = valueTemplatesTemplate["Flv"].asString(); + if(!valueTemplatesTemplate["HlsM3u8"].isNull()) + templatesObject.hlsM3u8 = valueTemplatesTemplate["HlsM3u8"].asString(); + if(!valueTemplatesTemplate["HlsTs"].isNull()) + templatesObject.hlsTs = valueTemplatesTemplate["HlsTs"].asString(); + if(!valueTemplatesTemplate["Callback"].isNull()) + templatesObject.callback = valueTemplatesTemplate["Callback"].asString(); + if(!valueTemplatesTemplate["CreatedTime"].isNull()) + templatesObject.createdTime = valueTemplatesTemplate["CreatedTime"].asString(); + auto allTransConfigsNode = allTemplatesNode["TransConfigs"]["TransConfig"]; + for (auto allTemplatesNodeTransConfigsTransConfig : allTransConfigsNode) + { + _Template::TransConfig transConfigsObject; + if(!allTemplatesNodeTransConfigsTransConfig["id"].isNull()) + transConfigsObject.id = allTemplatesNodeTransConfigsTransConfig["id"].asString(); + if(!allTemplatesNodeTransConfigsTransConfig["Name"].isNull()) + transConfigsObject.name = allTemplatesNodeTransConfigsTransConfig["Name"].asString(); + if(!allTemplatesNodeTransConfigsTransConfig["VideoCodec"].isNull()) + transConfigsObject.videoCodec = allTemplatesNodeTransConfigsTransConfig["VideoCodec"].asString(); + if(!allTemplatesNodeTransConfigsTransConfig["VideoBitrate"].isNull()) + transConfigsObject.videoBitrate = std::stol(allTemplatesNodeTransConfigsTransConfig["VideoBitrate"].asString()); + if(!allTemplatesNodeTransConfigsTransConfig["Fps"].isNull()) + transConfigsObject.fps = std::stol(allTemplatesNodeTransConfigsTransConfig["Fps"].asString()); + if(!allTemplatesNodeTransConfigsTransConfig["Gop"].isNull()) + transConfigsObject.gop = std::stol(allTemplatesNodeTransConfigsTransConfig["Gop"].asString()); + if(!allTemplatesNodeTransConfigsTransConfig["Height"].isNull()) + transConfigsObject.height = std::stol(allTemplatesNodeTransConfigsTransConfig["Height"].asString()); + if(!allTemplatesNodeTransConfigsTransConfig["Width"].isNull()) + transConfigsObject.width = std::stol(allTemplatesNodeTransConfigsTransConfig["Width"].asString()); + templatesObject.transConfigs.push_back(transConfigsObject); + } + templates_.push_back(templatesObject); + } + if(!value["PageSize"].isNull()) + pageSize_ = std::stol(value["PageSize"].asString()); + if(!value["PageNum"].isNull()) + pageNum_ = std::stol(value["PageNum"].asString()); + if(!value["PageCount"].isNull()) + pageCount_ = std::stol(value["PageCount"].asString()); + if(!value["TotalCount"].isNull()) + totalCount_ = std::stol(value["TotalCount"].asString()); + +} + +long DescribeTemplatesResult::getTotalCount()const +{ + return totalCount_; +} + +long DescribeTemplatesResult::getPageSize()const +{ + return pageSize_; +} + +long DescribeTemplatesResult::getPageNum()const +{ + return pageNum_; +} + +long DescribeTemplatesResult::getPageCount()const +{ + return pageCount_; +} + +std::vector DescribeTemplatesResult::getTemplates()const +{ + return templates_; +} + diff --git a/vs/src/model/DescribeVodStreamURLRequest.cc b/vs/src/model/DescribeVodStreamURLRequest.cc new file mode 100644 index 000000000..0b061aa90 --- /dev/null +++ b/vs/src/model/DescribeVodStreamURLRequest.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 + +using AlibabaCloud::Vs::Model::DescribeVodStreamURLRequest; + +DescribeVodStreamURLRequest::DescribeVodStreamURLRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVodStreamURL") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVodStreamURLRequest::~DescribeVodStreamURLRequest() +{} + +std::string DescribeVodStreamURLRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVodStreamURLRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVodStreamURLRequest::getTxId()const +{ + return txId_; +} + +void DescribeVodStreamURLRequest::setTxId(const std::string& txId) +{ + txId_ = txId; + setParameter("TxId", txId); +} + +long DescribeVodStreamURLRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVodStreamURLRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeVodStreamURLRequest::getUrl()const +{ + return url_; +} + +void DescribeVodStreamURLRequest::setUrl(const std::string& url) +{ + url_ = url; + setParameter("Url", url); +} + diff --git a/vs/src/model/DescribeVodStreamURLResult.cc b/vs/src/model/DescribeVodStreamURLResult.cc new file mode 100644 index 000000000..572228f0c --- /dev/null +++ b/vs/src/model/DescribeVodStreamURLResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVodStreamURLResult::DescribeVodStreamURLResult() : + ServiceResult() +{} + +DescribeVodStreamURLResult::DescribeVodStreamURLResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVodStreamURLResult::~DescribeVodStreamURLResult() +{} + +void DescribeVodStreamURLResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Url"].isNull()) + url_ = value["Url"].asString(); + if(!value["OutProtocol"].isNull()) + outProtocol_ = value["OutProtocol"].asString(); + if(!value["Port"].isNull()) + port_ = std::stol(value["Port"].asString()); + if(!value["TxId"].isNull()) + txId_ = value["TxId"].asString(); + +} + +long DescribeVodStreamURLResult::getPort()const +{ + return port_; +} + +std::string DescribeVodStreamURLResult::getTxId()const +{ + return txId_; +} + +std::string DescribeVodStreamURLResult::getOutProtocol()const +{ + return outProtocol_; +} + +std::string DescribeVodStreamURLResult::getUrl()const +{ + return url_; +} + diff --git a/vs/src/model/DescribeVsCertificateDetailRequest.cc b/vs/src/model/DescribeVsCertificateDetailRequest.cc new file mode 100644 index 000000000..faef480ee --- /dev/null +++ b/vs/src/model/DescribeVsCertificateDetailRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsCertificateDetailRequest; + +DescribeVsCertificateDetailRequest::DescribeVsCertificateDetailRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsCertificateDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsCertificateDetailRequest::~DescribeVsCertificateDetailRequest() +{} + +std::string DescribeVsCertificateDetailRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsCertificateDetailRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsCertificateDetailRequest::getCertName()const +{ + return certName_; +} + +void DescribeVsCertificateDetailRequest::setCertName(const std::string& certName) +{ + certName_ = certName; + setParameter("CertName", certName); +} + +long DescribeVsCertificateDetailRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsCertificateDetailRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsCertificateDetailResult.cc b/vs/src/model/DescribeVsCertificateDetailResult.cc new file mode 100644 index 000000000..170969a76 --- /dev/null +++ b/vs/src/model/DescribeVsCertificateDetailResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsCertificateDetailResult::DescribeVsCertificateDetailResult() : + ServiceResult() +{} + +DescribeVsCertificateDetailResult::DescribeVsCertificateDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsCertificateDetailResult::~DescribeVsCertificateDetailResult() +{} + +void DescribeVsCertificateDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Cert"].isNull()) + cert_ = value["Cert"].asString(); + if(!value["Key"].isNull()) + key_ = value["Key"].asString(); + if(!value["CertId"].isNull()) + certId_ = std::stol(value["CertId"].asString()); + if(!value["CertName"].isNull()) + certName_ = value["CertName"].asString(); + +} + +long DescribeVsCertificateDetailResult::getCertId()const +{ + return certId_; +} + +std::string DescribeVsCertificateDetailResult::getCert()const +{ + return cert_; +} + +std::string DescribeVsCertificateDetailResult::getCertName()const +{ + return certName_; +} + +std::string DescribeVsCertificateDetailResult::getKey()const +{ + return key_; +} + diff --git a/vs/src/model/DescribeVsCertificateListRequest.cc b/vs/src/model/DescribeVsCertificateListRequest.cc new file mode 100644 index 000000000..57df9d6a3 --- /dev/null +++ b/vs/src/model/DescribeVsCertificateListRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsCertificateListRequest; + +DescribeVsCertificateListRequest::DescribeVsCertificateListRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsCertificateList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsCertificateListRequest::~DescribeVsCertificateListRequest() +{} + +std::string DescribeVsCertificateListRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsCertificateListRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsCertificateListRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsCertificateListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeVsCertificateListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsCertificateListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsCertificateListResult.cc b/vs/src/model/DescribeVsCertificateListResult.cc new file mode 100644 index 000000000..972b5138a --- /dev/null +++ b/vs/src/model/DescribeVsCertificateListResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsCertificateListResult::DescribeVsCertificateListResult() : + ServiceResult() +{} + +DescribeVsCertificateListResult::DescribeVsCertificateListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsCertificateListResult::~DescribeVsCertificateListResult() +{} + +void DescribeVsCertificateListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto certificateListModelNode = value["CertificateListModel"]; + if(!certificateListModelNode["Count"].isNull()) + certificateListModel_.count = std::stoi(certificateListModelNode["Count"].asString()); + auto allCertListNode = certificateListModelNode["CertList"]["Cert"]; + for (auto certificateListModelNodeCertListCert : allCertListNode) + { + CertificateListModel::Cert certObject; + if(!certificateListModelNodeCertListCert["CertName"].isNull()) + certObject.certName = certificateListModelNodeCertListCert["CertName"].asString(); + if(!certificateListModelNodeCertListCert["CertId"].isNull()) + certObject.certId = std::stol(certificateListModelNodeCertListCert["CertId"].asString()); + if(!certificateListModelNodeCertListCert["Fingerprint"].isNull()) + certObject.fingerprint = certificateListModelNodeCertListCert["Fingerprint"].asString(); + if(!certificateListModelNodeCertListCert["Common"].isNull()) + certObject.common = certificateListModelNodeCertListCert["Common"].asString(); + if(!certificateListModelNodeCertListCert["Issuer"].isNull()) + certObject.issuer = certificateListModelNodeCertListCert["Issuer"].asString(); + if(!certificateListModelNodeCertListCert["LastTime"].isNull()) + certObject.lastTime = std::stol(certificateListModelNodeCertListCert["LastTime"].asString()); + certificateListModel_.certList.push_back(certObject); + } + +} + +DescribeVsCertificateListResult::CertificateListModel DescribeVsCertificateListResult::getCertificateListModel()const +{ + return certificateListModel_; +} + diff --git a/vs/src/model/DescribeVsDomainBpsDataRequest.cc b/vs/src/model/DescribeVsDomainBpsDataRequest.cc new file mode 100644 index 000000000..085ed8fc8 --- /dev/null +++ b/vs/src/model/DescribeVsDomainBpsDataRequest.cc @@ -0,0 +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::Vs::Model::DescribeVsDomainBpsDataRequest; + +DescribeVsDomainBpsDataRequest::DescribeVsDomainBpsDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainBpsData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainBpsDataRequest::~DescribeVsDomainBpsDataRequest() +{} + +std::string DescribeVsDomainBpsDataRequest::getLocationNameEn()const +{ + return locationNameEn_; +} + +void DescribeVsDomainBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); +} + +std::string DescribeVsDomainBpsDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsDomainBpsDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsDomainBpsDataRequest::getIspNameEn()const +{ + return ispNameEn_; +} + +void DescribeVsDomainBpsDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); +} + +std::string DescribeVsDomainBpsDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainBpsDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainBpsDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainBpsDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsDomainBpsDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsDomainBpsDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsDomainBpsDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainBpsDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeVsDomainBpsDataRequest::getInterval()const +{ + return interval_; +} + +void DescribeVsDomainBpsDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); +} + diff --git a/vs/src/model/DescribeVsDomainBpsDataResult.cc b/vs/src/model/DescribeVsDomainBpsDataResult.cc new file mode 100644 index 000000000..1b8f7bbb3 --- /dev/null +++ b/vs/src/model/DescribeVsDomainBpsDataResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainBpsDataResult::DescribeVsDomainBpsDataResult() : + ServiceResult() +{} + +DescribeVsDomainBpsDataResult::DescribeVsDomainBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainBpsDataResult::~DescribeVsDomainBpsDataResult() +{} + +void DescribeVsDomainBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allBpsDataPerIntervalNode = value["BpsDataPerInterval"]["DataModule"]; + for (auto valueBpsDataPerIntervalDataModule : allBpsDataPerIntervalNode) + { + DataModule bpsDataPerIntervalObject; + if(!valueBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + bpsDataPerIntervalObject.timeStamp = valueBpsDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueBpsDataPerIntervalDataModule["BpsValue"].isNull()) + bpsDataPerIntervalObject.bpsValue = valueBpsDataPerIntervalDataModule["BpsValue"].asString(); + bpsDataPerInterval_.push_back(bpsDataPerIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeVsDomainBpsDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeVsDomainBpsDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeVsDomainBpsDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeVsDomainBpsDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::vector DescribeVsDomainBpsDataResult::getBpsDataPerInterval()const +{ + return bpsDataPerInterval_; +} + diff --git a/vs/src/model/DescribeVsDomainCertificateInfoRequest.cc b/vs/src/model/DescribeVsDomainCertificateInfoRequest.cc new file mode 100644 index 000000000..239d4844d --- /dev/null +++ b/vs/src/model/DescribeVsDomainCertificateInfoRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsDomainCertificateInfoRequest; + +DescribeVsDomainCertificateInfoRequest::DescribeVsDomainCertificateInfoRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainCertificateInfo") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainCertificateInfoRequest::~DescribeVsDomainCertificateInfoRequest() +{} + +std::string DescribeVsDomainCertificateInfoRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainCertificateInfoRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainCertificateInfoRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainCertificateInfoRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeVsDomainCertificateInfoRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainCertificateInfoRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsDomainCertificateInfoResult.cc b/vs/src/model/DescribeVsDomainCertificateInfoResult.cc new file mode 100644 index 000000000..77c542217 --- /dev/null +++ b/vs/src/model/DescribeVsDomainCertificateInfoResult.cc @@ -0,0 +1,75 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainCertificateInfoResult::DescribeVsDomainCertificateInfoResult() : + ServiceResult() +{} + +DescribeVsDomainCertificateInfoResult::DescribeVsDomainCertificateInfoResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainCertificateInfoResult::~DescribeVsDomainCertificateInfoResult() +{} + +void DescribeVsDomainCertificateInfoResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allCertInfosNode = value["CertInfos"]["CertInfo"]; + for (auto valueCertInfosCertInfo : allCertInfosNode) + { + CertInfo certInfosObject; + if(!valueCertInfosCertInfo["DomainName"].isNull()) + certInfosObject.domainName = valueCertInfosCertInfo["DomainName"].asString(); + if(!valueCertInfosCertInfo["CertName"].isNull()) + certInfosObject.certName = valueCertInfosCertInfo["CertName"].asString(); + if(!valueCertInfosCertInfo["CertDomainName"].isNull()) + certInfosObject.certDomainName = valueCertInfosCertInfo["CertDomainName"].asString(); + if(!valueCertInfosCertInfo["CertExpireTime"].isNull()) + certInfosObject.certExpireTime = valueCertInfosCertInfo["CertExpireTime"].asString(); + if(!valueCertInfosCertInfo["CertLife"].isNull()) + certInfosObject.certLife = valueCertInfosCertInfo["CertLife"].asString(); + if(!valueCertInfosCertInfo["CertOrg"].isNull()) + certInfosObject.certOrg = valueCertInfosCertInfo["CertOrg"].asString(); + if(!valueCertInfosCertInfo["CertType"].isNull()) + certInfosObject.certType = valueCertInfosCertInfo["CertType"].asString(); + if(!valueCertInfosCertInfo["ServerCertificateStatus"].isNull()) + certInfosObject.serverCertificateStatus = valueCertInfosCertInfo["ServerCertificateStatus"].asString(); + if(!valueCertInfosCertInfo["Status"].isNull()) + certInfosObject.status = valueCertInfosCertInfo["Status"].asString(); + if(!valueCertInfosCertInfo["SSLPub"].isNull()) + certInfosObject.sSLPub = valueCertInfosCertInfo["SSLPub"].asString(); + certInfos_.push_back(certInfosObject); + } + +} + +std::vector DescribeVsDomainCertificateInfoResult::getCertInfos()const +{ + return certInfos_; +} + diff --git a/vs/src/model/DescribeVsDomainConfigsRequest.cc b/vs/src/model/DescribeVsDomainConfigsRequest.cc new file mode 100644 index 000000000..e81e48b40 --- /dev/null +++ b/vs/src/model/DescribeVsDomainConfigsRequest.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 + +using AlibabaCloud::Vs::Model::DescribeVsDomainConfigsRequest; + +DescribeVsDomainConfigsRequest::DescribeVsDomainConfigsRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainConfigs") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainConfigsRequest::~DescribeVsDomainConfigsRequest() +{} + +std::string DescribeVsDomainConfigsRequest::getFunctionNames()const +{ + return functionNames_; +} + +void DescribeVsDomainConfigsRequest::setFunctionNames(const std::string& functionNames) +{ + functionNames_ = functionNames; + setParameter("FunctionNames", functionNames); +} + +std::string DescribeVsDomainConfigsRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainConfigsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainConfigsRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainConfigsRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeVsDomainConfigsRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainConfigsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsDomainConfigsResult.cc b/vs/src/model/DescribeVsDomainConfigsResult.cc new file mode 100644 index 000000000..7f8d9a9db --- /dev/null +++ b/vs/src/model/DescribeVsDomainConfigsResult.cc @@ -0,0 +1,71 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainConfigsResult::DescribeVsDomainConfigsResult() : + ServiceResult() +{} + +DescribeVsDomainConfigsResult::DescribeVsDomainConfigsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainConfigsResult::~DescribeVsDomainConfigsResult() +{} + +void DescribeVsDomainConfigsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDomainConfigsNode = value["DomainConfigs"]["DomainConfig"]; + for (auto valueDomainConfigsDomainConfig : allDomainConfigsNode) + { + DomainConfig domainConfigsObject; + if(!valueDomainConfigsDomainConfig["FunctionName"].isNull()) + domainConfigsObject.functionName = valueDomainConfigsDomainConfig["FunctionName"].asString(); + if(!valueDomainConfigsDomainConfig["ConfigId"].isNull()) + domainConfigsObject.configId = valueDomainConfigsDomainConfig["ConfigId"].asString(); + if(!valueDomainConfigsDomainConfig["Status"].isNull()) + domainConfigsObject.status = valueDomainConfigsDomainConfig["Status"].asString(); + auto allFunctionArgsNode = allDomainConfigsNode["FunctionArgs"]["FunctionArg"]; + for (auto allDomainConfigsNodeFunctionArgsFunctionArg : allFunctionArgsNode) + { + DomainConfig::FunctionArg functionArgsObject; + if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].isNull()) + functionArgsObject.argName = allDomainConfigsNodeFunctionArgsFunctionArg["ArgName"].asString(); + if(!allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].isNull()) + functionArgsObject.argValue = allDomainConfigsNodeFunctionArgsFunctionArg["ArgValue"].asString(); + domainConfigsObject.functionArgs.push_back(functionArgsObject); + } + domainConfigs_.push_back(domainConfigsObject); + } + +} + +std::vector DescribeVsDomainConfigsResult::getDomainConfigs()const +{ + return domainConfigs_; +} + diff --git a/vs/src/model/DescribeVsDomainDetailRequest.cc b/vs/src/model/DescribeVsDomainDetailRequest.cc new file mode 100644 index 000000000..0e614bccb --- /dev/null +++ b/vs/src/model/DescribeVsDomainDetailRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsDomainDetailRequest; + +DescribeVsDomainDetailRequest::DescribeVsDomainDetailRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainDetail") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainDetailRequest::~DescribeVsDomainDetailRequest() +{} + +std::string DescribeVsDomainDetailRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainDetailRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainDetailRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainDetailRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeVsDomainDetailRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainDetailRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsDomainDetailResult.cc b/vs/src/model/DescribeVsDomainDetailResult.cc new file mode 100644 index 000000000..d9baf9ba1 --- /dev/null +++ b/vs/src/model/DescribeVsDomainDetailResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainDetailResult::DescribeVsDomainDetailResult() : + ServiceResult() +{} + +DescribeVsDomainDetailResult::DescribeVsDomainDetailResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainDetailResult::~DescribeVsDomainDetailResult() +{} + +void DescribeVsDomainDetailResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto domainConfigNode = value["DomainConfig"]; + if(!domainConfigNode["GmtCreated"].isNull()) + domainConfig_.gmtCreated = domainConfigNode["GmtCreated"].asString(); + if(!domainConfigNode["GmtModified"].isNull()) + domainConfig_.gmtModified = domainConfigNode["GmtModified"].asString(); + if(!domainConfigNode["DomainStatus"].isNull()) + domainConfig_.domainStatus = domainConfigNode["DomainStatus"].asString(); + if(!domainConfigNode["Cname"].isNull()) + domainConfig_.cname = domainConfigNode["Cname"].asString(); + if(!domainConfigNode["DomainName"].isNull()) + domainConfig_.domainName = domainConfigNode["DomainName"].asString(); + if(!domainConfigNode["DomainType"].isNull()) + domainConfig_.domainType = domainConfigNode["DomainType"].asString(); + if(!domainConfigNode["Region"].isNull()) + domainConfig_.region = domainConfigNode["Region"].asString(); + if(!domainConfigNode["Description"].isNull()) + domainConfig_.description = domainConfigNode["Description"].asString(); + if(!domainConfigNode["SSLProtocol"].isNull()) + domainConfig_.sSLProtocol = domainConfigNode["SSLProtocol"].asString(); + if(!domainConfigNode["Scope"].isNull()) + domainConfig_.scope = domainConfigNode["Scope"].asString(); + +} + +DescribeVsDomainDetailResult::DomainConfig DescribeVsDomainDetailResult::getDomainConfig()const +{ + return domainConfig_; +} + diff --git a/vs/src/model/DescribeVsDomainPvDataRequest.cc b/vs/src/model/DescribeVsDomainPvDataRequest.cc new file mode 100644 index 000000000..f5487844b --- /dev/null +++ b/vs/src/model/DescribeVsDomainPvDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsDomainPvDataRequest; + +DescribeVsDomainPvDataRequest::DescribeVsDomainPvDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainPvData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainPvDataRequest::~DescribeVsDomainPvDataRequest() +{} + +std::string DescribeVsDomainPvDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsDomainPvDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsDomainPvDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainPvDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainPvDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainPvDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsDomainPvDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsDomainPvDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsDomainPvDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainPvDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsDomainPvDataResult.cc b/vs/src/model/DescribeVsDomainPvDataResult.cc new file mode 100644 index 000000000..9fbd64b83 --- /dev/null +++ b/vs/src/model/DescribeVsDomainPvDataResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainPvDataResult::DescribeVsDomainPvDataResult() : + ServiceResult() +{} + +DescribeVsDomainPvDataResult::DescribeVsDomainPvDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainPvDataResult::~DescribeVsDomainPvDataResult() +{} + +void DescribeVsDomainPvDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPvDataIntervalNode = value["PvDataInterval"]["UsageData"]; + for (auto valuePvDataIntervalUsageData : allPvDataIntervalNode) + { + UsageData pvDataIntervalObject; + if(!valuePvDataIntervalUsageData["Value"].isNull()) + pvDataIntervalObject.value = valuePvDataIntervalUsageData["Value"].asString(); + if(!valuePvDataIntervalUsageData["TimeStamp"].isNull()) + pvDataIntervalObject.timeStamp = valuePvDataIntervalUsageData["TimeStamp"].asString(); + pvDataInterval_.push_back(pvDataIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + +} + +std::string DescribeVsDomainPvDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeVsDomainPvDataResult::getStartTime()const +{ + return startTime_; +} + +std::vector DescribeVsDomainPvDataResult::getPvDataInterval()const +{ + return pvDataInterval_; +} + diff --git a/vs/src/model/DescribeVsDomainRecordDataRequest.cc b/vs/src/model/DescribeVsDomainRecordDataRequest.cc new file mode 100644 index 000000000..ee6421283 --- /dev/null +++ b/vs/src/model/DescribeVsDomainRecordDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsDomainRecordDataRequest; + +DescribeVsDomainRecordDataRequest::DescribeVsDomainRecordDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainRecordData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainRecordDataRequest::~DescribeVsDomainRecordDataRequest() +{} + +std::string DescribeVsDomainRecordDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsDomainRecordDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsDomainRecordDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainRecordDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainRecordDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainRecordDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsDomainRecordDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsDomainRecordDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsDomainRecordDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainRecordDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsDomainRecordDataResult.cc b/vs/src/model/DescribeVsDomainRecordDataResult.cc new file mode 100644 index 000000000..80af15f50 --- /dev/null +++ b/vs/src/model/DescribeVsDomainRecordDataResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainRecordDataResult::DescribeVsDomainRecordDataResult() : + ServiceResult() +{} + +DescribeVsDomainRecordDataResult::DescribeVsDomainRecordDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainRecordDataResult::~DescribeVsDomainRecordDataResult() +{} + +void DescribeVsDomainRecordDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allRecordDataPerIntervalNode = value["RecordDataPerInterval"]["DataModule"]; + for (auto valueRecordDataPerIntervalDataModule : allRecordDataPerIntervalNode) + { + DataModule recordDataPerIntervalObject; + if(!valueRecordDataPerIntervalDataModule["TimeStamp"].isNull()) + recordDataPerIntervalObject.timeStamp = valueRecordDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueRecordDataPerIntervalDataModule["RecordValue"].isNull()) + recordDataPerIntervalObject.recordValue = valueRecordDataPerIntervalDataModule["RecordValue"].asString(); + recordDataPerInterval_.push_back(recordDataPerIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + +} + +std::string DescribeVsDomainRecordDataResult::getEndTime()const +{ + return endTime_; +} + +std::vector DescribeVsDomainRecordDataResult::getRecordDataPerInterval()const +{ + return recordDataPerInterval_; +} + +std::string DescribeVsDomainRecordDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeVsDomainRecordDataResult::getStartTime()const +{ + return startTime_; +} + diff --git a/vs/src/model/DescribeVsDomainRegionDataRequest.cc b/vs/src/model/DescribeVsDomainRegionDataRequest.cc new file mode 100644 index 000000000..0f80ff1e8 --- /dev/null +++ b/vs/src/model/DescribeVsDomainRegionDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsDomainRegionDataRequest; + +DescribeVsDomainRegionDataRequest::DescribeVsDomainRegionDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainRegionData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainRegionDataRequest::~DescribeVsDomainRegionDataRequest() +{} + +std::string DescribeVsDomainRegionDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsDomainRegionDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsDomainRegionDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainRegionDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainRegionDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainRegionDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsDomainRegionDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsDomainRegionDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsDomainRegionDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainRegionDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsDomainRegionDataResult.cc b/vs/src/model/DescribeVsDomainRegionDataResult.cc new file mode 100644 index 000000000..685cac24a --- /dev/null +++ b/vs/src/model/DescribeVsDomainRegionDataResult.cc @@ -0,0 +1,107 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainRegionDataResult::DescribeVsDomainRegionDataResult() : + ServiceResult() +{} + +DescribeVsDomainRegionDataResult::DescribeVsDomainRegionDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainRegionDataResult::~DescribeVsDomainRegionDataResult() +{} + +void DescribeVsDomainRegionDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allValueNode = value["Value"]["RegionProportionData"]; + for (auto valueValueRegionProportionData : allValueNode) + { + RegionProportionData valueObject; + if(!valueValueRegionProportionData["Region"].isNull()) + valueObject.region = valueValueRegionProportionData["Region"].asString(); + if(!valueValueRegionProportionData["Proportion"].isNull()) + valueObject.proportion = valueValueRegionProportionData["Proportion"].asString(); + if(!valueValueRegionProportionData["RegionEname"].isNull()) + valueObject.regionEname = valueValueRegionProportionData["RegionEname"].asString(); + if(!valueValueRegionProportionData["AvgObjectSize"].isNull()) + valueObject.avgObjectSize = valueValueRegionProportionData["AvgObjectSize"].asString(); + if(!valueValueRegionProportionData["AvgResponseTime"].isNull()) + valueObject.avgResponseTime = valueValueRegionProportionData["AvgResponseTime"].asString(); + if(!valueValueRegionProportionData["Bps"].isNull()) + valueObject.bps = valueValueRegionProportionData["Bps"].asString(); + if(!valueValueRegionProportionData["Qps"].isNull()) + valueObject.qps = valueValueRegionProportionData["Qps"].asString(); + if(!valueValueRegionProportionData["AvgResponseRate"].isNull()) + valueObject.avgResponseRate = valueValueRegionProportionData["AvgResponseRate"].asString(); + if(!valueValueRegionProportionData["ReqErrRate"].isNull()) + valueObject.reqErrRate = valueValueRegionProportionData["ReqErrRate"].asString(); + if(!valueValueRegionProportionData["TotalBytes"].isNull()) + valueObject.totalBytes = valueValueRegionProportionData["TotalBytes"].asString(); + if(!valueValueRegionProportionData["BytesProportion"].isNull()) + valueObject.bytesProportion = valueValueRegionProportionData["BytesProportion"].asString(); + if(!valueValueRegionProportionData["TotalQuery"].isNull()) + valueObject.totalQuery = valueValueRegionProportionData["TotalQuery"].asString(); + value_.push_back(valueObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + +} + +std::string DescribeVsDomainRegionDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeVsDomainRegionDataResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeVsDomainRegionDataResult::getValue()const +{ + return value_; +} + +std::string DescribeVsDomainRegionDataResult::getDataInterval()const +{ + return dataInterval_; +} + +std::string DescribeVsDomainRegionDataResult::getStartTime()const +{ + return startTime_; +} + diff --git a/vs/src/model/DescribeVsDomainReqBpsDataRequest.cc b/vs/src/model/DescribeVsDomainReqBpsDataRequest.cc new file mode 100644 index 000000000..ed48409d1 --- /dev/null +++ b/vs/src/model/DescribeVsDomainReqBpsDataRequest.cc @@ -0,0 +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::Vs::Model::DescribeVsDomainReqBpsDataRequest; + +DescribeVsDomainReqBpsDataRequest::DescribeVsDomainReqBpsDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainReqBpsData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainReqBpsDataRequest::~DescribeVsDomainReqBpsDataRequest() +{} + +std::string DescribeVsDomainReqBpsDataRequest::getLocationNameEn()const +{ + return locationNameEn_; +} + +void DescribeVsDomainReqBpsDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); +} + +std::string DescribeVsDomainReqBpsDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsDomainReqBpsDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsDomainReqBpsDataRequest::getIspNameEn()const +{ + return ispNameEn_; +} + +void DescribeVsDomainReqBpsDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); +} + +std::string DescribeVsDomainReqBpsDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainReqBpsDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainReqBpsDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainReqBpsDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsDomainReqBpsDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsDomainReqBpsDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsDomainReqBpsDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainReqBpsDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeVsDomainReqBpsDataRequest::getInterval()const +{ + return interval_; +} + +void DescribeVsDomainReqBpsDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); +} + diff --git a/vs/src/model/DescribeVsDomainReqBpsDataResult.cc b/vs/src/model/DescribeVsDomainReqBpsDataResult.cc new file mode 100644 index 000000000..0b3e42779 --- /dev/null +++ b/vs/src/model/DescribeVsDomainReqBpsDataResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainReqBpsDataResult::DescribeVsDomainReqBpsDataResult() : + ServiceResult() +{} + +DescribeVsDomainReqBpsDataResult::DescribeVsDomainReqBpsDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainReqBpsDataResult::~DescribeVsDomainReqBpsDataResult() +{} + +void DescribeVsDomainReqBpsDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allReqBpsDataPerIntervalNode = value["ReqBpsDataPerInterval"]["DataModule"]; + for (auto valueReqBpsDataPerIntervalDataModule : allReqBpsDataPerIntervalNode) + { + DataModule reqBpsDataPerIntervalObject; + if(!valueReqBpsDataPerIntervalDataModule["TimeStamp"].isNull()) + reqBpsDataPerIntervalObject.timeStamp = valueReqBpsDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueReqBpsDataPerIntervalDataModule["ReqBpsValue"].isNull()) + reqBpsDataPerIntervalObject.reqBpsValue = valueReqBpsDataPerIntervalDataModule["ReqBpsValue"].asString(); + reqBpsDataPerInterval_.push_back(reqBpsDataPerIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeVsDomainReqBpsDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeVsDomainReqBpsDataResult::getDomainName()const +{ + return domainName_; +} + +std::vector DescribeVsDomainReqBpsDataResult::getReqBpsDataPerInterval()const +{ + return reqBpsDataPerInterval_; +} + +std::string DescribeVsDomainReqBpsDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeVsDomainReqBpsDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/vs/src/model/DescribeVsDomainReqTrafficDataRequest.cc b/vs/src/model/DescribeVsDomainReqTrafficDataRequest.cc new file mode 100644 index 000000000..0c90b0ffe --- /dev/null +++ b/vs/src/model/DescribeVsDomainReqTrafficDataRequest.cc @@ -0,0 +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::Vs::Model::DescribeVsDomainReqTrafficDataRequest; + +DescribeVsDomainReqTrafficDataRequest::DescribeVsDomainReqTrafficDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainReqTrafficData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainReqTrafficDataRequest::~DescribeVsDomainReqTrafficDataRequest() +{} + +std::string DescribeVsDomainReqTrafficDataRequest::getLocationNameEn()const +{ + return locationNameEn_; +} + +void DescribeVsDomainReqTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); +} + +std::string DescribeVsDomainReqTrafficDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsDomainReqTrafficDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsDomainReqTrafficDataRequest::getIspNameEn()const +{ + return ispNameEn_; +} + +void DescribeVsDomainReqTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); +} + +std::string DescribeVsDomainReqTrafficDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainReqTrafficDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainReqTrafficDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainReqTrafficDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsDomainReqTrafficDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsDomainReqTrafficDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsDomainReqTrafficDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainReqTrafficDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeVsDomainReqTrafficDataRequest::getInterval()const +{ + return interval_; +} + +void DescribeVsDomainReqTrafficDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); +} + diff --git a/vs/src/model/DescribeVsDomainReqTrafficDataResult.cc b/vs/src/model/DescribeVsDomainReqTrafficDataResult.cc new file mode 100644 index 000000000..a6115d125 --- /dev/null +++ b/vs/src/model/DescribeVsDomainReqTrafficDataResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainReqTrafficDataResult::DescribeVsDomainReqTrafficDataResult() : + ServiceResult() +{} + +DescribeVsDomainReqTrafficDataResult::DescribeVsDomainReqTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainReqTrafficDataResult::~DescribeVsDomainReqTrafficDataResult() +{} + +void DescribeVsDomainReqTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allReqTrafficDataPerIntervalNode = value["ReqTrafficDataPerInterval"]["DataModule"]; + for (auto valueReqTrafficDataPerIntervalDataModule : allReqTrafficDataPerIntervalNode) + { + DataModule reqTrafficDataPerIntervalObject; + if(!valueReqTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + reqTrafficDataPerIntervalObject.timeStamp = valueReqTrafficDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueReqTrafficDataPerIntervalDataModule["ReqTrafficValue"].isNull()) + reqTrafficDataPerIntervalObject.reqTrafficValue = valueReqTrafficDataPerIntervalDataModule["ReqTrafficValue"].asString(); + reqTrafficDataPerInterval_.push_back(reqTrafficDataPerIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::vector DescribeVsDomainReqTrafficDataResult::getReqTrafficDataPerInterval()const +{ + return reqTrafficDataPerInterval_; +} + +std::string DescribeVsDomainReqTrafficDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeVsDomainReqTrafficDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeVsDomainReqTrafficDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeVsDomainReqTrafficDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/vs/src/model/DescribeVsDomainSnapshotDataRequest.cc b/vs/src/model/DescribeVsDomainSnapshotDataRequest.cc new file mode 100644 index 000000000..35a327eb3 --- /dev/null +++ b/vs/src/model/DescribeVsDomainSnapshotDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsDomainSnapshotDataRequest; + +DescribeVsDomainSnapshotDataRequest::DescribeVsDomainSnapshotDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainSnapshotData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainSnapshotDataRequest::~DescribeVsDomainSnapshotDataRequest() +{} + +std::string DescribeVsDomainSnapshotDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsDomainSnapshotDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsDomainSnapshotDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainSnapshotDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainSnapshotDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainSnapshotDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsDomainSnapshotDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsDomainSnapshotDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsDomainSnapshotDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainSnapshotDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsDomainSnapshotDataResult.cc b/vs/src/model/DescribeVsDomainSnapshotDataResult.cc new file mode 100644 index 000000000..6aeb03239 --- /dev/null +++ b/vs/src/model/DescribeVsDomainSnapshotDataResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainSnapshotDataResult::DescribeVsDomainSnapshotDataResult() : + ServiceResult() +{} + +DescribeVsDomainSnapshotDataResult::DescribeVsDomainSnapshotDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainSnapshotDataResult::~DescribeVsDomainSnapshotDataResult() +{} + +void DescribeVsDomainSnapshotDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allSnapshotDataPerIntervalNode = value["SnapshotDataPerInterval"]["DataModule"]; + for (auto valueSnapshotDataPerIntervalDataModule : allSnapshotDataPerIntervalNode) + { + DataModule snapshotDataPerIntervalObject; + if(!valueSnapshotDataPerIntervalDataModule["TimeStamp"].isNull()) + snapshotDataPerIntervalObject.timeStamp = valueSnapshotDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueSnapshotDataPerIntervalDataModule["SnapshotValue"].isNull()) + snapshotDataPerIntervalObject.snapshotValue = valueSnapshotDataPerIntervalDataModule["SnapshotValue"].asString(); + snapshotDataPerInterval_.push_back(snapshotDataPerIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + +} + +std::vector DescribeVsDomainSnapshotDataResult::getSnapshotDataPerInterval()const +{ + return snapshotDataPerInterval_; +} + +std::string DescribeVsDomainSnapshotDataResult::getEndTime()const +{ + return endTime_; +} + +std::string DescribeVsDomainSnapshotDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeVsDomainSnapshotDataResult::getStartTime()const +{ + return startTime_; +} + diff --git a/vs/src/model/DescribeVsDomainTrafficDataRequest.cc b/vs/src/model/DescribeVsDomainTrafficDataRequest.cc new file mode 100644 index 000000000..f33a1832c --- /dev/null +++ b/vs/src/model/DescribeVsDomainTrafficDataRequest.cc @@ -0,0 +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::Vs::Model::DescribeVsDomainTrafficDataRequest; + +DescribeVsDomainTrafficDataRequest::DescribeVsDomainTrafficDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainTrafficData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainTrafficDataRequest::~DescribeVsDomainTrafficDataRequest() +{} + +std::string DescribeVsDomainTrafficDataRequest::getLocationNameEn()const +{ + return locationNameEn_; +} + +void DescribeVsDomainTrafficDataRequest::setLocationNameEn(const std::string& locationNameEn) +{ + locationNameEn_ = locationNameEn; + setParameter("LocationNameEn", locationNameEn); +} + +std::string DescribeVsDomainTrafficDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsDomainTrafficDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsDomainTrafficDataRequest::getIspNameEn()const +{ + return ispNameEn_; +} + +void DescribeVsDomainTrafficDataRequest::setIspNameEn(const std::string& ispNameEn) +{ + ispNameEn_ = ispNameEn; + setParameter("IspNameEn", ispNameEn); +} + +std::string DescribeVsDomainTrafficDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainTrafficDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainTrafficDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainTrafficDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsDomainTrafficDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsDomainTrafficDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsDomainTrafficDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainTrafficDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeVsDomainTrafficDataRequest::getInterval()const +{ + return interval_; +} + +void DescribeVsDomainTrafficDataRequest::setInterval(const std::string& interval) +{ + interval_ = interval; + setParameter("Interval", interval); +} + diff --git a/vs/src/model/DescribeVsDomainTrafficDataResult.cc b/vs/src/model/DescribeVsDomainTrafficDataResult.cc new file mode 100644 index 000000000..56a47f745 --- /dev/null +++ b/vs/src/model/DescribeVsDomainTrafficDataResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainTrafficDataResult::DescribeVsDomainTrafficDataResult() : + ServiceResult() +{} + +DescribeVsDomainTrafficDataResult::DescribeVsDomainTrafficDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainTrafficDataResult::~DescribeVsDomainTrafficDataResult() +{} + +void DescribeVsDomainTrafficDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTrafficDataPerIntervalNode = value["TrafficDataPerInterval"]["DataModule"]; + for (auto valueTrafficDataPerIntervalDataModule : allTrafficDataPerIntervalNode) + { + DataModule trafficDataPerIntervalObject; + if(!valueTrafficDataPerIntervalDataModule["TimeStamp"].isNull()) + trafficDataPerIntervalObject.timeStamp = valueTrafficDataPerIntervalDataModule["TimeStamp"].asString(); + if(!valueTrafficDataPerIntervalDataModule["TrafficValue"].isNull()) + trafficDataPerIntervalObject.trafficValue = valueTrafficDataPerIntervalDataModule["TrafficValue"].asString(); + trafficDataPerInterval_.push_back(trafficDataPerIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["DataInterval"].isNull()) + dataInterval_ = value["DataInterval"].asString(); + +} + +std::string DescribeVsDomainTrafficDataResult::getEndTime()const +{ + return endTime_; +} + +std::vector DescribeVsDomainTrafficDataResult::getTrafficDataPerInterval()const +{ + return trafficDataPerInterval_; +} + +std::string DescribeVsDomainTrafficDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeVsDomainTrafficDataResult::getStartTime()const +{ + return startTime_; +} + +std::string DescribeVsDomainTrafficDataResult::getDataInterval()const +{ + return dataInterval_; +} + diff --git a/vs/src/model/DescribeVsDomainUvDataRequest.cc b/vs/src/model/DescribeVsDomainUvDataRequest.cc new file mode 100644 index 000000000..17f28ea47 --- /dev/null +++ b/vs/src/model/DescribeVsDomainUvDataRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsDomainUvDataRequest; + +DescribeVsDomainUvDataRequest::DescribeVsDomainUvDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsDomainUvData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsDomainUvDataRequest::~DescribeVsDomainUvDataRequest() +{} + +std::string DescribeVsDomainUvDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsDomainUvDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsDomainUvDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsDomainUvDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsDomainUvDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsDomainUvDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsDomainUvDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsDomainUvDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsDomainUvDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsDomainUvDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsDomainUvDataResult.cc b/vs/src/model/DescribeVsDomainUvDataResult.cc new file mode 100644 index 000000000..54ce85011 --- /dev/null +++ b/vs/src/model/DescribeVsDomainUvDataResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsDomainUvDataResult::DescribeVsDomainUvDataResult() : + ServiceResult() +{} + +DescribeVsDomainUvDataResult::DescribeVsDomainUvDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsDomainUvDataResult::~DescribeVsDomainUvDataResult() +{} + +void DescribeVsDomainUvDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allUvDataIntervalNode = value["UvDataInterval"]["UsageData"]; + for (auto valueUvDataIntervalUsageData : allUvDataIntervalNode) + { + UsageData uvDataIntervalObject; + if(!valueUvDataIntervalUsageData["Value"].isNull()) + uvDataIntervalObject.value = valueUvDataIntervalUsageData["Value"].asString(); + if(!valueUvDataIntervalUsageData["TimeStamp"].isNull()) + uvDataIntervalObject.timeStamp = valueUvDataIntervalUsageData["TimeStamp"].asString(); + uvDataInterval_.push_back(uvDataIntervalObject); + } + if(!value["DomainName"].isNull()) + domainName_ = value["DomainName"].asString(); + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + +} + +std::vector DescribeVsDomainUvDataResult::getUvDataInterval()const +{ + return uvDataInterval_; +} + +std::string DescribeVsDomainUvDataResult::getDomainName()const +{ + return domainName_; +} + +std::string DescribeVsDomainUvDataResult::getStartTime()const +{ + return startTime_; +} + diff --git a/vs/src/model/DescribeVsPullStreamInfoConfigRequest.cc b/vs/src/model/DescribeVsPullStreamInfoConfigRequest.cc new file mode 100644 index 000000000..6414a9746 --- /dev/null +++ b/vs/src/model/DescribeVsPullStreamInfoConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsPullStreamInfoConfigRequest; + +DescribeVsPullStreamInfoConfigRequest::DescribeVsPullStreamInfoConfigRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsPullStreamInfoConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsPullStreamInfoConfigRequest::~DescribeVsPullStreamInfoConfigRequest() +{} + +std::string DescribeVsPullStreamInfoConfigRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsPullStreamInfoConfigRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsPullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeVsPullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsPullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsPullStreamInfoConfigResult.cc b/vs/src/model/DescribeVsPullStreamInfoConfigResult.cc new file mode 100644 index 000000000..d48b0bdd2 --- /dev/null +++ b/vs/src/model/DescribeVsPullStreamInfoConfigResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsPullStreamInfoConfigResult::DescribeVsPullStreamInfoConfigResult() : + ServiceResult() +{} + +DescribeVsPullStreamInfoConfigResult::DescribeVsPullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsPullStreamInfoConfigResult::~DescribeVsPullStreamInfoConfigResult() +{} + +void DescribeVsPullStreamInfoConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allLiveAppRecordListNode = value["LiveAppRecordList"]["LiveAppRecord"]; + for (auto valueLiveAppRecordListLiveAppRecord : allLiveAppRecordListNode) + { + LiveAppRecord liveAppRecordListObject; + if(!valueLiveAppRecordListLiveAppRecord["DomainName"].isNull()) + liveAppRecordListObject.domainName = valueLiveAppRecordListLiveAppRecord["DomainName"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["AppName"].isNull()) + liveAppRecordListObject.appName = valueLiveAppRecordListLiveAppRecord["AppName"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["StreamName"].isNull()) + liveAppRecordListObject.streamName = valueLiveAppRecordListLiveAppRecord["StreamName"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["SourceUrl"].isNull()) + liveAppRecordListObject.sourceUrl = valueLiveAppRecordListLiveAppRecord["SourceUrl"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["StartTime"].isNull()) + liveAppRecordListObject.startTime = valueLiveAppRecordListLiveAppRecord["StartTime"].asString(); + if(!valueLiveAppRecordListLiveAppRecord["EndTime"].isNull()) + liveAppRecordListObject.endTime = valueLiveAppRecordListLiveAppRecord["EndTime"].asString(); + liveAppRecordList_.push_back(liveAppRecordListObject); + } + +} + +std::vector DescribeVsPullStreamInfoConfigResult::getLiveAppRecordList()const +{ + return liveAppRecordList_; +} + diff --git a/vs/src/model/DescribeVsStreamsNotifyUrlConfigRequest.cc b/vs/src/model/DescribeVsStreamsNotifyUrlConfigRequest.cc new file mode 100644 index 000000000..c95e1dab9 --- /dev/null +++ b/vs/src/model/DescribeVsStreamsNotifyUrlConfigRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsStreamsNotifyUrlConfigRequest; + +DescribeVsStreamsNotifyUrlConfigRequest::DescribeVsStreamsNotifyUrlConfigRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsStreamsNotifyUrlConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsStreamsNotifyUrlConfigRequest::~DescribeVsStreamsNotifyUrlConfigRequest() +{} + +std::string DescribeVsStreamsNotifyUrlConfigRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsStreamsNotifyUrlConfigRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsStreamsNotifyUrlConfigRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long DescribeVsStreamsNotifyUrlConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsStreamsNotifyUrlConfigResult.cc b/vs/src/model/DescribeVsStreamsNotifyUrlConfigResult.cc new file mode 100644 index 000000000..f89fd45a4 --- /dev/null +++ b/vs/src/model/DescribeVsStreamsNotifyUrlConfigResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsStreamsNotifyUrlConfigResult::DescribeVsStreamsNotifyUrlConfigResult() : + ServiceResult() +{} + +DescribeVsStreamsNotifyUrlConfigResult::DescribeVsStreamsNotifyUrlConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsStreamsNotifyUrlConfigResult::~DescribeVsStreamsNotifyUrlConfigResult() +{} + +void DescribeVsStreamsNotifyUrlConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto liveStreamsNotifyConfigNode = value["LiveStreamsNotifyConfig"]; + if(!liveStreamsNotifyConfigNode["DomainName"].isNull()) + liveStreamsNotifyConfig_.domainName = liveStreamsNotifyConfigNode["DomainName"].asString(); + if(!liveStreamsNotifyConfigNode["NotifyUrl"].isNull()) + liveStreamsNotifyConfig_.notifyUrl = liveStreamsNotifyConfigNode["NotifyUrl"].asString(); + if(!liveStreamsNotifyConfigNode["AuthType"].isNull()) + liveStreamsNotifyConfig_.authType = liveStreamsNotifyConfigNode["AuthType"].asString(); + if(!liveStreamsNotifyConfigNode["AuthKey"].isNull()) + liveStreamsNotifyConfig_.authKey = liveStreamsNotifyConfigNode["AuthKey"].asString(); + +} + +DescribeVsStreamsNotifyUrlConfigResult::LiveStreamsNotifyConfig DescribeVsStreamsNotifyUrlConfigResult::getLiveStreamsNotifyConfig()const +{ + return liveStreamsNotifyConfig_; +} + diff --git a/vs/src/model/DescribeVsStreamsOnlineListRequest.cc b/vs/src/model/DescribeVsStreamsOnlineListRequest.cc new file mode 100644 index 000000000..1d42cca75 --- /dev/null +++ b/vs/src/model/DescribeVsStreamsOnlineListRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::DescribeVsStreamsOnlineListRequest; + +DescribeVsStreamsOnlineListRequest::DescribeVsStreamsOnlineListRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsStreamsOnlineList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsStreamsOnlineListRequest::~DescribeVsStreamsOnlineListRequest() +{} + +std::string DescribeVsStreamsOnlineListRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsStreamsOnlineListRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +int DescribeVsStreamsOnlineListRequest::getPageNum()const +{ + return pageNum_; +} + +void DescribeVsStreamsOnlineListRequest::setPageNum(int pageNum) +{ + pageNum_ = pageNum; + setParameter("PageNum", std::to_string(pageNum)); +} + +std::string DescribeVsStreamsOnlineListRequest::getAppName()const +{ + return appName_; +} + +void DescribeVsStreamsOnlineListRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +int DescribeVsStreamsOnlineListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeVsStreamsOnlineListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeVsStreamsOnlineListRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeVsStreamsOnlineListRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeVsStreamsOnlineListRequest::getQueryType()const +{ + return queryType_; +} + +void DescribeVsStreamsOnlineListRequest::setQueryType(const std::string& queryType) +{ + queryType_ = queryType; + setParameter("QueryType", queryType); +} + +std::string DescribeVsStreamsOnlineListRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsStreamsOnlineListRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsStreamsOnlineListRequest::getStreamType()const +{ + return streamType_; +} + +void DescribeVsStreamsOnlineListRequest::setStreamType(const std::string& streamType) +{ + streamType_ = streamType; + setParameter("StreamType", streamType); +} + +std::string DescribeVsStreamsOnlineListRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsStreamsOnlineListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsStreamsOnlineListRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsStreamsOnlineListRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeVsStreamsOnlineListRequest::getOrderBy()const +{ + return orderBy_; +} + +void DescribeVsStreamsOnlineListRequest::setOrderBy(const std::string& orderBy) +{ + orderBy_ = orderBy; + setParameter("OrderBy", orderBy); +} + +long DescribeVsStreamsOnlineListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsStreamsOnlineListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsStreamsOnlineListResult.cc b/vs/src/model/DescribeVsStreamsOnlineListResult.cc new file mode 100644 index 000000000..0ee2465bd --- /dev/null +++ b/vs/src/model/DescribeVsStreamsOnlineListResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsStreamsOnlineListResult::DescribeVsStreamsOnlineListResult() : + ServiceResult() +{} + +DescribeVsStreamsOnlineListResult::DescribeVsStreamsOnlineListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsStreamsOnlineListResult::~DescribeVsStreamsOnlineListResult() +{} + +void DescribeVsStreamsOnlineListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allOnlineInfoNode = value["OnlineInfo"]["LiveStreamOnlineInfo"]; + for (auto valueOnlineInfoLiveStreamOnlineInfo : allOnlineInfoNode) + { + LiveStreamOnlineInfo onlineInfoObject; + if(!valueOnlineInfoLiveStreamOnlineInfo["DomainName"].isNull()) + onlineInfoObject.domainName = valueOnlineInfoLiveStreamOnlineInfo["DomainName"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["AppName"].isNull()) + onlineInfoObject.appName = valueOnlineInfoLiveStreamOnlineInfo["AppName"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["StreamName"].isNull()) + onlineInfoObject.streamName = valueOnlineInfoLiveStreamOnlineInfo["StreamName"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["PublishTime"].isNull()) + onlineInfoObject.publishTime = valueOnlineInfoLiveStreamOnlineInfo["PublishTime"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["PublishUrl"].isNull()) + onlineInfoObject.publishUrl = valueOnlineInfoLiveStreamOnlineInfo["PublishUrl"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["PublishDomain"].isNull()) + onlineInfoObject.publishDomain = valueOnlineInfoLiveStreamOnlineInfo["PublishDomain"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["PublishType"].isNull()) + onlineInfoObject.publishType = valueOnlineInfoLiveStreamOnlineInfo["PublishType"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["Transcoded"].isNull()) + onlineInfoObject.transcoded = valueOnlineInfoLiveStreamOnlineInfo["Transcoded"].asString(); + if(!valueOnlineInfoLiveStreamOnlineInfo["TranscodeId"].isNull()) + onlineInfoObject.transcodeId = valueOnlineInfoLiveStreamOnlineInfo["TranscodeId"].asString(); + onlineInfo_.push_back(onlineInfoObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +int DescribeVsStreamsOnlineListResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeVsStreamsOnlineListResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeVsStreamsOnlineListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeVsStreamsOnlineListResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeVsStreamsOnlineListResult::getOnlineInfo()const +{ + return onlineInfo_; +} + diff --git a/vs/src/model/DescribeVsStreamsPublishListRequest.cc b/vs/src/model/DescribeVsStreamsPublishListRequest.cc new file mode 100644 index 000000000..f4c8aa392 --- /dev/null +++ b/vs/src/model/DescribeVsStreamsPublishListRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::DescribeVsStreamsPublishListRequest; + +DescribeVsStreamsPublishListRequest::DescribeVsStreamsPublishListRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsStreamsPublishList") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsStreamsPublishListRequest::~DescribeVsStreamsPublishListRequest() +{} + +std::string DescribeVsStreamsPublishListRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsStreamsPublishListRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +int DescribeVsStreamsPublishListRequest::getPageNumber()const +{ + return pageNumber_; +} + +void DescribeVsStreamsPublishListRequest::setPageNumber(int pageNumber) +{ + pageNumber_ = pageNumber; + setParameter("PageNumber", std::to_string(pageNumber)); +} + +std::string DescribeVsStreamsPublishListRequest::getAppName()const +{ + return appName_; +} + +void DescribeVsStreamsPublishListRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +int DescribeVsStreamsPublishListRequest::getPageSize()const +{ + return pageSize_; +} + +void DescribeVsStreamsPublishListRequest::setPageSize(int pageSize) +{ + pageSize_ = pageSize; + setParameter("PageSize", std::to_string(pageSize)); +} + +std::string DescribeVsStreamsPublishListRequest::getStreamName()const +{ + return streamName_; +} + +void DescribeVsStreamsPublishListRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string DescribeVsStreamsPublishListRequest::getQueryType()const +{ + return queryType_; +} + +void DescribeVsStreamsPublishListRequest::setQueryType(const std::string& queryType) +{ + queryType_ = queryType; + setParameter("QueryType", queryType); +} + +std::string DescribeVsStreamsPublishListRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsStreamsPublishListRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsStreamsPublishListRequest::getStreamType()const +{ + return streamType_; +} + +void DescribeVsStreamsPublishListRequest::setStreamType(const std::string& streamType) +{ + streamType_ = streamType; + setParameter("StreamType", streamType); +} + +std::string DescribeVsStreamsPublishListRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsStreamsPublishListRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsStreamsPublishListRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsStreamsPublishListRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string DescribeVsStreamsPublishListRequest::getOrderBy()const +{ + return orderBy_; +} + +void DescribeVsStreamsPublishListRequest::setOrderBy(const std::string& orderBy) +{ + orderBy_ = orderBy; + setParameter("OrderBy", orderBy); +} + +long DescribeVsStreamsPublishListRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsStreamsPublishListRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsStreamsPublishListResult.cc b/vs/src/model/DescribeVsStreamsPublishListResult.cc new file mode 100644 index 000000000..995dc3a3d --- /dev/null +++ b/vs/src/model/DescribeVsStreamsPublishListResult.cc @@ -0,0 +1,109 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsStreamsPublishListResult::DescribeVsStreamsPublishListResult() : + ServiceResult() +{} + +DescribeVsStreamsPublishListResult::DescribeVsStreamsPublishListResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsStreamsPublishListResult::~DescribeVsStreamsPublishListResult() +{} + +void DescribeVsStreamsPublishListResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allPublishInfoNode = value["PublishInfo"]["LiveStreamPublishInfo"]; + for (auto valuePublishInfoLiveStreamPublishInfo : allPublishInfoNode) + { + LiveStreamPublishInfo publishInfoObject; + if(!valuePublishInfoLiveStreamPublishInfo["DomainName"].isNull()) + publishInfoObject.domainName = valuePublishInfoLiveStreamPublishInfo["DomainName"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["AppName"].isNull()) + publishInfoObject.appName = valuePublishInfoLiveStreamPublishInfo["AppName"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["StreamName"].isNull()) + publishInfoObject.streamName = valuePublishInfoLiveStreamPublishInfo["StreamName"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["StreamUrl"].isNull()) + publishInfoObject.streamUrl = valuePublishInfoLiveStreamPublishInfo["StreamUrl"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["PublishTime"].isNull()) + publishInfoObject.publishTime = valuePublishInfoLiveStreamPublishInfo["PublishTime"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["StopTime"].isNull()) + publishInfoObject.stopTime = valuePublishInfoLiveStreamPublishInfo["StopTime"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["PublishUrl"].isNull()) + publishInfoObject.publishUrl = valuePublishInfoLiveStreamPublishInfo["PublishUrl"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["ClientAddr"].isNull()) + publishInfoObject.clientAddr = valuePublishInfoLiveStreamPublishInfo["ClientAddr"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["EdgeNodeAddr"].isNull()) + publishInfoObject.edgeNodeAddr = valuePublishInfoLiveStreamPublishInfo["EdgeNodeAddr"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["PublishDomain"].isNull()) + publishInfoObject.publishDomain = valuePublishInfoLiveStreamPublishInfo["PublishDomain"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["PublishType"].isNull()) + publishInfoObject.publishType = valuePublishInfoLiveStreamPublishInfo["PublishType"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["Transcoded"].isNull()) + publishInfoObject.transcoded = valuePublishInfoLiveStreamPublishInfo["Transcoded"].asString(); + if(!valuePublishInfoLiveStreamPublishInfo["TranscodeId"].isNull()) + publishInfoObject.transcodeId = valuePublishInfoLiveStreamPublishInfo["TranscodeId"].asString(); + publishInfo_.push_back(publishInfoObject); + } + if(!value["PageNum"].isNull()) + pageNum_ = std::stoi(value["PageNum"].asString()); + if(!value["PageSize"].isNull()) + pageSize_ = std::stoi(value["PageSize"].asString()); + if(!value["TotalNum"].isNull()) + totalNum_ = std::stoi(value["TotalNum"].asString()); + if(!value["TotalPage"].isNull()) + totalPage_ = std::stoi(value["TotalPage"].asString()); + +} + +int DescribeVsStreamsPublishListResult::getTotalNum()const +{ + return totalNum_; +} + +int DescribeVsStreamsPublishListResult::getPageNum()const +{ + return pageNum_; +} + +int DescribeVsStreamsPublishListResult::getPageSize()const +{ + return pageSize_; +} + +int DescribeVsStreamsPublishListResult::getTotalPage()const +{ + return totalPage_; +} + +std::vector DescribeVsStreamsPublishListResult::getPublishInfo()const +{ + return publishInfo_; +} + diff --git a/vs/src/model/DescribeVsTopDomainsByFlowRequest.cc b/vs/src/model/DescribeVsTopDomainsByFlowRequest.cc new file mode 100644 index 000000000..e80b4297f --- /dev/null +++ b/vs/src/model/DescribeVsTopDomainsByFlowRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsTopDomainsByFlowRequest; + +DescribeVsTopDomainsByFlowRequest::DescribeVsTopDomainsByFlowRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsTopDomainsByFlow") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsTopDomainsByFlowRequest::~DescribeVsTopDomainsByFlowRequest() +{} + +std::string DescribeVsTopDomainsByFlowRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsTopDomainsByFlowRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +long DescribeVsTopDomainsByFlowRequest::getLimit()const +{ + return limit_; +} + +void DescribeVsTopDomainsByFlowRequest::setLimit(long limit) +{ + limit_ = limit; + setParameter("Limit", std::to_string(limit)); +} + +std::string DescribeVsTopDomainsByFlowRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsTopDomainsByFlowRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsTopDomainsByFlowRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsTopDomainsByFlowRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsTopDomainsByFlowRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsTopDomainsByFlowRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/DescribeVsTopDomainsByFlowResult.cc b/vs/src/model/DescribeVsTopDomainsByFlowResult.cc new file mode 100644 index 000000000..81d35e14a --- /dev/null +++ b/vs/src/model/DescribeVsTopDomainsByFlowResult.cc @@ -0,0 +1,97 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsTopDomainsByFlowResult::DescribeVsTopDomainsByFlowResult() : + ServiceResult() +{} + +DescribeVsTopDomainsByFlowResult::DescribeVsTopDomainsByFlowResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsTopDomainsByFlowResult::~DescribeVsTopDomainsByFlowResult() +{} + +void DescribeVsTopDomainsByFlowResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allTopDomainsNode = value["TopDomains"]["TopDomain"]; + for (auto valueTopDomainsTopDomain : allTopDomainsNode) + { + TopDomain topDomainsObject; + if(!valueTopDomainsTopDomain["DomainName"].isNull()) + topDomainsObject.domainName = valueTopDomainsTopDomain["DomainName"].asString(); + if(!valueTopDomainsTopDomain["Rank"].isNull()) + topDomainsObject.rank = std::stol(valueTopDomainsTopDomain["Rank"].asString()); + if(!valueTopDomainsTopDomain["TotalTraffic"].isNull()) + topDomainsObject.totalTraffic = valueTopDomainsTopDomain["TotalTraffic"].asString(); + if(!valueTopDomainsTopDomain["TrafficPercent"].isNull()) + topDomainsObject.trafficPercent = valueTopDomainsTopDomain["TrafficPercent"].asString(); + if(!valueTopDomainsTopDomain["MaxBps"].isNull()) + topDomainsObject.maxBps = std::stol(valueTopDomainsTopDomain["MaxBps"].asString()); + if(!valueTopDomainsTopDomain["MaxBpsTime"].isNull()) + topDomainsObject.maxBpsTime = valueTopDomainsTopDomain["MaxBpsTime"].asString(); + if(!valueTopDomainsTopDomain["TotalAccess"].isNull()) + topDomainsObject.totalAccess = std::stol(valueTopDomainsTopDomain["TotalAccess"].asString()); + topDomains_.push_back(topDomainsObject); + } + if(!value["StartTime"].isNull()) + startTime_ = value["StartTime"].asString(); + if(!value["EndTime"].isNull()) + endTime_ = value["EndTime"].asString(); + if(!value["DomainCount"].isNull()) + domainCount_ = std::stol(value["DomainCount"].asString()); + if(!value["DomainOnlineCount"].isNull()) + domainOnlineCount_ = std::stol(value["DomainOnlineCount"].asString()); + +} + +std::vector DescribeVsTopDomainsByFlowResult::getTopDomains()const +{ + return topDomains_; +} + +std::string DescribeVsTopDomainsByFlowResult::getEndTime()const +{ + return endTime_; +} + +long DescribeVsTopDomainsByFlowResult::getDomainOnlineCount()const +{ + return domainOnlineCount_; +} + +std::string DescribeVsTopDomainsByFlowResult::getStartTime()const +{ + return startTime_; +} + +long DescribeVsTopDomainsByFlowResult::getDomainCount()const +{ + return domainCount_; +} + diff --git a/vs/src/model/DescribeVsUpPeakPublishStreamDataRequest.cc b/vs/src/model/DescribeVsUpPeakPublishStreamDataRequest.cc new file mode 100644 index 000000000..8ffe67ba8 --- /dev/null +++ b/vs/src/model/DescribeVsUpPeakPublishStreamDataRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::DescribeVsUpPeakPublishStreamDataRequest; + +DescribeVsUpPeakPublishStreamDataRequest::DescribeVsUpPeakPublishStreamDataRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsUpPeakPublishStreamData") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsUpPeakPublishStreamDataRequest::~DescribeVsUpPeakPublishStreamDataRequest() +{} + +std::string DescribeVsUpPeakPublishStreamDataRequest::getStartTime()const +{ + return startTime_; +} + +void DescribeVsUpPeakPublishStreamDataRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string DescribeVsUpPeakPublishStreamDataRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsUpPeakPublishStreamDataRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string DescribeVsUpPeakPublishStreamDataRequest::getDomainName()const +{ + return domainName_; +} + +void DescribeVsUpPeakPublishStreamDataRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string DescribeVsUpPeakPublishStreamDataRequest::getEndTime()const +{ + return endTime_; +} + +void DescribeVsUpPeakPublishStreamDataRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long DescribeVsUpPeakPublishStreamDataRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsUpPeakPublishStreamDataRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeVsUpPeakPublishStreamDataRequest::getDomainSwitch()const +{ + return domainSwitch_; +} + +void DescribeVsUpPeakPublishStreamDataRequest::setDomainSwitch(const std::string& domainSwitch) +{ + domainSwitch_ = domainSwitch; + setParameter("DomainSwitch", domainSwitch); +} + diff --git a/vs/src/model/DescribeVsUpPeakPublishStreamDataResult.cc b/vs/src/model/DescribeVsUpPeakPublishStreamDataResult.cc new file mode 100644 index 000000000..7011ebc95 --- /dev/null +++ b/vs/src/model/DescribeVsUpPeakPublishStreamDataResult.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::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsUpPeakPublishStreamDataResult::DescribeVsUpPeakPublishStreamDataResult() : + ServiceResult() +{} + +DescribeVsUpPeakPublishStreamDataResult::DescribeVsUpPeakPublishStreamDataResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsUpPeakPublishStreamDataResult::~DescribeVsUpPeakPublishStreamDataResult() +{} + +void DescribeVsUpPeakPublishStreamDataResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allDescribeVsUpPeakPublishStreamDatasNode = value["DescribeVsUpPeakPublishStreamDatas"]["DescribeVsUpPeakPublishStreamData"]; + for (auto valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData : allDescribeVsUpPeakPublishStreamDatasNode) + { + DescribeVsUpPeakPublishStreamData describeVsUpPeakPublishStreamDatasObject; + if(!valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["PublishStreamNum"].isNull()) + describeVsUpPeakPublishStreamDatasObject.publishStreamNum = std::stoi(valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["PublishStreamNum"].asString()); + if(!valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["PeakTime"].isNull()) + describeVsUpPeakPublishStreamDatasObject.peakTime = valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["PeakTime"].asString(); + if(!valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["QueryTime"].isNull()) + describeVsUpPeakPublishStreamDatasObject.queryTime = valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["QueryTime"].asString(); + if(!valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["StatName"].isNull()) + describeVsUpPeakPublishStreamDatasObject.statName = valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["StatName"].asString(); + if(!valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["BandWidth"].isNull()) + describeVsUpPeakPublishStreamDatasObject.bandWidth = valueDescribeVsUpPeakPublishStreamDatasDescribeVsUpPeakPublishStreamData["BandWidth"].asString(); + describeVsUpPeakPublishStreamDatas_.push_back(describeVsUpPeakPublishStreamDatasObject); + } + +} + +std::vector DescribeVsUpPeakPublishStreamDataResult::getDescribeVsUpPeakPublishStreamDatas()const +{ + return describeVsUpPeakPublishStreamDatas_; +} + diff --git a/vs/src/model/DescribeVsUserResourcePackageRequest.cc b/vs/src/model/DescribeVsUserResourcePackageRequest.cc new file mode 100644 index 000000000..fb946a040 --- /dev/null +++ b/vs/src/model/DescribeVsUserResourcePackageRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::DescribeVsUserResourcePackageRequest; + +DescribeVsUserResourcePackageRequest::DescribeVsUserResourcePackageRequest() : + RpcServiceRequest("vs", "2018-12-12", "DescribeVsUserResourcePackage") +{ + setMethod(HttpRequest::Method::Post); +} + +DescribeVsUserResourcePackageRequest::~DescribeVsUserResourcePackageRequest() +{} + +long DescribeVsUserResourcePackageRequest::getOwnerId()const +{ + return ownerId_; +} + +void DescribeVsUserResourcePackageRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string DescribeVsUserResourcePackageRequest::getSecurityToken()const +{ + return securityToken_; +} + +void DescribeVsUserResourcePackageRequest::setSecurityToken(const std::string& securityToken) +{ + securityToken_ = securityToken; + setParameter("SecurityToken", securityToken); +} + +std::string DescribeVsUserResourcePackageRequest::getShowLog()const +{ + return showLog_; +} + +void DescribeVsUserResourcePackageRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + diff --git a/vs/src/model/DescribeVsUserResourcePackageResult.cc b/vs/src/model/DescribeVsUserResourcePackageResult.cc new file mode 100644 index 000000000..29bf32c08 --- /dev/null +++ b/vs/src/model/DescribeVsUserResourcePackageResult.cc @@ -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. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +DescribeVsUserResourcePackageResult::DescribeVsUserResourcePackageResult() : + ServiceResult() +{} + +DescribeVsUserResourcePackageResult::DescribeVsUserResourcePackageResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +DescribeVsUserResourcePackageResult::~DescribeVsUserResourcePackageResult() +{} + +void DescribeVsUserResourcePackageResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + auto allResourcePackageInfosNode = value["ResourcePackageInfos"]["ResourcePackageInfo"]; + for (auto valueResourcePackageInfosResourcePackageInfo : allResourcePackageInfosNode) + { + ResourcePackageInfo resourcePackageInfosObject; + if(!valueResourcePackageInfosResourcePackageInfo["CurrCapacity"].isNull()) + resourcePackageInfosObject.currCapacity = valueResourcePackageInfosResourcePackageInfo["CurrCapacity"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["InitCapacity"].isNull()) + resourcePackageInfosObject.initCapacity = valueResourcePackageInfosResourcePackageInfo["InitCapacity"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["CommodityCode"].isNull()) + resourcePackageInfosObject.commodityCode = valueResourcePackageInfosResourcePackageInfo["CommodityCode"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["DisplayName"].isNull()) + resourcePackageInfosObject.displayName = valueResourcePackageInfosResourcePackageInfo["DisplayName"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["InstanceId"].isNull()) + resourcePackageInfosObject.instanceId = valueResourcePackageInfosResourcePackageInfo["InstanceId"].asString(); + if(!valueResourcePackageInfosResourcePackageInfo["Status"].isNull()) + resourcePackageInfosObject.status = valueResourcePackageInfosResourcePackageInfo["Status"].asString(); + resourcePackageInfos_.push_back(resourcePackageInfosObject); + } + +} + +std::vector DescribeVsUserResourcePackageResult::getResourcePackageInfos()const +{ + return resourcePackageInfos_; +} + diff --git a/vs/src/model/ForbidVsStreamRequest.cc b/vs/src/model/ForbidVsStreamRequest.cc new file mode 100644 index 000000000..2cbdd6e46 --- /dev/null +++ b/vs/src/model/ForbidVsStreamRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::ForbidVsStreamRequest; + +ForbidVsStreamRequest::ForbidVsStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "ForbidVsStream") +{ + setMethod(HttpRequest::Method::Post); +} + +ForbidVsStreamRequest::~ForbidVsStreamRequest() +{} + +std::string ForbidVsStreamRequest::getAppName()const +{ + return appName_; +} + +void ForbidVsStreamRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string ForbidVsStreamRequest::getStreamName()const +{ + return streamName_; +} + +void ForbidVsStreamRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string ForbidVsStreamRequest::getShowLog()const +{ + return showLog_; +} + +void ForbidVsStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string ForbidVsStreamRequest::getControlStreamAction()const +{ + return controlStreamAction_; +} + +void ForbidVsStreamRequest::setControlStreamAction(const std::string& controlStreamAction) +{ + controlStreamAction_ = controlStreamAction; + setParameter("ControlStreamAction", controlStreamAction); +} + +std::string ForbidVsStreamRequest::getResumeTime()const +{ + return resumeTime_; +} + +void ForbidVsStreamRequest::setResumeTime(const std::string& resumeTime) +{ + resumeTime_ = resumeTime; + setParameter("ResumeTime", resumeTime); +} + +std::string ForbidVsStreamRequest::getLiveStreamType()const +{ + return liveStreamType_; +} + +void ForbidVsStreamRequest::setLiveStreamType(const std::string& liveStreamType) +{ + liveStreamType_ = liveStreamType; + setParameter("LiveStreamType", liveStreamType); +} + +std::string ForbidVsStreamRequest::getDomainName()const +{ + return domainName_; +} + +void ForbidVsStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long ForbidVsStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void ForbidVsStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ForbidVsStreamRequest::getOneshot()const +{ + return oneshot_; +} + +void ForbidVsStreamRequest::setOneshot(const std::string& oneshot) +{ + oneshot_ = oneshot; + setParameter("Oneshot", oneshot); +} + diff --git a/vs/src/model/ForbidVsStreamResult.cc b/vs/src/model/ForbidVsStreamResult.cc new file mode 100644 index 000000000..d8ad0828e --- /dev/null +++ b/vs/src/model/ForbidVsStreamResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ForbidVsStreamResult::ForbidVsStreamResult() : + ServiceResult() +{} + +ForbidVsStreamResult::ForbidVsStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ForbidVsStreamResult::~ForbidVsStreamResult() +{} + +void ForbidVsStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/GotoPresetRequest.cc b/vs/src/model/GotoPresetRequest.cc new file mode 100644 index 000000000..7710b7dc3 --- /dev/null +++ b/vs/src/model/GotoPresetRequest.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 + +using AlibabaCloud::Vs::Model::GotoPresetRequest; + +GotoPresetRequest::GotoPresetRequest() : + RpcServiceRequest("vs", "2018-12-12", "GotoPreset") +{ + setMethod(HttpRequest::Method::Post); +} + +GotoPresetRequest::~GotoPresetRequest() +{} + +std::string GotoPresetRequest::getId()const +{ + return id_; +} + +void GotoPresetRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string GotoPresetRequest::getPresetId()const +{ + return presetId_; +} + +void GotoPresetRequest::setPresetId(const std::string& presetId) +{ + presetId_ = presetId; + setParameter("PresetId", presetId); +} + +std::string GotoPresetRequest::getShowLog()const +{ + return showLog_; +} + +void GotoPresetRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long GotoPresetRequest::getOwnerId()const +{ + return ownerId_; +} + +void GotoPresetRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/GotoPresetResult.cc b/vs/src/model/GotoPresetResult.cc new file mode 100644 index 000000000..03e743246 --- /dev/null +++ b/vs/src/model/GotoPresetResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +GotoPresetResult::GotoPresetResult() : + ServiceResult() +{} + +GotoPresetResult::GotoPresetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +GotoPresetResult::~GotoPresetResult() +{} + +void GotoPresetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string GotoPresetResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/ModifyDeviceAlarmRequest.cc b/vs/src/model/ModifyDeviceAlarmRequest.cc new file mode 100644 index 000000000..8b66bcd9b --- /dev/null +++ b/vs/src/model/ModifyDeviceAlarmRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::ModifyDeviceAlarmRequest; + +ModifyDeviceAlarmRequest::ModifyDeviceAlarmRequest() : + RpcServiceRequest("vs", "2018-12-12", "ModifyDeviceAlarm") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyDeviceAlarmRequest::~ModifyDeviceAlarmRequest() +{} + +std::string ModifyDeviceAlarmRequest::getId()const +{ + return id_; +} + +void ModifyDeviceAlarmRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string ModifyDeviceAlarmRequest::getShowLog()const +{ + return showLog_; +} + +void ModifyDeviceAlarmRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long ModifyDeviceAlarmRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyDeviceAlarmRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyDeviceAlarmRequest::getAlarmId()const +{ + return alarmId_; +} + +void ModifyDeviceAlarmRequest::setAlarmId(const std::string& alarmId) +{ + alarmId_ = alarmId; + setParameter("AlarmId", alarmId); +} + +int ModifyDeviceAlarmRequest::getChannelId()const +{ + return channelId_; +} + +void ModifyDeviceAlarmRequest::setChannelId(int channelId) +{ + channelId_ = channelId; + setParameter("ChannelId", std::to_string(channelId)); +} + +int ModifyDeviceAlarmRequest::getStatus()const +{ + return status_; +} + +void ModifyDeviceAlarmRequest::setStatus(int status) +{ + status_ = status; + setParameter("Status", std::to_string(status)); +} + diff --git a/vs/src/model/ModifyDeviceAlarmResult.cc b/vs/src/model/ModifyDeviceAlarmResult.cc new file mode 100644 index 000000000..4f18e2a59 --- /dev/null +++ b/vs/src/model/ModifyDeviceAlarmResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ModifyDeviceAlarmResult::ModifyDeviceAlarmResult() : + ServiceResult() +{} + +ModifyDeviceAlarmResult::ModifyDeviceAlarmResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDeviceAlarmResult::~ModifyDeviceAlarmResult() +{} + +void ModifyDeviceAlarmResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/ModifyDeviceCaptureRequest.cc b/vs/src/model/ModifyDeviceCaptureRequest.cc new file mode 100644 index 000000000..3b2400c66 --- /dev/null +++ b/vs/src/model/ModifyDeviceCaptureRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::ModifyDeviceCaptureRequest; + +ModifyDeviceCaptureRequest::ModifyDeviceCaptureRequest() : + RpcServiceRequest("vs", "2018-12-12", "ModifyDeviceCapture") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyDeviceCaptureRequest::~ModifyDeviceCaptureRequest() +{} + +int ModifyDeviceCaptureRequest::getVideo()const +{ + return video_; +} + +void ModifyDeviceCaptureRequest::setVideo(int video) +{ + video_ = video; + setParameter("Video", std::to_string(video)); +} + +std::string ModifyDeviceCaptureRequest::getId()const +{ + return id_; +} + +void ModifyDeviceCaptureRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string ModifyDeviceCaptureRequest::getShowLog()const +{ + return showLog_; +} + +void ModifyDeviceCaptureRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +int ModifyDeviceCaptureRequest::getImage()const +{ + return image_; +} + +void ModifyDeviceCaptureRequest::setImage(int image) +{ + image_ = image; + setParameter("Image", std::to_string(image)); +} + +long ModifyDeviceCaptureRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyDeviceCaptureRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/ModifyDeviceCaptureResult.cc b/vs/src/model/ModifyDeviceCaptureResult.cc new file mode 100644 index 000000000..27d7e9682 --- /dev/null +++ b/vs/src/model/ModifyDeviceCaptureResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ModifyDeviceCaptureResult::ModifyDeviceCaptureResult() : + ServiceResult() +{} + +ModifyDeviceCaptureResult::ModifyDeviceCaptureResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDeviceCaptureResult::~ModifyDeviceCaptureResult() +{} + +void ModifyDeviceCaptureResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/ModifyDeviceChannelsRequest.cc b/vs/src/model/ModifyDeviceChannelsRequest.cc new file mode 100644 index 000000000..e58d73a5d --- /dev/null +++ b/vs/src/model/ModifyDeviceChannelsRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::ModifyDeviceChannelsRequest; + +ModifyDeviceChannelsRequest::ModifyDeviceChannelsRequest() : + RpcServiceRequest("vs", "2018-12-12", "ModifyDeviceChannels") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyDeviceChannelsRequest::~ModifyDeviceChannelsRequest() +{} + +std::string ModifyDeviceChannelsRequest::getDeviceStatus()const +{ + return deviceStatus_; +} + +void ModifyDeviceChannelsRequest::setDeviceStatus(const std::string& deviceStatus) +{ + deviceStatus_ = deviceStatus; + setParameter("DeviceStatus", deviceStatus); +} + +std::string ModifyDeviceChannelsRequest::getId()const +{ + return id_; +} + +void ModifyDeviceChannelsRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string ModifyDeviceChannelsRequest::getShowLog()const +{ + return showLog_; +} + +void ModifyDeviceChannelsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long ModifyDeviceChannelsRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyDeviceChannelsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyDeviceChannelsRequest::getChannels()const +{ + return channels_; +} + +void ModifyDeviceChannelsRequest::setChannels(const std::string& channels) +{ + channels_ = channels; + setParameter("Channels", channels); +} + +std::string ModifyDeviceChannelsRequest::getDsn()const +{ + return dsn_; +} + +void ModifyDeviceChannelsRequest::setDsn(const std::string& dsn) +{ + dsn_ = dsn; + setParameter("Dsn", dsn); +} + diff --git a/vs/src/model/ModifyDeviceChannelsResult.cc b/vs/src/model/ModifyDeviceChannelsResult.cc new file mode 100644 index 000000000..5cd77a9b8 --- /dev/null +++ b/vs/src/model/ModifyDeviceChannelsResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ModifyDeviceChannelsResult::ModifyDeviceChannelsResult() : + ServiceResult() +{} + +ModifyDeviceChannelsResult::ModifyDeviceChannelsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDeviceChannelsResult::~ModifyDeviceChannelsResult() +{} + +void ModifyDeviceChannelsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/ModifyDeviceRequest.cc b/vs/src/model/ModifyDeviceRequest.cc new file mode 100644 index 000000000..036516431 --- /dev/null +++ b/vs/src/model/ModifyDeviceRequest.cc @@ -0,0 +1,282 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::ModifyDeviceRequest; + +ModifyDeviceRequest::ModifyDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "ModifyDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyDeviceRequest::~ModifyDeviceRequest() +{} + +std::string ModifyDeviceRequest::getGbId()const +{ + return gbId_; +} + +void ModifyDeviceRequest::setGbId(const std::string& gbId) +{ + gbId_ = gbId; + setParameter("GbId", gbId); +} + +std::string ModifyDeviceRequest::getLatitude()const +{ + return latitude_; +} + +void ModifyDeviceRequest::setLatitude(const std::string& latitude) +{ + latitude_ = latitude; + setParameter("Latitude", latitude); +} + +std::string ModifyDeviceRequest::getDescription()const +{ + return description_; +} + +void ModifyDeviceRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string ModifyDeviceRequest::getType()const +{ + return type_; +} + +void ModifyDeviceRequest::setType(const std::string& type) +{ + type_ = type; + setParameter("Type", type); +} + +bool ModifyDeviceRequest::getAutoStart()const +{ + return autoStart_; +} + +void ModifyDeviceRequest::setAutoStart(bool autoStart) +{ + autoStart_ = autoStart; + setParameter("AutoStart", autoStart ? "true" : "false"); +} + +std::string ModifyDeviceRequest::getParentId()const +{ + return parentId_; +} + +void ModifyDeviceRequest::setParentId(const std::string& parentId) +{ + parentId_ = parentId; + setParameter("ParentId", parentId); +} + +std::string ModifyDeviceRequest::getPassword()const +{ + return password_; +} + +void ModifyDeviceRequest::setPassword(const std::string& password) +{ + password_ = password; + setParameter("Password", password); +} + +std::string ModifyDeviceRequest::getVendor()const +{ + return vendor_; +} + +void ModifyDeviceRequest::setVendor(const std::string& vendor) +{ + vendor_ = vendor; + setParameter("Vendor", vendor); +} + +std::string ModifyDeviceRequest::getAlarmMethod()const +{ + return alarmMethod_; +} + +void ModifyDeviceRequest::setAlarmMethod(const std::string& alarmMethod) +{ + alarmMethod_ = alarmMethod; + setParameter("AlarmMethod", alarmMethod); +} + +std::string ModifyDeviceRequest::getDirectoryId()const +{ + return directoryId_; +} + +void ModifyDeviceRequest::setDirectoryId(const std::string& directoryId) +{ + directoryId_ = directoryId; + setParameter("DirectoryId", directoryId); +} + +std::string ModifyDeviceRequest::getId()const +{ + return id_; +} + +void ModifyDeviceRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string ModifyDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void ModifyDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string ModifyDeviceRequest::getLongitude()const +{ + return longitude_; +} + +void ModifyDeviceRequest::setLongitude(const std::string& longitude) +{ + longitude_ = longitude; + setParameter("Longitude", longitude); +} + +std::string ModifyDeviceRequest::getGroupId()const +{ + return groupId_; +} + +void ModifyDeviceRequest::setGroupId(const std::string& groupId) +{ + groupId_ = groupId; + setParameter("GroupId", groupId); +} + +std::string ModifyDeviceRequest::getIp()const +{ + return ip_; +} + +void ModifyDeviceRequest::setIp(const std::string& ip) +{ + ip_ = ip; + setParameter("Ip", ip); +} + +long ModifyDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyDeviceRequest::getParams()const +{ + return params_; +} + +void ModifyDeviceRequest::setParams(const std::string& params) +{ + params_ = params; + setParameter("Params", params); +} + +std::string ModifyDeviceRequest::getUrl()const +{ + return url_; +} + +void ModifyDeviceRequest::setUrl(const std::string& url) +{ + url_ = url; + setParameter("Url", url); +} + +long ModifyDeviceRequest::getPort()const +{ + return port_; +} + +void ModifyDeviceRequest::setPort(long port) +{ + port_ = port; + setParameter("Port", std::to_string(port)); +} + +std::string ModifyDeviceRequest::getName()const +{ + return name_; +} + +void ModifyDeviceRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +long ModifyDeviceRequest::getPosInterval()const +{ + return posInterval_; +} + +void ModifyDeviceRequest::setPosInterval(long posInterval) +{ + posInterval_ = posInterval; + setParameter("PosInterval", std::to_string(posInterval)); +} + +std::string ModifyDeviceRequest::getUsername()const +{ + return username_; +} + +void ModifyDeviceRequest::setUsername(const std::string& username) +{ + username_ = username; + setParameter("Username", username); +} + +bool ModifyDeviceRequest::getAutoPos()const +{ + return autoPos_; +} + +void ModifyDeviceRequest::setAutoPos(bool autoPos) +{ + autoPos_ = autoPos; + setParameter("AutoPos", autoPos ? "true" : "false"); +} + diff --git a/vs/src/model/ModifyDeviceResult.cc b/vs/src/model/ModifyDeviceResult.cc new file mode 100644 index 000000000..592876621 --- /dev/null +++ b/vs/src/model/ModifyDeviceResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ModifyDeviceResult::ModifyDeviceResult() : + ServiceResult() +{} + +ModifyDeviceResult::ModifyDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDeviceResult::~ModifyDeviceResult() +{} + +void ModifyDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string ModifyDeviceResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/ModifyDirectoryRequest.cc b/vs/src/model/ModifyDirectoryRequest.cc new file mode 100644 index 000000000..082c894ab --- /dev/null +++ b/vs/src/model/ModifyDirectoryRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::ModifyDirectoryRequest; + +ModifyDirectoryRequest::ModifyDirectoryRequest() : + RpcServiceRequest("vs", "2018-12-12", "ModifyDirectory") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyDirectoryRequest::~ModifyDirectoryRequest() +{} + +std::string ModifyDirectoryRequest::getDescription()const +{ + return description_; +} + +void ModifyDirectoryRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string ModifyDirectoryRequest::getId()const +{ + return id_; +} + +void ModifyDirectoryRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string ModifyDirectoryRequest::getShowLog()const +{ + return showLog_; +} + +void ModifyDirectoryRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long ModifyDirectoryRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyDirectoryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyDirectoryRequest::getName()const +{ + return name_; +} + +void ModifyDirectoryRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + diff --git a/vs/src/model/ModifyDirectoryResult.cc b/vs/src/model/ModifyDirectoryResult.cc new file mode 100644 index 000000000..1647e4cff --- /dev/null +++ b/vs/src/model/ModifyDirectoryResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ModifyDirectoryResult::ModifyDirectoryResult() : + ServiceResult() +{} + +ModifyDirectoryResult::ModifyDirectoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyDirectoryResult::~ModifyDirectoryResult() +{} + +void ModifyDirectoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string ModifyDirectoryResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/ModifyGroupRequest.cc b/vs/src/model/ModifyGroupRequest.cc new file mode 100644 index 000000000..6eb647f73 --- /dev/null +++ b/vs/src/model/ModifyGroupRequest.cc @@ -0,0 +1,227 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::ModifyGroupRequest; + +ModifyGroupRequest::ModifyGroupRequest() : + RpcServiceRequest("vs", "2018-12-12", "ModifyGroup") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyGroupRequest::~ModifyGroupRequest() +{} + +int ModifyGroupRequest::getCaptureVideo()const +{ + return captureVideo_; +} + +void ModifyGroupRequest::setCaptureVideo(int captureVideo) +{ + captureVideo_ = captureVideo; + setParameter("CaptureVideo", std::to_string(captureVideo)); +} + +std::string ModifyGroupRequest::getDescription()const +{ + return description_; +} + +void ModifyGroupRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +bool ModifyGroupRequest::getEnabled()const +{ + return enabled_; +} + +void ModifyGroupRequest::setEnabled(bool enabled) +{ + enabled_ = enabled; + setParameter("Enabled", enabled ? "true" : "false"); +} + +std::string ModifyGroupRequest::getCaptureOssPath()const +{ + return captureOssPath_; +} + +void ModifyGroupRequest::setCaptureOssPath(const std::string& captureOssPath) +{ + captureOssPath_ = captureOssPath; + setParameter("CaptureOssPath", captureOssPath); +} + +std::string ModifyGroupRequest::getPushDomain()const +{ + return pushDomain_; +} + +void ModifyGroupRequest::setPushDomain(const std::string& pushDomain) +{ + pushDomain_ = pushDomain; + setParameter("PushDomain", pushDomain); +} + +int ModifyGroupRequest::getCaptureImage()const +{ + return captureImage_; +} + +void ModifyGroupRequest::setCaptureImage(int captureImage) +{ + captureImage_ = captureImage; + setParameter("CaptureImage", std::to_string(captureImage)); +} + +std::string ModifyGroupRequest::getId()const +{ + return id_; +} + +void ModifyGroupRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string ModifyGroupRequest::getShowLog()const +{ + return showLog_; +} + +void ModifyGroupRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string ModifyGroupRequest::getPlayDomain()const +{ + return playDomain_; +} + +void ModifyGroupRequest::setPlayDomain(const std::string& playDomain) +{ + playDomain_ = playDomain; + setParameter("PlayDomain", playDomain); +} + +std::string ModifyGroupRequest::getOutProtocol()const +{ + return outProtocol_; +} + +void ModifyGroupRequest::setOutProtocol(const std::string& outProtocol) +{ + outProtocol_ = outProtocol; + setParameter("OutProtocol", outProtocol); +} + +int ModifyGroupRequest::getCaptureInterval()const +{ + return captureInterval_; +} + +void ModifyGroupRequest::setCaptureInterval(int captureInterval) +{ + captureInterval_ = captureInterval; + setParameter("CaptureInterval", std::to_string(captureInterval)); +} + +long ModifyGroupRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyGroupRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyGroupRequest::getInProtocol()const +{ + return inProtocol_; +} + +void ModifyGroupRequest::setInProtocol(const std::string& inProtocol) +{ + inProtocol_ = inProtocol; + setParameter("InProtocol", inProtocol); +} + +bool ModifyGroupRequest::getLazyPull()const +{ + return lazyPull_; +} + +void ModifyGroupRequest::setLazyPull(bool lazyPull) +{ + lazyPull_ = lazyPull; + setParameter("LazyPull", lazyPull ? "true" : "false"); +} + +std::string ModifyGroupRequest::getName()const +{ + return name_; +} + +void ModifyGroupRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string ModifyGroupRequest::getCallback()const +{ + return callback_; +} + +void ModifyGroupRequest::setCallback(const std::string& callback) +{ + callback_ = callback; + setParameter("Callback", callback); +} + +std::string ModifyGroupRequest::getRegion()const +{ + return region_; +} + +void ModifyGroupRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); +} + +std::string ModifyGroupRequest::getCaptureOssBucket()const +{ + return captureOssBucket_; +} + +void ModifyGroupRequest::setCaptureOssBucket(const std::string& captureOssBucket) +{ + captureOssBucket_ = captureOssBucket; + setParameter("CaptureOssBucket", captureOssBucket); +} + diff --git a/vs/src/model/ModifyGroupResult.cc b/vs/src/model/ModifyGroupResult.cc new file mode 100644 index 000000000..ad46bd376 --- /dev/null +++ b/vs/src/model/ModifyGroupResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ModifyGroupResult::ModifyGroupResult() : + ServiceResult() +{} + +ModifyGroupResult::ModifyGroupResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyGroupResult::~ModifyGroupResult() +{} + +void ModifyGroupResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string ModifyGroupResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/ModifyParentPlatformRequest.cc b/vs/src/model/ModifyParentPlatformRequest.cc new file mode 100644 index 000000000..6be1ed58a --- /dev/null +++ b/vs/src/model/ModifyParentPlatformRequest.cc @@ -0,0 +1,161 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::ModifyParentPlatformRequest; + +ModifyParentPlatformRequest::ModifyParentPlatformRequest() : + RpcServiceRequest("vs", "2018-12-12", "ModifyParentPlatform") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyParentPlatformRequest::~ModifyParentPlatformRequest() +{} + +std::string ModifyParentPlatformRequest::getGbId()const +{ + return gbId_; +} + +void ModifyParentPlatformRequest::setGbId(const std::string& gbId) +{ + gbId_ = gbId; + setParameter("GbId", gbId); +} + +bool ModifyParentPlatformRequest::getClientAuth()const +{ + return clientAuth_; +} + +void ModifyParentPlatformRequest::setClientAuth(bool clientAuth) +{ + clientAuth_ = clientAuth; + setParameter("ClientAuth", clientAuth ? "true" : "false"); +} + +std::string ModifyParentPlatformRequest::getDescription()const +{ + return description_; +} + +void ModifyParentPlatformRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +bool ModifyParentPlatformRequest::getAutoStart()const +{ + return autoStart_; +} + +void ModifyParentPlatformRequest::setAutoStart(bool autoStart) +{ + autoStart_ = autoStart; + setParameter("AutoStart", autoStart ? "true" : "false"); +} + +std::string ModifyParentPlatformRequest::getId()const +{ + return id_; +} + +void ModifyParentPlatformRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string ModifyParentPlatformRequest::getClientPassword()const +{ + return clientPassword_; +} + +void ModifyParentPlatformRequest::setClientPassword(const std::string& clientPassword) +{ + clientPassword_ = clientPassword; + setParameter("ClientPassword", clientPassword); +} + +std::string ModifyParentPlatformRequest::getShowLog()const +{ + return showLog_; +} + +void ModifyParentPlatformRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string ModifyParentPlatformRequest::getIp()const +{ + return ip_; +} + +void ModifyParentPlatformRequest::setIp(const std::string& ip) +{ + ip_ = ip; + setParameter("Ip", ip); +} + +long ModifyParentPlatformRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyParentPlatformRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +long ModifyParentPlatformRequest::getPort()const +{ + return port_; +} + +void ModifyParentPlatformRequest::setPort(long port) +{ + port_ = port; + setParameter("Port", std::to_string(port)); +} + +std::string ModifyParentPlatformRequest::getName()const +{ + return name_; +} + +void ModifyParentPlatformRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string ModifyParentPlatformRequest::getClientUsername()const +{ + return clientUsername_; +} + +void ModifyParentPlatformRequest::setClientUsername(const std::string& clientUsername) +{ + clientUsername_ = clientUsername; + setParameter("ClientUsername", clientUsername); +} + diff --git a/vs/src/model/ModifyParentPlatformResult.cc b/vs/src/model/ModifyParentPlatformResult.cc new file mode 100644 index 000000000..2f546225b --- /dev/null +++ b/vs/src/model/ModifyParentPlatformResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ModifyParentPlatformResult::ModifyParentPlatformResult() : + ServiceResult() +{} + +ModifyParentPlatformResult::ModifyParentPlatformResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyParentPlatformResult::~ModifyParentPlatformResult() +{} + +void ModifyParentPlatformResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string ModifyParentPlatformResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/ModifyTemplateRequest.cc b/vs/src/model/ModifyTemplateRequest.cc new file mode 100644 index 000000000..59ede96ab --- /dev/null +++ b/vs/src/model/ModifyTemplateRequest.cc @@ -0,0 +1,293 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::ModifyTemplateRequest; + +ModifyTemplateRequest::ModifyTemplateRequest() : + RpcServiceRequest("vs", "2018-12-12", "ModifyTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +ModifyTemplateRequest::~ModifyTemplateRequest() +{} + +std::string ModifyTemplateRequest::getHlsTs()const +{ + return hlsTs_; +} + +void ModifyTemplateRequest::setHlsTs(const std::string& hlsTs) +{ + hlsTs_ = hlsTs; + setParameter("HlsTs", hlsTs); +} + +std::string ModifyTemplateRequest::getOssEndpoint()const +{ + return ossEndpoint_; +} + +void ModifyTemplateRequest::setOssEndpoint(const std::string& ossEndpoint) +{ + ossEndpoint_ = ossEndpoint; + setParameter("OssEndpoint", ossEndpoint); +} + +std::string ModifyTemplateRequest::getDescription()const +{ + return description_; +} + +void ModifyTemplateRequest::setDescription(const std::string& description) +{ + description_ = description; + setParameter("Description", description); +} + +std::string ModifyTemplateRequest::getOssFilePrefix()const +{ + return ossFilePrefix_; +} + +void ModifyTemplateRequest::setOssFilePrefix(const std::string& ossFilePrefix) +{ + ossFilePrefix_ = ossFilePrefix; + setParameter("OssFilePrefix", ossFilePrefix); +} + +std::string ModifyTemplateRequest::getJpgOverwrite()const +{ + return jpgOverwrite_; +} + +void ModifyTemplateRequest::setJpgOverwrite(const std::string& jpgOverwrite) +{ + jpgOverwrite_ = jpgOverwrite; + setParameter("JpgOverwrite", jpgOverwrite); +} + +std::string ModifyTemplateRequest::getStartTime()const +{ + return startTime_; +} + +void ModifyTemplateRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string ModifyTemplateRequest::getJpgOnDemand()const +{ + return jpgOnDemand_; +} + +void ModifyTemplateRequest::setJpgOnDemand(const std::string& jpgOnDemand) +{ + jpgOnDemand_ = jpgOnDemand; + setParameter("JpgOnDemand", jpgOnDemand); +} + +std::string ModifyTemplateRequest::getId()const +{ + return id_; +} + +void ModifyTemplateRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +long ModifyTemplateRequest::getRetention()const +{ + return retention_; +} + +void ModifyTemplateRequest::setRetention(long retention) +{ + retention_ = retention; + setParameter("Retention", std::to_string(retention)); +} + +std::string ModifyTemplateRequest::getShowLog()const +{ + return showLog_; +} + +void ModifyTemplateRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string ModifyTemplateRequest::getHlsM3u8()const +{ + return hlsM3u8_; +} + +void ModifyTemplateRequest::setHlsM3u8(const std::string& hlsM3u8) +{ + hlsM3u8_ = hlsM3u8; + setParameter("HlsM3u8", hlsM3u8); +} + +std::string ModifyTemplateRequest::getOssBucket()const +{ + return ossBucket_; +} + +void ModifyTemplateRequest::setOssBucket(const std::string& ossBucket) +{ + ossBucket_ = ossBucket; + setParameter("OssBucket", ossBucket); +} + +std::string ModifyTemplateRequest::getTransConfigsJSON()const +{ + return transConfigsJSON_; +} + +void ModifyTemplateRequest::setTransConfigsJSON(const std::string& transConfigsJSON) +{ + transConfigsJSON_ = transConfigsJSON; + setParameter("TransConfigsJSON", transConfigsJSON); +} + +std::string ModifyTemplateRequest::getEndTime()const +{ + return endTime_; +} + +void ModifyTemplateRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +std::string ModifyTemplateRequest::getTrigger()const +{ + return trigger_; +} + +void ModifyTemplateRequest::setTrigger(const std::string& trigger) +{ + trigger_ = trigger; + setParameter("Trigger", trigger); +} + +long ModifyTemplateRequest::getOwnerId()const +{ + return ownerId_; +} + +void ModifyTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string ModifyTemplateRequest::getJpgSequence()const +{ + return jpgSequence_; +} + +void ModifyTemplateRequest::setJpgSequence(const std::string& jpgSequence) +{ + jpgSequence_ = jpgSequence; + setParameter("JpgSequence", jpgSequence); +} + +std::string ModifyTemplateRequest::getMp4()const +{ + return mp4_; +} + +void ModifyTemplateRequest::setMp4(const std::string& mp4) +{ + mp4_ = mp4; + setParameter("Mp4", mp4); +} + +std::string ModifyTemplateRequest::getFlv()const +{ + return flv_; +} + +void ModifyTemplateRequest::setFlv(const std::string& flv) +{ + flv_ = flv; + setParameter("Flv", flv); +} + +std::string ModifyTemplateRequest::getName()const +{ + return name_; +} + +void ModifyTemplateRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + +std::string ModifyTemplateRequest::getCallback()const +{ + return callback_; +} + +void ModifyTemplateRequest::setCallback(const std::string& callback) +{ + callback_ = callback; + setParameter("Callback", callback); +} + +long ModifyTemplateRequest::getInterval()const +{ + return interval_; +} + +void ModifyTemplateRequest::setInterval(long interval) +{ + interval_ = interval; + setParameter("Interval", std::to_string(interval)); +} + +std::string ModifyTemplateRequest::getFileFormat()const +{ + return fileFormat_; +} + +void ModifyTemplateRequest::setFileFormat(const std::string& fileFormat) +{ + fileFormat_ = fileFormat; + setParameter("FileFormat", fileFormat); +} + +std::string ModifyTemplateRequest::getRegion()const +{ + return region_; +} + +void ModifyTemplateRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); +} + diff --git a/vs/src/model/ModifyTemplateResult.cc b/vs/src/model/ModifyTemplateResult.cc new file mode 100644 index 000000000..7d5ad5aa4 --- /dev/null +++ b/vs/src/model/ModifyTemplateResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ModifyTemplateResult::ModifyTemplateResult() : + ServiceResult() +{} + +ModifyTemplateResult::ModifyTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ModifyTemplateResult::~ModifyTemplateResult() +{} + +void ModifyTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string ModifyTemplateResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/ResumeVsStreamRequest.cc b/vs/src/model/ResumeVsStreamRequest.cc new file mode 100644 index 000000000..5c4804071 --- /dev/null +++ b/vs/src/model/ResumeVsStreamRequest.cc @@ -0,0 +1,106 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::ResumeVsStreamRequest; + +ResumeVsStreamRequest::ResumeVsStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "ResumeVsStream") +{ + setMethod(HttpRequest::Method::Post); +} + +ResumeVsStreamRequest::~ResumeVsStreamRequest() +{} + +std::string ResumeVsStreamRequest::getAppName()const +{ + return appName_; +} + +void ResumeVsStreamRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string ResumeVsStreamRequest::getStreamName()const +{ + return streamName_; +} + +void ResumeVsStreamRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string ResumeVsStreamRequest::getShowLog()const +{ + return showLog_; +} + +void ResumeVsStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string ResumeVsStreamRequest::getControlStreamAction()const +{ + return controlStreamAction_; +} + +void ResumeVsStreamRequest::setControlStreamAction(const std::string& controlStreamAction) +{ + controlStreamAction_ = controlStreamAction; + setParameter("ControlStreamAction", controlStreamAction); +} + +std::string ResumeVsStreamRequest::getLiveStreamType()const +{ + return liveStreamType_; +} + +void ResumeVsStreamRequest::setLiveStreamType(const std::string& liveStreamType) +{ + liveStreamType_ = liveStreamType; + setParameter("LiveStreamType", liveStreamType); +} + +std::string ResumeVsStreamRequest::getDomainName()const +{ + return domainName_; +} + +void ResumeVsStreamRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long ResumeVsStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void ResumeVsStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/ResumeVsStreamResult.cc b/vs/src/model/ResumeVsStreamResult.cc new file mode 100644 index 000000000..f78cb20d9 --- /dev/null +++ b/vs/src/model/ResumeVsStreamResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +ResumeVsStreamResult::ResumeVsStreamResult() : + ServiceResult() +{} + +ResumeVsStreamResult::ResumeVsStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +ResumeVsStreamResult::~ResumeVsStreamResult() +{} + +void ResumeVsStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/SetPresetRequest.cc b/vs/src/model/SetPresetRequest.cc new file mode 100644 index 000000000..992fc56bb --- /dev/null +++ b/vs/src/model/SetPresetRequest.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 + +using AlibabaCloud::Vs::Model::SetPresetRequest; + +SetPresetRequest::SetPresetRequest() : + RpcServiceRequest("vs", "2018-12-12", "SetPreset") +{ + setMethod(HttpRequest::Method::Post); +} + +SetPresetRequest::~SetPresetRequest() +{} + +std::string SetPresetRequest::getId()const +{ + return id_; +} + +void SetPresetRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string SetPresetRequest::getPresetId()const +{ + return presetId_; +} + +void SetPresetRequest::setPresetId(const std::string& presetId) +{ + presetId_ = presetId; + setParameter("PresetId", presetId); +} + +std::string SetPresetRequest::getShowLog()const +{ + return showLog_; +} + +void SetPresetRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long SetPresetRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetPresetRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/SetPresetResult.cc b/vs/src/model/SetPresetResult.cc new file mode 100644 index 000000000..9c18f75e8 --- /dev/null +++ b/vs/src/model/SetPresetResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +SetPresetResult::SetPresetResult() : + ServiceResult() +{} + +SetPresetResult::SetPresetResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetPresetResult::~SetPresetResult() +{} + +void SetPresetResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string SetPresetResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/SetVsDomainCertificateRequest.cc b/vs/src/model/SetVsDomainCertificateRequest.cc new file mode 100644 index 000000000..e1f2508ab --- /dev/null +++ b/vs/src/model/SetVsDomainCertificateRequest.cc @@ -0,0 +1,139 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::SetVsDomainCertificateRequest; + +SetVsDomainCertificateRequest::SetVsDomainCertificateRequest() : + RpcServiceRequest("vs", "2018-12-12", "SetVsDomainCertificate") +{ + setMethod(HttpRequest::Method::Post); +} + +SetVsDomainCertificateRequest::~SetVsDomainCertificateRequest() +{} + +std::string SetVsDomainCertificateRequest::getSSLProtocol()const +{ + return sSLProtocol_; +} + +void SetVsDomainCertificateRequest::setSSLProtocol(const std::string& sSLProtocol) +{ + sSLProtocol_ = sSLProtocol; + setParameter("SSLProtocol", sSLProtocol); +} + +std::string SetVsDomainCertificateRequest::getCertType()const +{ + return certType_; +} + +void SetVsDomainCertificateRequest::setCertType(const std::string& certType) +{ + certType_ = certType; + setParameter("CertType", certType); +} + +std::string SetVsDomainCertificateRequest::getShowLog()const +{ + return showLog_; +} + +void SetVsDomainCertificateRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string SetVsDomainCertificateRequest::getSSLPri()const +{ + return sSLPri_; +} + +void SetVsDomainCertificateRequest::setSSLPri(const std::string& sSLPri) +{ + sSLPri_ = sSLPri; + setParameter("SSLPri", sSLPri); +} + +std::string SetVsDomainCertificateRequest::getForceSet()const +{ + return forceSet_; +} + +void SetVsDomainCertificateRequest::setForceSet(const std::string& forceSet) +{ + forceSet_ = forceSet; + setParameter("ForceSet", forceSet); +} + +std::string SetVsDomainCertificateRequest::getCertName()const +{ + return certName_; +} + +void SetVsDomainCertificateRequest::setCertName(const std::string& certName) +{ + certName_ = certName; + setParameter("CertName", certName); +} + +std::string SetVsDomainCertificateRequest::getDomainName()const +{ + return domainName_; +} + +void SetVsDomainCertificateRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long SetVsDomainCertificateRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetVsDomainCertificateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string SetVsDomainCertificateRequest::getSSLPub()const +{ + return sSLPub_; +} + +void SetVsDomainCertificateRequest::setSSLPub(const std::string& sSLPub) +{ + sSLPub_ = sSLPub; + setParameter("SSLPub", sSLPub); +} + +std::string SetVsDomainCertificateRequest::getRegion()const +{ + return region_; +} + +void SetVsDomainCertificateRequest::setRegion(const std::string& region) +{ + region_ = region; + setParameter("Region", region); +} + diff --git a/vs/src/model/SetVsDomainCertificateResult.cc b/vs/src/model/SetVsDomainCertificateResult.cc new file mode 100644 index 000000000..f4c191c43 --- /dev/null +++ b/vs/src/model/SetVsDomainCertificateResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +SetVsDomainCertificateResult::SetVsDomainCertificateResult() : + ServiceResult() +{} + +SetVsDomainCertificateResult::SetVsDomainCertificateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetVsDomainCertificateResult::~SetVsDomainCertificateResult() +{} + +void SetVsDomainCertificateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/SetVsStreamsNotifyUrlConfigRequest.cc b/vs/src/model/SetVsStreamsNotifyUrlConfigRequest.cc new file mode 100644 index 000000000..a376802b5 --- /dev/null +++ b/vs/src/model/SetVsStreamsNotifyUrlConfigRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::SetVsStreamsNotifyUrlConfigRequest; + +SetVsStreamsNotifyUrlConfigRequest::SetVsStreamsNotifyUrlConfigRequest() : + RpcServiceRequest("vs", "2018-12-12", "SetVsStreamsNotifyUrlConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +SetVsStreamsNotifyUrlConfigRequest::~SetVsStreamsNotifyUrlConfigRequest() +{} + +std::string SetVsStreamsNotifyUrlConfigRequest::getAuthKey()const +{ + return authKey_; +} + +void SetVsStreamsNotifyUrlConfigRequest::setAuthKey(const std::string& authKey) +{ + authKey_ = authKey; + setParameter("AuthKey", authKey); +} + +std::string SetVsStreamsNotifyUrlConfigRequest::getAuthType()const +{ + return authType_; +} + +void SetVsStreamsNotifyUrlConfigRequest::setAuthType(const std::string& authType) +{ + authType_ = authType; + setParameter("AuthType", authType); +} + +std::string SetVsStreamsNotifyUrlConfigRequest::getNotifyUrl()const +{ + return notifyUrl_; +} + +void SetVsStreamsNotifyUrlConfigRequest::setNotifyUrl(const std::string& notifyUrl) +{ + notifyUrl_ = notifyUrl; + setParameter("NotifyUrl", notifyUrl); +} + +std::string SetVsStreamsNotifyUrlConfigRequest::getShowLog()const +{ + return showLog_; +} + +void SetVsStreamsNotifyUrlConfigRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string SetVsStreamsNotifyUrlConfigRequest::getDomainName()const +{ + return domainName_; +} + +void SetVsStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +long SetVsStreamsNotifyUrlConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void SetVsStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/SetVsStreamsNotifyUrlConfigResult.cc b/vs/src/model/SetVsStreamsNotifyUrlConfigResult.cc new file mode 100644 index 000000000..adf9e8c62 --- /dev/null +++ b/vs/src/model/SetVsStreamsNotifyUrlConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +SetVsStreamsNotifyUrlConfigResult::SetVsStreamsNotifyUrlConfigResult() : + ServiceResult() +{} + +SetVsStreamsNotifyUrlConfigResult::SetVsStreamsNotifyUrlConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SetVsStreamsNotifyUrlConfigResult::~SetVsStreamsNotifyUrlConfigResult() +{} + +void SetVsStreamsNotifyUrlConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/StartDeviceRequest.cc b/vs/src/model/StartDeviceRequest.cc new file mode 100644 index 000000000..ebb0c1bc7 --- /dev/null +++ b/vs/src/model/StartDeviceRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::StartDeviceRequest; + +StartDeviceRequest::StartDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "StartDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +StartDeviceRequest::~StartDeviceRequest() +{} + +std::string StartDeviceRequest::getId()const +{ + return id_; +} + +void StartDeviceRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StartDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void StartDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long StartDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/StartDeviceResult.cc b/vs/src/model/StartDeviceResult.cc new file mode 100644 index 000000000..9c0f293b3 --- /dev/null +++ b/vs/src/model/StartDeviceResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StartDeviceResult::StartDeviceResult() : + ServiceResult() +{} + +StartDeviceResult::StartDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartDeviceResult::~StartDeviceResult() +{} + +void StartDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string StartDeviceResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/StartParentPlatformRequest.cc b/vs/src/model/StartParentPlatformRequest.cc new file mode 100644 index 000000000..d263bd6e7 --- /dev/null +++ b/vs/src/model/StartParentPlatformRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::StartParentPlatformRequest; + +StartParentPlatformRequest::StartParentPlatformRequest() : + RpcServiceRequest("vs", "2018-12-12", "StartParentPlatform") +{ + setMethod(HttpRequest::Method::Post); +} + +StartParentPlatformRequest::~StartParentPlatformRequest() +{} + +std::string StartParentPlatformRequest::getId()const +{ + return id_; +} + +void StartParentPlatformRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StartParentPlatformRequest::getShowLog()const +{ + return showLog_; +} + +void StartParentPlatformRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long StartParentPlatformRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartParentPlatformRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/StartParentPlatformResult.cc b/vs/src/model/StartParentPlatformResult.cc new file mode 100644 index 000000000..2155c2a5c --- /dev/null +++ b/vs/src/model/StartParentPlatformResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StartParentPlatformResult::StartParentPlatformResult() : + ServiceResult() +{} + +StartParentPlatformResult::StartParentPlatformResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartParentPlatformResult::~StartParentPlatformResult() +{} + +void StartParentPlatformResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string StartParentPlatformResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/StartRecordStreamRequest.cc b/vs/src/model/StartRecordStreamRequest.cc new file mode 100644 index 000000000..08bfea344 --- /dev/null +++ b/vs/src/model/StartRecordStreamRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::StartRecordStreamRequest; + +StartRecordStreamRequest::StartRecordStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "StartRecordStream") +{ + setMethod(HttpRequest::Method::Post); +} + +StartRecordStreamRequest::~StartRecordStreamRequest() +{} + +std::string StartRecordStreamRequest::getId()const +{ + return id_; +} + +void StartRecordStreamRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StartRecordStreamRequest::getShowLog()const +{ + return showLog_; +} + +void StartRecordStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string StartRecordStreamRequest::getPlayDomain()const +{ + return playDomain_; +} + +void StartRecordStreamRequest::setPlayDomain(const std::string& playDomain) +{ + playDomain_ = playDomain; + setParameter("PlayDomain", playDomain); +} + +std::string StartRecordStreamRequest::getApp()const +{ + return app_; +} + +void StartRecordStreamRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); +} + +long StartRecordStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartRecordStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StartRecordStreamRequest::getName()const +{ + return name_; +} + +void StartRecordStreamRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + diff --git a/vs/src/model/StartRecordStreamResult.cc b/vs/src/model/StartRecordStreamResult.cc new file mode 100644 index 000000000..418098825 --- /dev/null +++ b/vs/src/model/StartRecordStreamResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StartRecordStreamResult::StartRecordStreamResult() : + ServiceResult() +{} + +StartRecordStreamResult::StartRecordStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartRecordStreamResult::~StartRecordStreamResult() +{} + +void StartRecordStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/StartStreamRequest.cc b/vs/src/model/StartStreamRequest.cc new file mode 100644 index 000000000..b69b2c079 --- /dev/null +++ b/vs/src/model/StartStreamRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::StartStreamRequest; + +StartStreamRequest::StartStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "StartStream") +{ + setMethod(HttpRequest::Method::Post); +} + +StartStreamRequest::~StartStreamRequest() +{} + +long StartStreamRequest::getStartTime()const +{ + return startTime_; +} + +void StartStreamRequest::setStartTime(long startTime) +{ + startTime_ = startTime; + setParameter("StartTime", std::to_string(startTime)); +} + +std::string StartStreamRequest::getId()const +{ + return id_; +} + +void StartStreamRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StartStreamRequest::getShowLog()const +{ + return showLog_; +} + +void StartStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long StartStreamRequest::getEndTime()const +{ + return endTime_; +} + +void StartStreamRequest::setEndTime(long endTime) +{ + endTime_ = endTime; + setParameter("EndTime", std::to_string(endTime)); +} + +long StartStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/StartStreamResult.cc b/vs/src/model/StartStreamResult.cc new file mode 100644 index 000000000..1c1c1b074 --- /dev/null +++ b/vs/src/model/StartStreamResult.cc @@ -0,0 +1,58 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs; +using namespace AlibabaCloud::Vs::Model; + +StartStreamResult::StartStreamResult() : + ServiceResult() +{} + +StartStreamResult::StartStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartStreamResult::~StartStreamResult() +{} + +void StartStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + if(!value["Name"].isNull()) + name_ = value["Name"].asString(); + +} + +std::string StartStreamResult::getId()const +{ + return id_; +} + +std::string StartStreamResult::getName()const +{ + return name_; +} + diff --git a/vs/src/model/StartTransferStreamRequest.cc b/vs/src/model/StartTransferStreamRequest.cc new file mode 100644 index 000000000..fbbd60f27 --- /dev/null +++ b/vs/src/model/StartTransferStreamRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::StartTransferStreamRequest; + +StartTransferStreamRequest::StartTransferStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "StartTransferStream") +{ + setMethod(HttpRequest::Method::Post); +} + +StartTransferStreamRequest::~StartTransferStreamRequest() +{} + +std::string StartTransferStreamRequest::getId()const +{ + return id_; +} + +void StartTransferStreamRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StartTransferStreamRequest::getShowLog()const +{ + return showLog_; +} + +void StartTransferStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string StartTransferStreamRequest::getTranscode()const +{ + return transcode_; +} + +void StartTransferStreamRequest::setTranscode(const std::string& transcode) +{ + transcode_ = transcode; + setParameter("Transcode", transcode); +} + +long StartTransferStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void StartTransferStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StartTransferStreamRequest::getUrl()const +{ + return url_; +} + +void StartTransferStreamRequest::setUrl(const std::string& url) +{ + url_ = url; + setParameter("Url", url); +} + diff --git a/vs/src/model/StartTransferStreamResult.cc b/vs/src/model/StartTransferStreamResult.cc new file mode 100644 index 000000000..d735d9523 --- /dev/null +++ b/vs/src/model/StartTransferStreamResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StartTransferStreamResult::StartTransferStreamResult() : + ServiceResult() +{} + +StartTransferStreamResult::StartTransferStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StartTransferStreamResult::~StartTransferStreamResult() +{} + +void StartTransferStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/StopAdjustRequest.cc b/vs/src/model/StopAdjustRequest.cc new file mode 100644 index 000000000..f454da3b7 --- /dev/null +++ b/vs/src/model/StopAdjustRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::StopAdjustRequest; + +StopAdjustRequest::StopAdjustRequest() : + RpcServiceRequest("vs", "2018-12-12", "StopAdjust") +{ + setMethod(HttpRequest::Method::Post); +} + +StopAdjustRequest::~StopAdjustRequest() +{} + +bool StopAdjustRequest::getFocus()const +{ + return focus_; +} + +void StopAdjustRequest::setFocus(bool focus) +{ + focus_ = focus; + setParameter("Focus", focus ? "true" : "false"); +} + +std::string StopAdjustRequest::getId()const +{ + return id_; +} + +void StopAdjustRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StopAdjustRequest::getShowLog()const +{ + return showLog_; +} + +void StopAdjustRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +bool StopAdjustRequest::getIris()const +{ + return iris_; +} + +void StopAdjustRequest::setIris(bool iris) +{ + iris_ = iris; + setParameter("Iris", iris ? "true" : "false"); +} + +long StopAdjustRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopAdjustRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/StopAdjustResult.cc b/vs/src/model/StopAdjustResult.cc new file mode 100644 index 000000000..c12619dca --- /dev/null +++ b/vs/src/model/StopAdjustResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StopAdjustResult::StopAdjustResult() : + ServiceResult() +{} + +StopAdjustResult::StopAdjustResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopAdjustResult::~StopAdjustResult() +{} + +void StopAdjustResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string StopAdjustResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/StopDeviceRequest.cc b/vs/src/model/StopDeviceRequest.cc new file mode 100644 index 000000000..9c0cc3486 --- /dev/null +++ b/vs/src/model/StopDeviceRequest.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 + +using AlibabaCloud::Vs::Model::StopDeviceRequest; + +StopDeviceRequest::StopDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "StopDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +StopDeviceRequest::~StopDeviceRequest() +{} + +std::string StopDeviceRequest::getStartTime()const +{ + return startTime_; +} + +void StopDeviceRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string StopDeviceRequest::getId()const +{ + return id_; +} + +void StopDeviceRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StopDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void StopDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long StopDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/StopDeviceResult.cc b/vs/src/model/StopDeviceResult.cc new file mode 100644 index 000000000..f984f7fe4 --- /dev/null +++ b/vs/src/model/StopDeviceResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StopDeviceResult::StopDeviceResult() : + ServiceResult() +{} + +StopDeviceResult::StopDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopDeviceResult::~StopDeviceResult() +{} + +void StopDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string StopDeviceResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/StopMoveRequest.cc b/vs/src/model/StopMoveRequest.cc new file mode 100644 index 000000000..9f1eb9820 --- /dev/null +++ b/vs/src/model/StopMoveRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::StopMoveRequest; + +StopMoveRequest::StopMoveRequest() : + RpcServiceRequest("vs", "2018-12-12", "StopMove") +{ + setMethod(HttpRequest::Method::Post); +} + +StopMoveRequest::~StopMoveRequest() +{} + +bool StopMoveRequest::getTilt()const +{ + return tilt_; +} + +void StopMoveRequest::setTilt(bool tilt) +{ + tilt_ = tilt; + setParameter("Tilt", tilt ? "true" : "false"); +} + +std::string StopMoveRequest::getId()const +{ + return id_; +} + +void StopMoveRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +bool StopMoveRequest::getPan()const +{ + return pan_; +} + +void StopMoveRequest::setPan(bool pan) +{ + pan_ = pan; + setParameter("Pan", pan ? "true" : "false"); +} + +std::string StopMoveRequest::getShowLog()const +{ + return showLog_; +} + +void StopMoveRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +bool StopMoveRequest::getZoom()const +{ + return zoom_; +} + +void StopMoveRequest::setZoom(bool zoom) +{ + zoom_ = zoom; + setParameter("Zoom", zoom ? "true" : "false"); +} + +long StopMoveRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopMoveRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/StopMoveResult.cc b/vs/src/model/StopMoveResult.cc new file mode 100644 index 000000000..0135c13b5 --- /dev/null +++ b/vs/src/model/StopMoveResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StopMoveResult::StopMoveResult() : + ServiceResult() +{} + +StopMoveResult::StopMoveResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopMoveResult::~StopMoveResult() +{} + +void StopMoveResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string StopMoveResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/StopRecordStreamRequest.cc b/vs/src/model/StopRecordStreamRequest.cc new file mode 100644 index 000000000..47599e321 --- /dev/null +++ b/vs/src/model/StopRecordStreamRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::StopRecordStreamRequest; + +StopRecordStreamRequest::StopRecordStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "StopRecordStream") +{ + setMethod(HttpRequest::Method::Post); +} + +StopRecordStreamRequest::~StopRecordStreamRequest() +{} + +std::string StopRecordStreamRequest::getId()const +{ + return id_; +} + +void StopRecordStreamRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StopRecordStreamRequest::getShowLog()const +{ + return showLog_; +} + +void StopRecordStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string StopRecordStreamRequest::getPlayDomain()const +{ + return playDomain_; +} + +void StopRecordStreamRequest::setPlayDomain(const std::string& playDomain) +{ + playDomain_ = playDomain; + setParameter("PlayDomain", playDomain); +} + +std::string StopRecordStreamRequest::getApp()const +{ + return app_; +} + +void StopRecordStreamRequest::setApp(const std::string& app) +{ + app_ = app; + setParameter("App", app); +} + +long StopRecordStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopRecordStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StopRecordStreamRequest::getName()const +{ + return name_; +} + +void StopRecordStreamRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + diff --git a/vs/src/model/StopRecordStreamResult.cc b/vs/src/model/StopRecordStreamResult.cc new file mode 100644 index 000000000..e03f923d0 --- /dev/null +++ b/vs/src/model/StopRecordStreamResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StopRecordStreamResult::StopRecordStreamResult() : + ServiceResult() +{} + +StopRecordStreamResult::StopRecordStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopRecordStreamResult::~StopRecordStreamResult() +{} + +void StopRecordStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/StopStreamRequest.cc b/vs/src/model/StopStreamRequest.cc new file mode 100644 index 000000000..4f0703409 --- /dev/null +++ b/vs/src/model/StopStreamRequest.cc @@ -0,0 +1,84 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::StopStreamRequest; + +StopStreamRequest::StopStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "StopStream") +{ + setMethod(HttpRequest::Method::Post); +} + +StopStreamRequest::~StopStreamRequest() +{} + +std::string StopStreamRequest::getStartTime()const +{ + return startTime_; +} + +void StopStreamRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string StopStreamRequest::getId()const +{ + return id_; +} + +void StopStreamRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StopStreamRequest::getShowLog()const +{ + return showLog_; +} + +void StopStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long StopStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string StopStreamRequest::getName()const +{ + return name_; +} + +void StopStreamRequest::setName(const std::string& name) +{ + name_ = name; + setParameter("Name", name); +} + diff --git a/vs/src/model/StopStreamResult.cc b/vs/src/model/StopStreamResult.cc new file mode 100644 index 000000000..3f5de4393 --- /dev/null +++ b/vs/src/model/StopStreamResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StopStreamResult::StopStreamResult() : + ServiceResult() +{} + +StopStreamResult::StopStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopStreamResult::~StopStreamResult() +{} + +void StopStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string StopStreamResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/StopTransferStreamRequest.cc b/vs/src/model/StopTransferStreamRequest.cc new file mode 100644 index 000000000..645189262 --- /dev/null +++ b/vs/src/model/StopTransferStreamRequest.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 + +using AlibabaCloud::Vs::Model::StopTransferStreamRequest; + +StopTransferStreamRequest::StopTransferStreamRequest() : + RpcServiceRequest("vs", "2018-12-12", "StopTransferStream") +{ + setMethod(HttpRequest::Method::Post); +} + +StopTransferStreamRequest::~StopTransferStreamRequest() +{} + +std::string StopTransferStreamRequest::getId()const +{ + return id_; +} + +void StopTransferStreamRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string StopTransferStreamRequest::getShowLog()const +{ + return showLog_; +} + +void StopTransferStreamRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string StopTransferStreamRequest::getTranscode()const +{ + return transcode_; +} + +void StopTransferStreamRequest::setTranscode(const std::string& transcode) +{ + transcode_ = transcode; + setParameter("Transcode", transcode); +} + +long StopTransferStreamRequest::getOwnerId()const +{ + return ownerId_; +} + +void StopTransferStreamRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/StopTransferStreamResult.cc b/vs/src/model/StopTransferStreamResult.cc new file mode 100644 index 000000000..3e61a33a3 --- /dev/null +++ b/vs/src/model/StopTransferStreamResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +StopTransferStreamResult::StopTransferStreamResult() : + ServiceResult() +{} + +StopTransferStreamResult::StopTransferStreamResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +StopTransferStreamResult::~StopTransferStreamResult() +{} + +void StopTransferStreamResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/SyncCatalogsRequest.cc b/vs/src/model/SyncCatalogsRequest.cc new file mode 100644 index 000000000..a473dd766 --- /dev/null +++ b/vs/src/model/SyncCatalogsRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::SyncCatalogsRequest; + +SyncCatalogsRequest::SyncCatalogsRequest() : + RpcServiceRequest("vs", "2018-12-12", "SyncCatalogs") +{ + setMethod(HttpRequest::Method::Post); +} + +SyncCatalogsRequest::~SyncCatalogsRequest() +{} + +std::string SyncCatalogsRequest::getId()const +{ + return id_; +} + +void SyncCatalogsRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string SyncCatalogsRequest::getShowLog()const +{ + return showLog_; +} + +void SyncCatalogsRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long SyncCatalogsRequest::getOwnerId()const +{ + return ownerId_; +} + +void SyncCatalogsRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/SyncCatalogsResult.cc b/vs/src/model/SyncCatalogsResult.cc new file mode 100644 index 000000000..fd8baab20 --- /dev/null +++ b/vs/src/model/SyncCatalogsResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +SyncCatalogsResult::SyncCatalogsResult() : + ServiceResult() +{} + +SyncCatalogsResult::SyncCatalogsResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +SyncCatalogsResult::~SyncCatalogsResult() +{} + +void SyncCatalogsResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string SyncCatalogsResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/UnbindDirectoryRequest.cc b/vs/src/model/UnbindDirectoryRequest.cc new file mode 100644 index 000000000..16d94c5c9 --- /dev/null +++ b/vs/src/model/UnbindDirectoryRequest.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 + +using AlibabaCloud::Vs::Model::UnbindDirectoryRequest; + +UnbindDirectoryRequest::UnbindDirectoryRequest() : + RpcServiceRequest("vs", "2018-12-12", "UnbindDirectory") +{ + setMethod(HttpRequest::Method::Post); +} + +UnbindDirectoryRequest::~UnbindDirectoryRequest() +{} + +std::string UnbindDirectoryRequest::getDirectoryId()const +{ + return directoryId_; +} + +void UnbindDirectoryRequest::setDirectoryId(const std::string& directoryId) +{ + directoryId_ = directoryId; + setParameter("DirectoryId", directoryId); +} + +std::string UnbindDirectoryRequest::getShowLog()const +{ + return showLog_; +} + +void UnbindDirectoryRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long UnbindDirectoryRequest::getOwnerId()const +{ + return ownerId_; +} + +void UnbindDirectoryRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UnbindDirectoryRequest::getDeviceId()const +{ + return deviceId_; +} + +void UnbindDirectoryRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/UnbindDirectoryResult.cc b/vs/src/model/UnbindDirectoryResult.cc new file mode 100644 index 000000000..1158f85db --- /dev/null +++ b/vs/src/model/UnbindDirectoryResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +UnbindDirectoryResult::UnbindDirectoryResult() : + ServiceResult() +{} + +UnbindDirectoryResult::UnbindDirectoryResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnbindDirectoryResult::~UnbindDirectoryResult() +{} + +void UnbindDirectoryResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/UnbindParentPlatformDeviceRequest.cc b/vs/src/model/UnbindParentPlatformDeviceRequest.cc new file mode 100644 index 000000000..70893d9ba --- /dev/null +++ b/vs/src/model/UnbindParentPlatformDeviceRequest.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 + +using AlibabaCloud::Vs::Model::UnbindParentPlatformDeviceRequest; + +UnbindParentPlatformDeviceRequest::UnbindParentPlatformDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "UnbindParentPlatformDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +UnbindParentPlatformDeviceRequest::~UnbindParentPlatformDeviceRequest() +{} + +std::string UnbindParentPlatformDeviceRequest::getParentPlatformId()const +{ + return parentPlatformId_; +} + +void UnbindParentPlatformDeviceRequest::setParentPlatformId(const std::string& parentPlatformId) +{ + parentPlatformId_ = parentPlatformId; + setParameter("ParentPlatformId", parentPlatformId); +} + +std::string UnbindParentPlatformDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void UnbindParentPlatformDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long UnbindParentPlatformDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void UnbindParentPlatformDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UnbindParentPlatformDeviceRequest::getDeviceId()const +{ + return deviceId_; +} + +void UnbindParentPlatformDeviceRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/UnbindParentPlatformDeviceResult.cc b/vs/src/model/UnbindParentPlatformDeviceResult.cc new file mode 100644 index 000000000..9bfcfb171 --- /dev/null +++ b/vs/src/model/UnbindParentPlatformDeviceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +UnbindParentPlatformDeviceResult::UnbindParentPlatformDeviceResult() : + ServiceResult() +{} + +UnbindParentPlatformDeviceResult::UnbindParentPlatformDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnbindParentPlatformDeviceResult::~UnbindParentPlatformDeviceResult() +{} + +void UnbindParentPlatformDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/UnbindPurchasedDeviceRequest.cc b/vs/src/model/UnbindPurchasedDeviceRequest.cc new file mode 100644 index 000000000..a2ef27137 --- /dev/null +++ b/vs/src/model/UnbindPurchasedDeviceRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::UnbindPurchasedDeviceRequest; + +UnbindPurchasedDeviceRequest::UnbindPurchasedDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "UnbindPurchasedDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +UnbindPurchasedDeviceRequest::~UnbindPurchasedDeviceRequest() +{} + +std::string UnbindPurchasedDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void UnbindPurchasedDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long UnbindPurchasedDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void UnbindPurchasedDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UnbindPurchasedDeviceRequest::getDeviceId()const +{ + return deviceId_; +} + +void UnbindPurchasedDeviceRequest::setDeviceId(const std::string& deviceId) +{ + deviceId_ = deviceId; + setParameter("DeviceId", deviceId); +} + diff --git a/vs/src/model/UnbindPurchasedDeviceResult.cc b/vs/src/model/UnbindPurchasedDeviceResult.cc new file mode 100644 index 000000000..62cb89879 --- /dev/null +++ b/vs/src/model/UnbindPurchasedDeviceResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +UnbindPurchasedDeviceResult::UnbindPurchasedDeviceResult() : + ServiceResult() +{} + +UnbindPurchasedDeviceResult::UnbindPurchasedDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnbindPurchasedDeviceResult::~UnbindPurchasedDeviceResult() +{} + +void UnbindPurchasedDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} + diff --git a/vs/src/model/UnbindTemplateRequest.cc b/vs/src/model/UnbindTemplateRequest.cc new file mode 100644 index 000000000..f3edb09d3 --- /dev/null +++ b/vs/src/model/UnbindTemplateRequest.cc @@ -0,0 +1,95 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES 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::Vs::Model::UnbindTemplateRequest; + +UnbindTemplateRequest::UnbindTemplateRequest() : + RpcServiceRequest("vs", "2018-12-12", "UnbindTemplate") +{ + setMethod(HttpRequest::Method::Post); +} + +UnbindTemplateRequest::~UnbindTemplateRequest() +{} + +std::string UnbindTemplateRequest::getTemplateType()const +{ + return templateType_; +} + +void UnbindTemplateRequest::setTemplateType(const std::string& templateType) +{ + templateType_ = templateType; + setParameter("TemplateType", templateType); +} + +std::string UnbindTemplateRequest::getInstanceType()const +{ + return instanceType_; +} + +void UnbindTemplateRequest::setInstanceType(const std::string& instanceType) +{ + instanceType_ = instanceType; + setParameter("InstanceType", instanceType); +} + +std::string UnbindTemplateRequest::getShowLog()const +{ + return showLog_; +} + +void UnbindTemplateRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long UnbindTemplateRequest::getOwnerId()const +{ + return ownerId_; +} + +void UnbindTemplateRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UnbindTemplateRequest::getTemplateId()const +{ + return templateId_; +} + +void UnbindTemplateRequest::setTemplateId(const std::string& templateId) +{ + templateId_ = templateId; + setParameter("TemplateId", templateId); +} + +std::string UnbindTemplateRequest::getInstanceId()const +{ + return instanceId_; +} + +void UnbindTemplateRequest::setInstanceId(const std::string& instanceId) +{ + instanceId_ = instanceId; + setParameter("InstanceId", instanceId); +} + diff --git a/vs/src/model/UnbindTemplateResult.cc b/vs/src/model/UnbindTemplateResult.cc new file mode 100644 index 000000000..93587e801 --- /dev/null +++ b/vs/src/model/UnbindTemplateResult.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 +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +UnbindTemplateResult::UnbindTemplateResult() : + ServiceResult() +{} + +UnbindTemplateResult::UnbindTemplateResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnbindTemplateResult::~UnbindTemplateResult() +{} + +void UnbindTemplateResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["TemplateId"].isNull()) + templateId_ = value["TemplateId"].asString(); + if(!value["TemplateType"].isNull()) + templateType_ = value["TemplateType"].asString(); + if(!value["InstanceId"].isNull()) + instanceId_ = value["InstanceId"].asString(); + if(!value["InstanceType"].isNull()) + instanceType_ = value["InstanceType"].asString(); + +} + +std::string UnbindTemplateResult::getInstanceId()const +{ + return instanceId_; +} + +std::string UnbindTemplateResult::getTemplateType()const +{ + return templateType_; +} + +std::string UnbindTemplateResult::getInstanceType()const +{ + return instanceType_; +} + +std::string UnbindTemplateResult::getTemplateId()const +{ + return templateId_; +} + diff --git a/vs/src/model/UnlockDeviceRequest.cc b/vs/src/model/UnlockDeviceRequest.cc new file mode 100644 index 000000000..f555d7399 --- /dev/null +++ b/vs/src/model/UnlockDeviceRequest.cc @@ -0,0 +1,62 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::UnlockDeviceRequest; + +UnlockDeviceRequest::UnlockDeviceRequest() : + RpcServiceRequest("vs", "2018-12-12", "UnlockDevice") +{ + setMethod(HttpRequest::Method::Post); +} + +UnlockDeviceRequest::~UnlockDeviceRequest() +{} + +std::string UnlockDeviceRequest::getId()const +{ + return id_; +} + +void UnlockDeviceRequest::setId(const std::string& id) +{ + id_ = id; + setParameter("Id", id); +} + +std::string UnlockDeviceRequest::getShowLog()const +{ + return showLog_; +} + +void UnlockDeviceRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +long UnlockDeviceRequest::getOwnerId()const +{ + return ownerId_; +} + +void UnlockDeviceRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + diff --git a/vs/src/model/UnlockDeviceResult.cc b/vs/src/model/UnlockDeviceResult.cc new file mode 100644 index 000000000..486c09b93 --- /dev/null +++ b/vs/src/model/UnlockDeviceResult.cc @@ -0,0 +1,51 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +UnlockDeviceResult::UnlockDeviceResult() : + ServiceResult() +{} + +UnlockDeviceResult::UnlockDeviceResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UnlockDeviceResult::~UnlockDeviceResult() +{} + +void UnlockDeviceResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + if(!value["Id"].isNull()) + id_ = value["Id"].asString(); + +} + +std::string UnlockDeviceResult::getId()const +{ + return id_; +} + diff --git a/vs/src/model/UpdateVsPullStreamInfoConfigRequest.cc b/vs/src/model/UpdateVsPullStreamInfoConfigRequest.cc new file mode 100644 index 000000000..455115f51 --- /dev/null +++ b/vs/src/model/UpdateVsPullStreamInfoConfigRequest.cc @@ -0,0 +1,128 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include + +using AlibabaCloud::Vs::Model::UpdateVsPullStreamInfoConfigRequest; + +UpdateVsPullStreamInfoConfigRequest::UpdateVsPullStreamInfoConfigRequest() : + RpcServiceRequest("vs", "2018-12-12", "UpdateVsPullStreamInfoConfig") +{ + setMethod(HttpRequest::Method::Post); +} + +UpdateVsPullStreamInfoConfigRequest::~UpdateVsPullStreamInfoConfigRequest() +{} + +std::string UpdateVsPullStreamInfoConfigRequest::getStartTime()const +{ + return startTime_; +} + +void UpdateVsPullStreamInfoConfigRequest::setStartTime(const std::string& startTime) +{ + startTime_ = startTime; + setParameter("StartTime", startTime); +} + +std::string UpdateVsPullStreamInfoConfigRequest::getAppName()const +{ + return appName_; +} + +void UpdateVsPullStreamInfoConfigRequest::setAppName(const std::string& appName) +{ + appName_ = appName; + setParameter("AppName", appName); +} + +std::string UpdateVsPullStreamInfoConfigRequest::getStreamName()const +{ + return streamName_; +} + +void UpdateVsPullStreamInfoConfigRequest::setStreamName(const std::string& streamName) +{ + streamName_ = streamName; + setParameter("StreamName", streamName); +} + +std::string UpdateVsPullStreamInfoConfigRequest::getShowLog()const +{ + return showLog_; +} + +void UpdateVsPullStreamInfoConfigRequest::setShowLog(const std::string& showLog) +{ + showLog_ = showLog; + setParameter("ShowLog", showLog); +} + +std::string UpdateVsPullStreamInfoConfigRequest::getAlways()const +{ + return always_; +} + +void UpdateVsPullStreamInfoConfigRequest::setAlways(const std::string& always) +{ + always_ = always; + setParameter("Always", always); +} + +std::string UpdateVsPullStreamInfoConfigRequest::getDomainName()const +{ + return domainName_; +} + +void UpdateVsPullStreamInfoConfigRequest::setDomainName(const std::string& domainName) +{ + domainName_ = domainName; + setParameter("DomainName", domainName); +} + +std::string UpdateVsPullStreamInfoConfigRequest::getEndTime()const +{ + return endTime_; +} + +void UpdateVsPullStreamInfoConfigRequest::setEndTime(const std::string& endTime) +{ + endTime_ = endTime; + setParameter("EndTime", endTime); +} + +long UpdateVsPullStreamInfoConfigRequest::getOwnerId()const +{ + return ownerId_; +} + +void UpdateVsPullStreamInfoConfigRequest::setOwnerId(long ownerId) +{ + ownerId_ = ownerId; + setParameter("OwnerId", std::to_string(ownerId)); +} + +std::string UpdateVsPullStreamInfoConfigRequest::getSourceUrl()const +{ + return sourceUrl_; +} + +void UpdateVsPullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl) +{ + sourceUrl_ = sourceUrl; + setParameter("SourceUrl", sourceUrl); +} + diff --git a/vs/src/model/UpdateVsPullStreamInfoConfigResult.cc b/vs/src/model/UpdateVsPullStreamInfoConfigResult.cc new file mode 100644 index 000000000..912c463ba --- /dev/null +++ b/vs/src/model/UpdateVsPullStreamInfoConfigResult.cc @@ -0,0 +1,44 @@ +/* + * Copyright 2009-2017 Alibaba Cloud All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#include +#include + +using namespace AlibabaCloud::Vs; +using namespace AlibabaCloud::Vs::Model; + +UpdateVsPullStreamInfoConfigResult::UpdateVsPullStreamInfoConfigResult() : + ServiceResult() +{} + +UpdateVsPullStreamInfoConfigResult::UpdateVsPullStreamInfoConfigResult(const std::string &payload) : + ServiceResult() +{ + parse(payload); +} + +UpdateVsPullStreamInfoConfigResult::~UpdateVsPullStreamInfoConfigResult() +{} + +void UpdateVsPullStreamInfoConfigResult::parse(const std::string &payload) +{ + Json::Reader reader; + Json::Value value; + reader.parse(payload, value); + setRequestId(value["RequestId"].asString()); + +} +