Update to support new apis.
This commit is contained in:
@@ -190,6 +190,10 @@
|
||||
#include "model/DeleteLiveLazyPullStreamInfoConfigResult.h"
|
||||
#include "model/DeleteLiveMessageGroupRequest.h"
|
||||
#include "model/DeleteLiveMessageGroupResult.h"
|
||||
#include "model/DeleteLiveMessageGroupMessageRequest.h"
|
||||
#include "model/DeleteLiveMessageGroupMessageResult.h"
|
||||
#include "model/DeleteLiveMessageUserMessageRequest.h"
|
||||
#include "model/DeleteLiveMessageUserMessageResult.h"
|
||||
#include "model/DeleteLivePackageConfigRequest.h"
|
||||
#include "model/DeleteLivePackageConfigResult.h"
|
||||
#include "model/DeleteLivePullStreamInfoConfigRequest.h"
|
||||
@@ -598,6 +602,10 @@
|
||||
#include "model/ListPlaylistResult.h"
|
||||
#include "model/ListPlaylistItemsRequest.h"
|
||||
#include "model/ListPlaylistItemsResult.h"
|
||||
#include "model/MiguLivePullToPushStartRequest.h"
|
||||
#include "model/MiguLivePullToPushStartResult.h"
|
||||
#include "model/MiguLivePullToPushStatusRequest.h"
|
||||
#include "model/MiguLivePullToPushStatusResult.h"
|
||||
#include "model/ModifyCasterComponentRequest.h"
|
||||
#include "model/ModifyCasterComponentResult.h"
|
||||
#include "model/ModifyCasterEpisodeRequest.h"
|
||||
@@ -1047,6 +1055,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteLiveMessageGroupResult> DeleteLiveMessageGroupOutcome;
|
||||
typedef std::future<DeleteLiveMessageGroupOutcome> DeleteLiveMessageGroupOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DeleteLiveMessageGroupRequest&, const DeleteLiveMessageGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveMessageGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveMessageGroupMessageResult> DeleteLiveMessageGroupMessageOutcome;
|
||||
typedef std::future<DeleteLiveMessageGroupMessageOutcome> DeleteLiveMessageGroupMessageOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DeleteLiveMessageGroupMessageRequest&, const DeleteLiveMessageGroupMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveMessageGroupMessageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveMessageUserMessageResult> DeleteLiveMessageUserMessageOutcome;
|
||||
typedef std::future<DeleteLiveMessageUserMessageOutcome> DeleteLiveMessageUserMessageOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DeleteLiveMessageUserMessageRequest&, const DeleteLiveMessageUserMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveMessageUserMessageAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLivePackageConfigResult> DeleteLivePackageConfigOutcome;
|
||||
typedef std::future<DeleteLivePackageConfigOutcome> DeleteLivePackageConfigOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DeleteLivePackageConfigRequest&, const DeleteLivePackageConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLivePackageConfigAsyncHandler;
|
||||
@@ -1659,6 +1673,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::ListPlaylistItemsResult> ListPlaylistItemsOutcome;
|
||||
typedef std::future<ListPlaylistItemsOutcome> ListPlaylistItemsOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::ListPlaylistItemsRequest&, const ListPlaylistItemsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ListPlaylistItemsAsyncHandler;
|
||||
typedef Outcome<Error, Model::MiguLivePullToPushStartResult> MiguLivePullToPushStartOutcome;
|
||||
typedef std::future<MiguLivePullToPushStartOutcome> MiguLivePullToPushStartOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::MiguLivePullToPushStartRequest&, const MiguLivePullToPushStartOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MiguLivePullToPushStartAsyncHandler;
|
||||
typedef Outcome<Error, Model::MiguLivePullToPushStatusResult> MiguLivePullToPushStatusOutcome;
|
||||
typedef std::future<MiguLivePullToPushStatusOutcome> MiguLivePullToPushStatusOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::MiguLivePullToPushStatusRequest&, const MiguLivePullToPushStatusOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MiguLivePullToPushStatusAsyncHandler;
|
||||
typedef Outcome<Error, Model::ModifyCasterComponentResult> ModifyCasterComponentOutcome;
|
||||
typedef std::future<ModifyCasterComponentOutcome> ModifyCasterComponentOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::ModifyCasterComponentRequest&, const ModifyCasterComponentOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ModifyCasterComponentAsyncHandler;
|
||||
@@ -2198,6 +2218,12 @@ namespace AlibabaCloud
|
||||
DeleteLiveMessageGroupOutcome deleteLiveMessageGroup(const Model::DeleteLiveMessageGroupRequest &request)const;
|
||||
void deleteLiveMessageGroupAsync(const Model::DeleteLiveMessageGroupRequest& request, const DeleteLiveMessageGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveMessageGroupOutcomeCallable deleteLiveMessageGroupCallable(const Model::DeleteLiveMessageGroupRequest& request) const;
|
||||
DeleteLiveMessageGroupMessageOutcome deleteLiveMessageGroupMessage(const Model::DeleteLiveMessageGroupMessageRequest &request)const;
|
||||
void deleteLiveMessageGroupMessageAsync(const Model::DeleteLiveMessageGroupMessageRequest& request, const DeleteLiveMessageGroupMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveMessageGroupMessageOutcomeCallable deleteLiveMessageGroupMessageCallable(const Model::DeleteLiveMessageGroupMessageRequest& request) const;
|
||||
DeleteLiveMessageUserMessageOutcome deleteLiveMessageUserMessage(const Model::DeleteLiveMessageUserMessageRequest &request)const;
|
||||
void deleteLiveMessageUserMessageAsync(const Model::DeleteLiveMessageUserMessageRequest& request, const DeleteLiveMessageUserMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveMessageUserMessageOutcomeCallable deleteLiveMessageUserMessageCallable(const Model::DeleteLiveMessageUserMessageRequest& request) const;
|
||||
DeleteLivePackageConfigOutcome deleteLivePackageConfig(const Model::DeleteLivePackageConfigRequest &request)const;
|
||||
void deleteLivePackageConfigAsync(const Model::DeleteLivePackageConfigRequest& request, const DeleteLivePackageConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLivePackageConfigOutcomeCallable deleteLivePackageConfigCallable(const Model::DeleteLivePackageConfigRequest& request) const;
|
||||
@@ -2810,6 +2836,12 @@ namespace AlibabaCloud
|
||||
ListPlaylistItemsOutcome listPlaylistItems(const Model::ListPlaylistItemsRequest &request)const;
|
||||
void listPlaylistItemsAsync(const Model::ListPlaylistItemsRequest& request, const ListPlaylistItemsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ListPlaylistItemsOutcomeCallable listPlaylistItemsCallable(const Model::ListPlaylistItemsRequest& request) const;
|
||||
MiguLivePullToPushStartOutcome miguLivePullToPushStart(const Model::MiguLivePullToPushStartRequest &request)const;
|
||||
void miguLivePullToPushStartAsync(const Model::MiguLivePullToPushStartRequest& request, const MiguLivePullToPushStartAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MiguLivePullToPushStartOutcomeCallable miguLivePullToPushStartCallable(const Model::MiguLivePullToPushStartRequest& request) const;
|
||||
MiguLivePullToPushStatusOutcome miguLivePullToPushStatus(const Model::MiguLivePullToPushStatusRequest &request)const;
|
||||
void miguLivePullToPushStatusAsync(const Model::MiguLivePullToPushStatusRequest& request, const MiguLivePullToPushStatusAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
MiguLivePullToPushStatusOutcomeCallable miguLivePullToPushStatusCallable(const Model::MiguLivePullToPushStatusRequest& request) const;
|
||||
ModifyCasterComponentOutcome modifyCasterComponent(const Model::ModifyCasterComponentRequest &request)const;
|
||||
void modifyCasterComponentAsync(const Model::ModifyCasterComponentRequest& request, const ModifyCasterComponentAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
ModifyCasterComponentOutcomeCallable modifyCasterComponentCallable(const Model::ModifyCasterComponentRequest& request) const;
|
||||
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEGROUPMESSAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEGROUPMESSAGEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT DeleteLiveMessageGroupMessageRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteLiveMessageGroupMessageRequest();
|
||||
~DeleteLiveMessageGroupMessageRequest();
|
||||
std::string getGroupId() const;
|
||||
void setGroupId(const std::string &groupId);
|
||||
std::string getMessageId() const;
|
||||
void setMessageId(const std::string &messageId);
|
||||
std::string getDataCenter() const;
|
||||
void setDataCenter(const std::string &dataCenter);
|
||||
std::string getAppId() const;
|
||||
void setAppId(const std::string &appId);
|
||||
std::string getDeleterId() const;
|
||||
void setDeleterId(const std::string &deleterId);
|
||||
std::string getDeleterInfo() const;
|
||||
void setDeleterInfo(const std::string &deleterInfo);
|
||||
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string messageId_;
|
||||
std::string dataCenter_;
|
||||
std::string appId_;
|
||||
std::string deleterId_;
|
||||
std::string deleterInfo_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEGROUPMESSAGEREQUEST_H_
|
||||
@@ -0,0 +1,53 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEGROUPMESSAGERESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEGROUPMESSAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DeleteLiveMessageGroupMessageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLiveMessageGroupMessageResult();
|
||||
explicit DeleteLiveMessageGroupMessageResult(const std::string &payload);
|
||||
~DeleteLiveMessageGroupMessageResult();
|
||||
std::string getGroupId()const;
|
||||
std::string getMessageId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string groupId_;
|
||||
std::string messageId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEGROUPMESSAGERESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEUSERMESSAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEUSERMESSAGEREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT DeleteLiveMessageUserMessageRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteLiveMessageUserMessageRequest();
|
||||
~DeleteLiveMessageUserMessageRequest();
|
||||
std::string getMessageId() const;
|
||||
void setMessageId(const std::string &messageId);
|
||||
std::string getDataCenter() const;
|
||||
void setDataCenter(const std::string &dataCenter);
|
||||
std::string getReceiverId() const;
|
||||
void setReceiverId(const std::string &receiverId);
|
||||
std::string getAppId() const;
|
||||
void setAppId(const std::string &appId);
|
||||
std::string getDeleterId() const;
|
||||
void setDeleterId(const std::string &deleterId);
|
||||
std::string getDeleterInfo() const;
|
||||
void setDeleterInfo(const std::string &deleterInfo);
|
||||
|
||||
private:
|
||||
std::string messageId_;
|
||||
std::string dataCenter_;
|
||||
std::string receiverId_;
|
||||
std::string appId_;
|
||||
std::string deleterId_;
|
||||
std::string deleterInfo_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEUSERMESSAGEREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEUSERMESSAGERESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEUSERMESSAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT DeleteLiveMessageUserMessageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLiveMessageUserMessageResult();
|
||||
explicit DeleteLiveMessageUserMessageResult(const std::string &payload);
|
||||
~DeleteLiveMessageUserMessageResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_DELETELIVEMESSAGEUSERMESSAGERESULT_H_
|
||||
@@ -38,23 +38,33 @@ namespace AlibabaCloud
|
||||
explicit DescribeLiveMessageAppResult(const std::string &payload);
|
||||
~DescribeLiveMessageAppResult();
|
||||
std::string getCallbackUrl()const;
|
||||
long getModifyTime()const;
|
||||
std::string getAuditUrl()const;
|
||||
std::string getDataCenter()const;
|
||||
std::string getAppId()const;
|
||||
int getAuditType()const;
|
||||
std::string getAppKey()const;
|
||||
long getCreateTime()const;
|
||||
std::string getEventCallbackUrl()const;
|
||||
std::string getAppSign()const;
|
||||
bool getDisable()const;
|
||||
std::string getAppName()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string callbackUrl_;
|
||||
long modifyTime_;
|
||||
std::string auditUrl_;
|
||||
std::string dataCenter_;
|
||||
std::string appId_;
|
||||
int auditType_;
|
||||
std::string appKey_;
|
||||
long createTime_;
|
||||
std::string eventCallbackUrl_;
|
||||
std::string appSign_;
|
||||
bool disable_;
|
||||
std::string appName_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,10 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Apps
|
||||
{
|
||||
long modifyTime;
|
||||
std::string dataCenter;
|
||||
std::string appId;
|
||||
std::string appKey;
|
||||
long createTime;
|
||||
std::string appSign;
|
||||
std::string disable;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTARTREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTARTREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT MiguLivePullToPushStartRequest : public RpcServiceRequest {
|
||||
public:
|
||||
MiguLivePullToPushStartRequest();
|
||||
~MiguLivePullToPushStartRequest();
|
||||
std::string getMiguData() const;
|
||||
void setMiguData(const std::string &miguData);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string miguData_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTARTREQUEST_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTARTRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTARTRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT MiguLivePullToPushStartResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
MiguLivePullToPushStartResult();
|
||||
explicit MiguLivePullToPushStartResult(const std::string &payload);
|
||||
~MiguLivePullToPushStartResult();
|
||||
std::string getRequestId()const;
|
||||
std::string getMessage()const;
|
||||
std::string getCode()const;
|
||||
std::string getTimestamp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
std::string message_;
|
||||
std::string code_;
|
||||
std::string timestamp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTARTRESULT_H_
|
||||
@@ -0,0 +1,48 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTATUSREQUEST_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTATUSREQUEST_H_
|
||||
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Live {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LIVE_EXPORT MiguLivePullToPushStatusRequest : public RpcServiceRequest {
|
||||
public:
|
||||
MiguLivePullToPushStatusRequest();
|
||||
~MiguLivePullToPushStatusRequest();
|
||||
std::string getMiguData() const;
|
||||
void setMiguData(const std::string &miguData);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string miguData_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTATUSREQUEST_H_
|
||||
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTATUSRESULT_H_
|
||||
#define ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTATUSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/live/LiveExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Live
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LIVE_EXPORT MiguLivePullToPushStatusResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string status;
|
||||
std::string message;
|
||||
};
|
||||
|
||||
|
||||
MiguLivePullToPushStatusResult();
|
||||
explicit MiguLivePullToPushStatusResult(const std::string &payload);
|
||||
~MiguLivePullToPushStatusResult();
|
||||
std::string getRequestId()const;
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
std::string getTimestamp()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
std::string timestamp_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LIVE_MODEL_MIGULIVEPULLTOPUSHSTATUSRESULT_H_
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setSource(int source);
|
||||
int getMode() const;
|
||||
void setMode(int mode);
|
||||
std::string getUserData() const;
|
||||
void setUserData(const std::string &userData);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getStreamName() const;
|
||||
@@ -44,17 +46,21 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getCommand() const;
|
||||
void setCommand(const std::string &command);
|
||||
int getSnapshotType() const;
|
||||
void setSnapshotType(int snapshotType);
|
||||
int getInterval() const;
|
||||
void setInterval(int interval);
|
||||
|
||||
private:
|
||||
int source_;
|
||||
int mode_;
|
||||
std::string userData_;
|
||||
std::string appName_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string command_;
|
||||
int snapshotType_;
|
||||
int interval_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setBody(const std::string &body);
|
||||
long getStaticsIncrease() const;
|
||||
void setStaticsIncrease(long staticsIncrease);
|
||||
bool getNoCache() const;
|
||||
void setNoCache(bool noCache);
|
||||
long getMsgType() const;
|
||||
void setMsgType(long msgType);
|
||||
bool getNoStorage() const;
|
||||
@@ -57,6 +59,7 @@ private:
|
||||
std::string senderMetaInfo_;
|
||||
std::string body_;
|
||||
long staticsIncrease_;
|
||||
bool noCache_;
|
||||
long msgType_;
|
||||
bool noStorage_;
|
||||
std::string groupId_;
|
||||
|
||||
Reference in New Issue
Block a user