Просмотр исходного кода

Generated 2016-11-01 for live.

sdk-team 4 лет назад
Родитель
Сommit
92868c57c0
24 измененных файлов с 726 добавлено и 691 удалено
  1. 3 0
      CHANGELOG
  2. 1 1
      VERSION
  3. 12 12
      live/CMakeLists.txt
  4. 24 24
      live/include/alibabacloud/live/LiveClient.h
  5. 0 54
      live/include/alibabacloud/live/model/CheckServiceForRoleRequest.h
  6. 63 0
      live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h
  7. 17 9
      live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerResult.h
  8. 54 0
      live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h
  9. 21 9
      live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionResult.h
  10. 18 18
      live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h
  11. 7 7
      live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleResult.h
  12. 0 72
      live/include/alibabacloud/live/model/StartLiveIndexRequest.h
  13. 108 108
      live/src/LiveClient.cc
  14. 0 72
      live/src/model/CheckServiceForRoleRequest.cc
  15. 0 51
      live/src/model/CheckServiceForRoleResult.cc
  16. 99 0
      live/src/model/DescribeLiveDomainBpsDataByLayerRequest.cc
  17. 68 0
      live/src/model/DescribeLiveDomainBpsDataByLayerResult.cc
  18. 72 0
      live/src/model/DescribeLiveUserBillPredictionRequest.cc
  19. 82 0
      live/src/model/DescribeLiveUserBillPredictionResult.cc
  20. 72 0
      live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc
  21. 5 12
      live/src/model/DynamicUpdateWaterMarkStreamRuleResult.cc
  22. 0 126
      live/src/model/StartLiveIndexRequest.cc
  23. 0 72
      live/src/model/StopLiveIndexRequest.cc
  24. 0 44
      live/src/model/StopLiveIndexResult.cc

+ 3 - 0
CHANGELOG

@@ -1,3 +1,6 @@
+2022-04-15 Version: 1.36.1106
+- Generated 2016-11-01 for `live`.
+
 2022-04-15 Version: 1.36.1105
 - Rename the return of ListTaskFlow API.
 

+ 1 - 1
VERSION

@@ -1 +1 @@
-1.36.1105
+1.36.1106

+ 12 - 12
live/CMakeLists.txt

@@ -85,8 +85,6 @@ set(live_public_header_model
 	include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsResult.h
 	include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h
 	include/alibabacloud/live/model/BatchSetLiveDomainConfigsResult.h
-	include/alibabacloud/live/model/CheckServiceForRoleRequest.h
-	include/alibabacloud/live/model/CheckServiceForRoleResult.h
 	include/alibabacloud/live/model/CloseLiveShiftRequest.h
 	include/alibabacloud/live/model/CloseLiveShiftResult.h
 	include/alibabacloud/live/model/CopyCasterRequest.h
@@ -227,6 +225,8 @@ set(live_public_header_model
 	include/alibabacloud/live/model/DescribeLiveDetectPornDataResult.h
 	include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h
 	include/alibabacloud/live/model/DescribeLiveDomainBpsDataResult.h
+	include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h
+	include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerResult.h
 	include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampRequest.h
 	include/alibabacloud/live/model/DescribeLiveDomainBpsDataByTimeStampResult.h
 	include/alibabacloud/live/model/DescribeLiveDomainCertificateInfoRequest.h
@@ -345,6 +345,8 @@ set(live_public_header_model
 	include/alibabacloud/live/model/DescribeLiveTagResourcesResult.h
 	include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h
 	include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowResult.h
+	include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h
+	include/alibabacloud/live/model/DescribeLiveUserBillPredictionResult.h
 	include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h
 	include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h
 	include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h
@@ -373,6 +375,8 @@ set(live_public_header_model
 	include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataResult.h
 	include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryRequest.h
 	include/alibabacloud/live/model/DisableLiveRealtimeLogDeliveryResult.h
+	include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h
+	include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleResult.h
 	include/alibabacloud/live/model/EditPlaylistRequest.h
 	include/alibabacloud/live/model/EditPlaylistResult.h
 	include/alibabacloud/live/model/EditShowAndReplaceRequest.h
@@ -479,8 +483,6 @@ set(live_public_header_model
 	include/alibabacloud/live/model/StartCasterSceneResult.h
 	include/alibabacloud/live/model/StartLiveDomainRequest.h
 	include/alibabacloud/live/model/StartLiveDomainResult.h
-	include/alibabacloud/live/model/StartLiveIndexRequest.h
-	include/alibabacloud/live/model/StartLiveIndexResult.h
 	include/alibabacloud/live/model/StartLiveStreamMonitorRequest.h
 	include/alibabacloud/live/model/StartLiveStreamMonitorResult.h
 	include/alibabacloud/live/model/StartPlaylistRequest.h
@@ -491,8 +493,6 @@ set(live_public_header_model
 	include/alibabacloud/live/model/StopCasterSceneResult.h
 	include/alibabacloud/live/model/StopLiveDomainRequest.h
 	include/alibabacloud/live/model/StopLiveDomainResult.h
-	include/alibabacloud/live/model/StopLiveIndexRequest.h
-	include/alibabacloud/live/model/StopLiveIndexResult.h
 	include/alibabacloud/live/model/StopLiveStreamMonitorRequest.h
 	include/alibabacloud/live/model/StopLiveStreamMonitorResult.h
 	include/alibabacloud/live/model/StopPlaylistRequest.h
@@ -598,8 +598,6 @@ set(live_src
 	src/model/BatchDeleteLiveDomainConfigsResult.cc
 	src/model/BatchSetLiveDomainConfigsRequest.cc
 	src/model/BatchSetLiveDomainConfigsResult.cc
-	src/model/CheckServiceForRoleRequest.cc
-	src/model/CheckServiceForRoleResult.cc
 	src/model/CloseLiveShiftRequest.cc
 	src/model/CloseLiveShiftResult.cc
 	src/model/CopyCasterRequest.cc
@@ -740,6 +738,8 @@ set(live_src
 	src/model/DescribeLiveDetectPornDataResult.cc
 	src/model/DescribeLiveDomainBpsDataRequest.cc
 	src/model/DescribeLiveDomainBpsDataResult.cc
+	src/model/DescribeLiveDomainBpsDataByLayerRequest.cc
+	src/model/DescribeLiveDomainBpsDataByLayerResult.cc
 	src/model/DescribeLiveDomainBpsDataByTimeStampRequest.cc
 	src/model/DescribeLiveDomainBpsDataByTimeStampResult.cc
 	src/model/DescribeLiveDomainCertificateInfoRequest.cc
@@ -858,6 +858,8 @@ set(live_src
 	src/model/DescribeLiveTagResourcesResult.cc
 	src/model/DescribeLiveTopDomainsByFlowRequest.cc
 	src/model/DescribeLiveTopDomainsByFlowResult.cc
+	src/model/DescribeLiveUserBillPredictionRequest.cc
+	src/model/DescribeLiveUserBillPredictionResult.cc
 	src/model/DescribeLiveUserDomainsRequest.cc
 	src/model/DescribeLiveUserDomainsResult.cc
 	src/model/DescribeLiveUserTagsRequest.cc
@@ -886,6 +888,8 @@ set(live_src
 	src/model/DescribeUpPeakPublishStreamDataResult.cc
 	src/model/DisableLiveRealtimeLogDeliveryRequest.cc
 	src/model/DisableLiveRealtimeLogDeliveryResult.cc
+	src/model/DynamicUpdateWaterMarkStreamRuleRequest.cc
+	src/model/DynamicUpdateWaterMarkStreamRuleResult.cc
 	src/model/EditPlaylistRequest.cc
 	src/model/EditPlaylistResult.cc
 	src/model/EditShowAndReplaceRequest.cc
@@ -992,8 +996,6 @@ set(live_src
 	src/model/StartCasterSceneResult.cc
 	src/model/StartLiveDomainRequest.cc
 	src/model/StartLiveDomainResult.cc
-	src/model/StartLiveIndexRequest.cc
-	src/model/StartLiveIndexResult.cc
 	src/model/StartLiveStreamMonitorRequest.cc
 	src/model/StartLiveStreamMonitorResult.cc
 	src/model/StartPlaylistRequest.cc
@@ -1004,8 +1006,6 @@ set(live_src
 	src/model/StopCasterSceneResult.cc
 	src/model/StopLiveDomainRequest.cc
 	src/model/StopLiveDomainResult.cc
-	src/model/StopLiveIndexRequest.cc
-	src/model/StopLiveIndexResult.cc
 	src/model/StopLiveStreamMonitorRequest.cc
 	src/model/StopLiveStreamMonitorResult.cc
 	src/model/StopPlaylistRequest.cc

+ 24 - 24
live/include/alibabacloud/live/LiveClient.h

@@ -86,8 +86,6 @@
 #include "model/BatchDeleteLiveDomainConfigsResult.h"
 #include "model/BatchSetLiveDomainConfigsRequest.h"
 #include "model/BatchSetLiveDomainConfigsResult.h"
-#include "model/CheckServiceForRoleRequest.h"
-#include "model/CheckServiceForRoleResult.h"
 #include "model/CloseLiveShiftRequest.h"
 #include "model/CloseLiveShiftResult.h"
 #include "model/CopyCasterRequest.h"
@@ -228,6 +226,8 @@
 #include "model/DescribeLiveDetectPornDataResult.h"
 #include "model/DescribeLiveDomainBpsDataRequest.h"
 #include "model/DescribeLiveDomainBpsDataResult.h"
+#include "model/DescribeLiveDomainBpsDataByLayerRequest.h"
+#include "model/DescribeLiveDomainBpsDataByLayerResult.h"
 #include "model/DescribeLiveDomainBpsDataByTimeStampRequest.h"
 #include "model/DescribeLiveDomainBpsDataByTimeStampResult.h"
 #include "model/DescribeLiveDomainCertificateInfoRequest.h"
@@ -346,6 +346,8 @@
 #include "model/DescribeLiveTagResourcesResult.h"
 #include "model/DescribeLiveTopDomainsByFlowRequest.h"
 #include "model/DescribeLiveTopDomainsByFlowResult.h"
+#include "model/DescribeLiveUserBillPredictionRequest.h"
+#include "model/DescribeLiveUserBillPredictionResult.h"
 #include "model/DescribeLiveUserDomainsRequest.h"
 #include "model/DescribeLiveUserDomainsResult.h"
 #include "model/DescribeLiveUserTagsRequest.h"
@@ -374,6 +376,8 @@
 #include "model/DescribeUpPeakPublishStreamDataResult.h"
 #include "model/DisableLiveRealtimeLogDeliveryRequest.h"
 #include "model/DisableLiveRealtimeLogDeliveryResult.h"
+#include "model/DynamicUpdateWaterMarkStreamRuleRequest.h"
+#include "model/DynamicUpdateWaterMarkStreamRuleResult.h"
 #include "model/EditPlaylistRequest.h"
 #include "model/EditPlaylistResult.h"
 #include "model/EditShowAndReplaceRequest.h"
@@ -480,8 +484,6 @@
 #include "model/StartCasterSceneResult.h"
 #include "model/StartLiveDomainRequest.h"
 #include "model/StartLiveDomainResult.h"
-#include "model/StartLiveIndexRequest.h"
-#include "model/StartLiveIndexResult.h"
 #include "model/StartLiveStreamMonitorRequest.h"
 #include "model/StartLiveStreamMonitorResult.h"
 #include "model/StartPlaylistRequest.h"
@@ -492,8 +494,6 @@
 #include "model/StopCasterSceneResult.h"
 #include "model/StopLiveDomainRequest.h"
 #include "model/StopLiveDomainResult.h"
-#include "model/StopLiveIndexRequest.h"
-#include "model/StopLiveIndexResult.h"
 #include "model/StopLiveStreamMonitorRequest.h"
 #include "model/StopLiveStreamMonitorResult.h"
 #include "model/StopPlaylistRequest.h"
@@ -637,9 +637,6 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::BatchSetLiveDomainConfigsResult> BatchSetLiveDomainConfigsOutcome;
 			typedef std::future<BatchSetLiveDomainConfigsOutcome> BatchSetLiveDomainConfigsOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::BatchSetLiveDomainConfigsRequest&, const BatchSetLiveDomainConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> BatchSetLiveDomainConfigsAsyncHandler;
-			typedef Outcome<Error, Model::CheckServiceForRoleResult> CheckServiceForRoleOutcome;
-			typedef std::future<CheckServiceForRoleOutcome> CheckServiceForRoleOutcomeCallable;
-			typedef std::function<void(const LiveClient*, const Model::CheckServiceForRoleRequest&, const CheckServiceForRoleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CheckServiceForRoleAsyncHandler;
 			typedef Outcome<Error, Model::CloseLiveShiftResult> CloseLiveShiftOutcome;
 			typedef std::future<CloseLiveShiftOutcome> CloseLiveShiftOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::CloseLiveShiftRequest&, const CloseLiveShiftOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CloseLiveShiftAsyncHandler;
@@ -850,6 +847,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DescribeLiveDomainBpsDataResult> DescribeLiveDomainBpsDataOutcome;
 			typedef std::future<DescribeLiveDomainBpsDataOutcome> DescribeLiveDomainBpsDataOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainBpsDataRequest&, const DescribeLiveDomainBpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainBpsDataAsyncHandler;
+			typedef Outcome<Error, Model::DescribeLiveDomainBpsDataByLayerResult> DescribeLiveDomainBpsDataByLayerOutcome;
+			typedef std::future<DescribeLiveDomainBpsDataByLayerOutcome> DescribeLiveDomainBpsDataByLayerOutcomeCallable;
+			typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainBpsDataByLayerRequest&, const DescribeLiveDomainBpsDataByLayerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainBpsDataByLayerAsyncHandler;
 			typedef Outcome<Error, Model::DescribeLiveDomainBpsDataByTimeStampResult> DescribeLiveDomainBpsDataByTimeStampOutcome;
 			typedef std::future<DescribeLiveDomainBpsDataByTimeStampOutcome> DescribeLiveDomainBpsDataByTimeStampOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::DescribeLiveDomainBpsDataByTimeStampRequest&, const DescribeLiveDomainBpsDataByTimeStampOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveDomainBpsDataByTimeStampAsyncHandler;
@@ -1027,6 +1027,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DescribeLiveTopDomainsByFlowResult> DescribeLiveTopDomainsByFlowOutcome;
 			typedef std::future<DescribeLiveTopDomainsByFlowOutcome> DescribeLiveTopDomainsByFlowOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::DescribeLiveTopDomainsByFlowRequest&, const DescribeLiveTopDomainsByFlowOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveTopDomainsByFlowAsyncHandler;
+			typedef Outcome<Error, Model::DescribeLiveUserBillPredictionResult> DescribeLiveUserBillPredictionOutcome;
+			typedef std::future<DescribeLiveUserBillPredictionOutcome> DescribeLiveUserBillPredictionOutcomeCallable;
+			typedef std::function<void(const LiveClient*, const Model::DescribeLiveUserBillPredictionRequest&, const DescribeLiveUserBillPredictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveUserBillPredictionAsyncHandler;
 			typedef Outcome<Error, Model::DescribeLiveUserDomainsResult> DescribeLiveUserDomainsOutcome;
 			typedef std::future<DescribeLiveUserDomainsOutcome> DescribeLiveUserDomainsOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::DescribeLiveUserDomainsRequest&, const DescribeLiveUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveUserDomainsAsyncHandler;
@@ -1069,6 +1072,9 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::DisableLiveRealtimeLogDeliveryResult> DisableLiveRealtimeLogDeliveryOutcome;
 			typedef std::future<DisableLiveRealtimeLogDeliveryOutcome> DisableLiveRealtimeLogDeliveryOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::DisableLiveRealtimeLogDeliveryRequest&, const DisableLiveRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DisableLiveRealtimeLogDeliveryAsyncHandler;
+			typedef Outcome<Error, Model::DynamicUpdateWaterMarkStreamRuleResult> DynamicUpdateWaterMarkStreamRuleOutcome;
+			typedef std::future<DynamicUpdateWaterMarkStreamRuleOutcome> DynamicUpdateWaterMarkStreamRuleOutcomeCallable;
+			typedef std::function<void(const LiveClient*, const Model::DynamicUpdateWaterMarkStreamRuleRequest&, const DynamicUpdateWaterMarkStreamRuleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DynamicUpdateWaterMarkStreamRuleAsyncHandler;
 			typedef Outcome<Error, Model::EditPlaylistResult> EditPlaylistOutcome;
 			typedef std::future<EditPlaylistOutcome> EditPlaylistOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::EditPlaylistRequest&, const EditPlaylistOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> EditPlaylistAsyncHandler;
@@ -1228,9 +1234,6 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::StartLiveDomainResult> StartLiveDomainOutcome;
 			typedef std::future<StartLiveDomainOutcome> StartLiveDomainOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::StartLiveDomainRequest&, const StartLiveDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveDomainAsyncHandler;
-			typedef Outcome<Error, Model::StartLiveIndexResult> StartLiveIndexOutcome;
-			typedef std::future<StartLiveIndexOutcome> StartLiveIndexOutcomeCallable;
-			typedef std::function<void(const LiveClient*, const Model::StartLiveIndexRequest&, const StartLiveIndexOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveIndexAsyncHandler;
 			typedef Outcome<Error, Model::StartLiveStreamMonitorResult> StartLiveStreamMonitorOutcome;
 			typedef std::future<StartLiveStreamMonitorOutcome> StartLiveStreamMonitorOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::StartLiveStreamMonitorRequest&, const StartLiveStreamMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartLiveStreamMonitorAsyncHandler;
@@ -1246,9 +1249,6 @@ namespace AlibabaCloud
 			typedef Outcome<Error, Model::StopLiveDomainResult> StopLiveDomainOutcome;
 			typedef std::future<StopLiveDomainOutcome> StopLiveDomainOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::StopLiveDomainRequest&, const StopLiveDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopLiveDomainAsyncHandler;
-			typedef Outcome<Error, Model::StopLiveIndexResult> StopLiveIndexOutcome;
-			typedef std::future<StopLiveIndexOutcome> StopLiveIndexOutcomeCallable;
-			typedef std::function<void(const LiveClient*, const Model::StopLiveIndexRequest&, const StopLiveIndexOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopLiveIndexAsyncHandler;
 			typedef Outcome<Error, Model::StopLiveStreamMonitorResult> StopLiveStreamMonitorOutcome;
 			typedef std::future<StopLiveStreamMonitorOutcome> StopLiveStreamMonitorOutcomeCallable;
 			typedef std::function<void(const LiveClient*, const Model::StopLiveStreamMonitorRequest&, const StopLiveStreamMonitorOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopLiveStreamMonitorAsyncHandler;
@@ -1407,9 +1407,6 @@ namespace AlibabaCloud
 			BatchSetLiveDomainConfigsOutcome batchSetLiveDomainConfigs(const Model::BatchSetLiveDomainConfigsRequest &request)const;
 			void batchSetLiveDomainConfigsAsync(const Model::BatchSetLiveDomainConfigsRequest& request, const BatchSetLiveDomainConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			BatchSetLiveDomainConfigsOutcomeCallable batchSetLiveDomainConfigsCallable(const Model::BatchSetLiveDomainConfigsRequest& request) const;
-			CheckServiceForRoleOutcome checkServiceForRole(const Model::CheckServiceForRoleRequest &request)const;
-			void checkServiceForRoleAsync(const Model::CheckServiceForRoleRequest& request, const CheckServiceForRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			CheckServiceForRoleOutcomeCallable checkServiceForRoleCallable(const Model::CheckServiceForRoleRequest& request) const;
 			CloseLiveShiftOutcome closeLiveShift(const Model::CloseLiveShiftRequest &request)const;
 			void closeLiveShiftAsync(const Model::CloseLiveShiftRequest& request, const CloseLiveShiftAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			CloseLiveShiftOutcomeCallable closeLiveShiftCallable(const Model::CloseLiveShiftRequest& request) const;
@@ -1620,6 +1617,9 @@ namespace AlibabaCloud
 			DescribeLiveDomainBpsDataOutcome describeLiveDomainBpsData(const Model::DescribeLiveDomainBpsDataRequest &request)const;
 			void describeLiveDomainBpsDataAsync(const Model::DescribeLiveDomainBpsDataRequest& request, const DescribeLiveDomainBpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeLiveDomainBpsDataOutcomeCallable describeLiveDomainBpsDataCallable(const Model::DescribeLiveDomainBpsDataRequest& request) const;
+			DescribeLiveDomainBpsDataByLayerOutcome describeLiveDomainBpsDataByLayer(const Model::DescribeLiveDomainBpsDataByLayerRequest &request)const;
+			void describeLiveDomainBpsDataByLayerAsync(const Model::DescribeLiveDomainBpsDataByLayerRequest& request, const DescribeLiveDomainBpsDataByLayerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DescribeLiveDomainBpsDataByLayerOutcomeCallable describeLiveDomainBpsDataByLayerCallable(const Model::DescribeLiveDomainBpsDataByLayerRequest& request) const;
 			DescribeLiveDomainBpsDataByTimeStampOutcome describeLiveDomainBpsDataByTimeStamp(const Model::DescribeLiveDomainBpsDataByTimeStampRequest &request)const;
 			void describeLiveDomainBpsDataByTimeStampAsync(const Model::DescribeLiveDomainBpsDataByTimeStampRequest& request, const DescribeLiveDomainBpsDataByTimeStampAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeLiveDomainBpsDataByTimeStampOutcomeCallable describeLiveDomainBpsDataByTimeStampCallable(const Model::DescribeLiveDomainBpsDataByTimeStampRequest& request) const;
@@ -1797,6 +1797,9 @@ namespace AlibabaCloud
 			DescribeLiveTopDomainsByFlowOutcome describeLiveTopDomainsByFlow(const Model::DescribeLiveTopDomainsByFlowRequest &request)const;
 			void describeLiveTopDomainsByFlowAsync(const Model::DescribeLiveTopDomainsByFlowRequest& request, const DescribeLiveTopDomainsByFlowAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeLiveTopDomainsByFlowOutcomeCallable describeLiveTopDomainsByFlowCallable(const Model::DescribeLiveTopDomainsByFlowRequest& request) const;
+			DescribeLiveUserBillPredictionOutcome describeLiveUserBillPrediction(const Model::DescribeLiveUserBillPredictionRequest &request)const;
+			void describeLiveUserBillPredictionAsync(const Model::DescribeLiveUserBillPredictionRequest& request, const DescribeLiveUserBillPredictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DescribeLiveUserBillPredictionOutcomeCallable describeLiveUserBillPredictionCallable(const Model::DescribeLiveUserBillPredictionRequest& request) const;
 			DescribeLiveUserDomainsOutcome describeLiveUserDomains(const Model::DescribeLiveUserDomainsRequest &request)const;
 			void describeLiveUserDomainsAsync(const Model::DescribeLiveUserDomainsRequest& request, const DescribeLiveUserDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DescribeLiveUserDomainsOutcomeCallable describeLiveUserDomainsCallable(const Model::DescribeLiveUserDomainsRequest& request) const;
@@ -1839,6 +1842,9 @@ namespace AlibabaCloud
 			DisableLiveRealtimeLogDeliveryOutcome disableLiveRealtimeLogDelivery(const Model::DisableLiveRealtimeLogDeliveryRequest &request)const;
 			void disableLiveRealtimeLogDeliveryAsync(const Model::DisableLiveRealtimeLogDeliveryRequest& request, const DisableLiveRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			DisableLiveRealtimeLogDeliveryOutcomeCallable disableLiveRealtimeLogDeliveryCallable(const Model::DisableLiveRealtimeLogDeliveryRequest& request) const;
+			DynamicUpdateWaterMarkStreamRuleOutcome dynamicUpdateWaterMarkStreamRule(const Model::DynamicUpdateWaterMarkStreamRuleRequest &request)const;
+			void dynamicUpdateWaterMarkStreamRuleAsync(const Model::DynamicUpdateWaterMarkStreamRuleRequest& request, const DynamicUpdateWaterMarkStreamRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
+			DynamicUpdateWaterMarkStreamRuleOutcomeCallable dynamicUpdateWaterMarkStreamRuleCallable(const Model::DynamicUpdateWaterMarkStreamRuleRequest& request) const;
 			EditPlaylistOutcome editPlaylist(const Model::EditPlaylistRequest &request)const;
 			void editPlaylistAsync(const Model::EditPlaylistRequest& request, const EditPlaylistAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			EditPlaylistOutcomeCallable editPlaylistCallable(const Model::EditPlaylistRequest& request) const;
@@ -1998,9 +2004,6 @@ namespace AlibabaCloud
 			StartLiveDomainOutcome startLiveDomain(const Model::StartLiveDomainRequest &request)const;
 			void startLiveDomainAsync(const Model::StartLiveDomainRequest& request, const StartLiveDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			StartLiveDomainOutcomeCallable startLiveDomainCallable(const Model::StartLiveDomainRequest& request) const;
-			StartLiveIndexOutcome startLiveIndex(const Model::StartLiveIndexRequest &request)const;
-			void startLiveIndexAsync(const Model::StartLiveIndexRequest& request, const StartLiveIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			StartLiveIndexOutcomeCallable startLiveIndexCallable(const Model::StartLiveIndexRequest& request) const;
 			StartLiveStreamMonitorOutcome startLiveStreamMonitor(const Model::StartLiveStreamMonitorRequest &request)const;
 			void startLiveStreamMonitorAsync(const Model::StartLiveStreamMonitorRequest& request, const StartLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			StartLiveStreamMonitorOutcomeCallable startLiveStreamMonitorCallable(const Model::StartLiveStreamMonitorRequest& request) const;
@@ -2016,9 +2019,6 @@ namespace AlibabaCloud
 			StopLiveDomainOutcome stopLiveDomain(const Model::StopLiveDomainRequest &request)const;
 			void stopLiveDomainAsync(const Model::StopLiveDomainRequest& request, const StopLiveDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			StopLiveDomainOutcomeCallable stopLiveDomainCallable(const Model::StopLiveDomainRequest& request) const;
-			StopLiveIndexOutcome stopLiveIndex(const Model::StopLiveIndexRequest &request)const;
-			void stopLiveIndexAsync(const Model::StopLiveIndexRequest& request, const StopLiveIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
-			StopLiveIndexOutcomeCallable stopLiveIndexCallable(const Model::StopLiveIndexRequest& request) const;
 			StopLiveStreamMonitorOutcome stopLiveStreamMonitor(const Model::StopLiveStreamMonitorRequest &request)const;
 			void stopLiveStreamMonitorAsync(const Model::StopLiveStreamMonitorRequest& request, const StopLiveStreamMonitorAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
 			StopLiveStreamMonitorOutcomeCallable stopLiveStreamMonitorCallable(const Model::StopLiveStreamMonitorRequest& request) const;

+ 0 - 54
live/include/alibabacloud/live/model/CheckServiceForRoleRequest.h

@@ -1,54 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_LIVE_MODEL_CHECKSERVICEFORROLEREQUEST_H_
-#define ALIBABACLOUD_LIVE_MODEL_CHECKSERVICEFORROLEREQUEST_H_
-
-#include <alibabacloud/live/LiveExport.h>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <string>
-#include <vector>
-#include <map>
-
-namespace AlibabaCloud {
-namespace Live {
-namespace Model {
-class ALIBABACLOUD_LIVE_EXPORT CheckServiceForRoleRequest : public RpcServiceRequest {
-public:
-	CheckServiceForRoleRequest();
-	~CheckServiceForRoleRequest();
-	std::string getAccountId() const;
-	void setAccountId(const std::string &accountId);
-	std::string getSPIRegionId() const;
-	void setSPIRegionId(const std::string &sPIRegionId);
-	std::string getRoleArn() const;
-	void setRoleArn(const std::string &roleArn);
-	std::string getDeletionTaskId() const;
-	void setDeletionTaskId(const std::string &deletionTaskId);
-	std::string getServiceName() const;
-	void setServiceName(const std::string &serviceName);
-
-private:
-	std::string accountId_;
-	std::string sPIRegionId_;
-	std::string roleArn_;
-	std::string deletionTaskId_;
-	std::string serviceName_;
-};
-} // namespace Model
-} // namespace Live
-} // namespace AlibabaCloud
-#endif // !ALIBABACLOUD_LIVE_MODEL_CHECKSERVICEFORROLEREQUEST_H_

+ 63 - 0
live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.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_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERREQUEST_H_
+#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERREQUEST_H_
+
+#include <alibabacloud/live/LiveExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Live {
+namespace Model {
+class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataByLayerRequest : public RpcServiceRequest {
+public:
+	DescribeLiveDomainBpsDataByLayerRequest();
+	~DescribeLiveDomainBpsDataByLayerRequest();
+	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 getLayer() const;
+	void setLayer(const std::string &layer);
+	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 layer_;
+	std::string domainName_;
+	std::string endTime_;
+	long ownerId_;
+	std::string interval_;
+};
+} // namespace Model
+} // namespace Live
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERREQUEST_H_

+ 17 - 9
live/include/alibabacloud/live/model/CheckServiceForRoleResult.h → live/include/alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerResult.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_LIVE_MODEL_CHECKSERVICEFORROLERESULT_H_
-#define ALIBABACLOUD_LIVE_MODEL_CHECKSERVICEFORROLERESULT_H_
+#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERRESULT_H_
+#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERRESULT_H_
 
 #include <string>
 #include <vector>
@@ -29,23 +29,31 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_LIVE_EXPORT CheckServiceForRoleResult : public ServiceResult
+			class ALIBABACLOUD_LIVE_EXPORT DescribeLiveDomainBpsDataByLayerResult : public ServiceResult
 			{
 			public:
+				struct DataModule
+				{
+					std::string value;
+					std::string trafficValue;
+					std::string timeStamp;
+				};
 
 
-				CheckServiceForRoleResult();
-				explicit CheckServiceForRoleResult(const std::string &payload);
-				~CheckServiceForRoleResult();
-				bool getDeletable()const;
+				DescribeLiveDomainBpsDataByLayerResult();
+				explicit DescribeLiveDomainBpsDataByLayerResult(const std::string &payload);
+				~DescribeLiveDomainBpsDataByLayerResult();
+				std::vector<DataModule> getBpsDataInterval()const;
+				std::string getDataInterval()const;
 
 			protected:
 				void parse(const std::string &payload);
 			private:
-				bool deletable_;
+				std::vector<DataModule> bpsDataInterval_;
+				std::string dataInterval_;
 
 			};
 		}
 	}
 }
-#endif // !ALIBABACLOUD_LIVE_MODEL_CHECKSERVICEFORROLERESULT_H_
+#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEDOMAINBPSDATABYLAYERRESULT_H_

+ 54 - 0
live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.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_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONREQUEST_H_
+#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONREQUEST_H_
+
+#include <alibabacloud/live/LiveExport.h>
+#include <alibabacloud/core/RpcServiceRequest.h>
+#include <string>
+#include <vector>
+#include <map>
+
+namespace AlibabaCloud {
+namespace Live {
+namespace Model {
+class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserBillPredictionRequest : public RpcServiceRequest {
+public:
+	DescribeLiveUserBillPredictionRequest();
+	~DescribeLiveUserBillPredictionRequest();
+	std::string getStartTime() const;
+	void setStartTime(const std::string &startTime);
+	std::string getDimension() const;
+	void setDimension(const std::string &dimension);
+	std::string getArea() const;
+	void setArea(const std::string &area);
+	std::string getEndTime() const;
+	void setEndTime(const std::string &endTime);
+	long getOwnerId() const;
+	void setOwnerId(long ownerId);
+
+private:
+	std::string startTime_;
+	std::string dimension_;
+	std::string area_;
+	std::string endTime_;
+	long ownerId_;
+};
+} // namespace Model
+} // namespace Live
+} // namespace AlibabaCloud
+#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONREQUEST_H_

+ 21 - 9
live/include/alibabacloud/live/model/StartLiveIndexResult.h → live/include/alibabacloud/live/model/DescribeLiveUserBillPredictionResult.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXRESULT_H_
-#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXRESULT_H_
+#ifndef ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONRESULT_H_
+#define ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONRESULT_H_
 
 #include <string>
 #include <vector>
@@ -29,23 +29,35 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_LIVE_EXPORT StartLiveIndexResult : public ServiceResult
+			class ALIBABACLOUD_LIVE_EXPORT DescribeLiveUserBillPredictionResult : public ServiceResult
 			{
 			public:
+				struct BillPredictionDataItem
+				{
+					std::string area;
+					std::string timeStp;
+					float value;
+				};
 
 
-				StartLiveIndexResult();
-				explicit StartLiveIndexResult(const std::string &payload);
-				~StartLiveIndexResult();
-				std::string getTaskId()const;
+				DescribeLiveUserBillPredictionResult();
+				explicit DescribeLiveUserBillPredictionResult(const std::string &payload);
+				~DescribeLiveUserBillPredictionResult();
+				std::string getBillType()const;
+				std::string getEndTime()const;
+				std::string getStartTime()const;
+				std::vector<BillPredictionDataItem> getBillPredictionData()const;
 
 			protected:
 				void parse(const std::string &payload);
 			private:
-				std::string taskId_;
+				std::string billType_;
+				std::string endTime_;
+				std::string startTime_;
+				std::vector<BillPredictionDataItem> billPredictionData_;
 
 			};
 		}
 	}
 }
-#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXRESULT_H_
+#endif // !ALIBABACLOUD_LIVE_MODEL_DESCRIBELIVEUSERBILLPREDICTIONRESULT_H_

+ 18 - 18
live/include/alibabacloud/live/model/StopLiveIndexRequest.h → live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXREQUEST_H_
-#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXREQUEST_H_
+#ifndef ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULEREQUEST_H_
+#define ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULEREQUEST_H_
 
 #include <alibabacloud/live/LiveExport.h>
 #include <alibabacloud/core/RpcServiceRequest.h>
@@ -26,29 +26,29 @@
 namespace AlibabaCloud {
 namespace Live {
 namespace Model {
-class ALIBABACLOUD_LIVE_EXPORT StopLiveIndexRequest : public RpcServiceRequest {
+class ALIBABACLOUD_LIVE_EXPORT DynamicUpdateWaterMarkStreamRuleRequest : public RpcServiceRequest {
 public:
-	StopLiveIndexRequest();
-	~StopLiveIndexRequest();
-	std::string getAppName() const;
-	void setAppName(const std::string &appName);
-	std::string getStreamName() const;
-	void setStreamName(const std::string &streamName);
-	std::string getTaskId() const;
-	void setTaskId(const std::string &taskId);
-	std::string getDomainName() const;
-	void setDomainName(const std::string &domainName);
+	DynamicUpdateWaterMarkStreamRuleRequest();
+	~DynamicUpdateWaterMarkStreamRuleRequest();
+	std::string getStream() const;
+	void setStream(const std::string &stream);
+	std::string getApp() const;
+	void setApp(const std::string &app);
 	long getOwnerId() const;
 	void setOwnerId(long ownerId);
+	std::string getTemplateId() const;
+	void setTemplateId(const std::string &templateId);
+	std::string getDomain() const;
+	void setDomain(const std::string &domain);
 
 private:
-	std::string appName_;
-	std::string streamName_;
-	std::string taskId_;
-	std::string domainName_;
+	std::string stream_;
+	std::string app_;
 	long ownerId_;
+	std::string templateId_;
+	std::string domain_;
 };
 } // namespace Model
 } // namespace Live
 } // namespace AlibabaCloud
-#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXREQUEST_H_
+#endif // !ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULEREQUEST_H_

+ 7 - 7
live/include/alibabacloud/live/model/StopLiveIndexResult.h → live/include/alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleResult.h

@@ -14,8 +14,8 @@
  * limitations under the License.
  */
 
-#ifndef ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXRESULT_H_
-#define ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXRESULT_H_
+#ifndef ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULERESULT_H_
+#define ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULERESULT_H_
 
 #include <string>
 #include <vector>
@@ -29,14 +29,14 @@ namespace AlibabaCloud
 	{
 		namespace Model
 		{
-			class ALIBABACLOUD_LIVE_EXPORT StopLiveIndexResult : public ServiceResult
+			class ALIBABACLOUD_LIVE_EXPORT DynamicUpdateWaterMarkStreamRuleResult : public ServiceResult
 			{
 			public:
 
 
-				StopLiveIndexResult();
-				explicit StopLiveIndexResult(const std::string &payload);
-				~StopLiveIndexResult();
+				DynamicUpdateWaterMarkStreamRuleResult();
+				explicit DynamicUpdateWaterMarkStreamRuleResult(const std::string &payload);
+				~DynamicUpdateWaterMarkStreamRuleResult();
 
 			protected:
 				void parse(const std::string &payload);
@@ -46,4 +46,4 @@ namespace AlibabaCloud
 		}
 	}
 }
-#endif // !ALIBABACLOUD_LIVE_MODEL_STOPLIVEINDEXRESULT_H_
+#endif // !ALIBABACLOUD_LIVE_MODEL_DYNAMICUPDATEWATERMARKSTREAMRULERESULT_H_

+ 0 - 72
live/include/alibabacloud/live/model/StartLiveIndexRequest.h

@@ -1,72 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#ifndef ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXREQUEST_H_
-#define ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXREQUEST_H_
-
-#include <alibabacloud/live/LiveExport.h>
-#include <alibabacloud/core/RpcServiceRequest.h>
-#include <string>
-#include <vector>
-#include <map>
-
-namespace AlibabaCloud {
-namespace Live {
-namespace Model {
-class ALIBABACLOUD_LIVE_EXPORT StartLiveIndexRequest : public RpcServiceRequest {
-public:
-	StartLiveIndexRequest();
-	~StartLiveIndexRequest();
-	std::string getTokenId() const;
-	void setTokenId(const std::string &tokenId);
-	std::string getOssEndpoint() const;
-	void setOssEndpoint(const std::string &ossEndpoint);
-	std::string getAppName() const;
-	void setAppName(const std::string &appName);
-	std::string getOssRamRole() const;
-	void setOssRamRole(const std::string &ossRamRole);
-	std::string getStreamName() const;
-	void setStreamName(const std::string &streamName);
-	std::string getOssUserId() const;
-	void setOssUserId(const std::string &ossUserId);
-	std::string getOssBucket() const;
-	void setOssBucket(const std::string &ossBucket);
-	std::string getDomainName() const;
-	void setDomainName(const std::string &domainName);
-	std::string getInputUrl() const;
-	void setInputUrl(const std::string &inputUrl);
-	long getOwnerId() const;
-	void setOwnerId(long ownerId);
-	int getInterval() const;
-	void setInterval(int interval);
-
-private:
-	std::string tokenId_;
-	std::string ossEndpoint_;
-	std::string appName_;
-	std::string ossRamRole_;
-	std::string streamName_;
-	std::string ossUserId_;
-	std::string ossBucket_;
-	std::string domainName_;
-	std::string inputUrl_;
-	long ownerId_;
-	int interval_;
-};
-} // namespace Model
-} // namespace Live
-} // namespace AlibabaCloud
-#endif // !ALIBABACLOUD_LIVE_MODEL_STARTLIVEINDEXREQUEST_H_

+ 108 - 108
live/src/LiveClient.cc

@@ -1203,42 +1203,6 @@ LiveClient::BatchSetLiveDomainConfigsOutcomeCallable LiveClient::batchSetLiveDom
 	return task->get_future();
 }
 
-LiveClient::CheckServiceForRoleOutcome LiveClient::checkServiceForRole(const CheckServiceForRoleRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return CheckServiceForRoleOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return CheckServiceForRoleOutcome(CheckServiceForRoleResult(outcome.result()));
-	else
-		return CheckServiceForRoleOutcome(outcome.error());
-}
-
-void LiveClient::checkServiceForRoleAsync(const CheckServiceForRoleRequest& request, const CheckServiceForRoleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, checkServiceForRole(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-LiveClient::CheckServiceForRoleOutcomeCallable LiveClient::checkServiceForRoleCallable(const CheckServiceForRoleRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<CheckServiceForRoleOutcome()>>(
-			[this, request]()
-			{
-			return this->checkServiceForRole(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 LiveClient::CloseLiveShiftOutcome LiveClient::closeLiveShift(const CloseLiveShiftRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -3759,6 +3723,42 @@ LiveClient::DescribeLiveDomainBpsDataOutcomeCallable LiveClient::describeLiveDom
 	return task->get_future();
 }
 
+LiveClient::DescribeLiveDomainBpsDataByLayerOutcome LiveClient::describeLiveDomainBpsDataByLayer(const DescribeLiveDomainBpsDataByLayerRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DescribeLiveDomainBpsDataByLayerOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DescribeLiveDomainBpsDataByLayerOutcome(DescribeLiveDomainBpsDataByLayerResult(outcome.result()));
+	else
+		return DescribeLiveDomainBpsDataByLayerOutcome(outcome.error());
+}
+
+void LiveClient::describeLiveDomainBpsDataByLayerAsync(const DescribeLiveDomainBpsDataByLayerRequest& request, const DescribeLiveDomainBpsDataByLayerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, describeLiveDomainBpsDataByLayer(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+LiveClient::DescribeLiveDomainBpsDataByLayerOutcomeCallable LiveClient::describeLiveDomainBpsDataByLayerCallable(const DescribeLiveDomainBpsDataByLayerRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DescribeLiveDomainBpsDataByLayerOutcome()>>(
+			[this, request]()
+			{
+			return this->describeLiveDomainBpsDataByLayer(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 LiveClient::DescribeLiveDomainBpsDataByTimeStampOutcome LiveClient::describeLiveDomainBpsDataByTimeStamp(const DescribeLiveDomainBpsDataByTimeStampRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -5883,6 +5883,42 @@ LiveClient::DescribeLiveTopDomainsByFlowOutcomeCallable LiveClient::describeLive
 	return task->get_future();
 }
 
+LiveClient::DescribeLiveUserBillPredictionOutcome LiveClient::describeLiveUserBillPrediction(const DescribeLiveUserBillPredictionRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DescribeLiveUserBillPredictionOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DescribeLiveUserBillPredictionOutcome(DescribeLiveUserBillPredictionResult(outcome.result()));
+	else
+		return DescribeLiveUserBillPredictionOutcome(outcome.error());
+}
+
+void LiveClient::describeLiveUserBillPredictionAsync(const DescribeLiveUserBillPredictionRequest& request, const DescribeLiveUserBillPredictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, describeLiveUserBillPrediction(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+LiveClient::DescribeLiveUserBillPredictionOutcomeCallable LiveClient::describeLiveUserBillPredictionCallable(const DescribeLiveUserBillPredictionRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DescribeLiveUserBillPredictionOutcome()>>(
+			[this, request]()
+			{
+			return this->describeLiveUserBillPrediction(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 LiveClient::DescribeLiveUserDomainsOutcome LiveClient::describeLiveUserDomains(const DescribeLiveUserDomainsRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -6387,6 +6423,42 @@ LiveClient::DisableLiveRealtimeLogDeliveryOutcomeCallable LiveClient::disableLiv
 	return task->get_future();
 }
 
+LiveClient::DynamicUpdateWaterMarkStreamRuleOutcome LiveClient::dynamicUpdateWaterMarkStreamRule(const DynamicUpdateWaterMarkStreamRuleRequest &request) const
+{
+	auto endpointOutcome = endpointProvider_->getEndpoint();
+	if (!endpointOutcome.isSuccess())
+		return DynamicUpdateWaterMarkStreamRuleOutcome(endpointOutcome.error());
+
+	auto outcome = makeRequest(endpointOutcome.result(), request);
+
+	if (outcome.isSuccess())
+		return DynamicUpdateWaterMarkStreamRuleOutcome(DynamicUpdateWaterMarkStreamRuleResult(outcome.result()));
+	else
+		return DynamicUpdateWaterMarkStreamRuleOutcome(outcome.error());
+}
+
+void LiveClient::dynamicUpdateWaterMarkStreamRuleAsync(const DynamicUpdateWaterMarkStreamRuleRequest& request, const DynamicUpdateWaterMarkStreamRuleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
+{
+	auto fn = [this, request, handler, context]()
+	{
+		handler(this, request, dynamicUpdateWaterMarkStreamRule(request), context);
+	};
+
+	asyncExecute(new Runnable(fn));
+}
+
+LiveClient::DynamicUpdateWaterMarkStreamRuleOutcomeCallable LiveClient::dynamicUpdateWaterMarkStreamRuleCallable(const DynamicUpdateWaterMarkStreamRuleRequest &request) const
+{
+	auto task = std::make_shared<std::packaged_task<DynamicUpdateWaterMarkStreamRuleOutcome()>>(
+			[this, request]()
+			{
+			return this->dynamicUpdateWaterMarkStreamRule(request);
+			});
+
+	asyncExecute(new Runnable([task]() { (*task)(); }));
+	return task->get_future();
+}
+
 LiveClient::EditPlaylistOutcome LiveClient::editPlaylist(const EditPlaylistRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -8295,42 +8367,6 @@ LiveClient::StartLiveDomainOutcomeCallable LiveClient::startLiveDomainCallable(c
 	return task->get_future();
 }
 
-LiveClient::StartLiveIndexOutcome LiveClient::startLiveIndex(const StartLiveIndexRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return StartLiveIndexOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return StartLiveIndexOutcome(StartLiveIndexResult(outcome.result()));
-	else
-		return StartLiveIndexOutcome(outcome.error());
-}
-
-void LiveClient::startLiveIndexAsync(const StartLiveIndexRequest& request, const StartLiveIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, startLiveIndex(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-LiveClient::StartLiveIndexOutcomeCallable LiveClient::startLiveIndexCallable(const StartLiveIndexRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<StartLiveIndexOutcome()>>(
-			[this, request]()
-			{
-			return this->startLiveIndex(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 LiveClient::StartLiveStreamMonitorOutcome LiveClient::startLiveStreamMonitor(const StartLiveStreamMonitorRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();
@@ -8511,42 +8547,6 @@ LiveClient::StopLiveDomainOutcomeCallable LiveClient::stopLiveDomainCallable(con
 	return task->get_future();
 }
 
-LiveClient::StopLiveIndexOutcome LiveClient::stopLiveIndex(const StopLiveIndexRequest &request) const
-{
-	auto endpointOutcome = endpointProvider_->getEndpoint();
-	if (!endpointOutcome.isSuccess())
-		return StopLiveIndexOutcome(endpointOutcome.error());
-
-	auto outcome = makeRequest(endpointOutcome.result(), request);
-
-	if (outcome.isSuccess())
-		return StopLiveIndexOutcome(StopLiveIndexResult(outcome.result()));
-	else
-		return StopLiveIndexOutcome(outcome.error());
-}
-
-void LiveClient::stopLiveIndexAsync(const StopLiveIndexRequest& request, const StopLiveIndexAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
-{
-	auto fn = [this, request, handler, context]()
-	{
-		handler(this, request, stopLiveIndex(request), context);
-	};
-
-	asyncExecute(new Runnable(fn));
-}
-
-LiveClient::StopLiveIndexOutcomeCallable LiveClient::stopLiveIndexCallable(const StopLiveIndexRequest &request) const
-{
-	auto task = std::make_shared<std::packaged_task<StopLiveIndexOutcome()>>(
-			[this, request]()
-			{
-			return this->stopLiveIndex(request);
-			});
-
-	asyncExecute(new Runnable([task]() { (*task)(); }));
-	return task->get_future();
-}
-
 LiveClient::StopLiveStreamMonitorOutcome LiveClient::stopLiveStreamMonitor(const StopLiveStreamMonitorRequest &request) const
 {
 	auto endpointOutcome = endpointProvider_->getEndpoint();

+ 0 - 72
live/src/model/CheckServiceForRoleRequest.cc

@@ -1,72 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/live/model/CheckServiceForRoleRequest.h>
-
-using AlibabaCloud::Live::Model::CheckServiceForRoleRequest;
-
-CheckServiceForRoleRequest::CheckServiceForRoleRequest()
-    : RpcServiceRequest("live", "2016-11-01", "CheckServiceForRole") {
-  setMethod(HttpRequest::Method::Post);
-}
-
-CheckServiceForRoleRequest::~CheckServiceForRoleRequest() {}
-
-std::string CheckServiceForRoleRequest::getAccountId() const {
-  return accountId_;
-}
-
-void CheckServiceForRoleRequest::setAccountId(const std::string &accountId) {
-  accountId_ = accountId;
-  setParameter(std::string("AccountId"), accountId);
-}
-
-std::string CheckServiceForRoleRequest::getSPIRegionId() const {
-  return sPIRegionId_;
-}
-
-void CheckServiceForRoleRequest::setSPIRegionId(const std::string &sPIRegionId) {
-  sPIRegionId_ = sPIRegionId;
-  setParameter(std::string("SPIRegionId"), sPIRegionId);
-}
-
-std::string CheckServiceForRoleRequest::getRoleArn() const {
-  return roleArn_;
-}
-
-void CheckServiceForRoleRequest::setRoleArn(const std::string &roleArn) {
-  roleArn_ = roleArn;
-  setParameter(std::string("RoleArn"), roleArn);
-}
-
-std::string CheckServiceForRoleRequest::getDeletionTaskId() const {
-  return deletionTaskId_;
-}
-
-void CheckServiceForRoleRequest::setDeletionTaskId(const std::string &deletionTaskId) {
-  deletionTaskId_ = deletionTaskId;
-  setParameter(std::string("DeletionTaskId"), deletionTaskId);
-}
-
-std::string CheckServiceForRoleRequest::getServiceName() const {
-  return serviceName_;
-}
-
-void CheckServiceForRoleRequest::setServiceName(const std::string &serviceName) {
-  serviceName_ = serviceName;
-  setParameter(std::string("ServiceName"), serviceName);
-}
-

+ 0 - 51
live/src/model/CheckServiceForRoleResult.cc

@@ -1,51 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/live/model/CheckServiceForRoleResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Live;
-using namespace AlibabaCloud::Live::Model;
-
-CheckServiceForRoleResult::CheckServiceForRoleResult() :
-	ServiceResult()
-{}
-
-CheckServiceForRoleResult::CheckServiceForRoleResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-CheckServiceForRoleResult::~CheckServiceForRoleResult()
-{}
-
-void CheckServiceForRoleResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-	if(!value["Deletable"].isNull())
-		deletable_ = value["Deletable"].asString() == "true";
-
-}
-
-bool CheckServiceForRoleResult::getDeletable()const
-{
-	return deletable_;
-}
-

+ 99 - 0
live/src/model/DescribeLiveDomainBpsDataByLayerRequest.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 <alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerRequest.h>
+
+using AlibabaCloud::Live::Model::DescribeLiveDomainBpsDataByLayerRequest;
+
+DescribeLiveDomainBpsDataByLayerRequest::DescribeLiveDomainBpsDataByLayerRequest()
+    : RpcServiceRequest("live", "2016-11-01", "DescribeLiveDomainBpsDataByLayer") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DescribeLiveDomainBpsDataByLayerRequest::~DescribeLiveDomainBpsDataByLayerRequest() {}
+
+std::string DescribeLiveDomainBpsDataByLayerRequest::getLocationNameEn() const {
+  return locationNameEn_;
+}
+
+void DescribeLiveDomainBpsDataByLayerRequest::setLocationNameEn(const std::string &locationNameEn) {
+  locationNameEn_ = locationNameEn;
+  setParameter(std::string("LocationNameEn"), locationNameEn);
+}
+
+std::string DescribeLiveDomainBpsDataByLayerRequest::getStartTime() const {
+  return startTime_;
+}
+
+void DescribeLiveDomainBpsDataByLayerRequest::setStartTime(const std::string &startTime) {
+  startTime_ = startTime;
+  setParameter(std::string("StartTime"), startTime);
+}
+
+std::string DescribeLiveDomainBpsDataByLayerRequest::getIspNameEn() const {
+  return ispNameEn_;
+}
+
+void DescribeLiveDomainBpsDataByLayerRequest::setIspNameEn(const std::string &ispNameEn) {
+  ispNameEn_ = ispNameEn;
+  setParameter(std::string("IspNameEn"), ispNameEn);
+}
+
+std::string DescribeLiveDomainBpsDataByLayerRequest::getLayer() const {
+  return layer_;
+}
+
+void DescribeLiveDomainBpsDataByLayerRequest::setLayer(const std::string &layer) {
+  layer_ = layer;
+  setParameter(std::string("Layer"), layer);
+}
+
+std::string DescribeLiveDomainBpsDataByLayerRequest::getDomainName() const {
+  return domainName_;
+}
+
+void DescribeLiveDomainBpsDataByLayerRequest::setDomainName(const std::string &domainName) {
+  domainName_ = domainName;
+  setParameter(std::string("DomainName"), domainName);
+}
+
+std::string DescribeLiveDomainBpsDataByLayerRequest::getEndTime() const {
+  return endTime_;
+}
+
+void DescribeLiveDomainBpsDataByLayerRequest::setEndTime(const std::string &endTime) {
+  endTime_ = endTime;
+  setParameter(std::string("EndTime"), endTime);
+}
+
+long DescribeLiveDomainBpsDataByLayerRequest::getOwnerId() const {
+  return ownerId_;
+}
+
+void DescribeLiveDomainBpsDataByLayerRequest::setOwnerId(long ownerId) {
+  ownerId_ = ownerId;
+  setParameter(std::string("OwnerId"), std::to_string(ownerId));
+}
+
+std::string DescribeLiveDomainBpsDataByLayerRequest::getInterval() const {
+  return interval_;
+}
+
+void DescribeLiveDomainBpsDataByLayerRequest::setInterval(const std::string &interval) {
+  interval_ = interval;
+  setParameter(std::string("Interval"), interval);
+}
+

+ 68 - 0
live/src/model/DescribeLiveDomainBpsDataByLayerResult.cc

@@ -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.
+ */
+
+#include <alibabacloud/live/model/DescribeLiveDomainBpsDataByLayerResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Live;
+using namespace AlibabaCloud::Live::Model;
+
+DescribeLiveDomainBpsDataByLayerResult::DescribeLiveDomainBpsDataByLayerResult() :
+	ServiceResult()
+{}
+
+DescribeLiveDomainBpsDataByLayerResult::DescribeLiveDomainBpsDataByLayerResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DescribeLiveDomainBpsDataByLayerResult::~DescribeLiveDomainBpsDataByLayerResult()
+{}
+
+void DescribeLiveDomainBpsDataByLayerResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto allBpsDataIntervalNode = value["BpsDataInterval"]["DataModule"];
+	for (auto valueBpsDataIntervalDataModule : allBpsDataIntervalNode)
+	{
+		DataModule bpsDataIntervalObject;
+		if(!valueBpsDataIntervalDataModule["Value"].isNull())
+			bpsDataIntervalObject.value = valueBpsDataIntervalDataModule["Value"].asString();
+		if(!valueBpsDataIntervalDataModule["TrafficValue"].isNull())
+			bpsDataIntervalObject.trafficValue = valueBpsDataIntervalDataModule["TrafficValue"].asString();
+		if(!valueBpsDataIntervalDataModule["TimeStamp"].isNull())
+			bpsDataIntervalObject.timeStamp = valueBpsDataIntervalDataModule["TimeStamp"].asString();
+		bpsDataInterval_.push_back(bpsDataIntervalObject);
+	}
+	if(!value["DataInterval"].isNull())
+		dataInterval_ = value["DataInterval"].asString();
+
+}
+
+std::vector<DescribeLiveDomainBpsDataByLayerResult::DataModule> DescribeLiveDomainBpsDataByLayerResult::getBpsDataInterval()const
+{
+	return bpsDataInterval_;
+}
+
+std::string DescribeLiveDomainBpsDataByLayerResult::getDataInterval()const
+{
+	return dataInterval_;
+}
+

+ 72 - 0
live/src/model/DescribeLiveUserBillPredictionRequest.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 <alibabacloud/live/model/DescribeLiveUserBillPredictionRequest.h>
+
+using AlibabaCloud::Live::Model::DescribeLiveUserBillPredictionRequest;
+
+DescribeLiveUserBillPredictionRequest::DescribeLiveUserBillPredictionRequest()
+    : RpcServiceRequest("live", "2016-11-01", "DescribeLiveUserBillPrediction") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DescribeLiveUserBillPredictionRequest::~DescribeLiveUserBillPredictionRequest() {}
+
+std::string DescribeLiveUserBillPredictionRequest::getStartTime() const {
+  return startTime_;
+}
+
+void DescribeLiveUserBillPredictionRequest::setStartTime(const std::string &startTime) {
+  startTime_ = startTime;
+  setParameter(std::string("StartTime"), startTime);
+}
+
+std::string DescribeLiveUserBillPredictionRequest::getDimension() const {
+  return dimension_;
+}
+
+void DescribeLiveUserBillPredictionRequest::setDimension(const std::string &dimension) {
+  dimension_ = dimension;
+  setParameter(std::string("Dimension"), dimension);
+}
+
+std::string DescribeLiveUserBillPredictionRequest::getArea() const {
+  return area_;
+}
+
+void DescribeLiveUserBillPredictionRequest::setArea(const std::string &area) {
+  area_ = area;
+  setParameter(std::string("Area"), area);
+}
+
+std::string DescribeLiveUserBillPredictionRequest::getEndTime() const {
+  return endTime_;
+}
+
+void DescribeLiveUserBillPredictionRequest::setEndTime(const std::string &endTime) {
+  endTime_ = endTime;
+  setParameter(std::string("EndTime"), endTime);
+}
+
+long DescribeLiveUserBillPredictionRequest::getOwnerId() const {
+  return ownerId_;
+}
+
+void DescribeLiveUserBillPredictionRequest::setOwnerId(long ownerId) {
+  ownerId_ = ownerId;
+  setParameter(std::string("OwnerId"), std::to_string(ownerId));
+}
+

+ 82 - 0
live/src/model/DescribeLiveUserBillPredictionResult.cc

@@ -0,0 +1,82 @@
+/*
+ * Copyright 2009-2017 Alibaba Cloud All rights reserved.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include <alibabacloud/live/model/DescribeLiveUserBillPredictionResult.h>
+#include <json/json.h>
+
+using namespace AlibabaCloud::Live;
+using namespace AlibabaCloud::Live::Model;
+
+DescribeLiveUserBillPredictionResult::DescribeLiveUserBillPredictionResult() :
+	ServiceResult()
+{}
+
+DescribeLiveUserBillPredictionResult::DescribeLiveUserBillPredictionResult(const std::string &payload) :
+	ServiceResult()
+{
+	parse(payload);
+}
+
+DescribeLiveUserBillPredictionResult::~DescribeLiveUserBillPredictionResult()
+{}
+
+void DescribeLiveUserBillPredictionResult::parse(const std::string &payload)
+{
+	Json::Reader reader;
+	Json::Value value;
+	reader.parse(payload, value);
+	setRequestId(value["RequestId"].asString());
+	auto allBillPredictionDataNode = value["BillPredictionData"]["BillPredictionDataItem"];
+	for (auto valueBillPredictionDataBillPredictionDataItem : allBillPredictionDataNode)
+	{
+		BillPredictionDataItem billPredictionDataObject;
+		if(!valueBillPredictionDataBillPredictionDataItem["Value"].isNull())
+			billPredictionDataObject.value = std::stof(valueBillPredictionDataBillPredictionDataItem["Value"].asString());
+		if(!valueBillPredictionDataBillPredictionDataItem["TimeStp"].isNull())
+			billPredictionDataObject.timeStp = valueBillPredictionDataBillPredictionDataItem["TimeStp"].asString();
+		if(!valueBillPredictionDataBillPredictionDataItem["Area"].isNull())
+			billPredictionDataObject.area = valueBillPredictionDataBillPredictionDataItem["Area"].asString();
+		billPredictionData_.push_back(billPredictionDataObject);
+	}
+	if(!value["EndTime"].isNull())
+		endTime_ = value["EndTime"].asString();
+	if(!value["StartTime"].isNull())
+		startTime_ = value["StartTime"].asString();
+	if(!value["BillType"].isNull())
+		billType_ = value["BillType"].asString();
+
+}
+
+std::string DescribeLiveUserBillPredictionResult::getBillType()const
+{
+	return billType_;
+}
+
+std::string DescribeLiveUserBillPredictionResult::getEndTime()const
+{
+	return endTime_;
+}
+
+std::string DescribeLiveUserBillPredictionResult::getStartTime()const
+{
+	return startTime_;
+}
+
+std::vector<DescribeLiveUserBillPredictionResult::BillPredictionDataItem> DescribeLiveUserBillPredictionResult::getBillPredictionData()const
+{
+	return billPredictionData_;
+}
+

+ 72 - 0
live/src/model/DynamicUpdateWaterMarkStreamRuleRequest.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 <alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleRequest.h>
+
+using AlibabaCloud::Live::Model::DynamicUpdateWaterMarkStreamRuleRequest;
+
+DynamicUpdateWaterMarkStreamRuleRequest::DynamicUpdateWaterMarkStreamRuleRequest()
+    : RpcServiceRequest("live", "2016-11-01", "DynamicUpdateWaterMarkStreamRule") {
+  setMethod(HttpRequest::Method::Post);
+}
+
+DynamicUpdateWaterMarkStreamRuleRequest::~DynamicUpdateWaterMarkStreamRuleRequest() {}
+
+std::string DynamicUpdateWaterMarkStreamRuleRequest::getStream() const {
+  return stream_;
+}
+
+void DynamicUpdateWaterMarkStreamRuleRequest::setStream(const std::string &stream) {
+  stream_ = stream;
+  setParameter(std::string("Stream"), stream);
+}
+
+std::string DynamicUpdateWaterMarkStreamRuleRequest::getApp() const {
+  return app_;
+}
+
+void DynamicUpdateWaterMarkStreamRuleRequest::setApp(const std::string &app) {
+  app_ = app;
+  setParameter(std::string("App"), app);
+}
+
+long DynamicUpdateWaterMarkStreamRuleRequest::getOwnerId() const {
+  return ownerId_;
+}
+
+void DynamicUpdateWaterMarkStreamRuleRequest::setOwnerId(long ownerId) {
+  ownerId_ = ownerId;
+  setParameter(std::string("OwnerId"), std::to_string(ownerId));
+}
+
+std::string DynamicUpdateWaterMarkStreamRuleRequest::getTemplateId() const {
+  return templateId_;
+}
+
+void DynamicUpdateWaterMarkStreamRuleRequest::setTemplateId(const std::string &templateId) {
+  templateId_ = templateId;
+  setParameter(std::string("TemplateId"), templateId);
+}
+
+std::string DynamicUpdateWaterMarkStreamRuleRequest::getDomain() const {
+  return domain_;
+}
+
+void DynamicUpdateWaterMarkStreamRuleRequest::setDomain(const std::string &domain) {
+  domain_ = domain;
+  setParameter(std::string("Domain"), domain);
+}
+

+ 5 - 12
live/src/model/StartLiveIndexResult.cc → live/src/model/DynamicUpdateWaterMarkStreamRuleResult.cc

@@ -14,38 +14,31 @@
  * limitations under the License.
  */
 
-#include <alibabacloud/live/model/StartLiveIndexResult.h>
+#include <alibabacloud/live/model/DynamicUpdateWaterMarkStreamRuleResult.h>
 #include <json/json.h>
 
 using namespace AlibabaCloud::Live;
 using namespace AlibabaCloud::Live::Model;
 
-StartLiveIndexResult::StartLiveIndexResult() :
+DynamicUpdateWaterMarkStreamRuleResult::DynamicUpdateWaterMarkStreamRuleResult() :
 	ServiceResult()
 {}
 
-StartLiveIndexResult::StartLiveIndexResult(const std::string &payload) :
+DynamicUpdateWaterMarkStreamRuleResult::DynamicUpdateWaterMarkStreamRuleResult(const std::string &payload) :
 	ServiceResult()
 {
 	parse(payload);
 }
 
-StartLiveIndexResult::~StartLiveIndexResult()
+DynamicUpdateWaterMarkStreamRuleResult::~DynamicUpdateWaterMarkStreamRuleResult()
 {}
 
-void StartLiveIndexResult::parse(const std::string &payload)
+void DynamicUpdateWaterMarkStreamRuleResult::parse(const std::string &payload)
 {
 	Json::Reader reader;
 	Json::Value value;
 	reader.parse(payload, value);
 	setRequestId(value["RequestId"].asString());
-	if(!value["TaskId"].isNull())
-		taskId_ = value["TaskId"].asString();
 
 }
 
-std::string StartLiveIndexResult::getTaskId()const
-{
-	return taskId_;
-}
-

+ 0 - 126
live/src/model/StartLiveIndexRequest.cc

@@ -1,126 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/live/model/StartLiveIndexRequest.h>
-
-using AlibabaCloud::Live::Model::StartLiveIndexRequest;
-
-StartLiveIndexRequest::StartLiveIndexRequest()
-    : RpcServiceRequest("live", "2016-11-01", "StartLiveIndex") {
-  setMethod(HttpRequest::Method::Post);
-}
-
-StartLiveIndexRequest::~StartLiveIndexRequest() {}
-
-std::string StartLiveIndexRequest::getTokenId() const {
-  return tokenId_;
-}
-
-void StartLiveIndexRequest::setTokenId(const std::string &tokenId) {
-  tokenId_ = tokenId;
-  setParameter(std::string("TokenId"), tokenId);
-}
-
-std::string StartLiveIndexRequest::getOssEndpoint() const {
-  return ossEndpoint_;
-}
-
-void StartLiveIndexRequest::setOssEndpoint(const std::string &ossEndpoint) {
-  ossEndpoint_ = ossEndpoint;
-  setParameter(std::string("OssEndpoint"), ossEndpoint);
-}
-
-std::string StartLiveIndexRequest::getAppName() const {
-  return appName_;
-}
-
-void StartLiveIndexRequest::setAppName(const std::string &appName) {
-  appName_ = appName;
-  setParameter(std::string("AppName"), appName);
-}
-
-std::string StartLiveIndexRequest::getOssRamRole() const {
-  return ossRamRole_;
-}
-
-void StartLiveIndexRequest::setOssRamRole(const std::string &ossRamRole) {
-  ossRamRole_ = ossRamRole;
-  setParameter(std::string("OssRamRole"), ossRamRole);
-}
-
-std::string StartLiveIndexRequest::getStreamName() const {
-  return streamName_;
-}
-
-void StartLiveIndexRequest::setStreamName(const std::string &streamName) {
-  streamName_ = streamName;
-  setParameter(std::string("StreamName"), streamName);
-}
-
-std::string StartLiveIndexRequest::getOssUserId() const {
-  return ossUserId_;
-}
-
-void StartLiveIndexRequest::setOssUserId(const std::string &ossUserId) {
-  ossUserId_ = ossUserId;
-  setParameter(std::string("OssUserId"), ossUserId);
-}
-
-std::string StartLiveIndexRequest::getOssBucket() const {
-  return ossBucket_;
-}
-
-void StartLiveIndexRequest::setOssBucket(const std::string &ossBucket) {
-  ossBucket_ = ossBucket;
-  setParameter(std::string("OssBucket"), ossBucket);
-}
-
-std::string StartLiveIndexRequest::getDomainName() const {
-  return domainName_;
-}
-
-void StartLiveIndexRequest::setDomainName(const std::string &domainName) {
-  domainName_ = domainName;
-  setParameter(std::string("DomainName"), domainName);
-}
-
-std::string StartLiveIndexRequest::getInputUrl() const {
-  return inputUrl_;
-}
-
-void StartLiveIndexRequest::setInputUrl(const std::string &inputUrl) {
-  inputUrl_ = inputUrl;
-  setParameter(std::string("InputUrl"), inputUrl);
-}
-
-long StartLiveIndexRequest::getOwnerId() const {
-  return ownerId_;
-}
-
-void StartLiveIndexRequest::setOwnerId(long ownerId) {
-  ownerId_ = ownerId;
-  setParameter(std::string("OwnerId"), std::to_string(ownerId));
-}
-
-int StartLiveIndexRequest::getInterval() const {
-  return interval_;
-}
-
-void StartLiveIndexRequest::setInterval(int interval) {
-  interval_ = interval;
-  setParameter(std::string("Interval"), std::to_string(interval));
-}
-

+ 0 - 72
live/src/model/StopLiveIndexRequest.cc

@@ -1,72 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *      http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/live/model/StopLiveIndexRequest.h>
-
-using AlibabaCloud::Live::Model::StopLiveIndexRequest;
-
-StopLiveIndexRequest::StopLiveIndexRequest()
-    : RpcServiceRequest("live", "2016-11-01", "StopLiveIndex") {
-  setMethod(HttpRequest::Method::Post);
-}
-
-StopLiveIndexRequest::~StopLiveIndexRequest() {}
-
-std::string StopLiveIndexRequest::getAppName() const {
-  return appName_;
-}
-
-void StopLiveIndexRequest::setAppName(const std::string &appName) {
-  appName_ = appName;
-  setParameter(std::string("AppName"), appName);
-}
-
-std::string StopLiveIndexRequest::getStreamName() const {
-  return streamName_;
-}
-
-void StopLiveIndexRequest::setStreamName(const std::string &streamName) {
-  streamName_ = streamName;
-  setParameter(std::string("StreamName"), streamName);
-}
-
-std::string StopLiveIndexRequest::getTaskId() const {
-  return taskId_;
-}
-
-void StopLiveIndexRequest::setTaskId(const std::string &taskId) {
-  taskId_ = taskId;
-  setParameter(std::string("TaskId"), taskId);
-}
-
-std::string StopLiveIndexRequest::getDomainName() const {
-  return domainName_;
-}
-
-void StopLiveIndexRequest::setDomainName(const std::string &domainName) {
-  domainName_ = domainName;
-  setParameter(std::string("DomainName"), domainName);
-}
-
-long StopLiveIndexRequest::getOwnerId() const {
-  return ownerId_;
-}
-
-void StopLiveIndexRequest::setOwnerId(long ownerId) {
-  ownerId_ = ownerId;
-  setParameter(std::string("OwnerId"), std::to_string(ownerId));
-}
-

+ 0 - 44
live/src/model/StopLiveIndexResult.cc

@@ -1,44 +0,0 @@
-/*
- * Copyright 2009-2017 Alibaba Cloud All rights reserved.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-#include <alibabacloud/live/model/StopLiveIndexResult.h>
-#include <json/json.h>
-
-using namespace AlibabaCloud::Live;
-using namespace AlibabaCloud::Live::Model;
-
-StopLiveIndexResult::StopLiveIndexResult() :
-	ServiceResult()
-{}
-
-StopLiveIndexResult::StopLiveIndexResult(const std::string &payload) :
-	ServiceResult()
-{
-	parse(payload);
-}
-
-StopLiveIndexResult::~StopLiveIndexResult()
-{}
-
-void StopLiveIndexResult::parse(const std::string &payload)
-{
-	Json::Reader reader;
-	Json::Value value;
-	reader.parse(payload, value);
-	setRequestId(value["RequestId"].asString());
-
-}
-