Generated 2016-11-01 for live.
This commit is contained in:
@@ -1239,6 +1239,42 @@ LiveClient::CloseLiveShiftOutcomeCallable LiveClient::closeLiveShiftCallable(con
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::CloseMessageGroupOutcome LiveClient::closeMessageGroup(const CloseMessageGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CloseMessageGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CloseMessageGroupOutcome(CloseMessageGroupResult(outcome.result()));
|
||||
else
|
||||
return CloseMessageGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::closeMessageGroupAsync(const CloseMessageGroupRequest& request, const CloseMessageGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, closeMessageGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::CloseMessageGroupOutcomeCallable LiveClient::closeMessageGroupCallable(const CloseMessageGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CloseMessageGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->closeMessageGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::CopyCasterOutcome LiveClient::copyCaster(const CopyCasterRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1491,6 +1527,114 @@ LiveClient::CreateLiveStreamRecordIndexFilesOutcomeCallable LiveClient::createLi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::CreateLiveTranscodeTemplateOutcome LiveClient::createLiveTranscodeTemplate(const CreateLiveTranscodeTemplateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateLiveTranscodeTemplateOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateLiveTranscodeTemplateOutcome(CreateLiveTranscodeTemplateResult(outcome.result()));
|
||||
else
|
||||
return CreateLiveTranscodeTemplateOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::createLiveTranscodeTemplateAsync(const CreateLiveTranscodeTemplateRequest& request, const CreateLiveTranscodeTemplateAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createLiveTranscodeTemplate(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::CreateLiveTranscodeTemplateOutcomeCallable LiveClient::createLiveTranscodeTemplateCallable(const CreateLiveTranscodeTemplateRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateLiveTranscodeTemplateOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createLiveTranscodeTemplate(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::CreateMessageAppOutcome LiveClient::createMessageApp(const CreateMessageAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateMessageAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateMessageAppOutcome(CreateMessageAppResult(outcome.result()));
|
||||
else
|
||||
return CreateMessageAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::createMessageAppAsync(const CreateMessageAppRequest& request, const CreateMessageAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createMessageApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::CreateMessageAppOutcomeCallable LiveClient::createMessageAppCallable(const CreateMessageAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateMessageAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createMessageApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::CreateMessageGroupOutcome LiveClient::createMessageGroup(const CreateMessageGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateMessageGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateMessageGroupOutcome(CreateMessageGroupResult(outcome.result()));
|
||||
else
|
||||
return CreateMessageGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::createMessageGroupAsync(const CreateMessageGroupRequest& request, const CreateMessageGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createMessageGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::CreateMessageGroupOutcomeCallable LiveClient::createMessageGroupCallable(const CreateMessageGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateMessageGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createMessageGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::CreateMixStreamOutcome LiveClient::createMixStream(const CreateMixStreamRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2679,6 +2823,42 @@ LiveClient::DeleteLiveStreamsNotifyUrlConfigOutcomeCallable LiveClient::deleteLi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DeleteMessageAppOutcome LiveClient::deleteMessageApp(const DeleteMessageAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteMessageAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteMessageAppOutcome(DeleteMessageAppResult(outcome.result()));
|
||||
else
|
||||
return DeleteMessageAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::deleteMessageAppAsync(const DeleteMessageAppRequest& request, const DeleteMessageAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteMessageApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::DeleteMessageAppOutcomeCallable LiveClient::deleteMessageAppCallable(const DeleteMessageAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteMessageAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteMessageApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DeleteMixStreamOutcome LiveClient::deleteMixStream(const DeleteMixStreamRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4515,42 +4695,6 @@ LiveClient::DescribeLiveDomainSnapshotDataOutcomeCallable LiveClient::describeLi
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveDomainSpecialConfigOutcome LiveClient::describeLiveDomainSpecialConfig(const DescribeLiveDomainSpecialConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveDomainSpecialConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveDomainSpecialConfigOutcome(DescribeLiveDomainSpecialConfigResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveDomainSpecialConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::describeLiveDomainSpecialConfigAsync(const DescribeLiveDomainSpecialConfigRequest& request, const DescribeLiveDomainSpecialConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveDomainSpecialConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveDomainSpecialConfigOutcomeCallable LiveClient::describeLiveDomainSpecialConfigCallable(const DescribeLiveDomainSpecialConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveDomainSpecialConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveDomainSpecialConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveDomainStagingConfigOutcome LiveClient::describeLiveDomainStagingConfig(const DescribeLiveDomainStagingConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4839,6 +4983,42 @@ LiveClient::DescribeLiveLazyPullStreamConfigOutcomeCallable LiveClient::describe
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveProducerUsageDataOutcome LiveClient::describeLiveProducerUsageData(const DescribeLiveProducerUsageDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveProducerUsageDataOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveProducerUsageDataOutcome(DescribeLiveProducerUsageDataResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveProducerUsageDataOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::describeLiveProducerUsageDataAsync(const DescribeLiveProducerUsageDataRequest& request, const DescribeLiveProducerUsageDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveProducerUsageData(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveProducerUsageDataOutcomeCallable LiveClient::describeLiveProducerUsageDataCallable(const DescribeLiveProducerUsageDataRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveProducerUsageDataOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveProducerUsageData(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLivePullStreamConfigOutcome LiveClient::describeLivePullStreamConfig(const DescribeLivePullStreamConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6027,42 +6207,6 @@ LiveClient::DescribeLiveUserDomainsOutcomeCallable LiveClient::describeLiveUserD
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveUserQuotaOutcome LiveClient::describeLiveUserQuota(const DescribeLiveUserQuotaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeLiveUserQuotaOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeLiveUserQuotaOutcome(DescribeLiveUserQuotaResult(outcome.result()));
|
||||
else
|
||||
return DescribeLiveUserQuotaOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::describeLiveUserQuotaAsync(const DescribeLiveUserQuotaRequest& request, const DescribeLiveUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeLiveUserQuota(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveUserQuotaOutcomeCallable LiveClient::describeLiveUserQuotaCallable(const DescribeLiveUserQuotaRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeLiveUserQuotaOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeLiveUserQuota(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeLiveUserTagsOutcome LiveClient::describeLiveUserTags(const DescribeLiveUserTagsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6099,6 +6243,42 @@ LiveClient::DescribeLiveUserTagsOutcomeCallable LiveClient::describeLiveUserTags
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeMeterLiveRtcDurationOutcome LiveClient::describeMeterLiveRtcDuration(const DescribeMeterLiveRtcDurationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeMeterLiveRtcDurationOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeMeterLiveRtcDurationOutcome(DescribeMeterLiveRtcDurationResult(outcome.result()));
|
||||
else
|
||||
return DescribeMeterLiveRtcDurationOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::describeMeterLiveRtcDurationAsync(const DescribeMeterLiveRtcDurationRequest& request, const DescribeMeterLiveRtcDurationAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeMeterLiveRtcDuration(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::DescribeMeterLiveRtcDurationOutcomeCallable LiveClient::describeMeterLiveRtcDurationCallable(const DescribeMeterLiveRtcDurationRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeMeterLiveRtcDurationOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeMeterLiveRtcDuration(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::DescribeMixStreamListOutcome LiveClient::describeMixStreamList(const DescribeMixStreamListRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6927,6 +7107,114 @@ LiveClient::GetEditingJobInfoOutcomeCallable LiveClient::getEditingJobInfoCallab
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::GetMessageAppOutcome LiveClient::getMessageApp(const GetMessageAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMessageAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMessageAppOutcome(GetMessageAppResult(outcome.result()));
|
||||
else
|
||||
return GetMessageAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::getMessageAppAsync(const GetMessageAppRequest& request, const GetMessageAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMessageApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::GetMessageAppOutcomeCallable LiveClient::getMessageAppCallable(const GetMessageAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMessageAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMessageApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::GetMessageGroupOutcome LiveClient::getMessageGroup(const GetMessageGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMessageGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMessageGroupOutcome(GetMessageGroupResult(outcome.result()));
|
||||
else
|
||||
return GetMessageGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::getMessageGroupAsync(const GetMessageGroupRequest& request, const GetMessageGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMessageGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::GetMessageGroupOutcomeCallable LiveClient::getMessageGroupCallable(const GetMessageGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMessageGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMessageGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::GetMessageTokenOutcome LiveClient::getMessageToken(const GetMessageTokenRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetMessageTokenOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetMessageTokenOutcome(GetMessageTokenResult(outcome.result()));
|
||||
else
|
||||
return GetMessageTokenOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::getMessageTokenAsync(const GetMessageTokenRequest& request, const GetMessageTokenAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getMessageToken(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::GetMessageTokenOutcomeCallable LiveClient::getMessageTokenCallable(const GetMessageTokenRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetMessageTokenOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getMessageToken(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::GetMultiRateConfigOutcome LiveClient::getMultiRateConfig(const GetMultiRateConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7071,6 +7359,78 @@ LiveClient::InitializeAutoShowListTaskOutcomeCallable LiveClient::initializeAuto
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::JoinMessageGroupOutcome LiveClient::joinMessageGroup(const JoinMessageGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return JoinMessageGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return JoinMessageGroupOutcome(JoinMessageGroupResult(outcome.result()));
|
||||
else
|
||||
return JoinMessageGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::joinMessageGroupAsync(const JoinMessageGroupRequest& request, const JoinMessageGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, joinMessageGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::JoinMessageGroupOutcomeCallable LiveClient::joinMessageGroupCallable(const JoinMessageGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<JoinMessageGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->joinMessageGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::LeaveMessageGroupOutcome LiveClient::leaveMessageGroup(const LeaveMessageGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return LeaveMessageGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return LeaveMessageGroupOutcome(LeaveMessageGroupResult(outcome.result()));
|
||||
else
|
||||
return LeaveMessageGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::leaveMessageGroupAsync(const LeaveMessageGroupRequest& request, const LeaveMessageGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, leaveMessageGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::LeaveMessageGroupOutcomeCallable LiveClient::leaveMessageGroupCallable(const LeaveMessageGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<LeaveMessageGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->leaveMessageGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::ListLiveRealtimeLogDeliveryOutcome LiveClient::listLiveRealtimeLogDelivery(const ListLiveRealtimeLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7179,6 +7539,150 @@ LiveClient::ListLiveRealtimeLogDeliveryInfosOutcomeCallable LiveClient::listLive
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::ListMessageOutcome LiveClient::listMessage(const ListMessageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListMessageOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListMessageOutcome(ListMessageResult(outcome.result()));
|
||||
else
|
||||
return ListMessageOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::listMessageAsync(const ListMessageRequest& request, const ListMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listMessage(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::ListMessageOutcomeCallable LiveClient::listMessageCallable(const ListMessageRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListMessageOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listMessage(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::ListMessageAppOutcome LiveClient::listMessageApp(const ListMessageAppRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListMessageAppOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListMessageAppOutcome(ListMessageAppResult(outcome.result()));
|
||||
else
|
||||
return ListMessageAppOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::listMessageAppAsync(const ListMessageAppRequest& request, const ListMessageAppAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listMessageApp(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::ListMessageAppOutcomeCallable LiveClient::listMessageAppCallable(const ListMessageAppRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListMessageAppOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listMessageApp(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::ListMessageGroupOutcome LiveClient::listMessageGroup(const ListMessageGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListMessageGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListMessageGroupOutcome(ListMessageGroupResult(outcome.result()));
|
||||
else
|
||||
return ListMessageGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::listMessageGroupAsync(const ListMessageGroupRequest& request, const ListMessageGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listMessageGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::ListMessageGroupOutcomeCallable LiveClient::listMessageGroupCallable(const ListMessageGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListMessageGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listMessageGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::ListMessageGroupUserOutcome LiveClient::listMessageGroupUser(const ListMessageGroupUserRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return ListMessageGroupUserOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return ListMessageGroupUserOutcome(ListMessageGroupUserResult(outcome.result()));
|
||||
else
|
||||
return ListMessageGroupUserOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::listMessageGroupUserAsync(const ListMessageGroupUserRequest& request, const ListMessageGroupUserAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, listMessageGroupUser(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::ListMessageGroupUserOutcomeCallable LiveClient::listMessageGroupUserCallable(const ListMessageGroupUserRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<ListMessageGroupUserOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->listMessageGroupUser(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::ListPlaylistOutcome LiveClient::listPlaylist(const ListPlaylistRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -7899,6 +8403,78 @@ LiveClient::RollbackLiveStagingConfigOutcomeCallable LiveClient::rollbackLiveSta
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::SendMessageToGroupOutcome LiveClient::sendMessageToGroup(const SendMessageToGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendMessageToGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendMessageToGroupOutcome(SendMessageToGroupResult(outcome.result()));
|
||||
else
|
||||
return SendMessageToGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::sendMessageToGroupAsync(const SendMessageToGroupRequest& request, const SendMessageToGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendMessageToGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::SendMessageToGroupOutcomeCallable LiveClient::sendMessageToGroupCallable(const SendMessageToGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendMessageToGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendMessageToGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::SendMessageToGroupUsersOutcome LiveClient::sendMessageToGroupUsers(const SendMessageToGroupUsersRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendMessageToGroupUsersOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendMessageToGroupUsersOutcome(SendMessageToGroupUsersResult(outcome.result()));
|
||||
else
|
||||
return SendMessageToGroupUsersOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::sendMessageToGroupUsersAsync(const SendMessageToGroupUsersRequest& request, const SendMessageToGroupUsersAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendMessageToGroupUsers(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::SendMessageToGroupUsersOutcomeCallable LiveClient::sendMessageToGroupUsersCallable(const SendMessageToGroupUsersRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendMessageToGroupUsersOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendMessageToGroupUsers(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::SendRoomNotificationOutcome LiveClient::sendRoomNotification(const SendRoomNotificationRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -8115,6 +8691,42 @@ LiveClient::SetCasterSyncGroupOutcomeCallable LiveClient::setCasterSyncGroupCall
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::SetCasterTimedEventOutcome LiveClient::setCasterTimedEvent(const SetCasterTimedEventRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetCasterTimedEventOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetCasterTimedEventOutcome(SetCasterTimedEventResult(outcome.result()));
|
||||
else
|
||||
return SetCasterTimedEventOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::setCasterTimedEventAsync(const SetCasterTimedEventRequest& request, const SetCasterTimedEventAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setCasterTimedEvent(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::SetCasterTimedEventOutcomeCallable LiveClient::setCasterTimedEventCallable(const SetCasterTimedEventRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetCasterTimedEventOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setCasterTimedEvent(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::SetLiveDomainCertificateOutcome LiveClient::setLiveDomainCertificate(const SetLiveDomainCertificateRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -8151,42 +8763,6 @@ LiveClient::SetLiveDomainCertificateOutcomeCallable LiveClient::setLiveDomainCer
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::SetLiveDomainSpecialConfigOutcome LiveClient::setLiveDomainSpecialConfig(const SetLiveDomainSpecialConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SetLiveDomainSpecialConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SetLiveDomainSpecialConfigOutcome(SetLiveDomainSpecialConfigResult(outcome.result()));
|
||||
else
|
||||
return SetLiveDomainSpecialConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LiveClient::setLiveDomainSpecialConfigAsync(const SetLiveDomainSpecialConfigRequest& request, const SetLiveDomainSpecialConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, setLiveDomainSpecialConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LiveClient::SetLiveDomainSpecialConfigOutcomeCallable LiveClient::setLiveDomainSpecialConfigCallable(const SetLiveDomainSpecialConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SetLiveDomainSpecialConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->setLiveDomainSpecialConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
LiveClient::SetLiveDomainStagingConfigOutcome LiveClient::setLiveDomainStagingConfig(const SetLiveDomainStagingConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,161 +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 <alibabacloud/live/model/AddCasterComponentRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterComponentRequest;
|
||||
|
||||
AddCasterComponentRequest::AddCasterComponentRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCasterComponent")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCasterComponentRequest::~AddCasterComponentRequest()
|
||||
{}
|
||||
|
||||
std::string AddCasterComponentRequest::getHtmlLayerContent()const
|
||||
{
|
||||
return htmlLayerContent_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterComponentRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterComponentRequest;
|
||||
|
||||
AddCasterComponentRequest::AddCasterComponentRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddCasterComponent") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setHtmlLayerContent(const std::string& htmlLayerContent)
|
||||
{
|
||||
htmlLayerContent_ = htmlLayerContent;
|
||||
setParameter("HtmlLayerContent", htmlLayerContent);
|
||||
AddCasterComponentRequest::~AddCasterComponentRequest() {}
|
||||
|
||||
std::string AddCasterComponentRequest::getHtmlLayerContent() const {
|
||||
return htmlLayerContent_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getImageLayerContent()const
|
||||
{
|
||||
return imageLayerContent_;
|
||||
void AddCasterComponentRequest::setHtmlLayerContent(const std::string &htmlLayerContent) {
|
||||
htmlLayerContent_ = htmlLayerContent;
|
||||
setParameter(std::string("HtmlLayerContent"), htmlLayerContent);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setImageLayerContent(const std::string& imageLayerContent)
|
||||
{
|
||||
imageLayerContent_ = imageLayerContent;
|
||||
setParameter("ImageLayerContent", imageLayerContent);
|
||||
std::string AddCasterComponentRequest::getImageLayerContent() const {
|
||||
return imageLayerContent_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getComponentName()const
|
||||
{
|
||||
return componentName_;
|
||||
void AddCasterComponentRequest::setImageLayerContent(const std::string &imageLayerContent) {
|
||||
imageLayerContent_ = imageLayerContent;
|
||||
setParameter(std::string("ImageLayerContent"), imageLayerContent);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setComponentName(const std::string& componentName)
|
||||
{
|
||||
componentName_ = componentName;
|
||||
setParameter("ComponentName", componentName);
|
||||
std::string AddCasterComponentRequest::getComponentName() const {
|
||||
return componentName_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getLayerOrder()const
|
||||
{
|
||||
return layerOrder_;
|
||||
void AddCasterComponentRequest::setComponentName(const std::string &componentName) {
|
||||
componentName_ = componentName;
|
||||
setParameter(std::string("ComponentName"), componentName);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setLayerOrder(const std::string& layerOrder)
|
||||
{
|
||||
layerOrder_ = layerOrder;
|
||||
setParameter("LayerOrder", layerOrder);
|
||||
std::string AddCasterComponentRequest::getLayerOrder() const {
|
||||
return layerOrder_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void AddCasterComponentRequest::setLayerOrder(const std::string &layerOrder) {
|
||||
layerOrder_ = layerOrder;
|
||||
setParameter(std::string("LayerOrder"), layerOrder);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string AddCasterComponentRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getComponentLayer()const
|
||||
{
|
||||
return componentLayer_;
|
||||
void AddCasterComponentRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setComponentLayer(const std::string& componentLayer)
|
||||
{
|
||||
componentLayer_ = componentLayer;
|
||||
setParameter("ComponentLayer", componentLayer);
|
||||
std::string AddCasterComponentRequest::getComponentLayer() const {
|
||||
return componentLayer_;
|
||||
}
|
||||
|
||||
long AddCasterComponentRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddCasterComponentRequest::setComponentLayer(const std::string &componentLayer) {
|
||||
componentLayer_ = componentLayer;
|
||||
setParameter(std::string("ComponentLayer"), componentLayer);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddCasterComponentRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getComponentType()const
|
||||
{
|
||||
return componentType_;
|
||||
void AddCasterComponentRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setComponentType(const std::string& componentType)
|
||||
{
|
||||
componentType_ = componentType;
|
||||
setParameter("ComponentType", componentType);
|
||||
std::string AddCasterComponentRequest::getComponentType() const {
|
||||
return componentType_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getLocationId()const
|
||||
{
|
||||
return locationId_;
|
||||
void AddCasterComponentRequest::setComponentType(const std::string &componentType) {
|
||||
componentType_ = componentType;
|
||||
setParameter(std::string("ComponentType"), componentType);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setLocationId(const std::string& locationId)
|
||||
{
|
||||
locationId_ = locationId;
|
||||
setParameter("LocationId", locationId);
|
||||
std::string AddCasterComponentRequest::getLocationId() const {
|
||||
return locationId_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getEffect()const
|
||||
{
|
||||
return effect_;
|
||||
void AddCasterComponentRequest::setLocationId(const std::string &locationId) {
|
||||
locationId_ = locationId;
|
||||
setParameter(std::string("LocationId"), locationId);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setEffect(const std::string& effect)
|
||||
{
|
||||
effect_ = effect;
|
||||
setParameter("Effect", effect);
|
||||
std::string AddCasterComponentRequest::getEffect() const {
|
||||
return effect_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getCaptionLayerContent()const
|
||||
{
|
||||
return captionLayerContent_;
|
||||
void AddCasterComponentRequest::setEffect(const std::string &effect) {
|
||||
effect_ = effect;
|
||||
setParameter(std::string("Effect"), effect);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setCaptionLayerContent(const std::string& captionLayerContent)
|
||||
{
|
||||
captionLayerContent_ = captionLayerContent;
|
||||
setParameter("CaptionLayerContent", captionLayerContent);
|
||||
std::string AddCasterComponentRequest::getCaptionLayerContent() const {
|
||||
return captionLayerContent_;
|
||||
}
|
||||
|
||||
std::string AddCasterComponentRequest::getTextLayerContent()const
|
||||
{
|
||||
return textLayerContent_;
|
||||
void AddCasterComponentRequest::setCaptionLayerContent(const std::string &captionLayerContent) {
|
||||
captionLayerContent_ = captionLayerContent;
|
||||
setParameter(std::string("CaptionLayerContent"), captionLayerContent);
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setTextLayerContent(const std::string& textLayerContent)
|
||||
{
|
||||
textLayerContent_ = textLayerContent;
|
||||
setParameter("TextLayerContent", textLayerContent);
|
||||
std::string AddCasterComponentRequest::getTextLayerContent() const {
|
||||
return textLayerContent_;
|
||||
}
|
||||
|
||||
void AddCasterComponentRequest::setTextLayerContent(const std::string &textLayerContent) {
|
||||
textLayerContent_ = textLayerContent;
|
||||
setParameter(std::string("TextLayerContent"), textLayerContent);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterEpisodeGroupContentRequest;
|
||||
|
||||
AddCasterEpisodeGroupContentRequest::AddCasterEpisodeGroupContentRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroupContent")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCasterEpisodeGroupContentRequest::~AddCasterEpisodeGroupContentRequest()
|
||||
{}
|
||||
|
||||
std::string AddCasterEpisodeGroupContentRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterEpisodeGroupContentRequest;
|
||||
|
||||
AddCasterEpisodeGroupContentRequest::AddCasterEpisodeGroupContentRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroupContent") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupContentRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
AddCasterEpisodeGroupContentRequest::~AddCasterEpisodeGroupContentRequest() {}
|
||||
|
||||
std::string AddCasterEpisodeGroupContentRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupContentRequest::getContent()const
|
||||
{
|
||||
return content_;
|
||||
void AddCasterEpisodeGroupContentRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupContentRequest::setContent(const std::string& content)
|
||||
{
|
||||
content_ = content;
|
||||
setParameter("Content", content);
|
||||
std::string AddCasterEpisodeGroupContentRequest::getContent() const {
|
||||
return content_;
|
||||
}
|
||||
|
||||
long AddCasterEpisodeGroupContentRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddCasterEpisodeGroupContentRequest::setContent(const std::string &content) {
|
||||
content_ = content;
|
||||
setParameter(std::string("Content"), content);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupContentRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddCasterEpisodeGroupContentRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupContentRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,122 +1,104 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterEpisodeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterEpisodeGroupRequest;
|
||||
|
||||
AddCasterEpisodeGroupRequest::AddCasterEpisodeGroupRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCasterEpisodeGroupRequest::~AddCasterEpisodeGroupRequest()
|
||||
{}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterEpisodeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterEpisodeGroupRequest;
|
||||
|
||||
AddCasterEpisodeGroupRequest::AddCasterEpisodeGroupRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddCasterEpisodeGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
AddCasterEpisodeGroupRequest::~AddCasterEpisodeGroupRequest() {}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void AddCasterEpisodeGroupRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string AddCasterEpisodeGroupRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getSideOutputUrl()const
|
||||
{
|
||||
return sideOutputUrl_;
|
||||
void AddCasterEpisodeGroupRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string& sideOutputUrl)
|
||||
{
|
||||
sideOutputUrl_ = sideOutputUrl;
|
||||
setParameter("SideOutputUrl", sideOutputUrl);
|
||||
std::string AddCasterEpisodeGroupRequest::getSideOutputUrl() const {
|
||||
return sideOutputUrl_;
|
||||
}
|
||||
|
||||
std::vector<AddCasterEpisodeGroupRequest::Item> AddCasterEpisodeGroupRequest::getItem()const
|
||||
{
|
||||
return item_;
|
||||
void AddCasterEpisodeGroupRequest::setSideOutputUrl(const std::string &sideOutputUrl) {
|
||||
sideOutputUrl_ = sideOutputUrl;
|
||||
setParameter(std::string("SideOutputUrl"), sideOutputUrl);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setItem(const std::vector<Item>& item)
|
||||
{
|
||||
item_ = item;
|
||||
for(int dep1 = 0; dep1!= item.size(); dep1++) {
|
||||
auto itemObj = item.at(dep1);
|
||||
std::string itemObjStr = "Item." + std::to_string(dep1 + 1);
|
||||
setParameter(itemObjStr + ".ItemName", itemObj.itemName);
|
||||
setParameter(itemObjStr + ".VodUrl", itemObj.vodUrl);
|
||||
}
|
||||
std::vector<AddCasterEpisodeGroupRequest::Item> AddCasterEpisodeGroupRequest::getItem() const {
|
||||
return item_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddCasterEpisodeGroupRequest::setItem(const std::vector<AddCasterEpisodeGroupRequest::Item> &item) {
|
||||
item_ = item;
|
||||
for(int dep1 = 0; dep1 != item.size(); dep1++) {
|
||||
auto itemObj = item.at(dep1);
|
||||
std::string itemObjStr = std::string("Item") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(itemObjStr + ".ItemName", itemObj.itemName);
|
||||
setParameter(itemObjStr + ".VodUrl", itemObj.vodUrl);
|
||||
}
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddCasterEpisodeGroupRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddCasterEpisodeGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddCasterEpisodeGroupRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddCasterEpisodeGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int AddCasterEpisodeGroupRequest::getRepeatNum()const
|
||||
{
|
||||
return repeatNum_;
|
||||
void AddCasterEpisodeGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum)
|
||||
{
|
||||
repeatNum_ = repeatNum;
|
||||
setParameter("RepeatNum", std::to_string(repeatNum));
|
||||
int AddCasterEpisodeGroupRequest::getRepeatNum() const {
|
||||
return repeatNum_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeGroupRequest::getCallbackUrl()const
|
||||
{
|
||||
return callbackUrl_;
|
||||
void AddCasterEpisodeGroupRequest::setRepeatNum(int repeatNum) {
|
||||
repeatNum_ = repeatNum;
|
||||
setParameter(std::string("RepeatNum"), std::to_string(repeatNum));
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string& callbackUrl)
|
||||
{
|
||||
callbackUrl_ = callbackUrl;
|
||||
setParameter("CallbackUrl", callbackUrl);
|
||||
std::string AddCasterEpisodeGroupRequest::getCallbackUrl() const {
|
||||
return callbackUrl_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeGroupRequest::setCallbackUrl(const std::string &callbackUrl) {
|
||||
callbackUrl_ = callbackUrl;
|
||||
setParameter(std::string("CallbackUrl"), callbackUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,130 +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 <alibabacloud/live/model/AddCasterEpisodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterEpisodeRequest;
|
||||
|
||||
AddCasterEpisodeRequest::AddCasterEpisodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCasterEpisode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCasterEpisodeRequest::~AddCasterEpisodeRequest()
|
||||
{}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getEpisodeName()const
|
||||
{
|
||||
return episodeName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterEpisodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterEpisodeRequest;
|
||||
|
||||
AddCasterEpisodeRequest::AddCasterEpisodeRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddCasterEpisode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setEpisodeName(const std::string& episodeName)
|
||||
{
|
||||
episodeName_ = episodeName;
|
||||
setParameter("EpisodeName", episodeName);
|
||||
AddCasterEpisodeRequest::~AddCasterEpisodeRequest() {}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getEpisodeName() const {
|
||||
return episodeName_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void AddCasterEpisodeRequest::setEpisodeName(const std::string &episodeName) {
|
||||
episodeName_ = episodeName;
|
||||
setParameter(std::string("EpisodeName"), episodeName);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string AddCasterEpisodeRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
void AddCasterEpisodeRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setParameter("ResourceId", resourceId);
|
||||
std::string AddCasterEpisodeRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
std::vector<std::string> AddCasterEpisodeRequest::getComponentId()const
|
||||
{
|
||||
return componentId_;
|
||||
void AddCasterEpisodeRequest::setResourceId(const std::string &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
setParameter(std::string("ResourceId"), resourceId);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setComponentId(const std::vector<std::string>& componentId)
|
||||
{
|
||||
componentId_ = componentId;
|
||||
for(int dep1 = 0; dep1!= componentId.size(); dep1++) {
|
||||
setParameter("ComponentId."+ std::to_string(dep1), componentId.at(dep1));
|
||||
}
|
||||
std::vector<std::string> AddCasterEpisodeRequest::getComponentId() const {
|
||||
return componentId_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void AddCasterEpisodeRequest::setComponentId(const std::vector<std::string> &componentId) {
|
||||
componentId_ = componentId;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string AddCasterEpisodeRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getEpisodeType()const
|
||||
{
|
||||
return episodeType_;
|
||||
void AddCasterEpisodeRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setEpisodeType(const std::string& episodeType)
|
||||
{
|
||||
episodeType_ = episodeType;
|
||||
setParameter("EpisodeType", episodeType);
|
||||
std::string AddCasterEpisodeRequest::getEpisodeType() const {
|
||||
return episodeType_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void AddCasterEpisodeRequest::setEpisodeType(const std::string &episodeType) {
|
||||
episodeType_ = episodeType;
|
||||
setParameter(std::string("EpisodeType"), episodeType);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string AddCasterEpisodeRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long AddCasterEpisodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddCasterEpisodeRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddCasterEpisodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddCasterEpisodeRequest::getSwitchType()const
|
||||
{
|
||||
return switchType_;
|
||||
void AddCasterEpisodeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setSwitchType(const std::string& switchType)
|
||||
{
|
||||
switchType_ = switchType;
|
||||
setParameter("SwitchType", switchType);
|
||||
std::string AddCasterEpisodeRequest::getSwitchType() const {
|
||||
return switchType_;
|
||||
}
|
||||
|
||||
void AddCasterEpisodeRequest::setSwitchType(const std::string &switchType) {
|
||||
switchType_ = switchType;
|
||||
setParameter(std::string("SwitchType"), switchType);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,116 +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 <alibabacloud/live/model/AddCasterLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterLayoutRequest;
|
||||
|
||||
AddCasterLayoutRequest::AddCasterLayoutRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCasterLayout")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCasterLayoutRequest::~AddCasterLayoutRequest()
|
||||
{}
|
||||
|
||||
std::vector<std::string> AddCasterLayoutRequest::getBlendList()const
|
||||
{
|
||||
return blendList_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterLayoutRequest;
|
||||
|
||||
AddCasterLayoutRequest::AddCasterLayoutRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddCasterLayout") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setBlendList(const std::vector<std::string>& blendList)
|
||||
{
|
||||
blendList_ = blendList;
|
||||
for(int dep1 = 0; dep1!= blendList.size(); dep1++) {
|
||||
setParameter("BlendList."+ std::to_string(dep1), blendList.at(dep1));
|
||||
}
|
||||
AddCasterLayoutRequest::~AddCasterLayoutRequest() {}
|
||||
|
||||
std::vector<std::string> AddCasterLayoutRequest::getBlendList() const {
|
||||
return blendList_;
|
||||
}
|
||||
|
||||
std::string AddCasterLayoutRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void AddCasterLayoutRequest::setBlendList(const std::vector<std::string> &blendList) {
|
||||
blendList_ = blendList;
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string AddCasterLayoutRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long AddCasterLayoutRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddCasterLayoutRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddCasterLayoutRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::vector<AddCasterLayoutRequest::AudioLayer> AddCasterLayoutRequest::getAudioLayer()const
|
||||
{
|
||||
return audioLayer_;
|
||||
void AddCasterLayoutRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setAudioLayer(const std::vector<AudioLayer>& audioLayer)
|
||||
{
|
||||
audioLayer_ = audioLayer;
|
||||
for(int dep1 = 0; dep1!= audioLayer.size(); dep1++) {
|
||||
auto audioLayerObj = audioLayer.at(dep1);
|
||||
std::string audioLayerObjStr = "AudioLayer." + std::to_string(dep1 + 1);
|
||||
setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate));
|
||||
setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel);
|
||||
setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration));
|
||||
}
|
||||
std::vector<AddCasterLayoutRequest::AudioLayer> AddCasterLayoutRequest::getAudioLayer() const {
|
||||
return audioLayer_;
|
||||
}
|
||||
|
||||
std::vector<AddCasterLayoutRequest::VideoLayer> AddCasterLayoutRequest::getVideoLayer()const
|
||||
{
|
||||
return videoLayer_;
|
||||
void AddCasterLayoutRequest::setAudioLayer(const std::vector<AddCasterLayoutRequest::AudioLayer> &audioLayer) {
|
||||
audioLayer_ = audioLayer;
|
||||
for(int dep1 = 0; dep1 != audioLayer.size(); dep1++) {
|
||||
auto audioLayerObj = audioLayer.at(dep1);
|
||||
std::string audioLayerObjStr = std::string("AudioLayer") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(audioLayerObjStr + ".VolumeRate", std::to_string(audioLayerObj.volumeRate));
|
||||
setParameter(audioLayerObjStr + ".FixedDelayDuration", std::to_string(audioLayerObj.fixedDelayDuration));
|
||||
setParameter(audioLayerObjStr + ".ValidChannel", audioLayerObj.validChannel);
|
||||
}
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setVideoLayer(const std::vector<VideoLayer>& videoLayer)
|
||||
{
|
||||
videoLayer_ = videoLayer;
|
||||
for(int dep1 = 0; dep1!= videoLayer.size(); dep1++) {
|
||||
auto videoLayerObj = videoLayer.at(dep1);
|
||||
std::string videoLayerObjStr = "VideoLayer." + std::to_string(dep1 + 1);
|
||||
setParameter(videoLayerObjStr + ".FillMode", videoLayerObj.fillMode);
|
||||
setParameter(videoLayerObjStr + ".HeightNormalized", std::to_string(videoLayerObj.heightNormalized));
|
||||
setParameter(videoLayerObjStr + ".WidthNormalized", std::to_string(videoLayerObj.widthNormalized));
|
||||
setParameter(videoLayerObjStr + ".PositionRefer", videoLayerObj.positionRefer);
|
||||
for(int dep2 = 0; dep2!= videoLayerObj.positionNormalized.size(); dep2++) {
|
||||
setParameter(videoLayerObjStr + ".PositionNormalized."+ std::to_string(dep2), std::to_string(videoLayerObj.positionNormalized.at(dep2)));
|
||||
}
|
||||
setParameter(videoLayerObjStr + ".FixedDelayDuration", std::to_string(videoLayerObj.fixedDelayDuration));
|
||||
}
|
||||
std::vector<AddCasterLayoutRequest::VideoLayer> AddCasterLayoutRequest::getVideoLayer() const {
|
||||
return videoLayer_;
|
||||
}
|
||||
|
||||
std::vector<std::string> AddCasterLayoutRequest::getMixList()const
|
||||
{
|
||||
return mixList_;
|
||||
void AddCasterLayoutRequest::setVideoLayer(const std::vector<AddCasterLayoutRequest::VideoLayer> &videoLayer) {
|
||||
videoLayer_ = videoLayer;
|
||||
for(int dep1 = 0; dep1 != videoLayer.size(); dep1++) {
|
||||
auto videoLayerObj = videoLayer.at(dep1);
|
||||
std::string videoLayerObjStr = std::string("VideoLayer") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(videoLayerObjStr + ".FixedDelayDuration", std::to_string(videoLayerObj.fixedDelayDuration));
|
||||
setParameter(videoLayerObjStr + ".FillMode", videoLayerObj.fillMode);
|
||||
setParameter(videoLayerObjStr + ".HeightNormalized", std::to_string(videoLayerObj.heightNormalized));
|
||||
setParameter(videoLayerObjStr + ".PositionRefer", videoLayerObj.positionRefer);
|
||||
setParameter(videoLayerObjStr + ".WidthNormalized", std::to_string(videoLayerObj.widthNormalized));
|
||||
}
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setMixList(const std::vector<std::string>& mixList)
|
||||
{
|
||||
mixList_ = mixList;
|
||||
for(int dep1 = 0; dep1!= mixList.size(); dep1++) {
|
||||
setParameter("MixList."+ std::to_string(dep1), mixList.at(dep1));
|
||||
}
|
||||
std::vector<std::string> AddCasterLayoutRequest::getMixList() const {
|
||||
return mixList_;
|
||||
}
|
||||
|
||||
void AddCasterLayoutRequest::setMixList(const std::vector<std::string> &mixList) {
|
||||
mixList_ = mixList;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,74 +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 <alibabacloud/live/model/AddCasterProgramRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterProgramRequest;
|
||||
|
||||
AddCasterProgramRequest::AddCasterProgramRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCasterProgram")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCasterProgramRequest::~AddCasterProgramRequest()
|
||||
{}
|
||||
|
||||
std::vector<AddCasterProgramRequest::Episode> AddCasterProgramRequest::getEpisode()const
|
||||
{
|
||||
return episode_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterProgramRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterProgramRequest;
|
||||
|
||||
AddCasterProgramRequest::AddCasterProgramRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddCasterProgram") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCasterProgramRequest::setEpisode(const std::vector<Episode>& episode)
|
||||
{
|
||||
episode_ = episode;
|
||||
for(int dep1 = 0; dep1!= episode.size(); dep1++) {
|
||||
auto episodeObj = episode.at(dep1);
|
||||
std::string episodeObjStr = "Episode." + std::to_string(dep1 + 1);
|
||||
setParameter(episodeObjStr + ".EpisodeType", episodeObj.episodeType);
|
||||
setParameter(episodeObjStr + ".EpisodeName", episodeObj.episodeName);
|
||||
setParameter(episodeObjStr + ".ResourceId", episodeObj.resourceId);
|
||||
for(int dep2 = 0; dep2!= episodeObj.componentId.size(); dep2++) {
|
||||
setParameter(episodeObjStr + ".ComponentId."+ std::to_string(dep2), episodeObj.componentId.at(dep2));
|
||||
}
|
||||
setParameter(episodeObjStr + ".StartTime", episodeObj.startTime);
|
||||
setParameter(episodeObjStr + ".EndTime", episodeObj.endTime);
|
||||
setParameter(episodeObjStr + ".SwitchType", episodeObj.switchType);
|
||||
}
|
||||
AddCasterProgramRequest::~AddCasterProgramRequest() {}
|
||||
|
||||
std::vector<AddCasterProgramRequest::Episode> AddCasterProgramRequest::getEpisode() const {
|
||||
return episode_;
|
||||
}
|
||||
|
||||
std::string AddCasterProgramRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void AddCasterProgramRequest::setEpisode(const std::vector<AddCasterProgramRequest::Episode> &episode) {
|
||||
episode_ = episode;
|
||||
for(int dep1 = 0; dep1 != episode.size(); dep1++) {
|
||||
auto episodeObj = episode.at(dep1);
|
||||
std::string episodeObjStr = std::string("Episode") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(episodeObjStr + ".EndTime", episodeObj.endTime);
|
||||
setParameter(episodeObjStr + ".StartTime", episodeObj.startTime);
|
||||
setParameter(episodeObjStr + ".EpisodeName", episodeObj.episodeName);
|
||||
setParameter(episodeObjStr + ".EpisodeType", episodeObj.episodeType);
|
||||
setParameter(episodeObjStr + ".ResourceId", episodeObj.resourceId);
|
||||
setParameter(episodeObjStr + ".SwitchType", episodeObj.switchType);
|
||||
}
|
||||
}
|
||||
|
||||
void AddCasterProgramRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string AddCasterProgramRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long AddCasterProgramRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddCasterProgramRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void AddCasterProgramRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddCasterProgramRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddCasterProgramRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,194 +1,162 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterVideoResourceRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterVideoResourceRequest;
|
||||
|
||||
AddCasterVideoResourceRequest::AddCasterVideoResourceRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCasterVideoResource")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCasterVideoResourceRequest::~AddCasterVideoResourceRequest()
|
||||
{}
|
||||
|
||||
int AddCasterVideoResourceRequest::getInputType()const
|
||||
{
|
||||
return inputType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCasterVideoResourceRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCasterVideoResourceRequest;
|
||||
|
||||
AddCasterVideoResourceRequest::AddCasterVideoResourceRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddCasterVideoResource") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setInputType(int inputType)
|
||||
{
|
||||
inputType_ = inputType;
|
||||
setParameter("InputType", std::to_string(inputType));
|
||||
AddCasterVideoResourceRequest::~AddCasterVideoResourceRequest() {}
|
||||
|
||||
int AddCasterVideoResourceRequest::getInputType() const {
|
||||
return inputType_;
|
||||
}
|
||||
|
||||
int AddCasterVideoResourceRequest::getEndOffset()const
|
||||
{
|
||||
return endOffset_;
|
||||
void AddCasterVideoResourceRequest::setInputType(int inputType) {
|
||||
inputType_ = inputType;
|
||||
setParameter(std::string("InputType"), std::to_string(inputType));
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setEndOffset(int endOffset)
|
||||
{
|
||||
endOffset_ = endOffset;
|
||||
setParameter("EndOffset", std::to_string(endOffset));
|
||||
int AddCasterVideoResourceRequest::getEndOffset() const {
|
||||
return endOffset_;
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getMaterialId()const
|
||||
{
|
||||
return materialId_;
|
||||
void AddCasterVideoResourceRequest::setEndOffset(int endOffset) {
|
||||
endOffset_ = endOffset;
|
||||
setParameter(std::string("EndOffset"), std::to_string(endOffset));
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setMaterialId(const std::string& materialId)
|
||||
{
|
||||
materialId_ = materialId;
|
||||
setParameter("MaterialId", materialId);
|
||||
std::string AddCasterVideoResourceRequest::getMaterialId() const {
|
||||
return materialId_;
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getVodUrl()const
|
||||
{
|
||||
return vodUrl_;
|
||||
void AddCasterVideoResourceRequest::setMaterialId(const std::string &materialId) {
|
||||
materialId_ = materialId;
|
||||
setParameter(std::string("MaterialId"), materialId);
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setVodUrl(const std::string& vodUrl)
|
||||
{
|
||||
vodUrl_ = vodUrl;
|
||||
setParameter("VodUrl", vodUrl);
|
||||
std::string AddCasterVideoResourceRequest::getVodUrl() const {
|
||||
return vodUrl_;
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getStreamId()const
|
||||
{
|
||||
return streamId_;
|
||||
void AddCasterVideoResourceRequest::setVodUrl(const std::string &vodUrl) {
|
||||
vodUrl_ = vodUrl;
|
||||
setParameter(std::string("VodUrl"), vodUrl);
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setStreamId(const std::string& streamId)
|
||||
{
|
||||
streamId_ = streamId;
|
||||
setParameter("StreamId", streamId);
|
||||
std::string AddCasterVideoResourceRequest::getStreamId() const {
|
||||
return streamId_;
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void AddCasterVideoResourceRequest::setStreamId(const std::string &streamId) {
|
||||
streamId_ = streamId;
|
||||
setParameter(std::string("StreamId"), streamId);
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string AddCasterVideoResourceRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long AddCasterVideoResourceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddCasterVideoResourceRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddCasterVideoResourceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int AddCasterVideoResourceRequest::getStreamMonitor()const
|
||||
{
|
||||
return streamMonitor_;
|
||||
void AddCasterVideoResourceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setStreamMonitor(int streamMonitor)
|
||||
{
|
||||
streamMonitor_ = streamMonitor;
|
||||
setParameter("StreamMonitor", std::to_string(streamMonitor));
|
||||
int AddCasterVideoResourceRequest::getStreamMonitor() const {
|
||||
return streamMonitor_;
|
||||
}
|
||||
|
||||
int AddCasterVideoResourceRequest::getBeginOffset()const
|
||||
{
|
||||
return beginOffset_;
|
||||
void AddCasterVideoResourceRequest::setStreamMonitor(int streamMonitor) {
|
||||
streamMonitor_ = streamMonitor;
|
||||
setParameter(std::string("StreamMonitor"), std::to_string(streamMonitor));
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset)
|
||||
{
|
||||
beginOffset_ = beginOffset;
|
||||
setParameter("BeginOffset", std::to_string(beginOffset));
|
||||
int AddCasterVideoResourceRequest::getBeginOffset() const {
|
||||
return beginOffset_;
|
||||
}
|
||||
|
||||
int AddCasterVideoResourceRequest::getFixedDelayDuration()const
|
||||
{
|
||||
return fixedDelayDuration_;
|
||||
void AddCasterVideoResourceRequest::setBeginOffset(int beginOffset) {
|
||||
beginOffset_ = beginOffset;
|
||||
setParameter(std::string("BeginOffset"), std::to_string(beginOffset));
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setFixedDelayDuration(int fixedDelayDuration)
|
||||
{
|
||||
fixedDelayDuration_ = fixedDelayDuration;
|
||||
setParameter("FixedDelayDuration", std::to_string(fixedDelayDuration));
|
||||
int AddCasterVideoResourceRequest::getFixedDelayDuration() const {
|
||||
return fixedDelayDuration_;
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getLiveStreamUrl()const
|
||||
{
|
||||
return liveStreamUrl_;
|
||||
void AddCasterVideoResourceRequest::setFixedDelayDuration(int fixedDelayDuration) {
|
||||
fixedDelayDuration_ = fixedDelayDuration;
|
||||
setParameter(std::string("FixedDelayDuration"), std::to_string(fixedDelayDuration));
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string& liveStreamUrl)
|
||||
{
|
||||
liveStreamUrl_ = liveStreamUrl;
|
||||
setParameter("LiveStreamUrl", liveStreamUrl);
|
||||
std::string AddCasterVideoResourceRequest::getLiveStreamUrl() const {
|
||||
return liveStreamUrl_;
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getLocationId()const
|
||||
{
|
||||
return locationId_;
|
||||
void AddCasterVideoResourceRequest::setLiveStreamUrl(const std::string &liveStreamUrl) {
|
||||
liveStreamUrl_ = liveStreamUrl;
|
||||
setParameter(std::string("LiveStreamUrl"), liveStreamUrl);
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setLocationId(const std::string& locationId)
|
||||
{
|
||||
locationId_ = locationId;
|
||||
setParameter("LocationId", locationId);
|
||||
std::string AddCasterVideoResourceRequest::getLocationId() const {
|
||||
return locationId_;
|
||||
}
|
||||
|
||||
int AddCasterVideoResourceRequest::getPtsCallbackInterval()const
|
||||
{
|
||||
return ptsCallbackInterval_;
|
||||
void AddCasterVideoResourceRequest::setLocationId(const std::string &locationId) {
|
||||
locationId_ = locationId;
|
||||
setParameter(std::string("LocationId"), locationId);
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval)
|
||||
{
|
||||
ptsCallbackInterval_ = ptsCallbackInterval;
|
||||
setParameter("PtsCallbackInterval", std::to_string(ptsCallbackInterval));
|
||||
int AddCasterVideoResourceRequest::getPtsCallbackInterval() const {
|
||||
return ptsCallbackInterval_;
|
||||
}
|
||||
|
||||
std::string AddCasterVideoResourceRequest::getResourceName()const
|
||||
{
|
||||
return resourceName_;
|
||||
void AddCasterVideoResourceRequest::setPtsCallbackInterval(int ptsCallbackInterval) {
|
||||
ptsCallbackInterval_ = ptsCallbackInterval;
|
||||
setParameter(std::string("PtsCallbackInterval"), std::to_string(ptsCallbackInterval));
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setResourceName(const std::string& resourceName)
|
||||
{
|
||||
resourceName_ = resourceName;
|
||||
setParameter("ResourceName", resourceName);
|
||||
std::string AddCasterVideoResourceRequest::getResourceName() const {
|
||||
return resourceName_;
|
||||
}
|
||||
|
||||
int AddCasterVideoResourceRequest::getRepeatNum()const
|
||||
{
|
||||
return repeatNum_;
|
||||
void AddCasterVideoResourceRequest::setResourceName(const std::string &resourceName) {
|
||||
resourceName_ = resourceName;
|
||||
setParameter(std::string("ResourceName"), resourceName);
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum)
|
||||
{
|
||||
repeatNum_ = repeatNum;
|
||||
setParameter("RepeatNum", std::to_string(repeatNum));
|
||||
int AddCasterVideoResourceRequest::getRepeatNum() const {
|
||||
return repeatNum_;
|
||||
}
|
||||
|
||||
void AddCasterVideoResourceRequest::setRepeatNum(int repeatNum) {
|
||||
repeatNum_ = repeatNum;
|
||||
setParameter(std::string("RepeatNum"), std::to_string(repeatNum));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,260 +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 <alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCustomLiveStreamTranscodeRequest;
|
||||
|
||||
AddCustomLiveStreamTranscodeRequest::AddCustomLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddCustomLiveStreamTranscode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddCustomLiveStreamTranscodeRequest::~AddCustomLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddCustomLiveStreamTranscodeRequest;
|
||||
|
||||
AddCustomLiveStreamTranscodeRequest::AddCustomLiveStreamTranscodeRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddCustomLiveStreamTranscode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
AddCustomLiveStreamTranscodeRequest::~AddCustomLiveStreamTranscodeRequest() {}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::get_Template() const {
|
||||
return _template_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getLazy()const
|
||||
{
|
||||
return lazy_;
|
||||
void AddCustomLiveStreamTranscodeRequest::set_Template(const std::string &_template) {
|
||||
_template_ = _template;
|
||||
setParameter(std::string("Template"), _template);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setLazy(const std::string& lazy)
|
||||
{
|
||||
lazy_ = lazy;
|
||||
setParameter("Lazy", lazy);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getLazy() const {
|
||||
return lazy_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getGop()const
|
||||
{
|
||||
return gop_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setLazy(const std::string &lazy) {
|
||||
lazy_ = lazy;
|
||||
setParameter(std::string("Lazy"), lazy);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setGop(const std::string& gop)
|
||||
{
|
||||
gop_ = gop;
|
||||
setParameter("Gop", gop);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getGop() const {
|
||||
return gop_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyExpireInterval()const
|
||||
{
|
||||
return kmsKeyExpireInterval_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setGop(const std::string &gop) {
|
||||
gop_ = gop;
|
||||
setParameter(std::string("Gop"), gop);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setKmsKeyExpireInterval(const std::string& kmsKeyExpireInterval)
|
||||
{
|
||||
kmsKeyExpireInterval_ = kmsKeyExpireInterval;
|
||||
setParameter("KmsKeyExpireInterval", kmsKeyExpireInterval);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyExpireInterval() const {
|
||||
return kmsKeyExpireInterval_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getAudioCodec()const
|
||||
{
|
||||
return audioCodec_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setKmsKeyExpireInterval(const std::string &kmsKeyExpireInterval) {
|
||||
kmsKeyExpireInterval_ = kmsKeyExpireInterval;
|
||||
setParameter(std::string("KmsKeyExpireInterval"), kmsKeyExpireInterval);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioCodec(const std::string& audioCodec)
|
||||
{
|
||||
audioCodec_ = audioCodec;
|
||||
setParameter("AudioCodec", audioCodec);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getAudioCodec() const {
|
||||
return audioCodec_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getKmsUID()const
|
||||
{
|
||||
return kmsUID_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioCodec(const std::string &audioCodec) {
|
||||
audioCodec_ = audioCodec;
|
||||
setParameter(std::string("AudioCodec"), audioCodec);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setKmsUID(const std::string& kmsUID)
|
||||
{
|
||||
kmsUID_ = kmsUID;
|
||||
setParameter("KmsUID", kmsUID);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getKmsUID() const {
|
||||
return kmsUID_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getTemplateType()const
|
||||
{
|
||||
return templateType_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setKmsUID(const std::string &kmsUID) {
|
||||
kmsUID_ = kmsUID;
|
||||
setParameter(std::string("KmsUID"), kmsUID);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType)
|
||||
{
|
||||
templateType_ = templateType;
|
||||
setParameter("TemplateType", templateType);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getTemplateType() const {
|
||||
return templateType_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getAudioProfile()const
|
||||
{
|
||||
return audioProfile_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setTemplateType(const std::string &templateType) {
|
||||
templateType_ = templateType;
|
||||
setParameter(std::string("TemplateType"), templateType);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioProfile(const std::string& audioProfile)
|
||||
{
|
||||
audioProfile_ = audioProfile;
|
||||
setParameter("AudioProfile", audioProfile);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getAudioProfile() const {
|
||||
return audioProfile_;
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getHeight()const
|
||||
{
|
||||
return height_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioProfile(const std::string &audioProfile) {
|
||||
audioProfile_ = audioProfile;
|
||||
setParameter(std::string("AudioProfile"), audioProfile);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setHeight(int height)
|
||||
{
|
||||
height_ = height;
|
||||
setParameter("Height", std::to_string(height));
|
||||
int AddCustomLiveStreamTranscodeRequest::getHeight() const {
|
||||
return height_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setHeight(int height) {
|
||||
height_ = height;
|
||||
setParameter(std::string("Height"), std::to_string(height));
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getApp() const {
|
||||
return app_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getEncryptParameters()const
|
||||
{
|
||||
return encryptParameters_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setApp(const std::string &app) {
|
||||
app_ = app;
|
||||
setParameter(std::string("App"), app);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setEncryptParameters(const std::string& encryptParameters)
|
||||
{
|
||||
encryptParameters_ = encryptParameters;
|
||||
setParameter("EncryptParameters", encryptParameters);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getEncryptParameters() const {
|
||||
return encryptParameters_;
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getAudioChannelNum()const
|
||||
{
|
||||
return audioChannelNum_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setEncryptParameters(const std::string &encryptParameters) {
|
||||
encryptParameters_ = encryptParameters;
|
||||
setParameter(std::string("EncryptParameters"), encryptParameters);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum)
|
||||
{
|
||||
audioChannelNum_ = audioChannelNum;
|
||||
setParameter("AudioChannelNum", std::to_string(audioChannelNum));
|
||||
int AddCustomLiveStreamTranscodeRequest::getAudioChannelNum() const {
|
||||
return audioChannelNum_;
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getProfile()const
|
||||
{
|
||||
return profile_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) {
|
||||
audioChannelNum_ = audioChannelNum;
|
||||
setParameter(std::string("AudioChannelNum"), std::to_string(audioChannelNum));
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setProfile(int profile)
|
||||
{
|
||||
profile_ = profile;
|
||||
setParameter("Profile", std::to_string(profile));
|
||||
int AddCustomLiveStreamTranscodeRequest::getProfile() const {
|
||||
return profile_;
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getFPS()const
|
||||
{
|
||||
return fPS_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setProfile(int profile) {
|
||||
profile_ = profile;
|
||||
setParameter(std::string("Profile"), std::to_string(profile));
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS)
|
||||
{
|
||||
fPS_ = fPS;
|
||||
setParameter("FPS", std::to_string(fPS));
|
||||
int AddCustomLiveStreamTranscodeRequest::getFPS() const {
|
||||
return fPS_;
|
||||
}
|
||||
|
||||
long AddCustomLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setFPS(int fPS) {
|
||||
fPS_ = fPS;
|
||||
setParameter(std::string("FPS"), std::to_string(fPS));
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddCustomLiveStreamTranscodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getAudioRate()const
|
||||
{
|
||||
return audioRate_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioRate(int audioRate)
|
||||
{
|
||||
audioRate_ = audioRate;
|
||||
setParameter("AudioRate", std::to_string(audioRate));
|
||||
int AddCustomLiveStreamTranscodeRequest::getAudioRate() const {
|
||||
return audioRate_;
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getAudioBitrate()const
|
||||
{
|
||||
return audioBitrate_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioRate(int audioRate) {
|
||||
audioRate_ = audioRate;
|
||||
setParameter(std::string("AudioRate"), std::to_string(audioRate));
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate)
|
||||
{
|
||||
audioBitrate_ = audioBitrate;
|
||||
setParameter("AudioBitrate", std::to_string(audioBitrate));
|
||||
int AddCustomLiveStreamTranscodeRequest::getAudioBitrate() const {
|
||||
return audioBitrate_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) {
|
||||
audioBitrate_ = audioBitrate;
|
||||
setParameter(std::string("AudioBitrate"), std::to_string(audioBitrate));
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getWidth()const
|
||||
{
|
||||
return width_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setWidth(int width)
|
||||
{
|
||||
width_ = width;
|
||||
setParameter("Width", std::to_string(width));
|
||||
int AddCustomLiveStreamTranscodeRequest::getWidth() const {
|
||||
return width_;
|
||||
}
|
||||
|
||||
int AddCustomLiveStreamTranscodeRequest::getVideoBitrate()const
|
||||
{
|
||||
return videoBitrate_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setWidth(int width) {
|
||||
width_ = width;
|
||||
setParameter(std::string("Width"), std::to_string(width));
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate)
|
||||
{
|
||||
videoBitrate_ = videoBitrate;
|
||||
setParameter("VideoBitrate", std::to_string(videoBitrate));
|
||||
int AddCustomLiveStreamTranscodeRequest::getVideoBitrate() const {
|
||||
return videoBitrate_;
|
||||
}
|
||||
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyID()const
|
||||
{
|
||||
return kmsKeyID_;
|
||||
void AddCustomLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) {
|
||||
videoBitrate_ = videoBitrate;
|
||||
setParameter(std::string("VideoBitrate"), std::to_string(videoBitrate));
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setKmsKeyID(const std::string& kmsKeyID)
|
||||
{
|
||||
kmsKeyID_ = kmsKeyID;
|
||||
setParameter("KmsKeyID", kmsKeyID);
|
||||
std::string AddCustomLiveStreamTranscodeRequest::getKmsKeyID() const {
|
||||
return kmsKeyID_;
|
||||
}
|
||||
|
||||
void AddCustomLiveStreamTranscodeRequest::setKmsKeyID(const std::string &kmsKeyID) {
|
||||
kmsKeyID_ = kmsKeyID;
|
||||
setParameter(std::string("KmsKeyID"), kmsKeyID);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,190 +1,159 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/AddLiveAppRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveAppRecordConfigRequest;
|
||||
|
||||
AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveAppRecordConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveAppRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveAppRecordConfigRequest;
|
||||
|
||||
AddLiveAppRecordConfigRequest::AddLiveAppRecordConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveAppRecordConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
AddLiveAppRecordConfigRequest::~AddLiveAppRecordConfigRequest() {}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssEndpoint() const {
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
std::vector<std::string> AddLiveAppRecordConfigRequest::getTranscodeTemplates()const
|
||||
{
|
||||
return transcodeTemplates_;
|
||||
void AddLiveAppRecordConfigRequest::setOssEndpoint(const std::string &ossEndpoint) {
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter(std::string("OssEndpoint"), ossEndpoint);
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setTranscodeTemplates(const std::vector<std::string>& transcodeTemplates)
|
||||
{
|
||||
transcodeTemplates_ = transcodeTemplates;
|
||||
for(int dep1 = 0; dep1!= transcodeTemplates.size(); dep1++) {
|
||||
setParameter("TranscodeTemplates."+ std::to_string(dep1), transcodeTemplates.at(dep1));
|
||||
}
|
||||
std::vector<std::string> AddLiveAppRecordConfigRequest::getTranscodeTemplates() const {
|
||||
return transcodeTemplates_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void AddLiveAppRecordConfigRequest::setTranscodeTemplates(const std::vector<std::string> &transcodeTemplates) {
|
||||
transcodeTemplates_ = transcodeTemplates;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string AddLiveAppRecordConfigRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void AddLiveAppRecordConfigRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string AddLiveAppRecordConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void AddLiveAppRecordConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string AddLiveAppRecordConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::vector<AddLiveAppRecordConfigRequest::TranscodeRecordFormat> AddLiveAppRecordConfigRequest::getTranscodeRecordFormat()const
|
||||
{
|
||||
return transcodeRecordFormat_;
|
||||
void AddLiveAppRecordConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setTranscodeRecordFormat(const std::vector<TranscodeRecordFormat>& transcodeRecordFormat)
|
||||
{
|
||||
transcodeRecordFormat_ = transcodeRecordFormat;
|
||||
for(int dep1 = 0; dep1!= transcodeRecordFormat.size(); dep1++) {
|
||||
auto transcodeRecordFormatObj = transcodeRecordFormat.at(dep1);
|
||||
std::string transcodeRecordFormatObjStr = "TranscodeRecordFormat." + std::to_string(dep1 + 1);
|
||||
setParameter(transcodeRecordFormatObjStr + ".SliceOssObjectPrefix", transcodeRecordFormatObj.sliceOssObjectPrefix);
|
||||
setParameter(transcodeRecordFormatObjStr + ".SliceDuration", std::to_string(transcodeRecordFormatObj.sliceDuration));
|
||||
setParameter(transcodeRecordFormatObjStr + ".Format", transcodeRecordFormatObj.format);
|
||||
setParameter(transcodeRecordFormatObjStr + ".OssObjectPrefix", transcodeRecordFormatObj.ossObjectPrefix);
|
||||
setParameter(transcodeRecordFormatObjStr + ".CycleDuration", std::to_string(transcodeRecordFormatObj.cycleDuration));
|
||||
}
|
||||
std::vector<AddLiveAppRecordConfigRequest::TranscodeRecordFormat> AddLiveAppRecordConfigRequest::getTranscodeRecordFormat() const {
|
||||
return transcodeRecordFormat_;
|
||||
}
|
||||
|
||||
int AddLiveAppRecordConfigRequest::getOnDemand()const
|
||||
{
|
||||
return onDemand_;
|
||||
void AddLiveAppRecordConfigRequest::setTranscodeRecordFormat(const std::vector<AddLiveAppRecordConfigRequest::TranscodeRecordFormat> &transcodeRecordFormat) {
|
||||
transcodeRecordFormat_ = transcodeRecordFormat;
|
||||
for(int dep1 = 0; dep1 != transcodeRecordFormat.size(); dep1++) {
|
||||
auto transcodeRecordFormatObj = transcodeRecordFormat.at(dep1);
|
||||
std::string transcodeRecordFormatObjStr = std::string("TranscodeRecordFormat") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(transcodeRecordFormatObjStr + ".SliceOssObjectPrefix", transcodeRecordFormatObj.sliceOssObjectPrefix);
|
||||
setParameter(transcodeRecordFormatObjStr + ".SliceDuration", std::to_string(transcodeRecordFormatObj.sliceDuration));
|
||||
setParameter(transcodeRecordFormatObjStr + ".OssObjectPrefix", transcodeRecordFormatObj.ossObjectPrefix);
|
||||
setParameter(transcodeRecordFormatObjStr + ".Format", transcodeRecordFormatObj.format);
|
||||
setParameter(transcodeRecordFormatObjStr + ".CycleDuration", std::to_string(transcodeRecordFormatObj.cycleDuration));
|
||||
}
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand)
|
||||
{
|
||||
onDemand_ = onDemand;
|
||||
setParameter("OnDemand", std::to_string(onDemand));
|
||||
int AddLiveAppRecordConfigRequest::getOnDemand() const {
|
||||
return onDemand_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void AddLiveAppRecordConfigRequest::setOnDemand(int onDemand) {
|
||||
onDemand_ = onDemand;
|
||||
setParameter(std::string("OnDemand"), std::to_string(onDemand));
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string AddLiveAppRecordConfigRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
void AddLiveAppRecordConfigRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
std::string AddLiveAppRecordConfigRequest::getOssBucket() const {
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddLiveAppRecordConfigRequest::setOssBucket(const std::string &ossBucket) {
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter(std::string("OssBucket"), ossBucket);
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddLiveAppRecordConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppRecordConfigRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void AddLiveAppRecordConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string AddLiveAppRecordConfigRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long AddLiveAppRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveAppRecordConfigRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveAppRecordConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::vector<AddLiveAppRecordConfigRequest::RecordFormat> AddLiveAppRecordConfigRequest::getRecordFormat()const
|
||||
{
|
||||
return recordFormat_;
|
||||
void AddLiveAppRecordConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setRecordFormat(const std::vector<RecordFormat>& recordFormat)
|
||||
{
|
||||
recordFormat_ = recordFormat;
|
||||
for(int dep1 = 0; dep1!= recordFormat.size(); dep1++) {
|
||||
auto recordFormatObj = recordFormat.at(dep1);
|
||||
std::string recordFormatObjStr = "RecordFormat." + std::to_string(dep1 + 1);
|
||||
setParameter(recordFormatObjStr + ".SliceOssObjectPrefix", recordFormatObj.sliceOssObjectPrefix);
|
||||
setParameter(recordFormatObjStr + ".SliceDuration", std::to_string(recordFormatObj.sliceDuration));
|
||||
setParameter(recordFormatObjStr + ".Format", recordFormatObj.format);
|
||||
setParameter(recordFormatObjStr + ".OssObjectPrefix", recordFormatObj.ossObjectPrefix);
|
||||
setParameter(recordFormatObjStr + ".CycleDuration", std::to_string(recordFormatObj.cycleDuration));
|
||||
}
|
||||
std::vector<AddLiveAppRecordConfigRequest::RecordFormat> AddLiveAppRecordConfigRequest::getRecordFormat() const {
|
||||
return recordFormat_;
|
||||
}
|
||||
|
||||
void AddLiveAppRecordConfigRequest::setRecordFormat(const std::vector<AddLiveAppRecordConfigRequest::RecordFormat> &recordFormat) {
|
||||
recordFormat_ = recordFormat;
|
||||
for(int dep1 = 0; dep1 != recordFormat.size(); dep1++) {
|
||||
auto recordFormatObj = recordFormat.at(dep1);
|
||||
std::string recordFormatObjStr = std::string("RecordFormat") + "." + std::to_string(dep1 + 1);
|
||||
setParameter(recordFormatObjStr + ".SliceOssObjectPrefix", recordFormatObj.sliceOssObjectPrefix);
|
||||
setParameter(recordFormatObjStr + ".SliceDuration", std::to_string(recordFormatObj.sliceDuration));
|
||||
setParameter(recordFormatObjStr + ".OssObjectPrefix", recordFormatObj.ossObjectPrefix);
|
||||
setParameter(recordFormatObjStr + ".Format", recordFormatObj.format);
|
||||
setParameter(recordFormatObjStr + ".CycleDuration", std::to_string(recordFormatObj.cycleDuration));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,139 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveAppSnapshotConfigRequest;
|
||||
|
||||
AddLiveAppSnapshotConfigRequest::AddLiveAppSnapshotConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveAppSnapshotConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest()
|
||||
{}
|
||||
|
||||
int AddLiveAppSnapshotConfigRequest::getTimeInterval()const
|
||||
{
|
||||
return timeInterval_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveAppSnapshotConfigRequest;
|
||||
|
||||
AddLiveAppSnapshotConfigRequest::AddLiveAppSnapshotConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveAppSnapshotConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval)
|
||||
{
|
||||
timeInterval_ = timeInterval;
|
||||
setParameter("TimeInterval", std::to_string(timeInterval));
|
||||
AddLiveAppSnapshotConfigRequest::~AddLiveAppSnapshotConfigRequest() {}
|
||||
|
||||
int AddLiveAppSnapshotConfigRequest::getTimeInterval() const {
|
||||
return timeInterval_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
void AddLiveAppSnapshotConfigRequest::setTimeInterval(int timeInterval) {
|
||||
timeInterval_ = timeInterval;
|
||||
setParameter(std::string("TimeInterval"), std::to_string(timeInterval));
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
std::string AddLiveAppSnapshotConfigRequest::getOssEndpoint() const {
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void AddLiveAppSnapshotConfigRequest::setOssEndpoint(const std::string &ossEndpoint) {
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter(std::string("OssEndpoint"), ossEndpoint);
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string AddLiveAppSnapshotConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void AddLiveAppSnapshotConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string AddLiveAppSnapshotConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject()const
|
||||
{
|
||||
return overwriteOssObject_;
|
||||
void AddLiveAppSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string& overwriteOssObject)
|
||||
{
|
||||
overwriteOssObject_ = overwriteOssObject;
|
||||
setParameter("OverwriteOssObject", overwriteOssObject);
|
||||
std::string AddLiveAppSnapshotConfigRequest::getOverwriteOssObject() const {
|
||||
return overwriteOssObject_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
void AddLiveAppSnapshotConfigRequest::setOverwriteOssObject(const std::string &overwriteOssObject) {
|
||||
overwriteOssObject_ = overwriteOssObject;
|
||||
setParameter(std::string("OverwriteOssObject"), overwriteOssObject);
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
std::string AddLiveAppSnapshotConfigRequest::getOssBucket() const {
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddLiveAppSnapshotConfigRequest::setOssBucket(const std::string &ossBucket) {
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter(std::string("OssBucket"), ossBucket);
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddLiveAppSnapshotConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject()const
|
||||
{
|
||||
return sequenceOssObject_;
|
||||
void AddLiveAppSnapshotConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string& sequenceOssObject)
|
||||
{
|
||||
sequenceOssObject_ = sequenceOssObject;
|
||||
setParameter("SequenceOssObject", sequenceOssObject);
|
||||
std::string AddLiveAppSnapshotConfigRequest::getSequenceOssObject() const {
|
||||
return sequenceOssObject_;
|
||||
}
|
||||
|
||||
long AddLiveAppSnapshotConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveAppSnapshotConfigRequest::setSequenceOssObject(const std::string &sequenceOssObject) {
|
||||
sequenceOssObject_ = sequenceOssObject;
|
||||
setParameter(std::string("SequenceOssObject"), sequenceOssObject);
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveAppSnapshotConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddLiveAppSnapshotConfigRequest::getCallback()const
|
||||
{
|
||||
return callback_;
|
||||
void AddLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setCallback(const std::string& callback)
|
||||
{
|
||||
callback_ = callback;
|
||||
setParameter("Callback", callback);
|
||||
std::string AddLiveAppSnapshotConfigRequest::getCallback() const {
|
||||
return callback_;
|
||||
}
|
||||
|
||||
void AddLiveAppSnapshotConfigRequest::setCallback(const std::string &callback) {
|
||||
callback_ = callback;
|
||||
setParameter(std::string("Callback"), callback);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveAudioAuditConfigRequest;
|
||||
|
||||
AddLiveAudioAuditConfigRequest::AddLiveAudioAuditConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveAudioAuditConfigRequest::~AddLiveAudioAuditConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveAudioAuditConfigRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveAudioAuditConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveAudioAuditConfigRequest;
|
||||
|
||||
AddLiveAudioAuditConfigRequest::AddLiveAudioAuditConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
AddLiveAudioAuditConfigRequest::~AddLiveAudioAuditConfigRequest() {}
|
||||
|
||||
std::string AddLiveAudioAuditConfigRequest::getOssEndpoint() const {
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
std::string AddLiveAudioAuditConfigRequest::getOssObject()const
|
||||
{
|
||||
return ossObject_;
|
||||
void AddLiveAudioAuditConfigRequest::setOssEndpoint(const std::string &ossEndpoint) {
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter(std::string("OssEndpoint"), ossEndpoint);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditConfigRequest::setOssObject(const std::string& ossObject)
|
||||
{
|
||||
ossObject_ = ossObject;
|
||||
setParameter("OssObject", ossObject);
|
||||
std::string AddLiveAudioAuditConfigRequest::getOssObject() const {
|
||||
return ossObject_;
|
||||
}
|
||||
|
||||
std::string AddLiveAudioAuditConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void AddLiveAudioAuditConfigRequest::setOssObject(const std::string &ossObject) {
|
||||
ossObject_ = ossObject;
|
||||
setParameter(std::string("OssObject"), ossObject);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string AddLiveAudioAuditConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string AddLiveAudioAuditConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void AddLiveAudioAuditConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string AddLiveAudioAuditConfigRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string AddLiveAudioAuditConfigRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
void AddLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditConfigRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
std::string AddLiveAudioAuditConfigRequest::getOssBucket() const {
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
std::string AddLiveAudioAuditConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddLiveAudioAuditConfigRequest::setOssBucket(const std::string &ossBucket) {
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter(std::string("OssBucket"), ossBucket);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddLiveAudioAuditConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddLiveAudioAuditConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveAudioAuditConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddLiveAudioAuditConfigRequest::getBizType()const
|
||||
{
|
||||
return bizType_;
|
||||
void AddLiveAudioAuditConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditConfigRequest::setBizType(const std::string& bizType)
|
||||
{
|
||||
bizType_ = bizType;
|
||||
setParameter("BizType", bizType);
|
||||
std::string AddLiveAudioAuditConfigRequest::getBizType() const {
|
||||
return bizType_;
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditConfigRequest::setBizType(const std::string &bizType) {
|
||||
bizType_ = bizType;
|
||||
setParameter(std::string("BizType"), bizType);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveAudioAuditNotifyConfigRequest;
|
||||
|
||||
AddLiveAudioAuditNotifyConfigRequest::AddLiveAudioAuditNotifyConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditNotifyConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveAudioAuditNotifyConfigRequest::~AddLiveAudioAuditNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveAudioAuditNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveAudioAuditNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveAudioAuditNotifyConfigRequest;
|
||||
|
||||
AddLiveAudioAuditNotifyConfigRequest::AddLiveAudioAuditNotifyConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveAudioAuditNotifyConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
AddLiveAudioAuditNotifyConfigRequest::~AddLiveAudioAuditNotifyConfigRequest() {}
|
||||
|
||||
std::string AddLiveAudioAuditNotifyConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddLiveAudioAuditNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveAudioAuditNotifyConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddLiveAudioAuditNotifyConfigRequest::getCallbackTemplate()const
|
||||
{
|
||||
return callbackTemplate_;
|
||||
void AddLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string& callbackTemplate)
|
||||
{
|
||||
callbackTemplate_ = callbackTemplate;
|
||||
setParameter("CallbackTemplate", callbackTemplate);
|
||||
std::string AddLiveAudioAuditNotifyConfigRequest::getCallbackTemplate() const {
|
||||
return callbackTemplate_;
|
||||
}
|
||||
|
||||
std::string AddLiveAudioAuditNotifyConfigRequest::getCallback()const
|
||||
{
|
||||
return callback_;
|
||||
void AddLiveAudioAuditNotifyConfigRequest::setCallbackTemplate(const std::string &callbackTemplate) {
|
||||
callbackTemplate_ = callbackTemplate;
|
||||
setParameter(std::string("CallbackTemplate"), callbackTemplate);
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditNotifyConfigRequest::setCallback(const std::string& callback)
|
||||
{
|
||||
callback_ = callback;
|
||||
setParameter("Callback", callback);
|
||||
std::string AddLiveAudioAuditNotifyConfigRequest::getCallback() const {
|
||||
return callback_;
|
||||
}
|
||||
|
||||
void AddLiveAudioAuditNotifyConfigRequest::setCallback(const std::string &callback) {
|
||||
callback_ = callback;
|
||||
setParameter(std::string("Callback"), callback);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveDetectNotifyConfigRequest;
|
||||
|
||||
AddLiveDetectNotifyConfigRequest::AddLiveDetectNotifyConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveDetectNotifyConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveDetectNotifyConfigRequest::~AddLiveDetectNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveDetectNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveDetectNotifyConfigRequest;
|
||||
|
||||
AddLiveDetectNotifyConfigRequest::AddLiveDetectNotifyConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveDetectNotifyConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
AddLiveDetectNotifyConfigRequest::~AddLiveDetectNotifyConfigRequest() {}
|
||||
|
||||
std::string AddLiveDetectNotifyConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl()const
|
||||
{
|
||||
return notifyUrl_;
|
||||
void AddLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl)
|
||||
{
|
||||
notifyUrl_ = notifyUrl;
|
||||
setParameter("NotifyUrl", notifyUrl);
|
||||
std::string AddLiveDetectNotifyConfigRequest::getNotifyUrl() const {
|
||||
return notifyUrl_;
|
||||
}
|
||||
|
||||
std::string AddLiveDetectNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddLiveDetectNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) {
|
||||
notifyUrl_ = notifyUrl;
|
||||
setParameter(std::string("NotifyUrl"), notifyUrl);
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddLiveDetectNotifyConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddLiveDetectNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveDetectNotifyConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveDomainMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveDomainMappingRequest;
|
||||
|
||||
AddLiveDomainMappingRequest::AddLiveDomainMappingRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveDomainMapping")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveDomainMappingRequest::~AddLiveDomainMappingRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveDomainMappingRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveDomainMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveDomainMappingRequest;
|
||||
|
||||
AddLiveDomainMappingRequest::AddLiveDomainMappingRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveDomainMapping") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
AddLiveDomainMappingRequest::~AddLiveDomainMappingRequest() {}
|
||||
|
||||
std::string AddLiveDomainMappingRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainMappingRequest::getPushDomain()const
|
||||
{
|
||||
return pushDomain_;
|
||||
void AddLiveDomainMappingRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void AddLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain)
|
||||
{
|
||||
pushDomain_ = pushDomain;
|
||||
setParameter("PushDomain", pushDomain);
|
||||
std::string AddLiveDomainMappingRequest::getPushDomain() const {
|
||||
return pushDomain_;
|
||||
}
|
||||
|
||||
long AddLiveDomainMappingRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveDomainMappingRequest::setPushDomain(const std::string &pushDomain) {
|
||||
pushDomain_ = pushDomain;
|
||||
setParameter(std::string("PushDomain"), pushDomain);
|
||||
}
|
||||
|
||||
void AddLiveDomainMappingRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveDomainMappingRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainMappingRequest::getPullDomain()const
|
||||
{
|
||||
return pullDomain_;
|
||||
void AddLiveDomainMappingRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain)
|
||||
{
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter("PullDomain", pullDomain);
|
||||
std::string AddLiveDomainMappingRequest::getPullDomain() const {
|
||||
return pullDomain_;
|
||||
}
|
||||
|
||||
void AddLiveDomainMappingRequest::setPullDomain(const std::string &pullDomain) {
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter(std::string("PullDomain"), pullDomain);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveDomainPlayMappingRequest;
|
||||
|
||||
AddLiveDomainPlayMappingRequest::AddLiveDomainPlayMappingRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveDomainPlayMapping")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveDomainPlayMappingRequest::~AddLiveDomainPlayMappingRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveDomainPlayMappingRequest::getPlayDomain()const
|
||||
{
|
||||
return playDomain_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveDomainPlayMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveDomainPlayMappingRequest;
|
||||
|
||||
AddLiveDomainPlayMappingRequest::AddLiveDomainPlayMappingRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveDomainPlayMapping") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveDomainPlayMappingRequest::setPlayDomain(const std::string& playDomain)
|
||||
{
|
||||
playDomain_ = playDomain;
|
||||
setParameter("PlayDomain", playDomain);
|
||||
AddLiveDomainPlayMappingRequest::~AddLiveDomainPlayMappingRequest() {}
|
||||
|
||||
std::string AddLiveDomainPlayMappingRequest::getPlayDomain() const {
|
||||
return playDomain_;
|
||||
}
|
||||
|
||||
long AddLiveDomainPlayMappingRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveDomainPlayMappingRequest::setPlayDomain(const std::string &playDomain) {
|
||||
playDomain_ = playDomain;
|
||||
setParameter(std::string("PlayDomain"), playDomain);
|
||||
}
|
||||
|
||||
void AddLiveDomainPlayMappingRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveDomainPlayMappingRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainPlayMappingRequest::getPullDomain()const
|
||||
{
|
||||
return pullDomain_;
|
||||
void AddLiveDomainPlayMappingRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveDomainPlayMappingRequest::setPullDomain(const std::string& pullDomain)
|
||||
{
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter("PullDomain", pullDomain);
|
||||
std::string AddLiveDomainPlayMappingRequest::getPullDomain() const {
|
||||
return pullDomain_;
|
||||
}
|
||||
|
||||
void AddLiveDomainPlayMappingRequest::setPullDomain(const std::string &pullDomain) {
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter(std::string("PullDomain"), pullDomain);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,128 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveDomainRequest;
|
||||
|
||||
AddLiveDomainRequest::AddLiveDomainRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveDomainRequest::~AddLiveDomainRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveDomainRequest;
|
||||
|
||||
AddLiveDomainRequest::AddLiveDomainRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
AddLiveDomainRequest::~AddLiveDomainRequest() {}
|
||||
|
||||
std::string AddLiveDomainRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainRequest::getScope()const
|
||||
{
|
||||
return scope_;
|
||||
void AddLiveDomainRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setScope(const std::string& scope)
|
||||
{
|
||||
scope_ = scope;
|
||||
setParameter("Scope", scope);
|
||||
std::string AddLiveDomainRequest::getScope() const {
|
||||
return scope_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainRequest::getTopLevelDomain()const
|
||||
{
|
||||
return topLevelDomain_;
|
||||
void AddLiveDomainRequest::setScope(const std::string &scope) {
|
||||
scope_ = scope;
|
||||
setParameter(std::string("Scope"), scope);
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setTopLevelDomain(const std::string& topLevelDomain)
|
||||
{
|
||||
topLevelDomain_ = topLevelDomain;
|
||||
setParameter("TopLevelDomain", topLevelDomain);
|
||||
std::string AddLiveDomainRequest::getTopLevelDomain() const {
|
||||
return topLevelDomain_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void AddLiveDomainRequest::setTopLevelDomain(const std::string &topLevelDomain) {
|
||||
topLevelDomain_ = topLevelDomain;
|
||||
setParameter(std::string("TopLevelDomain"), topLevelDomain);
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string AddLiveDomainRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddLiveDomainRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddLiveDomainRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddLiveDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveDomainRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveDomainRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void AddLiveDomainRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string AddLiveDomainRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainRequest::getCheckUrl()const
|
||||
{
|
||||
return checkUrl_;
|
||||
void AddLiveDomainRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setCheckUrl(const std::string& checkUrl)
|
||||
{
|
||||
checkUrl_ = checkUrl;
|
||||
setParameter("CheckUrl", checkUrl);
|
||||
std::string AddLiveDomainRequest::getCheckUrl() const {
|
||||
return checkUrl_;
|
||||
}
|
||||
|
||||
std::string AddLiveDomainRequest::getLiveDomainType()const
|
||||
{
|
||||
return liveDomainType_;
|
||||
void AddLiveDomainRequest::setCheckUrl(const std::string &checkUrl) {
|
||||
checkUrl_ = checkUrl;
|
||||
setParameter(std::string("CheckUrl"), checkUrl);
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setLiveDomainType(const std::string& liveDomainType)
|
||||
{
|
||||
liveDomainType_ = liveDomainType;
|
||||
setParameter("LiveDomainType", liveDomainType);
|
||||
std::string AddLiveDomainRequest::getLiveDomainType() const {
|
||||
return liveDomainType_;
|
||||
}
|
||||
|
||||
void AddLiveDomainRequest::setLiveDomainType(const std::string &liveDomainType) {
|
||||
liveDomainType_ = liveDomainType;
|
||||
setParameter(std::string("LiveDomainType"), liveDomainType);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLivePullStreamInfoConfigRequest;
|
||||
|
||||
AddLivePullStreamInfoConfigRequest::AddLivePullStreamInfoConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLivePullStreamInfoConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLivePullStreamInfoConfigRequest::~AddLivePullStreamInfoConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLivePullStreamInfoConfigRequest;
|
||||
|
||||
AddLivePullStreamInfoConfigRequest::AddLivePullStreamInfoConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLivePullStreamInfoConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
AddLivePullStreamInfoConfigRequest::~AddLivePullStreamInfoConfigRequest() {}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void AddLivePullStreamInfoConfigRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string AddLivePullStreamInfoConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void AddLivePullStreamInfoConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string AddLivePullStreamInfoConfigRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getPullAlways()const
|
||||
{
|
||||
return pullAlways_;
|
||||
void AddLivePullStreamInfoConfigRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setPullAlways(const std::string& pullAlways)
|
||||
{
|
||||
pullAlways_ = pullAlways;
|
||||
setParameter("PullAlways", pullAlways);
|
||||
std::string AddLivePullStreamInfoConfigRequest::getPullAlways() const {
|
||||
return pullAlways_;
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddLivePullStreamInfoConfigRequest::setPullAlways(const std::string &pullAlways) {
|
||||
pullAlways_ = pullAlways;
|
||||
setParameter(std::string("PullAlways"), pullAlways);
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddLivePullStreamInfoConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void AddLivePullStreamInfoConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string AddLivePullStreamInfoConfigRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long AddLivePullStreamInfoConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLivePullStreamInfoConfigRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLivePullStreamInfoConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddLivePullStreamInfoConfigRequest::getSourceUrl()const
|
||||
{
|
||||
return sourceUrl_;
|
||||
void AddLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string& sourceUrl)
|
||||
{
|
||||
sourceUrl_ = sourceUrl;
|
||||
setParameter("SourceUrl", sourceUrl);
|
||||
std::string AddLivePullStreamInfoConfigRequest::getSourceUrl() const {
|
||||
return sourceUrl_;
|
||||
}
|
||||
|
||||
void AddLivePullStreamInfoConfigRequest::setSourceUrl(const std::string &sourceUrl) {
|
||||
sourceUrl_ = sourceUrl;
|
||||
setParameter(std::string("SourceUrl"), sourceUrl);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveRecordNotifyConfigRequest;
|
||||
|
||||
AddLiveRecordNotifyConfigRequest::AddLiveRecordNotifyConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveRecordNotifyConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveRecordNotifyConfigRequest::~AddLiveRecordNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl()const
|
||||
{
|
||||
return onDemandUrl_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveRecordNotifyConfigRequest;
|
||||
|
||||
AddLiveRecordNotifyConfigRequest::AddLiveRecordNotifyConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveRecordNotifyConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string& onDemandUrl)
|
||||
{
|
||||
onDemandUrl_ = onDemandUrl;
|
||||
setParameter("OnDemandUrl", onDemandUrl);
|
||||
AddLiveRecordNotifyConfigRequest::~AddLiveRecordNotifyConfigRequest() {}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getOnDemandUrl() const {
|
||||
return onDemandUrl_;
|
||||
}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void AddLiveRecordNotifyConfigRequest::setOnDemandUrl(const std::string &onDemandUrl) {
|
||||
onDemandUrl_ = onDemandUrl;
|
||||
setParameter(std::string("OnDemandUrl"), onDemandUrl);
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string AddLiveRecordNotifyConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl()const
|
||||
{
|
||||
return notifyUrl_;
|
||||
void AddLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string& notifyUrl)
|
||||
{
|
||||
notifyUrl_ = notifyUrl;
|
||||
setParameter("NotifyUrl", notifyUrl);
|
||||
std::string AddLiveRecordNotifyConfigRequest::getNotifyUrl() const {
|
||||
return notifyUrl_;
|
||||
}
|
||||
|
||||
bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify()const
|
||||
{
|
||||
return needStatusNotify_;
|
||||
void AddLiveRecordNotifyConfigRequest::setNotifyUrl(const std::string ¬ifyUrl) {
|
||||
notifyUrl_ = notifyUrl;
|
||||
setParameter(std::string("NotifyUrl"), notifyUrl);
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify)
|
||||
{
|
||||
needStatusNotify_ = needStatusNotify;
|
||||
setParameter("NeedStatusNotify", needStatusNotify ? "true" : "false");
|
||||
bool AddLiveRecordNotifyConfigRequest::getNeedStatusNotify() const {
|
||||
return needStatusNotify_;
|
||||
}
|
||||
|
||||
std::string AddLiveRecordNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddLiveRecordNotifyConfigRequest::setNeedStatusNotify(bool needStatusNotify) {
|
||||
needStatusNotify_ = needStatusNotify;
|
||||
setParameter(std::string("NeedStatusNotify"), needStatusNotify ? "true" : "false");
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddLiveRecordNotifyConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddLiveRecordNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveRecordNotifyConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,128 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveRecordVodConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveRecordVodConfigRequest;
|
||||
|
||||
AddLiveRecordVodConfigRequest::AddLiveRecordVodConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveRecordVodConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getAutoCompose()const
|
||||
{
|
||||
return autoCompose_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveRecordVodConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveRecordVodConfigRequest;
|
||||
|
||||
AddLiveRecordVodConfigRequest::AddLiveRecordVodConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveRecordVodConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string& autoCompose)
|
||||
{
|
||||
autoCompose_ = autoCompose;
|
||||
setParameter("AutoCompose", autoCompose);
|
||||
AddLiveRecordVodConfigRequest::~AddLiveRecordVodConfigRequest() {}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getAutoCompose() const {
|
||||
return autoCompose_;
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId()const
|
||||
{
|
||||
return composeVodTranscodeGroupId_;
|
||||
void AddLiveRecordVodConfigRequest::setAutoCompose(const std::string &autoCompose) {
|
||||
autoCompose_ = autoCompose;
|
||||
setParameter(std::string("AutoCompose"), autoCompose);
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string& composeVodTranscodeGroupId)
|
||||
{
|
||||
composeVodTranscodeGroupId_ = composeVodTranscodeGroupId;
|
||||
setParameter("ComposeVodTranscodeGroupId", composeVodTranscodeGroupId);
|
||||
std::string AddLiveRecordVodConfigRequest::getComposeVodTranscodeGroupId() const {
|
||||
return composeVodTranscodeGroupId_;
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getStorageLocation()const
|
||||
{
|
||||
return storageLocation_;
|
||||
void AddLiveRecordVodConfigRequest::setComposeVodTranscodeGroupId(const std::string &composeVodTranscodeGroupId) {
|
||||
composeVodTranscodeGroupId_ = composeVodTranscodeGroupId;
|
||||
setParameter(std::string("ComposeVodTranscodeGroupId"), composeVodTranscodeGroupId);
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setStorageLocation(const std::string& storageLocation)
|
||||
{
|
||||
storageLocation_ = storageLocation;
|
||||
setParameter("StorageLocation", storageLocation);
|
||||
std::string AddLiveRecordVodConfigRequest::getStorageLocation() const {
|
||||
return storageLocation_;
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void AddLiveRecordVodConfigRequest::setStorageLocation(const std::string &storageLocation) {
|
||||
storageLocation_ = storageLocation;
|
||||
setParameter(std::string("StorageLocation"), storageLocation);
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string AddLiveRecordVodConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void AddLiveRecordVodConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string AddLiveRecordVodConfigRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId()const
|
||||
{
|
||||
return vodTranscodeGroupId_;
|
||||
void AddLiveRecordVodConfigRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string& vodTranscodeGroupId)
|
||||
{
|
||||
vodTranscodeGroupId_ = vodTranscodeGroupId;
|
||||
setParameter("VodTranscodeGroupId", vodTranscodeGroupId);
|
||||
std::string AddLiveRecordVodConfigRequest::getVodTranscodeGroupId() const {
|
||||
return vodTranscodeGroupId_;
|
||||
}
|
||||
|
||||
std::string AddLiveRecordVodConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddLiveRecordVodConfigRequest::setVodTranscodeGroupId(const std::string &vodTranscodeGroupId) {
|
||||
vodTranscodeGroupId_ = vodTranscodeGroupId;
|
||||
setParameter(std::string("VodTranscodeGroupId"), vodTranscodeGroupId);
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddLiveRecordVodConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
int AddLiveRecordVodConfigRequest::getCycleDuration()const
|
||||
{
|
||||
return cycleDuration_;
|
||||
void AddLiveRecordVodConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration)
|
||||
{
|
||||
cycleDuration_ = cycleDuration;
|
||||
setParameter("CycleDuration", std::to_string(cycleDuration));
|
||||
int AddLiveRecordVodConfigRequest::getCycleDuration() const {
|
||||
return cycleDuration_;
|
||||
}
|
||||
|
||||
long AddLiveRecordVodConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveRecordVodConfigRequest::setCycleDuration(int cycleDuration) {
|
||||
cycleDuration_ = cycleDuration;
|
||||
setParameter(std::string("CycleDuration"), std::to_string(cycleDuration));
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveRecordVodConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void AddLiveRecordVodConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,130 +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 <alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveSnapshotDetectPornConfigRequest;
|
||||
|
||||
AddLiveSnapshotDetectPornConfigRequest::AddLiveSnapshotDetectPornConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveSnapshotDetectPornConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveSnapshotDetectPornConfigRequest::~AddLiveSnapshotDetectPornConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveSnapshotDetectPornConfigRequest;
|
||||
|
||||
AddLiveSnapshotDetectPornConfigRequest::AddLiveSnapshotDetectPornConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveSnapshotDetectPornConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
AddLiveSnapshotDetectPornConfigRequest::~AddLiveSnapshotDetectPornConfigRequest() {}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getOssEndpoint() const {
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject()const
|
||||
{
|
||||
return ossObject_;
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOssEndpoint(const std::string &ossEndpoint) {
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter(std::string("OssEndpoint"), ossEndpoint);
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string& ossObject)
|
||||
{
|
||||
ossObject_ = ossObject;
|
||||
setParameter("OssObject", ossObject);
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getOssObject() const {
|
||||
return ossObject_;
|
||||
}
|
||||
|
||||
std::vector<std::string> AddLiveSnapshotDetectPornConfigRequest::getScene()const
|
||||
{
|
||||
return scene_;
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOssObject(const std::string &ossObject) {
|
||||
ossObject_ = ossObject;
|
||||
setParameter(std::string("OssObject"), ossObject);
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector<std::string>& scene)
|
||||
{
|
||||
scene_ = scene;
|
||||
for(int dep1 = 0; dep1!= scene.size(); dep1++) {
|
||||
setParameter("Scene."+ std::to_string(dep1), scene.at(dep1));
|
||||
}
|
||||
std::vector<std::string> AddLiveSnapshotDetectPornConfigRequest::getScene() const {
|
||||
return scene_;
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setScene(const std::vector<std::string> &scene) {
|
||||
scene_ = scene;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getOssBucket() const {
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOssBucket(const std::string &ossBucket) {
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter(std::string("OssBucket"), ossBucket);
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddLiveSnapshotDetectPornConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddLiveSnapshotDetectPornConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveSnapshotDetectPornConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int AddLiveSnapshotDetectPornConfigRequest::getInterval()const
|
||||
{
|
||||
return interval_;
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval)
|
||||
{
|
||||
interval_ = interval;
|
||||
setParameter("Interval", std::to_string(interval));
|
||||
int AddLiveSnapshotDetectPornConfigRequest::getInterval() const {
|
||||
return interval_;
|
||||
}
|
||||
|
||||
void AddLiveSnapshotDetectPornConfigRequest::setInterval(int interval) {
|
||||
interval_ = interval;
|
||||
setParameter(std::string("Interval"), std::to_string(interval));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,139 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveStreamTranscodeRequest;
|
||||
|
||||
AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveStreamTranscode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveStreamTranscodeRequest;
|
||||
|
||||
AddLiveStreamTranscodeRequest::AddLiveStreamTranscodeRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveStreamTranscode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
AddLiveStreamTranscodeRequest::~AddLiveStreamTranscodeRequest() {}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::get_Template() const {
|
||||
return _template_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getLazy()const
|
||||
{
|
||||
return lazy_;
|
||||
void AddLiveStreamTranscodeRequest::set_Template(const std::string &_template) {
|
||||
_template_ = _template;
|
||||
setParameter(std::string("Template"), _template);
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setLazy(const std::string& lazy)
|
||||
{
|
||||
lazy_ = lazy;
|
||||
setParameter("Lazy", lazy);
|
||||
std::string AddLiveStreamTranscodeRequest::getLazy() const {
|
||||
return lazy_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getMix()const
|
||||
{
|
||||
return mix_;
|
||||
void AddLiveStreamTranscodeRequest::setLazy(const std::string &lazy) {
|
||||
lazy_ = lazy;
|
||||
setParameter(std::string("Lazy"), lazy);
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setMix(const std::string& mix)
|
||||
{
|
||||
mix_ = mix;
|
||||
setParameter("Mix", mix);
|
||||
std::string AddLiveStreamTranscodeRequest::getMix() const {
|
||||
return mix_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
void AddLiveStreamTranscodeRequest::setMix(const std::string &mix) {
|
||||
mix_ = mix;
|
||||
setParameter(std::string("Mix"), mix);
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
std::string AddLiveStreamTranscodeRequest::getApp() const {
|
||||
return app_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getEncryptParameters()const
|
||||
{
|
||||
return encryptParameters_;
|
||||
void AddLiveStreamTranscodeRequest::setApp(const std::string &app) {
|
||||
app_ = app;
|
||||
setParameter(std::string("App"), app);
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setEncryptParameters(const std::string& encryptParameters)
|
||||
{
|
||||
encryptParameters_ = encryptParameters;
|
||||
setParameter("EncryptParameters", encryptParameters);
|
||||
std::string AddLiveStreamTranscodeRequest::getEncryptParameters() const {
|
||||
return encryptParameters_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getWatermark()const
|
||||
{
|
||||
return watermark_;
|
||||
void AddLiveStreamTranscodeRequest::setEncryptParameters(const std::string &encryptParameters) {
|
||||
encryptParameters_ = encryptParameters;
|
||||
setParameter(std::string("EncryptParameters"), encryptParameters);
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setWatermark(const std::string& watermark)
|
||||
{
|
||||
watermark_ = watermark;
|
||||
setParameter("Watermark", watermark);
|
||||
std::string AddLiveStreamTranscodeRequest::getWatermark() const {
|
||||
return watermark_;
|
||||
}
|
||||
|
||||
long AddLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveStreamTranscodeRequest::setWatermark(const std::string &watermark) {
|
||||
watermark_ = watermark;
|
||||
setParameter(std::string("Watermark"), watermark);
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveStreamTranscodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
void AddLiveStreamTranscodeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
std::string AddLiveStreamTranscodeRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getWaterPattern()const
|
||||
{
|
||||
return waterPattern_;
|
||||
void AddLiveStreamTranscodeRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setWaterPattern(const std::string& waterPattern)
|
||||
{
|
||||
waterPattern_ = waterPattern;
|
||||
setParameter("WaterPattern", waterPattern);
|
||||
std::string AddLiveStreamTranscodeRequest::getWaterPattern() const {
|
||||
return waterPattern_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamTranscodeRequest::getOnlyAudio()const
|
||||
{
|
||||
return onlyAudio_;
|
||||
void AddLiveStreamTranscodeRequest::setWaterPattern(const std::string &waterPattern) {
|
||||
waterPattern_ = waterPattern;
|
||||
setParameter(std::string("WaterPattern"), waterPattern);
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setOnlyAudio(const std::string& onlyAudio)
|
||||
{
|
||||
onlyAudio_ = onlyAudio;
|
||||
setParameter("OnlyAudio", onlyAudio);
|
||||
std::string AddLiveStreamTranscodeRequest::getOnlyAudio() const {
|
||||
return onlyAudio_;
|
||||
}
|
||||
|
||||
void AddLiveStreamTranscodeRequest::setOnlyAudio(const std::string &onlyAudio) {
|
||||
onlyAudio_ = onlyAudio;
|
||||
setParameter(std::string("OnlyAudio"), onlyAudio);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,161 +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 <alibabacloud/live/model/AddLiveStreamWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRequest;
|
||||
|
||||
AddLiveStreamWatermarkRequest::AddLiveStreamWatermarkRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermark")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveStreamWatermarkRequest::~AddLiveStreamWatermarkRequest()
|
||||
{}
|
||||
|
||||
float AddLiveStreamWatermarkRequest::getYOffset()const
|
||||
{
|
||||
return yOffset_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveStreamWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRequest;
|
||||
|
||||
AddLiveStreamWatermarkRequest::AddLiveStreamWatermarkRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermark") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setYOffset(float yOffset)
|
||||
{
|
||||
yOffset_ = yOffset;
|
||||
setParameter("YOffset", std::to_string(yOffset));
|
||||
AddLiveStreamWatermarkRequest::~AddLiveStreamWatermarkRequest() {}
|
||||
|
||||
float AddLiveStreamWatermarkRequest::getYOffset() const {
|
||||
return yOffset_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamWatermarkRequest::getPictureUrl()const
|
||||
{
|
||||
return pictureUrl_;
|
||||
void AddLiveStreamWatermarkRequest::setYOffset(float yOffset) {
|
||||
yOffset_ = yOffset;
|
||||
setParameter(std::string("YOffset"), std::to_string(yOffset));
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setPictureUrl(const std::string& pictureUrl)
|
||||
{
|
||||
pictureUrl_ = pictureUrl;
|
||||
setParameter("PictureUrl", pictureUrl);
|
||||
std::string AddLiveStreamWatermarkRequest::getPictureUrl() const {
|
||||
return pictureUrl_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamWatermarkRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
void AddLiveStreamWatermarkRequest::setPictureUrl(const std::string &pictureUrl) {
|
||||
pictureUrl_ = pictureUrl;
|
||||
setParameter(std::string("PictureUrl"), pictureUrl);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
std::string AddLiveStreamWatermarkRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
int AddLiveStreamWatermarkRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
void AddLiveStreamWatermarkRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setType(int type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", std::to_string(type));
|
||||
int AddLiveStreamWatermarkRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
int AddLiveStreamWatermarkRequest::getHeight()const
|
||||
{
|
||||
return height_;
|
||||
void AddLiveStreamWatermarkRequest::setType(int type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), std::to_string(type));
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setHeight(int height)
|
||||
{
|
||||
height_ = height;
|
||||
setParameter("Height", std::to_string(height));
|
||||
int AddLiveStreamWatermarkRequest::getHeight() const {
|
||||
return height_;
|
||||
}
|
||||
|
||||
float AddLiveStreamWatermarkRequest::getXOffset()const
|
||||
{
|
||||
return xOffset_;
|
||||
void AddLiveStreamWatermarkRequest::setHeight(int height) {
|
||||
height_ = height;
|
||||
setParameter(std::string("Height"), std::to_string(height));
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setXOffset(float xOffset)
|
||||
{
|
||||
xOffset_ = xOffset;
|
||||
setParameter("XOffset", std::to_string(xOffset));
|
||||
float AddLiveStreamWatermarkRequest::getXOffset() const {
|
||||
return xOffset_;
|
||||
}
|
||||
|
||||
long AddLiveStreamWatermarkRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveStreamWatermarkRequest::setXOffset(float xOffset) {
|
||||
xOffset_ = xOffset;
|
||||
setParameter(std::string("XOffset"), std::to_string(xOffset));
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveStreamWatermarkRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int AddLiveStreamWatermarkRequest::getRefWidth()const
|
||||
{
|
||||
return refWidth_;
|
||||
void AddLiveStreamWatermarkRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setRefWidth(int refWidth)
|
||||
{
|
||||
refWidth_ = refWidth;
|
||||
setParameter("RefWidth", std::to_string(refWidth));
|
||||
int AddLiveStreamWatermarkRequest::getRefWidth() const {
|
||||
return refWidth_;
|
||||
}
|
||||
|
||||
int AddLiveStreamWatermarkRequest::getTransparency()const
|
||||
{
|
||||
return transparency_;
|
||||
void AddLiveStreamWatermarkRequest::setRefWidth(int refWidth) {
|
||||
refWidth_ = refWidth;
|
||||
setParameter(std::string("RefWidth"), std::to_string(refWidth));
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setTransparency(int transparency)
|
||||
{
|
||||
transparency_ = transparency;
|
||||
setParameter("Transparency", std::to_string(transparency));
|
||||
int AddLiveStreamWatermarkRequest::getTransparency() const {
|
||||
return transparency_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamWatermarkRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void AddLiveStreamWatermarkRequest::setTransparency(int transparency) {
|
||||
transparency_ = transparency;
|
||||
setParameter(std::string("Transparency"), std::to_string(transparency));
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string AddLiveStreamWatermarkRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamWatermarkRequest::getOffsetCorner()const
|
||||
{
|
||||
return offsetCorner_;
|
||||
void AddLiveStreamWatermarkRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setOffsetCorner(const std::string& offsetCorner)
|
||||
{
|
||||
offsetCorner_ = offsetCorner;
|
||||
setParameter("OffsetCorner", offsetCorner);
|
||||
std::string AddLiveStreamWatermarkRequest::getOffsetCorner() const {
|
||||
return offsetCorner_;
|
||||
}
|
||||
|
||||
int AddLiveStreamWatermarkRequest::getRefHeight()const
|
||||
{
|
||||
return refHeight_;
|
||||
void AddLiveStreamWatermarkRequest::setOffsetCorner(const std::string &offsetCorner) {
|
||||
offsetCorner_ = offsetCorner;
|
||||
setParameter(std::string("OffsetCorner"), offsetCorner);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setRefHeight(int refHeight)
|
||||
{
|
||||
refHeight_ = refHeight;
|
||||
setParameter("RefHeight", std::to_string(refHeight));
|
||||
int AddLiveStreamWatermarkRequest::getRefHeight() const {
|
||||
return refHeight_;
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRequest::setRefHeight(int refHeight) {
|
||||
refHeight_ = refHeight;
|
||||
setParameter(std::string("RefHeight"), std::to_string(refHeight));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRuleRequest;
|
||||
|
||||
AddLiveStreamWatermarkRuleRequest::AddLiveStreamWatermarkRuleRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermarkRule")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddLiveStreamWatermarkRuleRequest::~AddLiveStreamWatermarkRuleRequest()
|
||||
{}
|
||||
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getDescription()const
|
||||
{
|
||||
return description_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddLiveStreamWatermarkRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddLiveStreamWatermarkRuleRequest;
|
||||
|
||||
AddLiveStreamWatermarkRuleRequest::AddLiveStreamWatermarkRuleRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddLiveStreamWatermarkRule") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRuleRequest::setDescription(const std::string& description)
|
||||
{
|
||||
description_ = description;
|
||||
setParameter("Description", description);
|
||||
AddLiveStreamWatermarkRuleRequest::~AddLiveStreamWatermarkRuleRequest() {}
|
||||
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getDescription() const {
|
||||
return description_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getStream()const
|
||||
{
|
||||
return stream_;
|
||||
void AddLiveStreamWatermarkRuleRequest::setDescription(const std::string &description) {
|
||||
description_ = description;
|
||||
setParameter(std::string("Description"), description);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRuleRequest::setStream(const std::string& stream)
|
||||
{
|
||||
stream_ = stream;
|
||||
setParameter("Stream", stream);
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getStream() const {
|
||||
return stream_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
void AddLiveStreamWatermarkRuleRequest::setStream(const std::string &stream) {
|
||||
stream_ = stream;
|
||||
setParameter(std::string("Stream"), stream);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRuleRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getApp() const {
|
||||
return app_;
|
||||
}
|
||||
|
||||
long AddLiveStreamWatermarkRuleRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddLiveStreamWatermarkRuleRequest::setApp(const std::string &app) {
|
||||
app_ = app;
|
||||
setParameter(std::string("App"), app);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddLiveStreamWatermarkRuleRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
void AddLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRuleRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", templateId);
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getTemplateId() const {
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
void AddLiveStreamWatermarkRuleRequest::setTemplateId(const std::string &templateId) {
|
||||
templateId_ = templateId;
|
||||
setParameter(std::string("TemplateId"), templateId);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRuleRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getName()const
|
||||
{
|
||||
return name_;
|
||||
void AddLiveStreamWatermarkRuleRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRuleRequest::setName(const std::string& name)
|
||||
{
|
||||
name_ = name;
|
||||
setParameter("Name", name);
|
||||
std::string AddLiveStreamWatermarkRuleRequest::getName() const {
|
||||
return name_;
|
||||
}
|
||||
|
||||
void AddLiveStreamWatermarkRuleRequest::setName(const std::string &name) {
|
||||
name_ = name;
|
||||
setParameter(std::string("Name"), name);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddMultiRateConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddMultiRateConfigRequest;
|
||||
|
||||
AddMultiRateConfigRequest::AddMultiRateConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddMultiRateConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddMultiRateConfigRequest::~AddMultiRateConfigRequest()
|
||||
{}
|
||||
|
||||
std::string AddMultiRateConfigRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddMultiRateConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddMultiRateConfigRequest;
|
||||
|
||||
AddMultiRateConfigRequest::AddMultiRateConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddMultiRateConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddMultiRateConfigRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
AddMultiRateConfigRequest::~AddMultiRateConfigRequest() {}
|
||||
|
||||
std::string AddMultiRateConfigRequest::getApp() const {
|
||||
return app_;
|
||||
}
|
||||
|
||||
std::string AddMultiRateConfigRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
void AddMultiRateConfigRequest::setApp(const std::string &app) {
|
||||
app_ = app;
|
||||
setParameter(std::string("App"), app);
|
||||
}
|
||||
|
||||
void AddMultiRateConfigRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
std::string AddMultiRateConfigRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string AddMultiRateConfigRequest::getTemplates()const
|
||||
{
|
||||
return templates_;
|
||||
void AddMultiRateConfigRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void AddMultiRateConfigRequest::setTemplates(const std::string& templates)
|
||||
{
|
||||
templates_ = templates;
|
||||
setParameter("Templates", templates);
|
||||
std::string AddMultiRateConfigRequest::getTemplates() const {
|
||||
return templates_;
|
||||
}
|
||||
|
||||
std::string AddMultiRateConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddMultiRateConfigRequest::setTemplates(const std::string &templates) {
|
||||
templates_ = templates;
|
||||
setParameter(std::string("Templates"), templates);
|
||||
}
|
||||
|
||||
void AddMultiRateConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddMultiRateConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddMultiRateConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddMultiRateConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddMultiRateConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddMultiRateConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddMultiRateConfigRequest::getIsLazy()const
|
||||
{
|
||||
return isLazy_;
|
||||
void AddMultiRateConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddMultiRateConfigRequest::setIsLazy(const std::string& isLazy)
|
||||
{
|
||||
isLazy_ = isLazy;
|
||||
setParameter("IsLazy", isLazy);
|
||||
std::string AddMultiRateConfigRequest::getIsLazy() const {
|
||||
return isLazy_;
|
||||
}
|
||||
|
||||
std::string AddMultiRateConfigRequest::getAvFormat()const
|
||||
{
|
||||
return avFormat_;
|
||||
void AddMultiRateConfigRequest::setIsLazy(const std::string &isLazy) {
|
||||
isLazy_ = isLazy;
|
||||
setParameter(std::string("IsLazy"), isLazy);
|
||||
}
|
||||
|
||||
void AddMultiRateConfigRequest::setAvFormat(const std::string& avFormat)
|
||||
{
|
||||
avFormat_ = avFormat;
|
||||
setParameter("AvFormat", avFormat);
|
||||
std::string AddMultiRateConfigRequest::getAvFormat() const {
|
||||
return avFormat_;
|
||||
}
|
||||
|
||||
std::string AddMultiRateConfigRequest::getIsTimeAlign()const
|
||||
{
|
||||
return isTimeAlign_;
|
||||
void AddMultiRateConfigRequest::setAvFormat(const std::string &avFormat) {
|
||||
avFormat_ = avFormat;
|
||||
setParameter(std::string("AvFormat"), avFormat);
|
||||
}
|
||||
|
||||
void AddMultiRateConfigRequest::setIsTimeAlign(const std::string& isTimeAlign)
|
||||
{
|
||||
isTimeAlign_ = isTimeAlign;
|
||||
setParameter("IsTimeAlign", isTimeAlign);
|
||||
std::string AddMultiRateConfigRequest::getIsTimeAlign() const {
|
||||
return isTimeAlign_;
|
||||
}
|
||||
|
||||
void AddMultiRateConfigRequest::setIsTimeAlign(const std::string &isTimeAlign) {
|
||||
isTimeAlign_ = isTimeAlign;
|
||||
setParameter(std::string("IsTimeAlign"), isTimeAlign);
|
||||
}
|
||||
|
||||
|
||||
@@ -43,40 +43,40 @@ void AddMultiRateConfigResult::parse(const std::string &payload)
|
||||
for (auto valueBodyFailedTemplates : allBodyNode)
|
||||
{
|
||||
FailedTemplates bodyObject;
|
||||
if(!valueBodyFailedTemplates["Template"].isNull())
|
||||
bodyObject._template = valueBodyFailedTemplates["Template"].asString();
|
||||
if(!valueBodyFailedTemplates["TemplateType"].isNull())
|
||||
bodyObject.templateType = valueBodyFailedTemplates["TemplateType"].asString();
|
||||
if(!valueBodyFailedTemplates["Height"].isNull())
|
||||
bodyObject.height = std::stoi(valueBodyFailedTemplates["Height"].asString());
|
||||
if(!valueBodyFailedTemplates["Width"].isNull())
|
||||
bodyObject.width = std::stoi(valueBodyFailedTemplates["Width"].asString());
|
||||
if(!valueBodyFailedTemplates["Fps"].isNull())
|
||||
bodyObject.fps = std::stoi(valueBodyFailedTemplates["Fps"].asString());
|
||||
if(!valueBodyFailedTemplates["Gop"].isNull())
|
||||
bodyObject.gop = valueBodyFailedTemplates["Gop"].asString();
|
||||
if(!valueBodyFailedTemplates["VideoBitrate"].isNull())
|
||||
bodyObject.videoBitrate = std::stoi(valueBodyFailedTemplates["VideoBitrate"].asString());
|
||||
if(!valueBodyFailedTemplates["Profile"].isNull())
|
||||
bodyObject.profile = std::stoi(valueBodyFailedTemplates["Profile"].asString());
|
||||
if(!valueBodyFailedTemplates["AudioProfile"].isNull())
|
||||
bodyObject.audioProfile = valueBodyFailedTemplates["AudioProfile"].asString();
|
||||
if(!valueBodyFailedTemplates["AudioCodec"].isNull())
|
||||
bodyObject.audioCodec = valueBodyFailedTemplates["AudioCodec"].asString();
|
||||
if(!valueBodyFailedTemplates["AudioRate"].isNull())
|
||||
bodyObject.audioRate = std::stoi(valueBodyFailedTemplates["AudioRate"].asString());
|
||||
if(!valueBodyFailedTemplates["AudioBitrate"].isNull())
|
||||
bodyObject.audioBitrate = std::stoi(valueBodyFailedTemplates["AudioBitrate"].asString());
|
||||
if(!valueBodyFailedTemplates["AudioChannelNum"].isNull())
|
||||
bodyObject.audioChannelNum = std::stoi(valueBodyFailedTemplates["AudioChannelNum"].asString());
|
||||
if(!valueBodyFailedTemplates["Template"].isNull())
|
||||
bodyObject._template = valueBodyFailedTemplates["Template"].asString();
|
||||
if(!valueBodyFailedTemplates["Height"].isNull())
|
||||
bodyObject.height = std::stoi(valueBodyFailedTemplates["Height"].asString());
|
||||
if(!valueBodyFailedTemplates["TemplateType"].isNull())
|
||||
bodyObject.templateType = valueBodyFailedTemplates["TemplateType"].asString();
|
||||
if(!valueBodyFailedTemplates["BandWidth"].isNull())
|
||||
bodyObject.bandWidth = std::stoi(valueBodyFailedTemplates["BandWidth"].asString());
|
||||
if(!valueBodyFailedTemplates["Profile"].isNull())
|
||||
bodyObject.profile = std::stoi(valueBodyFailedTemplates["Profile"].asString());
|
||||
if(!valueBodyFailedTemplates["AudioRate"].isNull())
|
||||
bodyObject.audioRate = std::stoi(valueBodyFailedTemplates["AudioRate"].asString());
|
||||
if(!valueBodyFailedTemplates["AudioCodec"].isNull())
|
||||
bodyObject.audioCodec = valueBodyFailedTemplates["AudioCodec"].asString();
|
||||
if(!valueBodyFailedTemplates["Gop"].isNull())
|
||||
bodyObject.gop = valueBodyFailedTemplates["Gop"].asString();
|
||||
if(!valueBodyFailedTemplates["Width"].isNull())
|
||||
bodyObject.width = std::stoi(valueBodyFailedTemplates["Width"].asString());
|
||||
if(!valueBodyFailedTemplates["VideoBitrate"].isNull())
|
||||
bodyObject.videoBitrate = std::stoi(valueBodyFailedTemplates["VideoBitrate"].asString());
|
||||
if(!valueBodyFailedTemplates["AudioChannelNum"].isNull())
|
||||
bodyObject.audioChannelNum = std::stoi(valueBodyFailedTemplates["AudioChannelNum"].asString());
|
||||
if(!valueBodyFailedTemplates["Fps"].isNull())
|
||||
bodyObject.fps = std::stoi(valueBodyFailedTemplates["Fps"].asString());
|
||||
if(!valueBodyFailedTemplates["AudioProfile"].isNull())
|
||||
bodyObject.audioProfile = valueBodyFailedTemplates["AudioProfile"].asString();
|
||||
body_.push_back(bodyObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddPlaylistItemsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddPlaylistItemsRequest;
|
||||
|
||||
AddPlaylistItemsRequest::AddPlaylistItemsRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddPlaylistItems")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddPlaylistItemsRequest::~AddPlaylistItemsRequest()
|
||||
{}
|
||||
|
||||
std::string AddPlaylistItemsRequest::getProgramItems()const
|
||||
{
|
||||
return programItems_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddPlaylistItemsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddPlaylistItemsRequest;
|
||||
|
||||
AddPlaylistItemsRequest::AddPlaylistItemsRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddPlaylistItems") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddPlaylistItemsRequest::setProgramItems(const std::string& programItems)
|
||||
{
|
||||
programItems_ = programItems;
|
||||
setParameter("ProgramItems", programItems);
|
||||
AddPlaylistItemsRequest::~AddPlaylistItemsRequest() {}
|
||||
|
||||
std::string AddPlaylistItemsRequest::getProgramItems() const {
|
||||
return programItems_;
|
||||
}
|
||||
|
||||
std::string AddPlaylistItemsRequest::getProgramId()const
|
||||
{
|
||||
return programId_;
|
||||
void AddPlaylistItemsRequest::setProgramItems(const std::string &programItems) {
|
||||
programItems_ = programItems;
|
||||
setParameter(std::string("ProgramItems"), programItems);
|
||||
}
|
||||
|
||||
void AddPlaylistItemsRequest::setProgramId(const std::string& programId)
|
||||
{
|
||||
programId_ = programId;
|
||||
setParameter("ProgramId", programId);
|
||||
std::string AddPlaylistItemsRequest::getProgramId() const {
|
||||
return programId_;
|
||||
}
|
||||
|
||||
std::string AddPlaylistItemsRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void AddPlaylistItemsRequest::setProgramId(const std::string &programId) {
|
||||
programId_ = programId;
|
||||
setParameter(std::string("ProgramId"), programId);
|
||||
}
|
||||
|
||||
void AddPlaylistItemsRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string AddPlaylistItemsRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long AddPlaylistItemsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddPlaylistItemsRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void AddPlaylistItemsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddPlaylistItemsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddPlaylistItemsRequest::getProgramConfig()const
|
||||
{
|
||||
return programConfig_;
|
||||
void AddPlaylistItemsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddPlaylistItemsRequest::setProgramConfig(const std::string& programConfig)
|
||||
{
|
||||
programConfig_ = programConfig;
|
||||
setParameter("ProgramConfig", programConfig);
|
||||
std::string AddPlaylistItemsRequest::getProgramConfig() const {
|
||||
return programConfig_;
|
||||
}
|
||||
|
||||
void AddPlaylistItemsRequest::setProgramConfig(const std::string &programConfig) {
|
||||
programConfig_ = programConfig;
|
||||
setParameter(std::string("ProgramConfig"), programConfig);
|
||||
}
|
||||
|
||||
|
||||
@@ -44,20 +44,20 @@ void AddPlaylistItemsResult::parse(const std::string &payload)
|
||||
for (auto itemsNodeSuccessItemsSuccessItem : allSuccessItemsNode)
|
||||
{
|
||||
Items::SuccessItem successItemObject;
|
||||
if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull())
|
||||
successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString();
|
||||
if(!itemsNodeSuccessItemsSuccessItem["ItemName"].isNull())
|
||||
successItemObject.itemName = itemsNodeSuccessItemsSuccessItem["ItemName"].asString();
|
||||
if(!itemsNodeSuccessItemsSuccessItem["ItemId"].isNull())
|
||||
successItemObject.itemId = itemsNodeSuccessItemsSuccessItem["ItemId"].asString();
|
||||
items_.successItems.push_back(successItemObject);
|
||||
}
|
||||
auto allFailedItemsNode = itemsNode["FailedItems"]["FailedItem"];
|
||||
for (auto itemsNodeFailedItemsFailedItem : allFailedItemsNode)
|
||||
{
|
||||
Items::FailedItem failedItemObject;
|
||||
if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull())
|
||||
failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString();
|
||||
if(!itemsNodeFailedItemsFailedItem["ItemName"].isNull())
|
||||
failedItemObject.itemName = itemsNodeFailedItemsFailedItem["ItemName"].asString();
|
||||
if(!itemsNodeFailedItemsFailedItem["ItemId"].isNull())
|
||||
failedItemObject.itemId = itemsNodeFailedItemsFailedItem["ItemId"].asString();
|
||||
items_.failedItems.push_back(failedItemObject);
|
||||
}
|
||||
if(!value["ProgramId"].isNull())
|
||||
|
||||
@@ -1,238 +1,198 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/AddRtsLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddRtsLiveStreamTranscodeRequest;
|
||||
|
||||
AddRtsLiveStreamTranscodeRequest::AddRtsLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddRtsLiveStreamTranscode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddRtsLiveStreamTranscodeRequest::~AddRtsLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string AddRtsLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddRtsLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddRtsLiveStreamTranscodeRequest;
|
||||
|
||||
AddRtsLiveStreamTranscodeRequest::AddRtsLiveStreamTranscodeRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddRtsLiveStreamTranscode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
AddRtsLiveStreamTranscodeRequest::~AddRtsLiveStreamTranscodeRequest() {}
|
||||
|
||||
std::string AddRtsLiveStreamTranscodeRequest::get_Template() const {
|
||||
return _template_;
|
||||
}
|
||||
|
||||
bool AddRtsLiveStreamTranscodeRequest::getDeleteBframes()const
|
||||
{
|
||||
return deleteBframes_;
|
||||
void AddRtsLiveStreamTranscodeRequest::set_Template(const std::string &_template) {
|
||||
_template_ = _template;
|
||||
setParameter(std::string("Template"), _template);
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setDeleteBframes(bool deleteBframes)
|
||||
{
|
||||
deleteBframes_ = deleteBframes;
|
||||
setParameter("DeleteBframes", deleteBframes ? "true" : "false");
|
||||
bool AddRtsLiveStreamTranscodeRequest::getDeleteBframes() const {
|
||||
return deleteBframes_;
|
||||
}
|
||||
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getLazy()const
|
||||
{
|
||||
return lazy_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setDeleteBframes(bool deleteBframes) {
|
||||
deleteBframes_ = deleteBframes;
|
||||
setParameter(std::string("DeleteBframes"), deleteBframes ? "true" : "false");
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setLazy(const std::string& lazy)
|
||||
{
|
||||
lazy_ = lazy;
|
||||
setParameter("Lazy", lazy);
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getLazy() const {
|
||||
return lazy_;
|
||||
}
|
||||
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getGop()const
|
||||
{
|
||||
return gop_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setLazy(const std::string &lazy) {
|
||||
lazy_ = lazy;
|
||||
setParameter(std::string("Lazy"), lazy);
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setGop(const std::string& gop)
|
||||
{
|
||||
gop_ = gop;
|
||||
setParameter("Gop", gop);
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getGop() const {
|
||||
return gop_;
|
||||
}
|
||||
|
||||
bool AddRtsLiveStreamTranscodeRequest::getOpus()const
|
||||
{
|
||||
return opus_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setGop(const std::string &gop) {
|
||||
gop_ = gop;
|
||||
setParameter(std::string("Gop"), gop);
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setOpus(bool opus)
|
||||
{
|
||||
opus_ = opus;
|
||||
setParameter("Opus", opus ? "true" : "false");
|
||||
bool AddRtsLiveStreamTranscodeRequest::getOpus() const {
|
||||
return opus_;
|
||||
}
|
||||
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getAudioCodec()const
|
||||
{
|
||||
return audioCodec_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setOpus(bool opus) {
|
||||
opus_ = opus;
|
||||
setParameter(std::string("Opus"), opus ? "true" : "false");
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioCodec(const std::string& audioCodec)
|
||||
{
|
||||
audioCodec_ = audioCodec;
|
||||
setParameter("AudioCodec", audioCodec);
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getAudioCodec() const {
|
||||
return audioCodec_;
|
||||
}
|
||||
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getTemplateType()const
|
||||
{
|
||||
return templateType_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioCodec(const std::string &audioCodec) {
|
||||
audioCodec_ = audioCodec;
|
||||
setParameter(std::string("AudioCodec"), audioCodec);
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setTemplateType(const std::string& templateType)
|
||||
{
|
||||
templateType_ = templateType;
|
||||
setParameter("TemplateType", templateType);
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getTemplateType() const {
|
||||
return templateType_;
|
||||
}
|
||||
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getAudioProfile()const
|
||||
{
|
||||
return audioProfile_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setTemplateType(const std::string &templateType) {
|
||||
templateType_ = templateType;
|
||||
setParameter(std::string("TemplateType"), templateType);
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioProfile(const std::string& audioProfile)
|
||||
{
|
||||
audioProfile_ = audioProfile;
|
||||
setParameter("AudioProfile", audioProfile);
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getAudioProfile() const {
|
||||
return audioProfile_;
|
||||
}
|
||||
|
||||
int AddRtsLiveStreamTranscodeRequest::getHeight()const
|
||||
{
|
||||
return height_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioProfile(const std::string &audioProfile) {
|
||||
audioProfile_ = audioProfile;
|
||||
setParameter(std::string("AudioProfile"), audioProfile);
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setHeight(int height)
|
||||
{
|
||||
height_ = height;
|
||||
setParameter("Height", std::to_string(height));
|
||||
int AddRtsLiveStreamTranscodeRequest::getHeight() const {
|
||||
return height_;
|
||||
}
|
||||
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setHeight(int height) {
|
||||
height_ = height;
|
||||
setParameter(std::string("Height"), std::to_string(height));
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getApp() const {
|
||||
return app_;
|
||||
}
|
||||
|
||||
int AddRtsLiveStreamTranscodeRequest::getAudioChannelNum()const
|
||||
{
|
||||
return audioChannelNum_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setApp(const std::string &app) {
|
||||
app_ = app;
|
||||
setParameter(std::string("App"), app);
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum)
|
||||
{
|
||||
audioChannelNum_ = audioChannelNum;
|
||||
setParameter("AudioChannelNum", std::to_string(audioChannelNum));
|
||||
int AddRtsLiveStreamTranscodeRequest::getAudioChannelNum() const {
|
||||
return audioChannelNum_;
|
||||
}
|
||||
|
||||
int AddRtsLiveStreamTranscodeRequest::getProfile()const
|
||||
{
|
||||
return profile_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioChannelNum(int audioChannelNum) {
|
||||
audioChannelNum_ = audioChannelNum;
|
||||
setParameter(std::string("AudioChannelNum"), std::to_string(audioChannelNum));
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setProfile(int profile)
|
||||
{
|
||||
profile_ = profile;
|
||||
setParameter("Profile", std::to_string(profile));
|
||||
int AddRtsLiveStreamTranscodeRequest::getProfile() const {
|
||||
return profile_;
|
||||
}
|
||||
|
||||
int AddRtsLiveStreamTranscodeRequest::getFPS()const
|
||||
{
|
||||
return fPS_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setProfile(int profile) {
|
||||
profile_ = profile;
|
||||
setParameter(std::string("Profile"), std::to_string(profile));
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setFPS(int fPS)
|
||||
{
|
||||
fPS_ = fPS;
|
||||
setParameter("FPS", std::to_string(fPS));
|
||||
int AddRtsLiveStreamTranscodeRequest::getFPS() const {
|
||||
return fPS_;
|
||||
}
|
||||
|
||||
long AddRtsLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setFPS(int fPS) {
|
||||
fPS_ = fPS;
|
||||
setParameter(std::string("FPS"), std::to_string(fPS));
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddRtsLiveStreamTranscodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int AddRtsLiveStreamTranscodeRequest::getAudioRate()const
|
||||
{
|
||||
return audioRate_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioRate(int audioRate)
|
||||
{
|
||||
audioRate_ = audioRate;
|
||||
setParameter("AudioRate", std::to_string(audioRate));
|
||||
int AddRtsLiveStreamTranscodeRequest::getAudioRate() const {
|
||||
return audioRate_;
|
||||
}
|
||||
|
||||
int AddRtsLiveStreamTranscodeRequest::getAudioBitrate()const
|
||||
{
|
||||
return audioBitrate_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioRate(int audioRate) {
|
||||
audioRate_ = audioRate;
|
||||
setParameter(std::string("AudioRate"), std::to_string(audioRate));
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate)
|
||||
{
|
||||
audioBitrate_ = audioBitrate;
|
||||
setParameter("AudioBitrate", std::to_string(audioBitrate));
|
||||
int AddRtsLiveStreamTranscodeRequest::getAudioBitrate() const {
|
||||
return audioBitrate_;
|
||||
}
|
||||
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setAudioBitrate(int audioBitrate) {
|
||||
audioBitrate_ = audioBitrate;
|
||||
setParameter(std::string("AudioBitrate"), std::to_string(audioBitrate));
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
std::string AddRtsLiveStreamTranscodeRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
int AddRtsLiveStreamTranscodeRequest::getWidth()const
|
||||
{
|
||||
return width_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setWidth(int width)
|
||||
{
|
||||
width_ = width;
|
||||
setParameter("Width", std::to_string(width));
|
||||
int AddRtsLiveStreamTranscodeRequest::getWidth() const {
|
||||
return width_;
|
||||
}
|
||||
|
||||
int AddRtsLiveStreamTranscodeRequest::getVideoBitrate()const
|
||||
{
|
||||
return videoBitrate_;
|
||||
void AddRtsLiveStreamTranscodeRequest::setWidth(int width) {
|
||||
width_ = width;
|
||||
setParameter(std::string("Width"), std::to_string(width));
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate)
|
||||
{
|
||||
videoBitrate_ = videoBitrate;
|
||||
setParameter("VideoBitrate", std::to_string(videoBitrate));
|
||||
int AddRtsLiveStreamTranscodeRequest::getVideoBitrate() const {
|
||||
return videoBitrate_;
|
||||
}
|
||||
|
||||
void AddRtsLiveStreamTranscodeRequest::setVideoBitrate(int videoBitrate) {
|
||||
videoBitrate_ = videoBitrate;
|
||||
setParameter(std::string("VideoBitrate"), std::to_string(videoBitrate));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,139 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddShowIntoShowListRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddShowIntoShowListRequest;
|
||||
|
||||
AddShowIntoShowListRequest::AddShowIntoShowListRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddShowIntoShowList")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddShowIntoShowListRequest::~AddShowIntoShowListRequest()
|
||||
{}
|
||||
|
||||
int AddShowIntoShowListRequest::getLiveInputType()const
|
||||
{
|
||||
return liveInputType_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddShowIntoShowListRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddShowIntoShowListRequest;
|
||||
|
||||
AddShowIntoShowListRequest::AddShowIntoShowListRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddShowIntoShowList") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setLiveInputType(int liveInputType)
|
||||
{
|
||||
liveInputType_ = liveInputType;
|
||||
setParameter("LiveInputType", std::to_string(liveInputType));
|
||||
AddShowIntoShowListRequest::~AddShowIntoShowListRequest() {}
|
||||
|
||||
int AddShowIntoShowListRequest::getLiveInputType() const {
|
||||
return liveInputType_;
|
||||
}
|
||||
|
||||
long AddShowIntoShowListRequest::getDuration()const
|
||||
{
|
||||
return duration_;
|
||||
void AddShowIntoShowListRequest::setLiveInputType(int liveInputType) {
|
||||
liveInputType_ = liveInputType;
|
||||
setParameter(std::string("LiveInputType"), std::to_string(liveInputType));
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setDuration(long duration)
|
||||
{
|
||||
duration_ = duration;
|
||||
setParameter("Duration", std::to_string(duration));
|
||||
long AddShowIntoShowListRequest::getDuration() const {
|
||||
return duration_;
|
||||
}
|
||||
|
||||
int AddShowIntoShowListRequest::getRepeatTimes()const
|
||||
{
|
||||
return repeatTimes_;
|
||||
void AddShowIntoShowListRequest::setDuration(long duration) {
|
||||
duration_ = duration;
|
||||
setParameter(std::string("Duration"), std::to_string(duration));
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setRepeatTimes(int repeatTimes)
|
||||
{
|
||||
repeatTimes_ = repeatTimes;
|
||||
setParameter("RepeatTimes", std::to_string(repeatTimes));
|
||||
int AddShowIntoShowListRequest::getRepeatTimes() const {
|
||||
return repeatTimes_;
|
||||
}
|
||||
|
||||
std::string AddShowIntoShowListRequest::getShowName()const
|
||||
{
|
||||
return showName_;
|
||||
void AddShowIntoShowListRequest::setRepeatTimes(int repeatTimes) {
|
||||
repeatTimes_ = repeatTimes;
|
||||
setParameter(std::string("RepeatTimes"), std::to_string(repeatTimes));
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setShowName(const std::string& showName)
|
||||
{
|
||||
showName_ = showName;
|
||||
setParameter("ShowName", showName);
|
||||
std::string AddShowIntoShowListRequest::getShowName() const {
|
||||
return showName_;
|
||||
}
|
||||
|
||||
std::string AddShowIntoShowListRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
void AddShowIntoShowListRequest::setShowName(const std::string &showName) {
|
||||
showName_ = showName;
|
||||
setParameter(std::string("ShowName"), showName);
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setParameter("ResourceId", resourceId);
|
||||
std::string AddShowIntoShowListRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
std::string AddShowIntoShowListRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void AddShowIntoShowListRequest::setResourceId(const std::string &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
setParameter(std::string("ResourceId"), resourceId);
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string AddShowIntoShowListRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long AddShowIntoShowListRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddShowIntoShowListRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddShowIntoShowListRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddShowIntoShowListRequest::getResourceType()const
|
||||
{
|
||||
return resourceType_;
|
||||
void AddShowIntoShowListRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setResourceType(const std::string& resourceType)
|
||||
{
|
||||
resourceType_ = resourceType;
|
||||
setParameter("ResourceType", resourceType);
|
||||
std::string AddShowIntoShowListRequest::getResourceType() const {
|
||||
return resourceType_;
|
||||
}
|
||||
|
||||
std::string AddShowIntoShowListRequest::getResourceUrl()const
|
||||
{
|
||||
return resourceUrl_;
|
||||
void AddShowIntoShowListRequest::setResourceType(const std::string &resourceType) {
|
||||
resourceType_ = resourceType;
|
||||
setParameter(std::string("ResourceType"), resourceType);
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setResourceUrl(const std::string& resourceUrl)
|
||||
{
|
||||
resourceUrl_ = resourceUrl;
|
||||
setParameter("ResourceUrl", resourceUrl);
|
||||
std::string AddShowIntoShowListRequest::getResourceUrl() const {
|
||||
return resourceUrl_;
|
||||
}
|
||||
|
||||
int AddShowIntoShowListRequest::getSpot()const
|
||||
{
|
||||
return spot_;
|
||||
void AddShowIntoShowListRequest::setResourceUrl(const std::string &resourceUrl) {
|
||||
resourceUrl_ = resourceUrl;
|
||||
setParameter(std::string("ResourceUrl"), resourceUrl);
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setSpot(int spot)
|
||||
{
|
||||
spot_ = spot;
|
||||
setParameter("Spot", std::to_string(spot));
|
||||
int AddShowIntoShowListRequest::getSpot() const {
|
||||
return spot_;
|
||||
}
|
||||
|
||||
void AddShowIntoShowListRequest::setSpot(int spot) {
|
||||
spot_ = spot;
|
||||
setParameter(std::string("Spot"), std::to_string(spot));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,128 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddStudioLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddStudioLayoutRequest;
|
||||
|
||||
AddStudioLayoutRequest::AddStudioLayoutRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddStudioLayout")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddStudioLayoutRequest::~AddStudioLayoutRequest()
|
||||
{}
|
||||
|
||||
std::string AddStudioLayoutRequest::getScreenInputConfigList()const
|
||||
{
|
||||
return screenInputConfigList_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddStudioLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddStudioLayoutRequest;
|
||||
|
||||
AddStudioLayoutRequest::AddStudioLayoutRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddStudioLayout") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setScreenInputConfigList(const std::string& screenInputConfigList)
|
||||
{
|
||||
screenInputConfigList_ = screenInputConfigList;
|
||||
setParameter("ScreenInputConfigList", screenInputConfigList);
|
||||
AddStudioLayoutRequest::~AddStudioLayoutRequest() {}
|
||||
|
||||
std::string AddStudioLayoutRequest::getScreenInputConfigList() const {
|
||||
return screenInputConfigList_;
|
||||
}
|
||||
|
||||
std::string AddStudioLayoutRequest::getLayoutType()const
|
||||
{
|
||||
return layoutType_;
|
||||
void AddStudioLayoutRequest::setScreenInputConfigList(const std::string &screenInputConfigList) {
|
||||
screenInputConfigList_ = screenInputConfigList;
|
||||
setParameter(std::string("ScreenInputConfigList"), screenInputConfigList);
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setLayoutType(const std::string& layoutType)
|
||||
{
|
||||
layoutType_ = layoutType;
|
||||
setParameter("LayoutType", layoutType);
|
||||
std::string AddStudioLayoutRequest::getLayoutType() const {
|
||||
return layoutType_;
|
||||
}
|
||||
|
||||
std::string AddStudioLayoutRequest::getLayoutName()const
|
||||
{
|
||||
return layoutName_;
|
||||
void AddStudioLayoutRequest::setLayoutType(const std::string &layoutType) {
|
||||
layoutType_ = layoutType;
|
||||
setParameter(std::string("LayoutType"), layoutType);
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setLayoutName(const std::string& layoutName)
|
||||
{
|
||||
layoutName_ = layoutName;
|
||||
setParameter("LayoutName", layoutName);
|
||||
std::string AddStudioLayoutRequest::getLayoutName() const {
|
||||
return layoutName_;
|
||||
}
|
||||
|
||||
std::string AddStudioLayoutRequest::getLayerOrderConfigList()const
|
||||
{
|
||||
return layerOrderConfigList_;
|
||||
void AddStudioLayoutRequest::setLayoutName(const std::string &layoutName) {
|
||||
layoutName_ = layoutName;
|
||||
setParameter(std::string("LayoutName"), layoutName);
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setLayerOrderConfigList(const std::string& layerOrderConfigList)
|
||||
{
|
||||
layerOrderConfigList_ = layerOrderConfigList;
|
||||
setParameter("LayerOrderConfigList", layerOrderConfigList);
|
||||
std::string AddStudioLayoutRequest::getLayerOrderConfigList() const {
|
||||
return layerOrderConfigList_;
|
||||
}
|
||||
|
||||
std::string AddStudioLayoutRequest::getMediaInputConfigList()const
|
||||
{
|
||||
return mediaInputConfigList_;
|
||||
void AddStudioLayoutRequest::setLayerOrderConfigList(const std::string &layerOrderConfigList) {
|
||||
layerOrderConfigList_ = layerOrderConfigList;
|
||||
setParameter(std::string("LayerOrderConfigList"), layerOrderConfigList);
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setMediaInputConfigList(const std::string& mediaInputConfigList)
|
||||
{
|
||||
mediaInputConfigList_ = mediaInputConfigList;
|
||||
setParameter("MediaInputConfigList", mediaInputConfigList);
|
||||
std::string AddStudioLayoutRequest::getMediaInputConfigList() const {
|
||||
return mediaInputConfigList_;
|
||||
}
|
||||
|
||||
std::string AddStudioLayoutRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void AddStudioLayoutRequest::setMediaInputConfigList(const std::string &mediaInputConfigList) {
|
||||
mediaInputConfigList_ = mediaInputConfigList;
|
||||
setParameter(std::string("MediaInputConfigList"), mediaInputConfigList);
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string AddStudioLayoutRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
std::string AddStudioLayoutRequest::getBgImageConfig()const
|
||||
{
|
||||
return bgImageConfig_;
|
||||
void AddStudioLayoutRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setBgImageConfig(const std::string& bgImageConfig)
|
||||
{
|
||||
bgImageConfig_ = bgImageConfig;
|
||||
setParameter("BgImageConfig", bgImageConfig);
|
||||
std::string AddStudioLayoutRequest::getBgImageConfig() const {
|
||||
return bgImageConfig_;
|
||||
}
|
||||
|
||||
long AddStudioLayoutRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddStudioLayoutRequest::setBgImageConfig(const std::string &bgImageConfig) {
|
||||
bgImageConfig_ = bgImageConfig;
|
||||
setParameter(std::string("BgImageConfig"), bgImageConfig);
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddStudioLayoutRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AddStudioLayoutRequest::getCommonConfig()const
|
||||
{
|
||||
return commonConfig_;
|
||||
void AddStudioLayoutRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setCommonConfig(const std::string& commonConfig)
|
||||
{
|
||||
commonConfig_ = commonConfig;
|
||||
setParameter("CommonConfig", commonConfig);
|
||||
std::string AddStudioLayoutRequest::getCommonConfig() const {
|
||||
return commonConfig_;
|
||||
}
|
||||
|
||||
void AddStudioLayoutRequest::setCommonConfig(const std::string &commonConfig) {
|
||||
commonConfig_ = commonConfig;
|
||||
setParameter(std::string("CommonConfig"), commonConfig);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,117 +1,99 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddTrancodeSEIRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddTrancodeSEIRequest;
|
||||
|
||||
AddTrancodeSEIRequest::AddTrancodeSEIRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AddTrancodeSEI")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AddTrancodeSEIRequest::~AddTrancodeSEIRequest()
|
||||
{}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getPattern()const
|
||||
{
|
||||
return pattern_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AddTrancodeSEIRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AddTrancodeSEIRequest;
|
||||
|
||||
AddTrancodeSEIRequest::AddTrancodeSEIRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AddTrancodeSEI") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setPattern(const std::string& pattern)
|
||||
{
|
||||
pattern_ = pattern;
|
||||
setParameter("Pattern", pattern);
|
||||
AddTrancodeSEIRequest::~AddTrancodeSEIRequest() {}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getPattern() const {
|
||||
return pattern_;
|
||||
}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void AddTrancodeSEIRequest::setPattern(const std::string &pattern) {
|
||||
pattern_ = pattern;
|
||||
setParameter(std::string("Pattern"), pattern);
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string AddTrancodeSEIRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
int AddTrancodeSEIRequest::getRepeat()const
|
||||
{
|
||||
return repeat_;
|
||||
void AddTrancodeSEIRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setRepeat(int repeat)
|
||||
{
|
||||
repeat_ = repeat;
|
||||
setParameter("Repeat", std::to_string(repeat));
|
||||
int AddTrancodeSEIRequest::getRepeat() const {
|
||||
return repeat_;
|
||||
}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
void AddTrancodeSEIRequest::setRepeat(int repeat) {
|
||||
repeat_ = repeat;
|
||||
setParameter(std::string("Repeat"), std::to_string(repeat));
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setParameter("Text", text);
|
||||
std::string AddTrancodeSEIRequest::getText() const {
|
||||
return text_;
|
||||
}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void AddTrancodeSEIRequest::setText(const std::string &text) {
|
||||
text_ = text;
|
||||
setParameter(std::string("Text"), text);
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string AddTrancodeSEIRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string AddTrancodeSEIRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void AddTrancodeSEIRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string AddTrancodeSEIRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long AddTrancodeSEIRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void AddTrancodeSEIRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long AddTrancodeSEIRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
int AddTrancodeSEIRequest::getDelay()const
|
||||
{
|
||||
return delay_;
|
||||
void AddTrancodeSEIRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setDelay(int delay)
|
||||
{
|
||||
delay_ = delay;
|
||||
setParameter("Delay", std::to_string(delay));
|
||||
int AddTrancodeSEIRequest::getDelay() const {
|
||||
return delay_;
|
||||
}
|
||||
|
||||
void AddTrancodeSEIRequest::setDelay(int delay) {
|
||||
delay_ = delay;
|
||||
setParameter(std::string("Delay"), std::to_string(delay));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AllowPushStreamRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AllowPushStreamRequest;
|
||||
|
||||
AllowPushStreamRequest::AllowPushStreamRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "AllowPushStream")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
AllowPushStreamRequest::~AllowPushStreamRequest()
|
||||
{}
|
||||
|
||||
long AllowPushStreamRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/AllowPushStreamRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::AllowPushStreamRequest;
|
||||
|
||||
AllowPushStreamRequest::AllowPushStreamRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "AllowPushStream") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void AllowPushStreamRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
AllowPushStreamRequest::~AllowPushStreamRequest() {}
|
||||
|
||||
long AllowPushStreamRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string AllowPushStreamRequest::getRoomId()const
|
||||
{
|
||||
return roomId_;
|
||||
void AllowPushStreamRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void AllowPushStreamRequest::setRoomId(const std::string& roomId)
|
||||
{
|
||||
roomId_ = roomId;
|
||||
setParameter("RoomId", roomId);
|
||||
std::string AllowPushStreamRequest::getRoomId() const {
|
||||
return roomId_;
|
||||
}
|
||||
|
||||
std::string AllowPushStreamRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void AllowPushStreamRequest::setRoomId(const std::string &roomId) {
|
||||
roomId_ = roomId;
|
||||
setParameter(std::string("RoomId"), roomId);
|
||||
}
|
||||
|
||||
void AllowPushStreamRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string AllowPushStreamRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void AllowPushStreamRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::BatchDeleteLiveDomainConfigsRequest;
|
||||
|
||||
BatchDeleteLiveDomainConfigsRequest::BatchDeleteLiveDomainConfigsRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "BatchDeleteLiveDomainConfigs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchDeleteLiveDomainConfigsRequest::~BatchDeleteLiveDomainConfigsRequest()
|
||||
{}
|
||||
|
||||
std::string BatchDeleteLiveDomainConfigsRequest::getFunctionNames()const
|
||||
{
|
||||
return functionNames_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::BatchDeleteLiveDomainConfigsRequest;
|
||||
|
||||
BatchDeleteLiveDomainConfigsRequest::BatchDeleteLiveDomainConfigsRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "BatchDeleteLiveDomainConfigs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BatchDeleteLiveDomainConfigsRequest::setFunctionNames(const std::string& functionNames)
|
||||
{
|
||||
functionNames_ = functionNames;
|
||||
setParameter("FunctionNames", functionNames);
|
||||
BatchDeleteLiveDomainConfigsRequest::~BatchDeleteLiveDomainConfigsRequest() {}
|
||||
|
||||
std::string BatchDeleteLiveDomainConfigsRequest::getFunctionNames() const {
|
||||
return functionNames_;
|
||||
}
|
||||
|
||||
std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
void BatchDeleteLiveDomainConfigsRequest::setFunctionNames(const std::string &functionNames) {
|
||||
functionNames_ = functionNames;
|
||||
setParameter(std::string("FunctionNames"), functionNames);
|
||||
}
|
||||
|
||||
void BatchDeleteLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setParameter("DomainNames", domainNames);
|
||||
std::string BatchDeleteLiveDomainConfigsRequest::getDomainNames() const {
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void BatchDeleteLiveDomainConfigsRequest::setDomainNames(const std::string &domainNames) {
|
||||
domainNames_ = domainNames;
|
||||
setParameter(std::string("DomainNames"), domainNames);
|
||||
}
|
||||
|
||||
void BatchDeleteLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string BatchDeleteLiveDomainConfigsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long BatchDeleteLiveDomainConfigsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void BatchDeleteLiveDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void BatchDeleteLiveDomainConfigsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long BatchDeleteLiveDomainConfigsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void BatchDeleteLiveDomainConfigsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void BatchDeleteLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string BatchDeleteLiveDomainConfigsRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchDeleteLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::BatchSetLiveDomainConfigsRequest;
|
||||
|
||||
BatchSetLiveDomainConfigsRequest::BatchSetLiveDomainConfigsRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "BatchSetLiveDomainConfigs")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
BatchSetLiveDomainConfigsRequest::~BatchSetLiveDomainConfigsRequest()
|
||||
{}
|
||||
|
||||
std::string BatchSetLiveDomainConfigsRequest::getFunctions()const
|
||||
{
|
||||
return functions_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::BatchSetLiveDomainConfigsRequest;
|
||||
|
||||
BatchSetLiveDomainConfigsRequest::BatchSetLiveDomainConfigsRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "BatchSetLiveDomainConfigs") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void BatchSetLiveDomainConfigsRequest::setFunctions(const std::string& functions)
|
||||
{
|
||||
functions_ = functions;
|
||||
setParameter("Functions", functions);
|
||||
BatchSetLiveDomainConfigsRequest::~BatchSetLiveDomainConfigsRequest() {}
|
||||
|
||||
std::string BatchSetLiveDomainConfigsRequest::getFunctions() const {
|
||||
return functions_;
|
||||
}
|
||||
|
||||
std::string BatchSetLiveDomainConfigsRequest::getDomainNames()const
|
||||
{
|
||||
return domainNames_;
|
||||
void BatchSetLiveDomainConfigsRequest::setFunctions(const std::string &functions) {
|
||||
functions_ = functions;
|
||||
setParameter(std::string("Functions"), functions);
|
||||
}
|
||||
|
||||
void BatchSetLiveDomainConfigsRequest::setDomainNames(const std::string& domainNames)
|
||||
{
|
||||
domainNames_ = domainNames;
|
||||
setParameter("DomainNames", domainNames);
|
||||
std::string BatchSetLiveDomainConfigsRequest::getDomainNames() const {
|
||||
return domainNames_;
|
||||
}
|
||||
|
||||
std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
void BatchSetLiveDomainConfigsRequest::setDomainNames(const std::string &domainNames) {
|
||||
domainNames_ = domainNames;
|
||||
setParameter(std::string("DomainNames"), domainNames);
|
||||
}
|
||||
|
||||
void BatchSetLiveDomainConfigsRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
std::string BatchSetLiveDomainConfigsRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
long BatchSetLiveDomainConfigsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void BatchSetLiveDomainConfigsRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void BatchSetLiveDomainConfigsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long BatchSetLiveDomainConfigsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string BatchSetLiveDomainConfigsRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void BatchSetLiveDomainConfigsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void BatchSetLiveDomainConfigsRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string BatchSetLiveDomainConfigsRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void BatchSetLiveDomainConfigsRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CloseLiveShiftRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CloseLiveShiftRequest;
|
||||
|
||||
CloseLiveShiftRequest::CloseLiveShiftRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "CloseLiveShift")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CloseLiveShiftRequest::~CloseLiveShiftRequest()
|
||||
{}
|
||||
|
||||
std::string CloseLiveShiftRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CloseLiveShiftRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CloseLiveShiftRequest;
|
||||
|
||||
CloseLiveShiftRequest::CloseLiveShiftRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CloseLiveShift") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CloseLiveShiftRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
CloseLiveShiftRequest::~CloseLiveShiftRequest() {}
|
||||
|
||||
std::string CloseLiveShiftRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string CloseLiveShiftRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void CloseLiveShiftRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void CloseLiveShiftRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string CloseLiveShiftRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string CloseLiveShiftRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void CloseLiveShiftRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void CloseLiveShiftRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string CloseLiveShiftRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long CloseLiveShiftRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CloseLiveShiftRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void CloseLiveShiftRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CloseLiveShiftRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CloseLiveShiftRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
45
live/src/model/CloseMessageGroupRequest.cc
Normal file
45
live/src/model/CloseMessageGroupRequest.cc
Normal file
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CloseMessageGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CloseMessageGroupRequest;
|
||||
|
||||
CloseMessageGroupRequest::CloseMessageGroupRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CloseMessageGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CloseMessageGroupRequest::~CloseMessageGroupRequest() {}
|
||||
|
||||
std::string CloseMessageGroupRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
void CloseMessageGroupRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setBodyParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
std::string CloseMessageGroupRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CloseMessageGroupRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setBodyParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
52
live/src/model/CloseMessageGroupResult.cc
Normal file
52
live/src/model/CloseMessageGroupResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/CloseMessageGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
CloseMessageGroupResult::CloseMessageGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CloseMessageGroupResult::CloseMessageGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CloseMessageGroupResult::~CloseMessageGroupResult()
|
||||
{}
|
||||
|
||||
void CloseMessageGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["Success"].isNull())
|
||||
result_.success = resultNode["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
CloseMessageGroupResult::Result CloseMessageGroupResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CopyCasterRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CopyCasterRequest;
|
||||
|
||||
CopyCasterRequest::CopyCasterRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "CopyCaster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CopyCasterRequest::~CopyCasterRequest()
|
||||
{}
|
||||
|
||||
std::string CopyCasterRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CopyCasterRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CopyCasterRequest;
|
||||
|
||||
CopyCasterRequest::CopyCasterRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CopyCaster") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CopyCasterRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
CopyCasterRequest::~CopyCasterRequest() {}
|
||||
|
||||
std::string CopyCasterRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CopyCasterRequest::getCasterName()const
|
||||
{
|
||||
return casterName_;
|
||||
void CopyCasterRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CopyCasterRequest::setCasterName(const std::string& casterName)
|
||||
{
|
||||
casterName_ = casterName;
|
||||
setParameter("CasterName", casterName);
|
||||
std::string CopyCasterRequest::getCasterName() const {
|
||||
return casterName_;
|
||||
}
|
||||
|
||||
std::string CopyCasterRequest::getSrcCasterId()const
|
||||
{
|
||||
return srcCasterId_;
|
||||
void CopyCasterRequest::setCasterName(const std::string &casterName) {
|
||||
casterName_ = casterName;
|
||||
setParameter(std::string("CasterName"), casterName);
|
||||
}
|
||||
|
||||
void CopyCasterRequest::setSrcCasterId(const std::string& srcCasterId)
|
||||
{
|
||||
srcCasterId_ = srcCasterId;
|
||||
setParameter("SrcCasterId", srcCasterId);
|
||||
std::string CopyCasterRequest::getSrcCasterId() const {
|
||||
return srcCasterId_;
|
||||
}
|
||||
|
||||
long CopyCasterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CopyCasterRequest::setSrcCasterId(const std::string &srcCasterId) {
|
||||
srcCasterId_ = srcCasterId;
|
||||
setParameter(std::string("SrcCasterId"), srcCasterId);
|
||||
}
|
||||
|
||||
void CopyCasterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CopyCasterRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CopyCasterRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CopyCasterSceneConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CopyCasterSceneConfigRequest;
|
||||
|
||||
CopyCasterSceneConfigRequest::CopyCasterSceneConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "CopyCasterSceneConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CopyCasterSceneConfigRequest::~CopyCasterSceneConfigRequest()
|
||||
{}
|
||||
|
||||
std::string CopyCasterSceneConfigRequest::getFromSceneId()const
|
||||
{
|
||||
return fromSceneId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CopyCasterSceneConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CopyCasterSceneConfigRequest;
|
||||
|
||||
CopyCasterSceneConfigRequest::CopyCasterSceneConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CopyCasterSceneConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CopyCasterSceneConfigRequest::setFromSceneId(const std::string& fromSceneId)
|
||||
{
|
||||
fromSceneId_ = fromSceneId;
|
||||
setParameter("FromSceneId", fromSceneId);
|
||||
CopyCasterSceneConfigRequest::~CopyCasterSceneConfigRequest() {}
|
||||
|
||||
std::string CopyCasterSceneConfigRequest::getFromSceneId() const {
|
||||
return fromSceneId_;
|
||||
}
|
||||
|
||||
std::string CopyCasterSceneConfigRequest::getToSceneId()const
|
||||
{
|
||||
return toSceneId_;
|
||||
void CopyCasterSceneConfigRequest::setFromSceneId(const std::string &fromSceneId) {
|
||||
fromSceneId_ = fromSceneId;
|
||||
setParameter(std::string("FromSceneId"), fromSceneId);
|
||||
}
|
||||
|
||||
void CopyCasterSceneConfigRequest::setToSceneId(const std::string& toSceneId)
|
||||
{
|
||||
toSceneId_ = toSceneId;
|
||||
setParameter("ToSceneId", toSceneId);
|
||||
std::string CopyCasterSceneConfigRequest::getToSceneId() const {
|
||||
return toSceneId_;
|
||||
}
|
||||
|
||||
std::string CopyCasterSceneConfigRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void CopyCasterSceneConfigRequest::setToSceneId(const std::string &toSceneId) {
|
||||
toSceneId_ = toSceneId;
|
||||
setParameter(std::string("ToSceneId"), toSceneId);
|
||||
}
|
||||
|
||||
void CopyCasterSceneConfigRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string CopyCasterSceneConfigRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long CopyCasterSceneConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CopyCasterSceneConfigRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void CopyCasterSceneConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CopyCasterSceneConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CopyCasterSceneConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,128 +1,108 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateCasterRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateCasterRequest;
|
||||
|
||||
CreateCasterRequest::CreateCasterRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "CreateCaster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCasterRequest::~CreateCasterRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCasterRequest::getClientToken()const
|
||||
{
|
||||
return clientToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateCasterRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateCasterRequest;
|
||||
|
||||
CreateCasterRequest::CreateCasterRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CreateCaster") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setClientToken(const std::string& clientToken)
|
||||
{
|
||||
clientToken_ = clientToken;
|
||||
setParameter("ClientToken", clientToken);
|
||||
CreateCasterRequest::~CreateCasterRequest() {}
|
||||
|
||||
std::string CreateCasterRequest::getClientToken() const {
|
||||
return clientToken_;
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getCasterName()const
|
||||
{
|
||||
return casterName_;
|
||||
void CreateCasterRequest::setClientToken(const std::string &clientToken) {
|
||||
clientToken_ = clientToken;
|
||||
setParameter(std::string("ClientToken"), clientToken);
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setCasterName(const std::string& casterName)
|
||||
{
|
||||
casterName_ = casterName;
|
||||
setParameter("CasterName", casterName);
|
||||
std::string CreateCasterRequest::getCasterName() const {
|
||||
return casterName_;
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getCasterTemplate()const
|
||||
{
|
||||
return casterTemplate_;
|
||||
void CreateCasterRequest::setCasterName(const std::string &casterName) {
|
||||
casterName_ = casterName;
|
||||
setParameter(std::string("CasterName"), casterName);
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setCasterTemplate(const std::string& casterTemplate)
|
||||
{
|
||||
casterTemplate_ = casterTemplate;
|
||||
setParameter("CasterTemplate", casterTemplate);
|
||||
std::string CreateCasterRequest::getCasterTemplate() const {
|
||||
return casterTemplate_;
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getExpireTime()const
|
||||
{
|
||||
return expireTime_;
|
||||
void CreateCasterRequest::setCasterTemplate(const std::string &casterTemplate) {
|
||||
casterTemplate_ = casterTemplate;
|
||||
setParameter(std::string("CasterTemplate"), casterTemplate);
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setExpireTime(const std::string& expireTime)
|
||||
{
|
||||
expireTime_ = expireTime;
|
||||
setParameter("ExpireTime", expireTime);
|
||||
std::string CreateCasterRequest::getExpireTime() const {
|
||||
return expireTime_;
|
||||
}
|
||||
|
||||
int CreateCasterRequest::getNormType()const
|
||||
{
|
||||
return normType_;
|
||||
void CreateCasterRequest::setExpireTime(const std::string &expireTime) {
|
||||
expireTime_ = expireTime;
|
||||
setParameter(std::string("ExpireTime"), expireTime);
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setNormType(int normType)
|
||||
{
|
||||
normType_ = normType;
|
||||
setParameter("NormType", std::to_string(normType));
|
||||
int CreateCasterRequest::getNormType() const {
|
||||
return normType_;
|
||||
}
|
||||
|
||||
long CreateCasterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateCasterRequest::setNormType(int normType) {
|
||||
normType_ = normType;
|
||||
setParameter(std::string("NormType"), std::to_string(normType));
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CreateCasterRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getPurchaseTime()const
|
||||
{
|
||||
return purchaseTime_;
|
||||
void CreateCasterRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setPurchaseTime(const std::string& purchaseTime)
|
||||
{
|
||||
purchaseTime_ = purchaseTime;
|
||||
setParameter("PurchaseTime", purchaseTime);
|
||||
std::string CreateCasterRequest::getPurchaseTime() const {
|
||||
return purchaseTime_;
|
||||
}
|
||||
|
||||
int CreateCasterRequest::getMicMode()const
|
||||
{
|
||||
return micMode_;
|
||||
void CreateCasterRequest::setPurchaseTime(const std::string &purchaseTime) {
|
||||
purchaseTime_ = purchaseTime;
|
||||
setParameter(std::string("PurchaseTime"), purchaseTime);
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setMicMode(int micMode)
|
||||
{
|
||||
micMode_ = micMode;
|
||||
setParameter("MicMode", std::to_string(micMode));
|
||||
int CreateCasterRequest::getMicMode() const {
|
||||
return micMode_;
|
||||
}
|
||||
|
||||
std::string CreateCasterRequest::getChargeType()const
|
||||
{
|
||||
return chargeType_;
|
||||
void CreateCasterRequest::setMicMode(int micMode) {
|
||||
micMode_ = micMode;
|
||||
setParameter(std::string("MicMode"), std::to_string(micMode));
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setChargeType(const std::string& chargeType)
|
||||
{
|
||||
chargeType_ = chargeType;
|
||||
setParameter("ChargeType", chargeType);
|
||||
std::string CreateCasterRequest::getChargeType() const {
|
||||
return chargeType_;
|
||||
}
|
||||
|
||||
void CreateCasterRequest::setChargeType(const std::string &chargeType) {
|
||||
chargeType_ = chargeType;
|
||||
setParameter(std::string("ChargeType"), chargeType);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateCustomTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateCustomTemplateRequest;
|
||||
|
||||
CreateCustomTemplateRequest::CreateCustomTemplateRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "CreateCustomTemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateCustomTemplateRequest::~CreateCustomTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string CreateCustomTemplateRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateCustomTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateCustomTemplateRequest;
|
||||
|
||||
CreateCustomTemplateRequest::CreateCustomTemplateRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CreateCustomTemplate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateCustomTemplateRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
CreateCustomTemplateRequest::~CreateCustomTemplateRequest() {}
|
||||
|
||||
std::string CreateCustomTemplateRequest::get_Template() const {
|
||||
return _template_;
|
||||
}
|
||||
|
||||
std::string CreateCustomTemplateRequest::getCustomTemplate()const
|
||||
{
|
||||
return customTemplate_;
|
||||
void CreateCustomTemplateRequest::set_Template(const std::string &_template) {
|
||||
_template_ = _template;
|
||||
setParameter(std::string("Template"), _template);
|
||||
}
|
||||
|
||||
void CreateCustomTemplateRequest::setCustomTemplate(const std::string& customTemplate)
|
||||
{
|
||||
customTemplate_ = customTemplate;
|
||||
setParameter("CustomTemplate", customTemplate);
|
||||
std::string CreateCustomTemplateRequest::getCustomTemplate() const {
|
||||
return customTemplate_;
|
||||
}
|
||||
|
||||
long CreateCustomTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateCustomTemplateRequest::setCustomTemplate(const std::string &customTemplate) {
|
||||
customTemplate_ = customTemplate;
|
||||
setParameter(std::string("CustomTemplate"), customTemplate);
|
||||
}
|
||||
|
||||
void CreateCustomTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CreateCustomTemplateRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateCustomTemplateRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateLiveRealTimeLogDeliveryRequest;
|
||||
|
||||
CreateLiveRealTimeLogDeliveryRequest::CreateLiveRealTimeLogDeliveryRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "CreateLiveRealTimeLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
CreateLiveRealTimeLogDeliveryRequest::~CreateLiveRealTimeLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
std::string CreateLiveRealTimeLogDeliveryRequest::getProject()const
|
||||
{
|
||||
return project_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateLiveRealTimeLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateLiveRealTimeLogDeliveryRequest;
|
||||
|
||||
CreateLiveRealTimeLogDeliveryRequest::CreateLiveRealTimeLogDeliveryRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CreateLiveRealTimeLogDelivery") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setProject(const std::string& project)
|
||||
{
|
||||
project_ = project;
|
||||
setParameter("Project", project);
|
||||
CreateLiveRealTimeLogDeliveryRequest::~CreateLiveRealTimeLogDeliveryRequest() {}
|
||||
|
||||
std::string CreateLiveRealTimeLogDeliveryRequest::getProject() const {
|
||||
return project_;
|
||||
}
|
||||
|
||||
std::string CreateLiveRealTimeLogDeliveryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setProject(const std::string &project) {
|
||||
project_ = project;
|
||||
setParameter(std::string("Project"), project);
|
||||
}
|
||||
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string CreateLiveRealTimeLogDeliveryRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long CreateLiveRealTimeLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CreateLiveRealTimeLogDeliveryRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateLiveRealTimeLogDeliveryRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string CreateLiveRealTimeLogDeliveryRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
std::string CreateLiveRealTimeLogDeliveryRequest::getLogstore()const
|
||||
{
|
||||
return logstore_;
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setLogstore(const std::string& logstore)
|
||||
{
|
||||
logstore_ = logstore;
|
||||
setParameter("Logstore", logstore);
|
||||
std::string CreateLiveRealTimeLogDeliveryRequest::getLogstore() const {
|
||||
return logstore_;
|
||||
}
|
||||
|
||||
void CreateLiveRealTimeLogDeliveryRequest::setLogstore(const std::string &logstore) {
|
||||
logstore_ = logstore;
|
||||
setParameter(std::string("Logstore"), logstore);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,106 +1,90 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateLiveStreamMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateLiveStreamMonitorRequest;
|
||||
|
||||
CreateLiveStreamMonitorRequest::CreateLiveStreamMonitorRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamMonitor")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateLiveStreamMonitorRequest::~CreateLiveStreamMonitorRequest()
|
||||
{}
|
||||
|
||||
std::string CreateLiveStreamMonitorRequest::getMonitorName()const
|
||||
{
|
||||
return monitorName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateLiveStreamMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateLiveStreamMonitorRequest;
|
||||
|
||||
CreateLiveStreamMonitorRequest::CreateLiveStreamMonitorRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamMonitor") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateLiveStreamMonitorRequest::setMonitorName(const std::string& monitorName)
|
||||
{
|
||||
monitorName_ = monitorName;
|
||||
setParameter("MonitorName", monitorName);
|
||||
CreateLiveStreamMonitorRequest::~CreateLiveStreamMonitorRequest() {}
|
||||
|
||||
std::string CreateLiveStreamMonitorRequest::getMonitorName() const {
|
||||
return monitorName_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamMonitorRequest::getStream()const
|
||||
{
|
||||
return stream_;
|
||||
void CreateLiveStreamMonitorRequest::setMonitorName(const std::string &monitorName) {
|
||||
monitorName_ = monitorName;
|
||||
setParameter(std::string("MonitorName"), monitorName);
|
||||
}
|
||||
|
||||
void CreateLiveStreamMonitorRequest::setStream(const std::string& stream)
|
||||
{
|
||||
stream_ = stream;
|
||||
setParameter("Stream", stream);
|
||||
std::string CreateLiveStreamMonitorRequest::getStream() const {
|
||||
return stream_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamMonitorRequest::getOutputTemplate()const
|
||||
{
|
||||
return outputTemplate_;
|
||||
void CreateLiveStreamMonitorRequest::setStream(const std::string &stream) {
|
||||
stream_ = stream;
|
||||
setParameter(std::string("Stream"), stream);
|
||||
}
|
||||
|
||||
void CreateLiveStreamMonitorRequest::setOutputTemplate(const std::string& outputTemplate)
|
||||
{
|
||||
outputTemplate_ = outputTemplate;
|
||||
setParameter("OutputTemplate", outputTemplate);
|
||||
std::string CreateLiveStreamMonitorRequest::getOutputTemplate() const {
|
||||
return outputTemplate_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamMonitorRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
void CreateLiveStreamMonitorRequest::setOutputTemplate(const std::string &outputTemplate) {
|
||||
outputTemplate_ = outputTemplate;
|
||||
setParameter(std::string("OutputTemplate"), outputTemplate);
|
||||
}
|
||||
|
||||
void CreateLiveStreamMonitorRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
std::string CreateLiveStreamMonitorRequest::getApp() const {
|
||||
return app_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamMonitorRequest::getInputList()const
|
||||
{
|
||||
return inputList_;
|
||||
void CreateLiveStreamMonitorRequest::setApp(const std::string &app) {
|
||||
app_ = app;
|
||||
setParameter(std::string("App"), app);
|
||||
}
|
||||
|
||||
void CreateLiveStreamMonitorRequest::setInputList(const std::string& inputList)
|
||||
{
|
||||
inputList_ = inputList;
|
||||
setParameter("InputList", inputList);
|
||||
std::string CreateLiveStreamMonitorRequest::getInputList() const {
|
||||
return inputList_;
|
||||
}
|
||||
|
||||
long CreateLiveStreamMonitorRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateLiveStreamMonitorRequest::setInputList(const std::string &inputList) {
|
||||
inputList_ = inputList;
|
||||
setParameter(std::string("InputList"), inputList);
|
||||
}
|
||||
|
||||
void CreateLiveStreamMonitorRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CreateLiveStreamMonitorRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamMonitorRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
void CreateLiveStreamMonitorRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateLiveStreamMonitorRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
std::string CreateLiveStreamMonitorRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamMonitorRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,139 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateLiveStreamRecordIndexFilesRequest;
|
||||
|
||||
CreateLiveStreamRecordIndexFilesRequest::CreateLiveStreamRecordIndexFilesRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamRecordIndexFiles")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest()
|
||||
{}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint()const
|
||||
{
|
||||
return ossEndpoint_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateLiveStreamRecordIndexFilesRequest;
|
||||
|
||||
CreateLiveStreamRecordIndexFilesRequest::CreateLiveStreamRecordIndexFilesRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CreateLiveStreamRecordIndexFiles") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string& ossEndpoint)
|
||||
{
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter("OssEndpoint", ossEndpoint);
|
||||
CreateLiveStreamRecordIndexFilesRequest::~CreateLiveStreamRecordIndexFilesRequest() {}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getOssEndpoint() const {
|
||||
return ossEndpoint_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime()const
|
||||
{
|
||||
return startTime_;
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOssEndpoint(const std::string &ossEndpoint) {
|
||||
ossEndpoint_ = ossEndpoint;
|
||||
setParameter(std::string("OssEndpoint"), ossEndpoint);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string& startTime)
|
||||
{
|
||||
startTime_ = startTime;
|
||||
setParameter("StartTime", startTime);
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getStartTime() const {
|
||||
return startTime_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject()const
|
||||
{
|
||||
return ossObject_;
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setStartTime(const std::string &startTime) {
|
||||
startTime_ = startTime;
|
||||
setParameter(std::string("StartTime"), startTime);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string& ossObject)
|
||||
{
|
||||
ossObject_ = ossObject;
|
||||
setParameter("OssObject", ossObject);
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getOssObject() const {
|
||||
return ossObject_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOssObject(const std::string &ossObject) {
|
||||
ossObject_ = ossObject;
|
||||
setParameter(std::string("OssObject"), ossObject);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket()const
|
||||
{
|
||||
return ossBucket_;
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string& ossBucket)
|
||||
{
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter("OssBucket", ossBucket);
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getOssBucket() const {
|
||||
return ossBucket_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOssBucket(const std::string &ossBucket) {
|
||||
ossBucket_ = ossBucket;
|
||||
setParameter(std::string("OssBucket"), ossBucket);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime()const
|
||||
{
|
||||
return endTime_;
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string& endTime)
|
||||
{
|
||||
endTime_ = endTime;
|
||||
setParameter("EndTime", endTime);
|
||||
std::string CreateLiveStreamRecordIndexFilesRequest::getEndTime() const {
|
||||
return endTime_;
|
||||
}
|
||||
|
||||
long CreateLiveStreamRecordIndexFilesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setEndTime(const std::string &endTime) {
|
||||
endTime_ = endTime;
|
||||
setParameter(std::string("EndTime"), endTime);
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CreateLiveStreamRecordIndexFilesRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
63
live/src/model/CreateLiveTranscodeTemplateRequest.cc
Normal file
63
live/src/model/CreateLiveTranscodeTemplateRequest.cc
Normal file
@@ -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 <alibabacloud/live/model/CreateLiveTranscodeTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateLiveTranscodeTemplateRequest;
|
||||
|
||||
CreateLiveTranscodeTemplateRequest::CreateLiveTranscodeTemplateRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CreateLiveTranscodeTemplate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateLiveTranscodeTemplateRequest::~CreateLiveTranscodeTemplateRequest() {}
|
||||
|
||||
std::string CreateLiveTranscodeTemplateRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
void CreateLiveTranscodeTemplateRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
std::string CreateLiveTranscodeTemplateRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void CreateLiveTranscodeTemplateRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
std::string CreateLiveTranscodeTemplateRequest::getTemplateConfig() const {
|
||||
return templateConfig_;
|
||||
}
|
||||
|
||||
void CreateLiveTranscodeTemplateRequest::setTemplateConfig(const std::string &templateConfig) {
|
||||
templateConfig_ = templateConfig;
|
||||
setParameter(std::string("TemplateConfig"), templateConfig);
|
||||
}
|
||||
|
||||
long CreateLiveTranscodeTemplateRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void CreateLiveTranscodeTemplateRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
51
live/src/model/CreateLiveTranscodeTemplateResult.cc
Normal file
51
live/src/model/CreateLiveTranscodeTemplateResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateLiveTranscodeTemplateResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
CreateLiveTranscodeTemplateResult::CreateLiveTranscodeTemplateResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateLiveTranscodeTemplateResult::CreateLiveTranscodeTemplateResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateLiveTranscodeTemplateResult::~CreateLiveTranscodeTemplateResult()
|
||||
{}
|
||||
|
||||
void CreateLiveTranscodeTemplateResult::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();
|
||||
|
||||
}
|
||||
|
||||
std::string CreateLiveTranscodeTemplateResult::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
49
live/src/model/CreateMessageAppRequest.cc
Normal file
49
live/src/model/CreateMessageAppRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateMessageAppRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateMessageAppRequest;
|
||||
|
||||
CreateMessageAppRequest::CreateMessageAppRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CreateMessageApp") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateMessageAppRequest::~CreateMessageAppRequest() {}
|
||||
|
||||
std::map<std::string, std::string> CreateMessageAppRequest::getExtension() const {
|
||||
return extension_;
|
||||
}
|
||||
|
||||
void CreateMessageAppRequest::setExtension(const std::map<std::string, std::string> &extension) {
|
||||
extension_ = extension;
|
||||
for(auto const &iter1 : extension) {
|
||||
setBodyParameter(std::string("Extension") + "." + iter1.first, iter1.second);
|
||||
}
|
||||
}
|
||||
|
||||
std::map<std::string, std::string> CreateMessageAppRequest::getAppConfig() const {
|
||||
return appConfig_;
|
||||
}
|
||||
|
||||
void CreateMessageAppRequest::setAppConfig(const std::map<std::string, std::string> &appConfig) {
|
||||
appConfig_ = appConfig;
|
||||
for(auto const &iter1 : appConfig) {
|
||||
setBodyParameter(std::string("AppConfig") + "." + iter1.first, iter1.second);
|
||||
}
|
||||
}
|
||||
|
||||
52
live/src/model/CreateMessageAppResult.cc
Normal file
52
live/src/model/CreateMessageAppResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/CreateMessageAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
CreateMessageAppResult::CreateMessageAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateMessageAppResult::CreateMessageAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateMessageAppResult::~CreateMessageAppResult()
|
||||
{}
|
||||
|
||||
void CreateMessageAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["AppId"].isNull())
|
||||
result_.appId = resultNode["AppId"].asString();
|
||||
|
||||
}
|
||||
|
||||
CreateMessageAppResult::Result CreateMessageAppResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
56
live/src/model/CreateMessageGroupRequest.cc
Normal file
56
live/src/model/CreateMessageGroupRequest.cc
Normal file
@@ -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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateMessageGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateMessageGroupRequest;
|
||||
|
||||
CreateMessageGroupRequest::CreateMessageGroupRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CreateMessageGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateMessageGroupRequest::~CreateMessageGroupRequest() {}
|
||||
|
||||
std::map<std::string, std::string> CreateMessageGroupRequest::getExtension() const {
|
||||
return extension_;
|
||||
}
|
||||
|
||||
void CreateMessageGroupRequest::setExtension(const std::map<std::string, std::string> &extension) {
|
||||
extension_ = extension;
|
||||
for(auto const &iter1 : extension) {
|
||||
setBodyParameter(std::string("Extension") + "." + iter1.first, iter1.second);
|
||||
}
|
||||
}
|
||||
|
||||
std::string CreateMessageGroupRequest::getCreatorId() const {
|
||||
return creatorId_;
|
||||
}
|
||||
|
||||
void CreateMessageGroupRequest::setCreatorId(const std::string &creatorId) {
|
||||
creatorId_ = creatorId;
|
||||
setBodyParameter(std::string("CreatorId"), creatorId);
|
||||
}
|
||||
|
||||
std::string CreateMessageGroupRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void CreateMessageGroupRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setBodyParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
@@ -14,45 +14,41 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeLiveUserQuotaResult.h>
|
||||
#include <alibabacloud/live/model/CreateMessageGroupResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DescribeLiveUserQuotaResult::DescribeLiveUserQuotaResult() :
|
||||
CreateMessageGroupResult::CreateMessageGroupResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DescribeLiveUserQuotaResult::DescribeLiveUserQuotaResult(const std::string &payload) :
|
||||
CreateMessageGroupResult::CreateMessageGroupResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DescribeLiveUserQuotaResult::~DescribeLiveUserQuotaResult()
|
||||
CreateMessageGroupResult::~CreateMessageGroupResult()
|
||||
{}
|
||||
|
||||
void DescribeLiveUserQuotaResult::parse(const std::string &payload)
|
||||
void CreateMessageGroupResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["DomainQuota"].isNull())
|
||||
domainQuota_ = std::stoi(value["DomainQuota"].asString());
|
||||
if(!value["DomainUsedCount"].isNull())
|
||||
domainUsedCount_ = value["DomainUsedCount"].asString();
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["GroupId"].isNull())
|
||||
result_.groupId = resultNode["GroupId"].asString();
|
||||
if(!resultNode["Extension"].isNull())
|
||||
result_.extension = resultNode["Extension"].asString();
|
||||
|
||||
}
|
||||
|
||||
int DescribeLiveUserQuotaResult::getDomainQuota()const
|
||||
CreateMessageGroupResult::Result CreateMessageGroupResult::getResult()const
|
||||
{
|
||||
return domainQuota_;
|
||||
}
|
||||
|
||||
std::string DescribeLiveUserQuotaResult::getDomainUsedCount()const
|
||||
{
|
||||
return domainUsedCount_;
|
||||
return result_;
|
||||
}
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateMixStreamRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateMixStreamRequest;
|
||||
|
||||
CreateMixStreamRequest::CreateMixStreamRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "CreateMixStream")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateMixStreamRequest::~CreateMixStreamRequest()
|
||||
{}
|
||||
|
||||
std::string CreateMixStreamRequest::getOutputConfig()const
|
||||
{
|
||||
return outputConfig_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/CreateMixStreamRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::CreateMixStreamRequest;
|
||||
|
||||
CreateMixStreamRequest::CreateMixStreamRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "CreateMixStream") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void CreateMixStreamRequest::setOutputConfig(const std::string& outputConfig)
|
||||
{
|
||||
outputConfig_ = outputConfig;
|
||||
setParameter("OutputConfig", outputConfig);
|
||||
CreateMixStreamRequest::~CreateMixStreamRequest() {}
|
||||
|
||||
std::string CreateMixStreamRequest::getOutputConfig() const {
|
||||
return outputConfig_;
|
||||
}
|
||||
|
||||
std::string CreateMixStreamRequest::getLayoutId()const
|
||||
{
|
||||
return layoutId_;
|
||||
void CreateMixStreamRequest::setOutputConfig(const std::string &outputConfig) {
|
||||
outputConfig_ = outputConfig;
|
||||
setParameter(std::string("OutputConfig"), outputConfig);
|
||||
}
|
||||
|
||||
void CreateMixStreamRequest::setLayoutId(const std::string& layoutId)
|
||||
{
|
||||
layoutId_ = layoutId;
|
||||
setParameter("LayoutId", layoutId);
|
||||
std::string CreateMixStreamRequest::getLayoutId() const {
|
||||
return layoutId_;
|
||||
}
|
||||
|
||||
std::string CreateMixStreamRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void CreateMixStreamRequest::setLayoutId(const std::string &layoutId) {
|
||||
layoutId_ = layoutId;
|
||||
setParameter(std::string("LayoutId"), layoutId);
|
||||
}
|
||||
|
||||
void CreateMixStreamRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string CreateMixStreamRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
std::string CreateMixStreamRequest::getInputStreamList()const
|
||||
{
|
||||
return inputStreamList_;
|
||||
void CreateMixStreamRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void CreateMixStreamRequest::setInputStreamList(const std::string& inputStreamList)
|
||||
{
|
||||
inputStreamList_ = inputStreamList;
|
||||
setParameter("InputStreamList", inputStreamList);
|
||||
std::string CreateMixStreamRequest::getInputStreamList() const {
|
||||
return inputStreamList_;
|
||||
}
|
||||
|
||||
long CreateMixStreamRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void CreateMixStreamRequest::setInputStreamList(const std::string &inputStreamList) {
|
||||
inputStreamList_ = inputStreamList;
|
||||
setParameter(std::string("InputStreamList"), inputStreamList);
|
||||
}
|
||||
|
||||
void CreateMixStreamRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long CreateMixStreamRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string CreateMixStreamRequest::getCallbackConfig()const
|
||||
{
|
||||
return callbackConfig_;
|
||||
void CreateMixStreamRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void CreateMixStreamRequest::setCallbackConfig(const std::string& callbackConfig)
|
||||
{
|
||||
callbackConfig_ = callbackConfig;
|
||||
setParameter("CallbackConfig", callbackConfig);
|
||||
std::string CreateMixStreamRequest::getCallbackConfig() const {
|
||||
return callbackConfig_;
|
||||
}
|
||||
|
||||
void CreateMixStreamRequest::setCallbackConfig(const std::string &callbackConfig) {
|
||||
callbackConfig_ = callbackConfig;
|
||||
setParameter(std::string("CallbackConfig"), callbackConfig);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterComponentRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterComponentRequest;
|
||||
|
||||
DeleteCasterComponentRequest::DeleteCasterComponentRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterComponent")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCasterComponentRequest::~DeleteCasterComponentRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterComponentRequest::getComponentId()const
|
||||
{
|
||||
return componentId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterComponentRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterComponentRequest;
|
||||
|
||||
DeleteCasterComponentRequest::DeleteCasterComponentRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteCasterComponent") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCasterComponentRequest::setComponentId(const std::string& componentId)
|
||||
{
|
||||
componentId_ = componentId;
|
||||
setParameter("ComponentId", componentId);
|
||||
DeleteCasterComponentRequest::~DeleteCasterComponentRequest() {}
|
||||
|
||||
std::string DeleteCasterComponentRequest::getComponentId() const {
|
||||
return componentId_;
|
||||
}
|
||||
|
||||
std::string DeleteCasterComponentRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void DeleteCasterComponentRequest::setComponentId(const std::string &componentId) {
|
||||
componentId_ = componentId;
|
||||
setParameter(std::string("ComponentId"), componentId);
|
||||
}
|
||||
|
||||
void DeleteCasterComponentRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string DeleteCasterComponentRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long DeleteCasterComponentRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteCasterComponentRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void DeleteCasterComponentRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteCasterComponentRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterComponentRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterEpisodeGroupRequest;
|
||||
|
||||
DeleteCasterEpisodeGroupRequest::DeleteCasterEpisodeGroupRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisodeGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCasterEpisodeGroupRequest::~DeleteCasterEpisodeGroupRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterEpisodeGroupRequest::getProgramId()const
|
||||
{
|
||||
return programId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterEpisodeGroupRequest;
|
||||
|
||||
DeleteCasterEpisodeGroupRequest::DeleteCasterEpisodeGroupRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisodeGroup") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeGroupRequest::setProgramId(const std::string& programId)
|
||||
{
|
||||
programId_ = programId;
|
||||
setParameter("ProgramId", programId);
|
||||
DeleteCasterEpisodeGroupRequest::~DeleteCasterEpisodeGroupRequest() {}
|
||||
|
||||
std::string DeleteCasterEpisodeGroupRequest::getProgramId() const {
|
||||
return programId_;
|
||||
}
|
||||
|
||||
long DeleteCasterEpisodeGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteCasterEpisodeGroupRequest::setProgramId(const std::string &programId) {
|
||||
programId_ = programId;
|
||||
setParameter(std::string("ProgramId"), programId);
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteCasterEpisodeGroupRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeGroupRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterEpisodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterEpisodeRequest;
|
||||
|
||||
DeleteCasterEpisodeRequest::DeleteCasterEpisodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCasterEpisodeRequest::~DeleteCasterEpisodeRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterEpisodeRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterEpisodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterEpisodeRequest;
|
||||
|
||||
DeleteCasterEpisodeRequest::DeleteCasterEpisodeRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteCasterEpisode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
DeleteCasterEpisodeRequest::~DeleteCasterEpisodeRequest() {}
|
||||
|
||||
std::string DeleteCasterEpisodeRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long DeleteCasterEpisodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteCasterEpisodeRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteCasterEpisodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteCasterEpisodeRequest::getEpisodeId()const
|
||||
{
|
||||
return episodeId_;
|
||||
void DeleteCasterEpisodeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeRequest::setEpisodeId(const std::string& episodeId)
|
||||
{
|
||||
episodeId_ = episodeId;
|
||||
setParameter("EpisodeId", episodeId);
|
||||
std::string DeleteCasterEpisodeRequest::getEpisodeId() const {
|
||||
return episodeId_;
|
||||
}
|
||||
|
||||
void DeleteCasterEpisodeRequest::setEpisodeId(const std::string &episodeId) {
|
||||
episodeId_ = episodeId;
|
||||
setParameter(std::string("EpisodeId"), episodeId);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ void DeleteCasterEpisodeResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
if(!value["EpisodeId"].isNull())
|
||||
episodeId_ = value["EpisodeId"].asString();
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterLayoutRequest;
|
||||
|
||||
DeleteCasterLayoutRequest::DeleteCasterLayoutRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterLayout")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCasterLayoutRequest::~DeleteCasterLayoutRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterLayoutRequest::getLayoutId()const
|
||||
{
|
||||
return layoutId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterLayoutRequest;
|
||||
|
||||
DeleteCasterLayoutRequest::DeleteCasterLayoutRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteCasterLayout") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCasterLayoutRequest::setLayoutId(const std::string& layoutId)
|
||||
{
|
||||
layoutId_ = layoutId;
|
||||
setParameter("LayoutId", layoutId);
|
||||
DeleteCasterLayoutRequest::~DeleteCasterLayoutRequest() {}
|
||||
|
||||
std::string DeleteCasterLayoutRequest::getLayoutId() const {
|
||||
return layoutId_;
|
||||
}
|
||||
|
||||
std::string DeleteCasterLayoutRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void DeleteCasterLayoutRequest::setLayoutId(const std::string &layoutId) {
|
||||
layoutId_ = layoutId;
|
||||
setParameter(std::string("LayoutId"), layoutId);
|
||||
}
|
||||
|
||||
void DeleteCasterLayoutRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string DeleteCasterLayoutRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long DeleteCasterLayoutRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteCasterLayoutRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void DeleteCasterLayoutRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteCasterLayoutRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterLayoutRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ void DeleteCasterLayoutResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
if(!value["LayoutId"].isNull())
|
||||
layoutId_ = value["LayoutId"].asString();
|
||||
if(!value["CasterId"].isNull())
|
||||
casterId_ = value["CasterId"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterProgramRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterProgramRequest;
|
||||
|
||||
DeleteCasterProgramRequest::DeleteCasterProgramRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterProgram")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCasterProgramRequest::~DeleteCasterProgramRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterProgramRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterProgramRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterProgramRequest;
|
||||
|
||||
DeleteCasterProgramRequest::DeleteCasterProgramRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteCasterProgram") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCasterProgramRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
DeleteCasterProgramRequest::~DeleteCasterProgramRequest() {}
|
||||
|
||||
std::string DeleteCasterProgramRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long DeleteCasterProgramRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteCasterProgramRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void DeleteCasterProgramRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteCasterProgramRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterProgramRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterRequest;
|
||||
|
||||
DeleteCasterRequest::DeleteCasterRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCaster")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCasterRequest::~DeleteCasterRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterRequest;
|
||||
|
||||
DeleteCasterRequest::DeleteCasterRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteCaster") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCasterRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
DeleteCasterRequest::~DeleteCasterRequest() {}
|
||||
|
||||
std::string DeleteCasterRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long DeleteCasterRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteCasterRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void DeleteCasterRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteCasterRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterSceneConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterSceneConfigRequest;
|
||||
|
||||
DeleteCasterSceneConfigRequest::DeleteCasterSceneConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterSceneConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCasterSceneConfigRequest::~DeleteCasterSceneConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterSceneConfigRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterSceneConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterSceneConfigRequest;
|
||||
|
||||
DeleteCasterSceneConfigRequest::DeleteCasterSceneConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteCasterSceneConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCasterSceneConfigRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
DeleteCasterSceneConfigRequest::~DeleteCasterSceneConfigRequest() {}
|
||||
|
||||
std::string DeleteCasterSceneConfigRequest::getType() const {
|
||||
return type_;
|
||||
}
|
||||
|
||||
std::string DeleteCasterSceneConfigRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void DeleteCasterSceneConfigRequest::setType(const std::string &type) {
|
||||
type_ = type;
|
||||
setParameter(std::string("Type"), type);
|
||||
}
|
||||
|
||||
void DeleteCasterSceneConfigRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string DeleteCasterSceneConfigRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long DeleteCasterSceneConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteCasterSceneConfigRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void DeleteCasterSceneConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteCasterSceneConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteCasterSceneConfigRequest::getSceneId()const
|
||||
{
|
||||
return sceneId_;
|
||||
void DeleteCasterSceneConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteCasterSceneConfigRequest::setSceneId(const std::string& sceneId)
|
||||
{
|
||||
sceneId_ = sceneId;
|
||||
setParameter("SceneId", sceneId);
|
||||
std::string DeleteCasterSceneConfigRequest::getSceneId() const {
|
||||
return sceneId_;
|
||||
}
|
||||
|
||||
void DeleteCasterSceneConfigRequest::setSceneId(const std::string &sceneId) {
|
||||
sceneId_ = sceneId;
|
||||
setParameter(std::string("SceneId"), sceneId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterVideoResourceRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterVideoResourceRequest;
|
||||
|
||||
DeleteCasterVideoResourceRequest::DeleteCasterVideoResourceRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCasterVideoResource")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCasterVideoResourceRequest::~DeleteCasterVideoResourceRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCasterVideoResourceRequest::getResourceId()const
|
||||
{
|
||||
return resourceId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCasterVideoResourceRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCasterVideoResourceRequest;
|
||||
|
||||
DeleteCasterVideoResourceRequest::DeleteCasterVideoResourceRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteCasterVideoResource") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCasterVideoResourceRequest::setResourceId(const std::string& resourceId)
|
||||
{
|
||||
resourceId_ = resourceId;
|
||||
setParameter("ResourceId", resourceId);
|
||||
DeleteCasterVideoResourceRequest::~DeleteCasterVideoResourceRequest() {}
|
||||
|
||||
std::string DeleteCasterVideoResourceRequest::getResourceId() const {
|
||||
return resourceId_;
|
||||
}
|
||||
|
||||
std::string DeleteCasterVideoResourceRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void DeleteCasterVideoResourceRequest::setResourceId(const std::string &resourceId) {
|
||||
resourceId_ = resourceId;
|
||||
setParameter(std::string("ResourceId"), resourceId);
|
||||
}
|
||||
|
||||
void DeleteCasterVideoResourceRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string DeleteCasterVideoResourceRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long DeleteCasterVideoResourceRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteCasterVideoResourceRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void DeleteCasterVideoResourceRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteCasterVideoResourceRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCasterVideoResourceRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCustomTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCustomTemplateRequest;
|
||||
|
||||
DeleteCustomTemplateRequest::DeleteCustomTemplateRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteCustomTemplate")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteCustomTemplateRequest::~DeleteCustomTemplateRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteCustomTemplateRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteCustomTemplateRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteCustomTemplateRequest;
|
||||
|
||||
DeleteCustomTemplateRequest::DeleteCustomTemplateRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteCustomTemplate") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteCustomTemplateRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
DeleteCustomTemplateRequest::~DeleteCustomTemplateRequest() {}
|
||||
|
||||
std::string DeleteCustomTemplateRequest::get_Template() const {
|
||||
return _template_;
|
||||
}
|
||||
|
||||
long DeleteCustomTemplateRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteCustomTemplateRequest::set_Template(const std::string &_template) {
|
||||
_template_ = _template;
|
||||
setParameter(std::string("Template"), _template);
|
||||
}
|
||||
|
||||
void DeleteCustomTemplateRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteCustomTemplateRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteCustomTemplateRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveAppRecordConfigRequest;
|
||||
|
||||
DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppRecordConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveAppRecordConfigRequest;
|
||||
|
||||
DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppRecordConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DeleteLiveAppRecordConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DeleteLiveAppRecordConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string DeleteLiveAppRecordConfigRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveAppRecordConfigRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveAppRecordConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveAppRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveAppRecordConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveAppSnapshotConfigRequest;
|
||||
|
||||
DeleteLiveAppSnapshotConfigRequest::DeleteLiveAppSnapshotConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppSnapshotConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveAppSnapshotConfigRequest;
|
||||
|
||||
DeleteLiveAppSnapshotConfigRequest::DeleteLiveAppSnapshotConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveAppSnapshotConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveAppSnapshotConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveAudioAuditConfigRequest;
|
||||
|
||||
DeleteLiveAudioAuditConfigRequest::DeleteLiveAudioAuditConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveAudioAuditConfigRequest::~DeleteLiveAudioAuditConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAudioAuditConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveAudioAuditConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveAudioAuditConfigRequest;
|
||||
|
||||
DeleteLiveAudioAuditConfigRequest::DeleteLiveAudioAuditConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveAudioAuditConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
DeleteLiveAudioAuditConfigRequest::~DeleteLiveAudioAuditConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveAudioAuditConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveAudioAuditConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void DeleteLiveAudioAuditConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void DeleteLiveAudioAuditConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string DeleteLiveAudioAuditConfigRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveAudioAuditConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveAudioAuditConfigRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void DeleteLiveAudioAuditConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveAudioAuditConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveAudioAuditConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveAudioAuditConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveAudioAuditConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveAudioAuditConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAudioAuditConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveAudioAuditNotifyConfigRequest;
|
||||
|
||||
DeleteLiveAudioAuditNotifyConfigRequest::DeleteLiveAudioAuditNotifyConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditNotifyConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveAudioAuditNotifyConfigRequest::~DeleteLiveAudioAuditNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAudioAuditNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveAudioAuditNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveAudioAuditNotifyConfigRequest;
|
||||
|
||||
DeleteLiveAudioAuditNotifyConfigRequest::DeleteLiveAudioAuditNotifyConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveAudioAuditNotifyConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DeleteLiveAudioAuditNotifyConfigRequest::~DeleteLiveAudioAuditNotifyConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveAudioAuditNotifyConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveAudioAuditNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveAudioAuditNotifyConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveAudioAuditNotifyConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAudioAuditNotifyConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveDetectNotifyConfigRequest;
|
||||
|
||||
DeleteLiveDetectNotifyConfigRequest::DeleteLiveDetectNotifyConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveDetectNotifyConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveDetectNotifyConfigRequest::~DeleteLiveDetectNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveDetectNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveDetectNotifyConfigRequest;
|
||||
|
||||
DeleteLiveDetectNotifyConfigRequest::DeleteLiveDetectNotifyConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveDetectNotifyConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveDetectNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
DeleteLiveDetectNotifyConfigRequest::~DeleteLiveDetectNotifyConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveDetectNotifyConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveDetectNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveDetectNotifyConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DeleteLiveDetectNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveDetectNotifyConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveDetectNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveDetectNotifyConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveDetectNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveDetectNotifyConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveDetectNotifyConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveDomainMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveDomainMappingRequest;
|
||||
|
||||
DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainMapping")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveDomainMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveDomainMappingRequest;
|
||||
|
||||
DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainMapping") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest() {}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getPushDomain()const
|
||||
{
|
||||
return pushDomain_;
|
||||
void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain)
|
||||
{
|
||||
pushDomain_ = pushDomain;
|
||||
setParameter("PushDomain", pushDomain);
|
||||
std::string DeleteLiveDomainMappingRequest::getPushDomain() const {
|
||||
return pushDomain_;
|
||||
}
|
||||
|
||||
long DeleteLiveDomainMappingRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveDomainMappingRequest::setPushDomain(const std::string &pushDomain) {
|
||||
pushDomain_ = pushDomain;
|
||||
setParameter(std::string("PushDomain"), pushDomain);
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveDomainMappingRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getPullDomain()const
|
||||
{
|
||||
return pullDomain_;
|
||||
void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain)
|
||||
{
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter("PullDomain", pullDomain);
|
||||
std::string DeleteLiveDomainMappingRequest::getPullDomain() const {
|
||||
return pullDomain_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setPullDomain(const std::string &pullDomain) {
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter(std::string("PullDomain"), pullDomain);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveDomainPlayMappingRequest;
|
||||
|
||||
DeleteLiveDomainPlayMappingRequest::DeleteLiveDomainPlayMappingRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainPlayMapping")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveDomainPlayMappingRequest::~DeleteLiveDomainPlayMappingRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveDomainPlayMappingRequest::getPlayDomain()const
|
||||
{
|
||||
return playDomain_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveDomainPlayMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveDomainPlayMappingRequest;
|
||||
|
||||
DeleteLiveDomainPlayMappingRequest::DeleteLiveDomainPlayMappingRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomainPlayMapping") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveDomainPlayMappingRequest::setPlayDomain(const std::string& playDomain)
|
||||
{
|
||||
playDomain_ = playDomain;
|
||||
setParameter("PlayDomain", playDomain);
|
||||
DeleteLiveDomainPlayMappingRequest::~DeleteLiveDomainPlayMappingRequest() {}
|
||||
|
||||
std::string DeleteLiveDomainPlayMappingRequest::getPlayDomain() const {
|
||||
return playDomain_;
|
||||
}
|
||||
|
||||
long DeleteLiveDomainPlayMappingRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveDomainPlayMappingRequest::setPlayDomain(const std::string &playDomain) {
|
||||
playDomain_ = playDomain;
|
||||
setParameter(std::string("PlayDomain"), playDomain);
|
||||
}
|
||||
|
||||
void DeleteLiveDomainPlayMappingRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveDomainPlayMappingRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainPlayMappingRequest::getPullDomain()const
|
||||
{
|
||||
return pullDomain_;
|
||||
void DeleteLiveDomainPlayMappingRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveDomainPlayMappingRequest::setPullDomain(const std::string& pullDomain)
|
||||
{
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter("PullDomain", pullDomain);
|
||||
std::string DeleteLiveDomainPlayMappingRequest::getPullDomain() const {
|
||||
return pullDomain_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainPlayMappingRequest::setPullDomain(const std::string &pullDomain) {
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter(std::string("PullDomain"), pullDomain);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveDomainRequest;
|
||||
|
||||
DeleteLiveDomainRequest::DeleteLiveDomainRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomain")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveDomainRequest::~DeleteLiveDomainRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveDomainRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveDomainRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveDomainRequest;
|
||||
|
||||
DeleteLiveDomainRequest::DeleteLiveDomainRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveDomain") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveDomainRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
DeleteLiveDomainRequest::~DeleteLiveDomainRequest() {}
|
||||
|
||||
std::string DeleteLiveDomainRequest::getOwnerAccount() const {
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveDomainRequest::setOwnerAccount(const std::string &ownerAccount) {
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter(std::string("OwnerAccount"), ownerAccount);
|
||||
}
|
||||
|
||||
void DeleteLiveDomainRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveDomainRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveDomainRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveDomainRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveDomainRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveDomainRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DeleteLiveDomainRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveDomainRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DeleteLiveDomainRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveEdgeTransferRequest;
|
||||
|
||||
DeleteLiveEdgeTransferRequest::DeleteLiveEdgeTransferRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveEdgeTransfer")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveEdgeTransferRequest::~DeleteLiveEdgeTransferRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveEdgeTransferRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveEdgeTransferRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveEdgeTransferRequest;
|
||||
|
||||
DeleteLiveEdgeTransferRequest::DeleteLiveEdgeTransferRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveEdgeTransfer") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveEdgeTransferRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DeleteLiveEdgeTransferRequest::~DeleteLiveEdgeTransferRequest() {}
|
||||
|
||||
std::string DeleteLiveEdgeTransferRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveEdgeTransferRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveEdgeTransferRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveEdgeTransferRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveEdgeTransferRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveEdgeTransferRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveLazyPullStreamInfoConfigRequest;
|
||||
|
||||
DeleteLiveLazyPullStreamInfoConfigRequest::DeleteLiveLazyPullStreamInfoConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveLazyPullStreamInfoConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveLazyPullStreamInfoConfigRequest::~DeleteLiveLazyPullStreamInfoConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveLazyPullStreamInfoConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveLazyPullStreamInfoConfigRequest;
|
||||
|
||||
DeleteLiveLazyPullStreamInfoConfigRequest::DeleteLiveLazyPullStreamInfoConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveLazyPullStreamInfoConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DeleteLiveLazyPullStreamInfoConfigRequest::~DeleteLiveLazyPullStreamInfoConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveLazyPullStreamInfoConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveLazyPullStreamInfoConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveLazyPullStreamInfoConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void DeleteLiveLazyPullStreamInfoConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string DeleteLiveLazyPullStreamInfoConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveLazyPullStreamInfoConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLivePullStreamInfoConfigRequest;
|
||||
|
||||
DeleteLivePullStreamInfoConfigRequest::DeleteLivePullStreamInfoConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLivePullStreamInfoConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLivePullStreamInfoConfigRequest::~DeleteLivePullStreamInfoConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLivePullStreamInfoConfigRequest;
|
||||
|
||||
DeleteLivePullStreamInfoConfigRequest::DeleteLivePullStreamInfoConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLivePullStreamInfoConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
DeleteLivePullStreamInfoConfigRequest::~DeleteLivePullStreamInfoConfigRequest() {}
|
||||
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void DeleteLivePullStreamInfoConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLivePullStreamInfoConfigRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLivePullStreamInfoConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLivePullStreamInfoConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLivePullStreamInfoConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLivePullStreamInfoConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLivePullStreamInfoConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveRealTimeLogLogstoreRequest;
|
||||
|
||||
DeleteLiveRealTimeLogLogstoreRequest::DeleteLiveRealTimeLogLogstoreRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealTimeLogLogstore")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DeleteLiveRealTimeLogLogstoreRequest::~DeleteLiveRealTimeLogLogstoreRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveRealTimeLogLogstoreRequest::getProject()const
|
||||
{
|
||||
return project_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveRealTimeLogLogstoreRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveRealTimeLogLogstoreRequest;
|
||||
|
||||
DeleteLiveRealTimeLogLogstoreRequest::DeleteLiveRealTimeLogLogstoreRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealTimeLogLogstore") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
void DeleteLiveRealTimeLogLogstoreRequest::setProject(const std::string& project)
|
||||
{
|
||||
project_ = project;
|
||||
setParameter("Project", project);
|
||||
DeleteLiveRealTimeLogLogstoreRequest::~DeleteLiveRealTimeLogLogstoreRequest() {}
|
||||
|
||||
std::string DeleteLiveRealTimeLogLogstoreRequest::getProject() const {
|
||||
return project_;
|
||||
}
|
||||
|
||||
long DeleteLiveRealTimeLogLogstoreRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveRealTimeLogLogstoreRequest::setProject(const std::string &project) {
|
||||
project_ = project;
|
||||
setParameter(std::string("Project"), project);
|
||||
}
|
||||
|
||||
void DeleteLiveRealTimeLogLogstoreRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveRealTimeLogLogstoreRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveRealTimeLogLogstoreRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void DeleteLiveRealTimeLogLogstoreRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveRealTimeLogLogstoreRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string DeleteLiveRealTimeLogLogstoreRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveRealTimeLogLogstoreRequest::getLogstore()const
|
||||
{
|
||||
return logstore_;
|
||||
void DeleteLiveRealTimeLogLogstoreRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
void DeleteLiveRealTimeLogLogstoreRequest::setLogstore(const std::string& logstore)
|
||||
{
|
||||
logstore_ = logstore;
|
||||
setParameter("Logstore", logstore);
|
||||
std::string DeleteLiveRealTimeLogLogstoreRequest::getLogstore() const {
|
||||
return logstore_;
|
||||
}
|
||||
|
||||
void DeleteLiveRealTimeLogLogstoreRequest::setLogstore(const std::string &logstore) {
|
||||
logstore_ = logstore;
|
||||
setParameter(std::string("Logstore"), logstore);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveRealtimeLogDeliveryRequest;
|
||||
|
||||
DeleteLiveRealtimeLogDeliveryRequest::DeleteLiveRealtimeLogDeliveryRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealtimeLogDelivery")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
DeleteLiveRealtimeLogDeliveryRequest::~DeleteLiveRealtimeLogDeliveryRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveRealtimeLogDeliveryRequest::getProject()const
|
||||
{
|
||||
return project_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveRealtimeLogDeliveryRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveRealtimeLogDeliveryRequest;
|
||||
|
||||
DeleteLiveRealtimeLogDeliveryRequest::DeleteLiveRealtimeLogDeliveryRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveRealtimeLogDelivery") {
|
||||
setMethod(HttpRequest::Method::Get);
|
||||
}
|
||||
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setProject(const std::string& project)
|
||||
{
|
||||
project_ = project;
|
||||
setParameter("Project", project);
|
||||
DeleteLiveRealtimeLogDeliveryRequest::~DeleteLiveRealtimeLogDeliveryRequest() {}
|
||||
|
||||
std::string DeleteLiveRealtimeLogDeliveryRequest::getProject() const {
|
||||
return project_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveRealtimeLogDeliveryRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setProject(const std::string &project) {
|
||||
project_ = project;
|
||||
setParameter(std::string("Project"), project);
|
||||
}
|
||||
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveRealtimeLogDeliveryRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveRealtimeLogDeliveryRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveRealtimeLogDeliveryRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveRealtimeLogDeliveryRequest::getRegion()const
|
||||
{
|
||||
return region_;
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setRegion(const std::string& region)
|
||||
{
|
||||
region_ = region;
|
||||
setParameter("Region", region);
|
||||
std::string DeleteLiveRealtimeLogDeliveryRequest::getRegion() const {
|
||||
return region_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveRealtimeLogDeliveryRequest::getLogstore()const
|
||||
{
|
||||
return logstore_;
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setRegion(const std::string ®ion) {
|
||||
region_ = region;
|
||||
setParameter(std::string("Region"), region);
|
||||
}
|
||||
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setLogstore(const std::string& logstore)
|
||||
{
|
||||
logstore_ = logstore;
|
||||
setParameter("Logstore", logstore);
|
||||
std::string DeleteLiveRealtimeLogDeliveryRequest::getLogstore() const {
|
||||
return logstore_;
|
||||
}
|
||||
|
||||
void DeleteLiveRealtimeLogDeliveryRequest::setLogstore(const std::string &logstore) {
|
||||
logstore_ = logstore;
|
||||
setParameter(std::string("Logstore"), logstore);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveRecordNotifyConfigRequest;
|
||||
|
||||
DeleteLiveRecordNotifyConfigRequest::DeleteLiveRecordNotifyConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordNotifyConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveRecordNotifyConfigRequest::~DeleteLiveRecordNotifyConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveRecordNotifyConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveRecordNotifyConfigRequest;
|
||||
|
||||
DeleteLiveRecordNotifyConfigRequest::DeleteLiveRecordNotifyConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordNotifyConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveRecordNotifyConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
DeleteLiveRecordNotifyConfigRequest::~DeleteLiveRecordNotifyConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveRecordNotifyConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordNotifyConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveRecordNotifyConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DeleteLiveRecordNotifyConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveRecordNotifyConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveRecordNotifyConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveRecordNotifyConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveRecordNotifyConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveRecordNotifyConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordNotifyConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveRecordVodConfigRequest;
|
||||
|
||||
DeleteLiveRecordVodConfigRequest::DeleteLiveRecordVodConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordVodConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveRecordVodConfigRequest::~DeleteLiveRecordVodConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveRecordVodConfigRequest;
|
||||
|
||||
DeleteLiveRecordVodConfigRequest::DeleteLiveRecordVodConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveRecordVodConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
DeleteLiveRecordVodConfigRequest::~DeleteLiveRecordVodConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void DeleteLiveRecordVodConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string DeleteLiveRecordVodConfigRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveRecordVodConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveRecordVodConfigRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveRecordVodConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveRecordVodConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveRecordVodConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveRecordVodConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveRecordVodConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveSnapshotDetectPornConfigRequest;
|
||||
|
||||
DeleteLiveSnapshotDetectPornConfigRequest::DeleteLiveSnapshotDetectPornConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveSnapshotDetectPornConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveSnapshotDetectPornConfigRequest::~DeleteLiveSnapshotDetectPornConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveSnapshotDetectPornConfigRequest;
|
||||
|
||||
DeleteLiveSnapshotDetectPornConfigRequest::DeleteLiveSnapshotDetectPornConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveSnapshotDetectPornConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
DeleteLiveSnapshotDetectPornConfigRequest::~DeleteLiveSnapshotDetectPornConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveSnapshotDetectPornConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveSnapshotDetectPornConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveSnapshotDetectPornConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,73 +1,63 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveSpecificStagingConfigRequest;
|
||||
|
||||
DeleteLiveSpecificStagingConfigRequest::DeleteLiveSpecificStagingConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveSpecificStagingConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveSpecificStagingConfigRequest::~DeleteLiveSpecificStagingConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveSpecificStagingConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveSpecificStagingConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveSpecificStagingConfigRequest;
|
||||
|
||||
DeleteLiveSpecificStagingConfigRequest::DeleteLiveSpecificStagingConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveSpecificStagingConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveSpecificStagingConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
DeleteLiveSpecificStagingConfigRequest::~DeleteLiveSpecificStagingConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveSpecificStagingConfigRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveSpecificStagingConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveSpecificStagingConfigRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DeleteLiveSpecificStagingConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveSpecificStagingConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveSpecificStagingConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveSpecificStagingConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveSpecificStagingConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveSpecificStagingConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveSpecificStagingConfigRequest::getConfigId()const
|
||||
{
|
||||
return configId_;
|
||||
void DeleteLiveSpecificStagingConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveSpecificStagingConfigRequest::setConfigId(const std::string& configId)
|
||||
{
|
||||
configId_ = configId;
|
||||
setParameter("ConfigId", configId);
|
||||
std::string DeleteLiveSpecificStagingConfigRequest::getConfigId() const {
|
||||
return configId_;
|
||||
}
|
||||
|
||||
void DeleteLiveSpecificStagingConfigRequest::setConfigId(const std::string &configId) {
|
||||
configId_ = configId;
|
||||
setParameter(std::string("ConfigId"), configId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamMonitorRequest;
|
||||
|
||||
DeleteLiveStreamMonitorRequest::DeleteLiveStreamMonitorRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamMonitor")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveStreamMonitorRequest::~DeleteLiveStreamMonitorRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveStreamMonitorRequest::getMonitorId()const
|
||||
{
|
||||
return monitorId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamMonitorRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamMonitorRequest;
|
||||
|
||||
DeleteLiveStreamMonitorRequest::DeleteLiveStreamMonitorRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamMonitor") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamMonitorRequest::setMonitorId(const std::string& monitorId)
|
||||
{
|
||||
monitorId_ = monitorId;
|
||||
setParameter("MonitorId", monitorId);
|
||||
DeleteLiveStreamMonitorRequest::~DeleteLiveStreamMonitorRequest() {}
|
||||
|
||||
std::string DeleteLiveStreamMonitorRequest::getMonitorId() const {
|
||||
return monitorId_;
|
||||
}
|
||||
|
||||
long DeleteLiveStreamMonitorRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveStreamMonitorRequest::setMonitorId(const std::string &monitorId) {
|
||||
monitorId_ = monitorId;
|
||||
setParameter(std::string("MonitorId"), monitorId);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamMonitorRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveStreamMonitorRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamMonitorRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,97 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamRecordIndexFilesRequest;
|
||||
|
||||
DeleteLiveStreamRecordIndexFilesRequest::DeleteLiveStreamRecordIndexFilesRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamRecordIndexFiles")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveStreamRecordIndexFilesRequest::~DeleteLiveStreamRecordIndexFilesRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveStreamRecordIndexFilesRequest::getRemoveFile()const
|
||||
{
|
||||
return removeFile_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamRecordIndexFilesRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamRecordIndexFilesRequest;
|
||||
|
||||
DeleteLiveStreamRecordIndexFilesRequest::DeleteLiveStreamRecordIndexFilesRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamRecordIndexFiles") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setRemoveFile(const std::string& removeFile)
|
||||
{
|
||||
removeFile_ = removeFile;
|
||||
setParameter("RemoveFile", removeFile);
|
||||
DeleteLiveStreamRecordIndexFilesRequest::~DeleteLiveStreamRecordIndexFilesRequest() {}
|
||||
|
||||
std::string DeleteLiveStreamRecordIndexFilesRequest::getRemoveFile() const {
|
||||
return removeFile_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamRecordIndexFilesRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setRemoveFile(const std::string &removeFile) {
|
||||
removeFile_ = removeFile;
|
||||
setParameter(std::string("RemoveFile"), removeFile);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string DeleteLiveStreamRecordIndexFilesRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamRecordIndexFilesRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string DeleteLiveStreamRecordIndexFilesRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamRecordIndexFilesRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteLiveStreamRecordIndexFilesRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveStreamRecordIndexFilesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveStreamRecordIndexFilesRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::vector<std::string> DeleteLiveStreamRecordIndexFilesRequest::getRecordId()const
|
||||
{
|
||||
return recordId_;
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setRecordId(const std::vector<std::string>& recordId)
|
||||
{
|
||||
recordId_ = recordId;
|
||||
for(int dep1 = 0; dep1!= recordId.size(); dep1++) {
|
||||
setParameter("RecordId."+ std::to_string(dep1), recordId.at(dep1));
|
||||
}
|
||||
std::vector<std::string> DeleteLiveStreamRecordIndexFilesRequest::getRecordId() const {
|
||||
return recordId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamRecordIndexFilesRequest::setRecordId(const std::vector<std::string> &recordId) {
|
||||
recordId_ = recordId;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,16 +43,16 @@ void DeleteLiveStreamRecordIndexFilesResult::parse(const std::string &payload)
|
||||
for (auto valueRecordDeleteInfoListRecordDeleteInfo : allRecordDeleteInfoListNode)
|
||||
{
|
||||
RecordDeleteInfo recordDeleteInfoListObject;
|
||||
if(!valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].isNull())
|
||||
recordDeleteInfoListObject.recordId = valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].asString();
|
||||
if(!valueRecordDeleteInfoListRecordDeleteInfo["Message"].isNull())
|
||||
recordDeleteInfoListObject.message = valueRecordDeleteInfoListRecordDeleteInfo["Message"].asString();
|
||||
if(!valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].isNull())
|
||||
recordDeleteInfoListObject.recordId = valueRecordDeleteInfoListRecordDeleteInfo["RecordId"].asString();
|
||||
recordDeleteInfoList_.push_back(recordDeleteInfoListObject);
|
||||
}
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = value["Code"].asString();
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamTranscodeRequest;
|
||||
|
||||
DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamTranscode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamTranscodeRequest;
|
||||
|
||||
DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamTranscode") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest() {}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::get_Template() const {
|
||||
return _template_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
void DeleteLiveStreamTranscodeRequest::set_Template(const std::string &_template) {
|
||||
_template_ = _template;
|
||||
setParameter(std::string("Template"), _template);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
std::string DeleteLiveStreamTranscodeRequest::getSecurityToken() const {
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string &securityToken) {
|
||||
securityToken_ = securityToken;
|
||||
setParameter(std::string("SecurityToken"), securityToken);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
std::string DeleteLiveStreamTranscodeRequest::getApp() const {
|
||||
return app_;
|
||||
}
|
||||
|
||||
long DeleteLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveStreamTranscodeRequest::setApp(const std::string &app) {
|
||||
app_ = app;
|
||||
setParameter(std::string("App"), app);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveStreamTranscodeRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
std::string DeleteLiveStreamTranscodeRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRequest;
|
||||
|
||||
DeleteLiveStreamWatermarkRequest::DeleteLiveStreamWatermarkRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermark")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveStreamWatermarkRequest::~DeleteLiveStreamWatermarkRequest()
|
||||
{}
|
||||
|
||||
long DeleteLiveStreamWatermarkRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamWatermarkRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRequest;
|
||||
|
||||
DeleteLiveStreamWatermarkRequest::DeleteLiveStreamWatermarkRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermark") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamWatermarkRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
DeleteLiveStreamWatermarkRequest::~DeleteLiveStreamWatermarkRequest() {}
|
||||
|
||||
long DeleteLiveStreamWatermarkRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamWatermarkRequest::getTemplateId()const
|
||||
{
|
||||
return templateId_;
|
||||
void DeleteLiveStreamWatermarkRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveStreamWatermarkRequest::setTemplateId(const std::string& templateId)
|
||||
{
|
||||
templateId_ = templateId;
|
||||
setParameter("TemplateId", templateId);
|
||||
std::string DeleteLiveStreamWatermarkRequest::getTemplateId() const {
|
||||
return templateId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamWatermarkRequest::setTemplateId(const std::string &templateId) {
|
||||
templateId_ = templateId;
|
||||
setParameter(std::string("TemplateId"), templateId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRuleRequest;
|
||||
|
||||
DeleteLiveStreamWatermarkRuleRequest::DeleteLiveStreamWatermarkRuleRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermarkRule")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveStreamWatermarkRuleRequest::~DeleteLiveStreamWatermarkRuleRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveStreamWatermarkRuleRequest::getStream()const
|
||||
{
|
||||
return stream_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamWatermarkRuleRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamWatermarkRuleRequest;
|
||||
|
||||
DeleteLiveStreamWatermarkRuleRequest::DeleteLiveStreamWatermarkRuleRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamWatermarkRule") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setStream(const std::string& stream)
|
||||
{
|
||||
stream_ = stream;
|
||||
setParameter("Stream", stream);
|
||||
DeleteLiveStreamWatermarkRuleRequest::~DeleteLiveStreamWatermarkRuleRequest() {}
|
||||
|
||||
std::string DeleteLiveStreamWatermarkRuleRequest::getStream() const {
|
||||
return stream_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamWatermarkRuleRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setStream(const std::string &stream) {
|
||||
stream_ = stream;
|
||||
setParameter(std::string("Stream"), stream);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
std::string DeleteLiveStreamWatermarkRuleRequest::getApp() const {
|
||||
return app_;
|
||||
}
|
||||
|
||||
long DeleteLiveStreamWatermarkRuleRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setApp(const std::string &app) {
|
||||
app_ = app;
|
||||
setParameter(std::string("App"), app);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveStreamWatermarkRuleRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamWatermarkRuleRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
std::string DeleteLiveStreamWatermarkRuleRequest::getDomain() const {
|
||||
return domain_;
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamWatermarkRuleRequest::getRuleId()const
|
||||
{
|
||||
return ruleId_;
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setDomain(const std::string &domain) {
|
||||
domain_ = domain;
|
||||
setParameter(std::string("Domain"), domain);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setRuleId(const std::string& ruleId)
|
||||
{
|
||||
ruleId_ = ruleId;
|
||||
setParameter("RuleId", ruleId);
|
||||
std::string DeleteLiveStreamWatermarkRuleRequest::getRuleId() const {
|
||||
return ruleId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamWatermarkRuleRequest::setRuleId(const std::string &ruleId) {
|
||||
ruleId_ = ruleId;
|
||||
setParameter(std::string("RuleId"), ruleId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamsNotifyUrlConfigRequest;
|
||||
|
||||
DeleteLiveStreamsNotifyUrlConfigRequest::DeleteLiveStreamsNotifyUrlConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamsNotifyUrlConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveStreamsNotifyUrlConfigRequest::~DeleteLiveStreamsNotifyUrlConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteLiveStreamsNotifyUrlConfigRequest;
|
||||
|
||||
DeleteLiveStreamsNotifyUrlConfigRequest::DeleteLiveStreamsNotifyUrlConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteLiveStreamsNotifyUrlConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DeleteLiveStreamsNotifyUrlConfigRequest::~DeleteLiveStreamsNotifyUrlConfigRequest() {}
|
||||
|
||||
std::string DeleteLiveStreamsNotifyUrlConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteLiveStreamsNotifyUrlConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteLiveStreamsNotifyUrlConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamsNotifyUrlConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
36
live/src/model/DeleteMessageAppRequest.cc
Normal file
36
live/src/model/DeleteMessageAppRequest.cc
Normal file
@@ -0,0 +1,36 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteMessageAppRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteMessageAppRequest;
|
||||
|
||||
DeleteMessageAppRequest::DeleteMessageAppRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteMessageApp") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMessageAppRequest::~DeleteMessageAppRequest() {}
|
||||
|
||||
std::string DeleteMessageAppRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteMessageAppRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setBodyParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
52
live/src/model/DeleteMessageAppResult.cc
Normal file
52
live/src/model/DeleteMessageAppResult.cc
Normal file
@@ -0,0 +1,52 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/DeleteMessageAppResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Live;
|
||||
using namespace AlibabaCloud::Live::Model;
|
||||
|
||||
DeleteMessageAppResult::DeleteMessageAppResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
DeleteMessageAppResult::DeleteMessageAppResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
DeleteMessageAppResult::~DeleteMessageAppResult()
|
||||
{}
|
||||
|
||||
void DeleteMessageAppResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto resultNode = value["Result"];
|
||||
if(!resultNode["Success"].isNull())
|
||||
result_.success = resultNode["Success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
DeleteMessageAppResult::Result DeleteMessageAppResult::getResult()const
|
||||
{
|
||||
return result_;
|
||||
}
|
||||
|
||||
@@ -1,84 +1,72 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteMixStreamRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteMixStreamRequest;
|
||||
|
||||
DeleteMixStreamRequest::DeleteMixStreamRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteMixStream")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMixStreamRequest::~DeleteMixStreamRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteMixStreamRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteMixStreamRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteMixStreamRequest;
|
||||
|
||||
DeleteMixStreamRequest::DeleteMixStreamRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteMixStream") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteMixStreamRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
DeleteMixStreamRequest::~DeleteMixStreamRequest() {}
|
||||
|
||||
std::string DeleteMixStreamRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DeleteMixStreamRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void DeleteMixStreamRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void DeleteMixStreamRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string DeleteMixStreamRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string DeleteMixStreamRequest::getMixStreamId()const
|
||||
{
|
||||
return mixStreamId_;
|
||||
void DeleteMixStreamRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void DeleteMixStreamRequest::setMixStreamId(const std::string& mixStreamId)
|
||||
{
|
||||
mixStreamId_ = mixStreamId;
|
||||
setParameter("MixStreamId", mixStreamId);
|
||||
std::string DeleteMixStreamRequest::getMixStreamId() const {
|
||||
return mixStreamId_;
|
||||
}
|
||||
|
||||
std::string DeleteMixStreamRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteMixStreamRequest::setMixStreamId(const std::string &mixStreamId) {
|
||||
mixStreamId_ = mixStreamId;
|
||||
setParameter(std::string("MixStreamId"), mixStreamId);
|
||||
}
|
||||
|
||||
void DeleteMixStreamRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteMixStreamRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteMixStreamRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteMixStreamRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteMixStreamRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteMixStreamRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteMixStreamRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,95 +1,81 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteMultiRateConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteMultiRateConfigRequest;
|
||||
|
||||
DeleteMultiRateConfigRequest::DeleteMultiRateConfigRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteMultiRateConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteMultiRateConfigRequest::~DeleteMultiRateConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteMultiRateConfigRequest::getDeleteAll()const
|
||||
{
|
||||
return deleteAll_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteMultiRateConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteMultiRateConfigRequest;
|
||||
|
||||
DeleteMultiRateConfigRequest::DeleteMultiRateConfigRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteMultiRateConfig") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteMultiRateConfigRequest::setDeleteAll(const std::string& deleteAll)
|
||||
{
|
||||
deleteAll_ = deleteAll;
|
||||
setParameter("DeleteAll", deleteAll);
|
||||
DeleteMultiRateConfigRequest::~DeleteMultiRateConfigRequest() {}
|
||||
|
||||
std::string DeleteMultiRateConfigRequest::getDeleteAll() const {
|
||||
return deleteAll_;
|
||||
}
|
||||
|
||||
std::string DeleteMultiRateConfigRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
void DeleteMultiRateConfigRequest::setDeleteAll(const std::string &deleteAll) {
|
||||
deleteAll_ = deleteAll;
|
||||
setParameter(std::string("DeleteAll"), deleteAll);
|
||||
}
|
||||
|
||||
void DeleteMultiRateConfigRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
std::string DeleteMultiRateConfigRequest::getApp() const {
|
||||
return app_;
|
||||
}
|
||||
|
||||
std::string DeleteMultiRateConfigRequest::getGroupId()const
|
||||
{
|
||||
return groupId_;
|
||||
void DeleteMultiRateConfigRequest::setApp(const std::string &app) {
|
||||
app_ = app;
|
||||
setParameter(std::string("App"), app);
|
||||
}
|
||||
|
||||
void DeleteMultiRateConfigRequest::setGroupId(const std::string& groupId)
|
||||
{
|
||||
groupId_ = groupId;
|
||||
setParameter("GroupId", groupId);
|
||||
std::string DeleteMultiRateConfigRequest::getGroupId() const {
|
||||
return groupId_;
|
||||
}
|
||||
|
||||
std::string DeleteMultiRateConfigRequest::getTemplates()const
|
||||
{
|
||||
return templates_;
|
||||
void DeleteMultiRateConfigRequest::setGroupId(const std::string &groupId) {
|
||||
groupId_ = groupId;
|
||||
setParameter(std::string("GroupId"), groupId);
|
||||
}
|
||||
|
||||
void DeleteMultiRateConfigRequest::setTemplates(const std::string& templates)
|
||||
{
|
||||
templates_ = templates;
|
||||
setParameter("Templates", templates);
|
||||
std::string DeleteMultiRateConfigRequest::getTemplates() const {
|
||||
return templates_;
|
||||
}
|
||||
|
||||
std::string DeleteMultiRateConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteMultiRateConfigRequest::setTemplates(const std::string &templates) {
|
||||
templates_ = templates;
|
||||
setParameter(std::string("Templates"), templates);
|
||||
}
|
||||
|
||||
void DeleteMultiRateConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteMultiRateConfigRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteMultiRateConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteMultiRateConfigRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteMultiRateConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteMultiRateConfigRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteMultiRateConfigRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -39,10 +39,10 @@ void DeleteMultiRateConfigResult::parse(const std::string &payload)
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
if(!value["Code"].isNull())
|
||||
code_ = std::stoi(value["Code"].asString());
|
||||
if(!value["Message"].isNull())
|
||||
message_ = value["Message"].asString();
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeletePlaylistItemsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeletePlaylistItemsRequest;
|
||||
|
||||
DeletePlaylistItemsRequest::DeletePlaylistItemsRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeletePlaylistItems")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeletePlaylistItemsRequest::~DeletePlaylistItemsRequest()
|
||||
{}
|
||||
|
||||
std::string DeletePlaylistItemsRequest::getProgramItemIds()const
|
||||
{
|
||||
return programItemIds_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeletePlaylistItemsRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeletePlaylistItemsRequest;
|
||||
|
||||
DeletePlaylistItemsRequest::DeletePlaylistItemsRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeletePlaylistItems") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeletePlaylistItemsRequest::setProgramItemIds(const std::string& programItemIds)
|
||||
{
|
||||
programItemIds_ = programItemIds;
|
||||
setParameter("ProgramItemIds", programItemIds);
|
||||
DeletePlaylistItemsRequest::~DeletePlaylistItemsRequest() {}
|
||||
|
||||
std::string DeletePlaylistItemsRequest::getProgramItemIds() const {
|
||||
return programItemIds_;
|
||||
}
|
||||
|
||||
std::string DeletePlaylistItemsRequest::getProgramId()const
|
||||
{
|
||||
return programId_;
|
||||
void DeletePlaylistItemsRequest::setProgramItemIds(const std::string &programItemIds) {
|
||||
programItemIds_ = programItemIds;
|
||||
setParameter(std::string("ProgramItemIds"), programItemIds);
|
||||
}
|
||||
|
||||
void DeletePlaylistItemsRequest::setProgramId(const std::string& programId)
|
||||
{
|
||||
programId_ = programId;
|
||||
setParameter("ProgramId", programId);
|
||||
std::string DeletePlaylistItemsRequest::getProgramId() const {
|
||||
return programId_;
|
||||
}
|
||||
|
||||
long DeletePlaylistItemsRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeletePlaylistItemsRequest::setProgramId(const std::string &programId) {
|
||||
programId_ = programId;
|
||||
setParameter(std::string("ProgramId"), programId);
|
||||
}
|
||||
|
||||
void DeletePlaylistItemsRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeletePlaylistItemsRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeletePlaylistItemsRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeletePlaylistRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeletePlaylistRequest;
|
||||
|
||||
DeletePlaylistRequest::DeletePlaylistRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeletePlaylist")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeletePlaylistRequest::~DeletePlaylistRequest()
|
||||
{}
|
||||
|
||||
std::string DeletePlaylistRequest::getProgramId()const
|
||||
{
|
||||
return programId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeletePlaylistRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeletePlaylistRequest;
|
||||
|
||||
DeletePlaylistRequest::DeletePlaylistRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeletePlaylist") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeletePlaylistRequest::setProgramId(const std::string& programId)
|
||||
{
|
||||
programId_ = programId;
|
||||
setParameter("ProgramId", programId);
|
||||
DeletePlaylistRequest::~DeletePlaylistRequest() {}
|
||||
|
||||
std::string DeletePlaylistRequest::getProgramId() const {
|
||||
return programId_;
|
||||
}
|
||||
|
||||
long DeletePlaylistRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeletePlaylistRequest::setProgramId(const std::string &programId) {
|
||||
programId_ = programId;
|
||||
setParameter(std::string("ProgramId"), programId);
|
||||
}
|
||||
|
||||
void DeletePlaylistRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeletePlaylistRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeletePlaylistRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteRoomRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteRoomRequest;
|
||||
|
||||
DeleteRoomRequest::DeleteRoomRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteRoom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteRoomRequest::~DeleteRoomRequest()
|
||||
{}
|
||||
|
||||
long DeleteRoomRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteRoomRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteRoomRequest;
|
||||
|
||||
DeleteRoomRequest::DeleteRoomRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteRoom") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteRoomRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
DeleteRoomRequest::~DeleteRoomRequest() {}
|
||||
|
||||
long DeleteRoomRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::string DeleteRoomRequest::getRoomId()const
|
||||
{
|
||||
return roomId_;
|
||||
void DeleteRoomRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteRoomRequest::setRoomId(const std::string& roomId)
|
||||
{
|
||||
roomId_ = roomId;
|
||||
setParameter("RoomId", roomId);
|
||||
std::string DeleteRoomRequest::getRoomId() const {
|
||||
return roomId_;
|
||||
}
|
||||
|
||||
std::string DeleteRoomRequest::getAppId()const
|
||||
{
|
||||
return appId_;
|
||||
void DeleteRoomRequest::setRoomId(const std::string &roomId) {
|
||||
roomId_ = roomId;
|
||||
setParameter(std::string("RoomId"), roomId);
|
||||
}
|
||||
|
||||
void DeleteRoomRequest::setAppId(const std::string& appId)
|
||||
{
|
||||
appId_ = appId;
|
||||
setParameter("AppId", appId);
|
||||
std::string DeleteRoomRequest::getAppId() const {
|
||||
return appId_;
|
||||
}
|
||||
|
||||
void DeleteRoomRequest::setAppId(const std::string &appId) {
|
||||
appId_ = appId;
|
||||
setParameter(std::string("AppId"), appId);
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteSnapshotCallbackAuthRequest;
|
||||
|
||||
DeleteSnapshotCallbackAuthRequest::DeleteSnapshotCallbackAuthRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteSnapshotCallbackAuth")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSnapshotCallbackAuthRequest::~DeleteSnapshotCallbackAuthRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteSnapshotCallbackAuthRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteSnapshotCallbackAuthRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteSnapshotCallbackAuthRequest;
|
||||
|
||||
DeleteSnapshotCallbackAuthRequest::DeleteSnapshotCallbackAuthRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteSnapshotCallbackAuth") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteSnapshotCallbackAuthRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
DeleteSnapshotCallbackAuthRequest::~DeleteSnapshotCallbackAuthRequest() {}
|
||||
|
||||
std::string DeleteSnapshotCallbackAuthRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteSnapshotCallbackAuthRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteSnapshotCallbackAuthRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteSnapshotCallbackAuthRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteSnapshotCallbackAuthRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteSnapshotCallbackAuthRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,97 +1,80 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteSnapshotFilesRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteSnapshotFilesRequest;
|
||||
|
||||
DeleteSnapshotFilesRequest::DeleteSnapshotFilesRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteSnapshotFiles")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteSnapshotFilesRequest::~DeleteSnapshotFilesRequest()
|
||||
{}
|
||||
|
||||
bool DeleteSnapshotFilesRequest::getRemoveFile()const
|
||||
{
|
||||
return removeFile_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteSnapshotFilesRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteSnapshotFilesRequest;
|
||||
|
||||
DeleteSnapshotFilesRequest::DeleteSnapshotFilesRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteSnapshotFiles") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteSnapshotFilesRequest::setRemoveFile(bool removeFile)
|
||||
{
|
||||
removeFile_ = removeFile;
|
||||
setParameter("RemoveFile", removeFile ? "true" : "false");
|
||||
DeleteSnapshotFilesRequest::~DeleteSnapshotFilesRequest() {}
|
||||
|
||||
bool DeleteSnapshotFilesRequest::getRemoveFile() const {
|
||||
return removeFile_;
|
||||
}
|
||||
|
||||
std::string DeleteSnapshotFilesRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
void DeleteSnapshotFilesRequest::setRemoveFile(bool removeFile) {
|
||||
removeFile_ = removeFile;
|
||||
setParameter(std::string("RemoveFile"), removeFile ? "true" : "false");
|
||||
}
|
||||
|
||||
void DeleteSnapshotFilesRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
std::string DeleteSnapshotFilesRequest::getAppName() const {
|
||||
return appName_;
|
||||
}
|
||||
|
||||
std::string DeleteSnapshotFilesRequest::getStreamName()const
|
||||
{
|
||||
return streamName_;
|
||||
void DeleteSnapshotFilesRequest::setAppName(const std::string &appName) {
|
||||
appName_ = appName;
|
||||
setParameter(std::string("AppName"), appName);
|
||||
}
|
||||
|
||||
void DeleteSnapshotFilesRequest::setStreamName(const std::string& streamName)
|
||||
{
|
||||
streamName_ = streamName;
|
||||
setParameter("StreamName", streamName);
|
||||
std::string DeleteSnapshotFilesRequest::getStreamName() const {
|
||||
return streamName_;
|
||||
}
|
||||
|
||||
std::string DeleteSnapshotFilesRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
void DeleteSnapshotFilesRequest::setStreamName(const std::string &streamName) {
|
||||
streamName_ = streamName;
|
||||
setParameter(std::string("StreamName"), streamName);
|
||||
}
|
||||
|
||||
void DeleteSnapshotFilesRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
std::string DeleteSnapshotFilesRequest::getDomainName() const {
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
long DeleteSnapshotFilesRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteSnapshotFilesRequest::setDomainName(const std::string &domainName) {
|
||||
domainName_ = domainName;
|
||||
setParameter(std::string("DomainName"), domainName);
|
||||
}
|
||||
|
||||
void DeleteSnapshotFilesRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteSnapshotFilesRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
std::vector<long> DeleteSnapshotFilesRequest::getCreateTimestampList()const
|
||||
{
|
||||
return createTimestampList_;
|
||||
void DeleteSnapshotFilesRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
void DeleteSnapshotFilesRequest::setCreateTimestampList(const std::vector<long>& createTimestampList)
|
||||
{
|
||||
createTimestampList_ = createTimestampList;
|
||||
for(int dep1 = 0; dep1!= createTimestampList.size(); dep1++) {
|
||||
setParameter("CreateTimestampList."+ std::to_string(dep1), std::to_string(createTimestampList.at(dep1)));
|
||||
}
|
||||
std::vector<long> DeleteSnapshotFilesRequest::getCreateTimestampList() const {
|
||||
return createTimestampList_;
|
||||
}
|
||||
|
||||
void DeleteSnapshotFilesRequest::setCreateTimestampList(const std::vector<long> &createTimestampList) {
|
||||
createTimestampList_ = createTimestampList;
|
||||
}
|
||||
|
||||
|
||||
@@ -43,16 +43,16 @@ void DeleteSnapshotFilesResult::parse(const std::string &payload)
|
||||
for (auto valueSnapshotDeleteInfoListSnapshotDeleteInfo : allSnapshotDeleteInfoListNode)
|
||||
{
|
||||
SnapshotDeleteInfo snapshotDeleteInfoListObject;
|
||||
if(!valueSnapshotDeleteInfoListSnapshotDeleteInfo["CreateTimestamp"].isNull())
|
||||
snapshotDeleteInfoListObject.createTimestamp = std::stol(valueSnapshotDeleteInfoListSnapshotDeleteInfo["CreateTimestamp"].asString());
|
||||
if(!valueSnapshotDeleteInfoListSnapshotDeleteInfo["Message"].isNull())
|
||||
snapshotDeleteInfoListObject.message = valueSnapshotDeleteInfoListSnapshotDeleteInfo["Message"].asString();
|
||||
if(!valueSnapshotDeleteInfoListSnapshotDeleteInfo["CreateTimestamp"].isNull())
|
||||
snapshotDeleteInfoListObject.createTimestamp = std::stol(valueSnapshotDeleteInfoListSnapshotDeleteInfo["CreateTimestamp"].asString());
|
||||
snapshotDeleteInfoList_.push_back(snapshotDeleteInfoListObject);
|
||||
}
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
if(!value["FailureCount"].isNull())
|
||||
failureCount_ = std::stoi(value["FailureCount"].asString());
|
||||
if(!value["SuccessCount"].isNull())
|
||||
successCount_ = std::stoi(value["SuccessCount"].asString());
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -1,62 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteStudioLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteStudioLayoutRequest;
|
||||
|
||||
DeleteStudioLayoutRequest::DeleteStudioLayoutRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DeleteStudioLayout")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteStudioLayoutRequest::~DeleteStudioLayoutRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteStudioLayoutRequest::getLayoutId()const
|
||||
{
|
||||
return layoutId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DeleteStudioLayoutRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DeleteStudioLayoutRequest;
|
||||
|
||||
DeleteStudioLayoutRequest::DeleteStudioLayoutRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DeleteStudioLayout") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DeleteStudioLayoutRequest::setLayoutId(const std::string& layoutId)
|
||||
{
|
||||
layoutId_ = layoutId;
|
||||
setParameter("LayoutId", layoutId);
|
||||
DeleteStudioLayoutRequest::~DeleteStudioLayoutRequest() {}
|
||||
|
||||
std::string DeleteStudioLayoutRequest::getLayoutId() const {
|
||||
return layoutId_;
|
||||
}
|
||||
|
||||
std::string DeleteStudioLayoutRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
void DeleteStudioLayoutRequest::setLayoutId(const std::string &layoutId) {
|
||||
layoutId_ = layoutId;
|
||||
setParameter(std::string("LayoutId"), layoutId);
|
||||
}
|
||||
|
||||
void DeleteStudioLayoutRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
std::string DeleteStudioLayoutRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long DeleteStudioLayoutRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DeleteStudioLayoutRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void DeleteStudioLayoutRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DeleteStudioLayoutRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteStudioLayoutRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,51 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeAutoShowListTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeAutoShowListTasksRequest;
|
||||
|
||||
DescribeAutoShowListTasksRequest::DescribeAutoShowListTasksRequest() :
|
||||
RpcServiceRequest("live", "2016-11-01", "DescribeAutoShowListTasks")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeAutoShowListTasksRequest::~DescribeAutoShowListTasksRequest()
|
||||
{}
|
||||
|
||||
std::string DescribeAutoShowListTasksRequest::getCasterId()const
|
||||
{
|
||||
return casterId_;
|
||||
*/
|
||||
|
||||
#include <alibabacloud/live/model/DescribeAutoShowListTasksRequest.h>
|
||||
|
||||
using AlibabaCloud::Live::Model::DescribeAutoShowListTasksRequest;
|
||||
|
||||
DescribeAutoShowListTasksRequest::DescribeAutoShowListTasksRequest()
|
||||
: RpcServiceRequest("live", "2016-11-01", "DescribeAutoShowListTasks") {
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
void DescribeAutoShowListTasksRequest::setCasterId(const std::string& casterId)
|
||||
{
|
||||
casterId_ = casterId;
|
||||
setParameter("CasterId", casterId);
|
||||
DescribeAutoShowListTasksRequest::~DescribeAutoShowListTasksRequest() {}
|
||||
|
||||
std::string DescribeAutoShowListTasksRequest::getCasterId() const {
|
||||
return casterId_;
|
||||
}
|
||||
|
||||
long DescribeAutoShowListTasksRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
void DescribeAutoShowListTasksRequest::setCasterId(const std::string &casterId) {
|
||||
casterId_ = casterId;
|
||||
setParameter(std::string("CasterId"), casterId);
|
||||
}
|
||||
|
||||
void DescribeAutoShowListTasksRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
long DescribeAutoShowListTasksRequest::getOwnerId() const {
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeAutoShowListTasksRequest::setOwnerId(long ownerId) {
|
||||
ownerId_ = ownerId;
|
||||
setParameter(std::string("OwnerId"), std::to_string(ownerId));
|
||||
}
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user