Compare commits
11 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ecf6c5f448 | ||
|
|
eef41337b0 | ||
|
|
83325f3e37 | ||
|
|
808e4da670 | ||
|
|
070025342e | ||
|
|
8e06520db5 | ||
|
|
9a6e36ba1b | ||
|
|
44d329a7b7 | ||
|
|
fb86207f1d | ||
|
|
377eb9e470 | ||
|
|
69374307d5 |
86
lingmou/CMakeLists.txt
Normal file
86
lingmou/CMakeLists.txt
Normal file
@@ -0,0 +1,86 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(lingmou_public_header
|
||||
include/alibabacloud/lingmou/LingMouClient.h
|
||||
include/alibabacloud/lingmou/LingMouExport.h )
|
||||
|
||||
set(lingmou_public_header_model
|
||||
include/alibabacloud/lingmou/model/CreateChatSessionRequest.h
|
||||
include/alibabacloud/lingmou/model/CreateChatSessionResult.h )
|
||||
|
||||
set(lingmou_src
|
||||
src/LingMouClient.cc
|
||||
src/model/CreateChatSessionRequest.cc
|
||||
src/model/CreateChatSessionResult.cc )
|
||||
|
||||
add_library(lingmou ${LIB_TYPE}
|
||||
${lingmou_public_header}
|
||||
${lingmou_public_header_model}
|
||||
${lingmou_src})
|
||||
|
||||
set_target_properties(lingmou
|
||||
PROPERTIES
|
||||
LINKER_LANGUAGE CXX
|
||||
ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib
|
||||
RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin
|
||||
OUTPUT_NAME ${TARGET_OUTPUT_NAME_PREFIX}lingmou
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(lingmou
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_LINGMOU_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(lingmou
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(lingmou
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(lingmou
|
||||
jsoncpp)
|
||||
target_include_directories(lingmou
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(lingmou
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(lingmou
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(lingmou
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(lingmou
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${lingmou_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/lingmou)
|
||||
install(FILES ${lingmou_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/lingmou/model)
|
||||
install(TARGETS lingmou
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
54
lingmou/include/alibabacloud/lingmou/LingMouClient.h
Normal file
54
lingmou/include/alibabacloud/lingmou/LingMouClient.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LINGMOU_LINGMOUCLIENT_H_
|
||||
#define ALIBABACLOUD_LINGMOU_LINGMOUCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RoaServiceClient.h>
|
||||
#include "LingMouExport.h"
|
||||
#include "model/CreateChatSessionRequest.h"
|
||||
#include "model/CreateChatSessionResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LingMou
|
||||
{
|
||||
class ALIBABACLOUD_LINGMOU_EXPORT LingMouClient : public RoaServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::CreateChatSessionResult> CreateChatSessionOutcome;
|
||||
typedef std::future<CreateChatSessionOutcome> CreateChatSessionOutcomeCallable;
|
||||
typedef std::function<void(const LingMouClient*, const Model::CreateChatSessionRequest&, const CreateChatSessionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> CreateChatSessionAsyncHandler;
|
||||
|
||||
LingMouClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
LingMouClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
LingMouClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~LingMouClient();
|
||||
CreateChatSessionOutcome createChatSession(const Model::CreateChatSessionRequest &request)const;
|
||||
void createChatSessionAsync(const Model::CreateChatSessionRequest& request, const CreateChatSessionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
CreateChatSessionOutcomeCallable createChatSessionCallable(const Model::CreateChatSessionRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_LINGMOU_LINGMOUCLIENT_H_
|
||||
32
lingmou/include/alibabacloud/lingmou/LingMouExport.h
Normal file
32
lingmou/include/alibabacloud/lingmou/LingMouExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LINGMOU_LINGMOUEXPORT_H_
|
||||
#define ALIBABACLOUD_LINGMOU_LINGMOUEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_LINGMOU_LIBRARY)
|
||||
# define ALIBABACLOUD_LINGMOU_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_LINGMOU_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_LINGMOU_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_LINGMOU_LINGMOUEXPORT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LINGMOU_MODEL_CREATECHATSESSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_LINGMOU_MODEL_CREATECHATSESSIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/lingmou/LingMouExport.h>
|
||||
#include <alibabacloud/core/RoaServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace LingMou {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_LINGMOU_EXPORT CreateChatSessionRequest : public RoaServiceRequest {
|
||||
public:
|
||||
CreateChatSessionRequest();
|
||||
~CreateChatSessionRequest();
|
||||
std::string getLicense() const;
|
||||
void setLicense(const std::string &license);
|
||||
std::string getInstanceId() const;
|
||||
void setInstanceId(const std::string &instanceId);
|
||||
std::string getId() const;
|
||||
void setId(const std::string &id);
|
||||
std::string getPlatform() const;
|
||||
void setPlatform(const std::string &platform);
|
||||
|
||||
private:
|
||||
std::string license_;
|
||||
std::string instanceId_;
|
||||
std::string id_;
|
||||
std::string platform_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace LingMou
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_LINGMOU_MODEL_CREATECHATSESSIONREQUEST_H_
|
||||
@@ -0,0 +1,87 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_LINGMOU_MODEL_CREATECHATSESSIONRESULT_H_
|
||||
#define ALIBABACLOUD_LINGMOU_MODEL_CREATECHATSESSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/lingmou/LingMouExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace LingMou
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_LINGMOU_EXPORT CreateChatSessionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct RtcParams
|
||||
{
|
||||
std::string gslb;
|
||||
std::string nonce;
|
||||
std::string appId;
|
||||
std::string serverUserId;
|
||||
std::string channel;
|
||||
std::string token;
|
||||
std::string avatarUserId;
|
||||
std::string clientUserId;
|
||||
long timestamp;
|
||||
};
|
||||
struct AvatarAssets
|
||||
{
|
||||
std::string secret;
|
||||
std::string type;
|
||||
std::string minRequiredVersion;
|
||||
std::string url;
|
||||
std::string md5;
|
||||
};
|
||||
AvatarAssets avatarAssets;
|
||||
RtcParams rtcParams;
|
||||
std::string sessionId;
|
||||
};
|
||||
|
||||
|
||||
CreateChatSessionResult();
|
||||
explicit CreateChatSessionResult(const std::string &payload);
|
||||
~CreateChatSessionResult();
|
||||
std::string getRequestId()const;
|
||||
std::string getMessage()const;
|
||||
long getHttpStatusCode()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
bool getSuccess()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string requestId_;
|
||||
std::string message_;
|
||||
long httpStatusCode_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
bool success_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_LINGMOU_MODEL_CREATECHATSESSIONRESULT_H_
|
||||
89
lingmou/src/LingMouClient.cc
Normal file
89
lingmou/src/LingMouClient.cc
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES 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/lingmou/LingMouClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::LingMou;
|
||||
using namespace AlibabaCloud::LingMou::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "LingMou";
|
||||
}
|
||||
|
||||
LingMouClient::LingMouClient(const Credentials &credentials, const ClientConfiguration &configuration) :
|
||||
RoaServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(credentials), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentials, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
LingMouClient::LingMouClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
|
||||
RoaServiceClient(SERVICE_NAME, credentialsProvider, configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
LingMouClient::LingMouClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
|
||||
RoaServiceClient(SERVICE_NAME, std::make_shared<SimpleCredentialsProvider>(accessKeyId, accessKeySecret), configuration)
|
||||
{
|
||||
auto locationClient = std::make_shared<LocationClient>(accessKeyId, accessKeySecret, configuration);
|
||||
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
|
||||
}
|
||||
|
||||
LingMouClient::~LingMouClient()
|
||||
{}
|
||||
|
||||
LingMouClient::CreateChatSessionOutcome LingMouClient::createChatSession(const CreateChatSessionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return CreateChatSessionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return CreateChatSessionOutcome(CreateChatSessionResult(outcome.result()));
|
||||
else
|
||||
return CreateChatSessionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void LingMouClient::createChatSessionAsync(const CreateChatSessionRequest& request, const CreateChatSessionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, createChatSession(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
LingMouClient::CreateChatSessionOutcomeCallable LingMouClient::createChatSessionCallable(const CreateChatSessionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<CreateChatSessionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->createChatSession(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
64
lingmou/src/model/CreateChatSessionRequest.cc
Normal file
64
lingmou/src/model/CreateChatSessionRequest.cc
Normal file
@@ -0,0 +1,64 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/lingmou/model/CreateChatSessionRequest.h>
|
||||
|
||||
using AlibabaCloud::LingMou::Model::CreateChatSessionRequest;
|
||||
|
||||
CreateChatSessionRequest::CreateChatSessionRequest()
|
||||
: RoaServiceRequest("lingmou", "2025-05-27") {
|
||||
setResourcePath("/openapi/chat/init/[id]"};
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
CreateChatSessionRequest::~CreateChatSessionRequest() {}
|
||||
|
||||
std::string CreateChatSessionRequest::getLicense() const {
|
||||
return license_;
|
||||
}
|
||||
|
||||
void CreateChatSessionRequest::setLicense(const std::string &license) {
|
||||
license_ = license;
|
||||
setParameter(std::string("license"), license);
|
||||
}
|
||||
|
||||
std::string CreateChatSessionRequest::getInstanceId() const {
|
||||
return instanceId_;
|
||||
}
|
||||
|
||||
void CreateChatSessionRequest::setInstanceId(const std::string &instanceId) {
|
||||
instanceId_ = instanceId;
|
||||
setParameter(std::string("instanceId"), instanceId);
|
||||
}
|
||||
|
||||
std::string CreateChatSessionRequest::getId() const {
|
||||
return id_;
|
||||
}
|
||||
|
||||
void CreateChatSessionRequest::setId(const std::string &id) {
|
||||
id_ = id;
|
||||
setParameter(std::string("id"), id);
|
||||
}
|
||||
|
||||
std::string CreateChatSessionRequest::getPlatform() const {
|
||||
return platform_;
|
||||
}
|
||||
|
||||
void CreateChatSessionRequest::setPlatform(const std::string &platform) {
|
||||
platform_ = platform;
|
||||
setParameter(std::string("platform"), platform);
|
||||
}
|
||||
|
||||
117
lingmou/src/model/CreateChatSessionResult.cc
Normal file
117
lingmou/src/model/CreateChatSessionResult.cc
Normal file
@@ -0,0 +1,117 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/lingmou/model/CreateChatSessionResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::LingMou;
|
||||
using namespace AlibabaCloud::LingMou::Model;
|
||||
|
||||
CreateChatSessionResult::CreateChatSessionResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
CreateChatSessionResult::CreateChatSessionResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
CreateChatSessionResult::~CreateChatSessionResult()
|
||||
{}
|
||||
|
||||
void CreateChatSessionResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto dataNode = value["data"];
|
||||
if(!dataNode["sessionId"].isNull())
|
||||
data_.sessionId = dataNode["sessionId"].asString();
|
||||
auto rtcParamsNode = dataNode["rtcParams"];
|
||||
if(!rtcParamsNode["appId"].isNull())
|
||||
data_.rtcParams.appId = rtcParamsNode["appId"].asString();
|
||||
if(!rtcParamsNode["avatarUserId"].isNull())
|
||||
data_.rtcParams.avatarUserId = rtcParamsNode["avatarUserId"].asString();
|
||||
if(!rtcParamsNode["channel"].isNull())
|
||||
data_.rtcParams.channel = rtcParamsNode["channel"].asString();
|
||||
if(!rtcParamsNode["clientUserId"].isNull())
|
||||
data_.rtcParams.clientUserId = rtcParamsNode["clientUserId"].asString();
|
||||
if(!rtcParamsNode["gslb"].isNull())
|
||||
data_.rtcParams.gslb = rtcParamsNode["gslb"].asString();
|
||||
if(!rtcParamsNode["nonce"].isNull())
|
||||
data_.rtcParams.nonce = rtcParamsNode["nonce"].asString();
|
||||
if(!rtcParamsNode["serverUserId"].isNull())
|
||||
data_.rtcParams.serverUserId = rtcParamsNode["serverUserId"].asString();
|
||||
if(!rtcParamsNode["timestamp"].isNull())
|
||||
data_.rtcParams.timestamp = std::stol(rtcParamsNode["timestamp"].asString());
|
||||
if(!rtcParamsNode["token"].isNull())
|
||||
data_.rtcParams.token = rtcParamsNode["token"].asString();
|
||||
auto avatarAssetsNode = dataNode["avatarAssets"];
|
||||
if(!avatarAssetsNode["url"].isNull())
|
||||
data_.avatarAssets.url = avatarAssetsNode["url"].asString();
|
||||
if(!avatarAssetsNode["md5"].isNull())
|
||||
data_.avatarAssets.md5 = avatarAssetsNode["md5"].asString();
|
||||
if(!avatarAssetsNode["secret"].isNull())
|
||||
data_.avatarAssets.secret = avatarAssetsNode["secret"].asString();
|
||||
if(!avatarAssetsNode["type"].isNull())
|
||||
data_.avatarAssets.type = avatarAssetsNode["type"].asString();
|
||||
if(!avatarAssetsNode["minRequiredVersion"].isNull())
|
||||
data_.avatarAssets.minRequiredVersion = avatarAssetsNode["minRequiredVersion"].asString();
|
||||
if(!value["requestId"].isNull())
|
||||
requestId_ = value["requestId"].asString();
|
||||
if(!value["message"].isNull())
|
||||
message_ = value["message"].asString();
|
||||
if(!value["httpStatusCode"].isNull())
|
||||
httpStatusCode_ = std::stol(value["httpStatusCode"].asString());
|
||||
if(!value["code"].isNull())
|
||||
code_ = value["code"].asString();
|
||||
if(!value["success"].isNull())
|
||||
success_ = value["success"].asString() == "true";
|
||||
|
||||
}
|
||||
|
||||
std::string CreateChatSessionResult::getRequestId()const
|
||||
{
|
||||
return requestId_;
|
||||
}
|
||||
|
||||
std::string CreateChatSessionResult::getMessage()const
|
||||
{
|
||||
return message_;
|
||||
}
|
||||
|
||||
long CreateChatSessionResult::getHttpStatusCode()const
|
||||
{
|
||||
return httpStatusCode_;
|
||||
}
|
||||
|
||||
CreateChatSessionResult::Data CreateChatSessionResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
std::string CreateChatSessionResult::getCode()const
|
||||
{
|
||||
return code_;
|
||||
}
|
||||
|
||||
bool CreateChatSessionResult::getSuccess()const
|
||||
{
|
||||
return success_;
|
||||
}
|
||||
|
||||
@@ -515,6 +515,8 @@ set(live_public_header_model
|
||||
include/alibabacloud/live/model/DescribeLiveUserBillPredictionResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h
|
||||
include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveUserStreamMetricDataRequest.h
|
||||
include/alibabacloud/live/model/DescribeLiveUserStreamMetricDataResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveUserTagsRequest.h
|
||||
include/alibabacloud/live/model/DescribeLiveUserTagsResult.h
|
||||
include/alibabacloud/live/model/DescribeLiveUserTrafficLogRequest.h
|
||||
@@ -1374,6 +1376,8 @@ set(live_src
|
||||
src/model/DescribeLiveUserBillPredictionResult.cc
|
||||
src/model/DescribeLiveUserDomainsRequest.cc
|
||||
src/model/DescribeLiveUserDomainsResult.cc
|
||||
src/model/DescribeLiveUserStreamMetricDataRequest.cc
|
||||
src/model/DescribeLiveUserStreamMetricDataResult.cc
|
||||
src/model/DescribeLiveUserTagsRequest.cc
|
||||
src/model/DescribeLiveUserTagsResult.cc
|
||||
src/model/DescribeLiveUserTrafficLogRequest.cc
|
||||
|
||||
@@ -516,6 +516,8 @@
|
||||
#include "model/DescribeLiveUserBillPredictionResult.h"
|
||||
#include "model/DescribeLiveUserDomainsRequest.h"
|
||||
#include "model/DescribeLiveUserDomainsResult.h"
|
||||
#include "model/DescribeLiveUserStreamMetricDataRequest.h"
|
||||
#include "model/DescribeLiveUserStreamMetricDataResult.h"
|
||||
#include "model/DescribeLiveUserTagsRequest.h"
|
||||
#include "model/DescribeLiveUserTagsResult.h"
|
||||
#include "model/DescribeLiveUserTrafficLogRequest.h"
|
||||
@@ -1628,6 +1630,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeLiveUserDomainsResult> DescribeLiveUserDomainsOutcome;
|
||||
typedef std::future<DescribeLiveUserDomainsOutcome> DescribeLiveUserDomainsOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveUserDomainsRequest&, const DescribeLiveUserDomainsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveUserDomainsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveUserStreamMetricDataResult> DescribeLiveUserStreamMetricDataOutcome;
|
||||
typedef std::future<DescribeLiveUserStreamMetricDataOutcome> DescribeLiveUserStreamMetricDataOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveUserStreamMetricDataRequest&, const DescribeLiveUserStreamMetricDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveUserStreamMetricDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeLiveUserTagsResult> DescribeLiveUserTagsOutcome;
|
||||
typedef std::future<DescribeLiveUserTagsOutcome> DescribeLiveUserTagsOutcomeCallable;
|
||||
typedef std::function<void(const LiveClient*, const Model::DescribeLiveUserTagsRequest&, const DescribeLiveUserTagsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeLiveUserTagsAsyncHandler;
|
||||
@@ -2917,6 +2922,9 @@ namespace AlibabaCloud
|
||||
DescribeLiveUserDomainsOutcome describeLiveUserDomains(const Model::DescribeLiveUserDomainsRequest &request)const;
|
||||
void describeLiveUserDomainsAsync(const Model::DescribeLiveUserDomainsRequest& request, const DescribeLiveUserDomainsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveUserDomainsOutcomeCallable describeLiveUserDomainsCallable(const Model::DescribeLiveUserDomainsRequest& request) const;
|
||||
DescribeLiveUserStreamMetricDataOutcome describeLiveUserStreamMetricData(const Model::DescribeLiveUserStreamMetricDataRequest &request)const;
|
||||
void describeLiveUserStreamMetricDataAsync(const Model::DescribeLiveUserStreamMetricDataRequest& request, const DescribeLiveUserStreamMetricDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveUserStreamMetricDataOutcomeCallable describeLiveUserStreamMetricDataCallable(const Model::DescribeLiveUserStreamMetricDataRequest& request) const;
|
||||
DescribeLiveUserTagsOutcome describeLiveUserTags(const Model::DescribeLiveUserTagsRequest &request)const;
|
||||
void describeLiveUserTagsAsync(const Model::DescribeLiveUserTagsRequest& request, const DescribeLiveUserTagsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeLiveUserTagsOutcomeCallable describeLiveUserTagsCallable(const Model::DescribeLiveUserTagsRequest& request) const;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setImageLayerContent(const std::string &imageLayerContent);
|
||||
std::string getComponentName() const;
|
||||
void setComponentName(const std::string &componentName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getLayerOrder() const;
|
||||
void setLayerOrder(const std::string &layerOrder);
|
||||
std::string getCasterId() const;
|
||||
@@ -59,6 +61,7 @@ private:
|
||||
std::string htmlLayerContent_;
|
||||
std::string imageLayerContent_;
|
||||
std::string componentName_;
|
||||
std::string regionId_;
|
||||
std::string layerOrder_;
|
||||
std::string casterId_;
|
||||
std::string componentLayer_;
|
||||
|
||||
@@ -34,12 +34,15 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getContent() const;
|
||||
void setContent(const std::string &content);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string content_;
|
||||
std::string regionId_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSideOutputUrl() const;
|
||||
void setSideOutputUrl(const std::string &sideOutputUrl);
|
||||
std::vector<Item> getItem() const;
|
||||
@@ -54,6 +56,7 @@ public:
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string startTime_;
|
||||
std::string regionId_;
|
||||
std::string sideOutputUrl_;
|
||||
std::vector<Item> item_;
|
||||
std::string domainName_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setEpisodeName(const std::string &episodeName);
|
||||
std::string getStartTime() const;
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::vector<std::string> getComponentId() const;
|
||||
@@ -52,6 +54,7 @@ public:
|
||||
private:
|
||||
std::string episodeName_;
|
||||
std::string startTime_;
|
||||
std::string regionId_;
|
||||
std::string resourceId_;
|
||||
std::vector<std::string> componentId_;
|
||||
std::string casterId_;
|
||||
|
||||
@@ -44,6 +44,8 @@ public:
|
||||
~AddCasterLayoutRequest();
|
||||
std::vector<std::string> getBlendList() const;
|
||||
void setBlendList(const std::vector<std::string> &blendList);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
@@ -57,6 +59,7 @@ public:
|
||||
|
||||
private:
|
||||
std::vector<std::string> blendList_;
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
std::vector<AudioLayer> audioLayer_;
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
~AddCasterProgramRequest();
|
||||
std::vector<Episode> getEpisode() const;
|
||||
void setEpisode(const std::vector<Episode> &episode);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
@@ -47,6 +49,7 @@ public:
|
||||
|
||||
private:
|
||||
std::vector<Episode> episode_;
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setEndOffset(int endOffset);
|
||||
std::string getMaterialId() const;
|
||||
void setMaterialId(const std::string &materialId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getVodUrl() const;
|
||||
void setVodUrl(const std::string &vodUrl);
|
||||
std::string getStreamId() const;
|
||||
@@ -70,6 +72,7 @@ private:
|
||||
int inputType_;
|
||||
int endOffset_;
|
||||
std::string materialId_;
|
||||
std::string regionId_;
|
||||
std::string vodUrl_;
|
||||
std::string streamId_;
|
||||
std::string casterId_;
|
||||
|
||||
@@ -58,6 +58,8 @@ public:
|
||||
void setLazy(const std::string &lazy);
|
||||
std::string getKmsKeyExpireInterval() const;
|
||||
void setKmsKeyExpireInterval(const std::string &kmsKeyExpireInterval);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTemplateType() const;
|
||||
void setTemplateType(const std::string &templateType);
|
||||
std::string getAudioProfile() const;
|
||||
@@ -96,6 +98,7 @@ private:
|
||||
std::string _template_;
|
||||
std::string lazy_;
|
||||
std::string kmsKeyExpireInterval_;
|
||||
std::string regionId_;
|
||||
std::string templateType_;
|
||||
std::string audioProfile_;
|
||||
std::string encryptParameters_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setSuffix(const std::string &suffix);
|
||||
std::string getSubtitleName() const;
|
||||
void setSubtitleName(const std::string &subtitleName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getApp() const;
|
||||
void setApp(const std::string &app);
|
||||
long getOwnerId() const;
|
||||
@@ -55,6 +57,7 @@ private:
|
||||
std::string description_;
|
||||
std::string suffix_;
|
||||
std::string subtitleName_;
|
||||
std::string regionId_;
|
||||
std::string app_;
|
||||
long ownerId_;
|
||||
bool isLazy_;
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setSubtitleName(const std::string &subtitleName);
|
||||
float getFontSizeNormalized() const;
|
||||
void setFontSizeNormalized(float fontSizeNormalized);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getFontColor() const;
|
||||
void setFontColor(const std::string &fontColor);
|
||||
bool getShowSourceLan() const;
|
||||
@@ -73,6 +75,7 @@ private:
|
||||
std::string fontName_;
|
||||
std::string subtitleName_;
|
||||
float fontSizeNormalized_;
|
||||
std::string regionId_;
|
||||
std::string fontColor_;
|
||||
bool showSourceLan_;
|
||||
std::vector<float> positionNormalized_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setOssObject(const std::string &ossObject);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getOssBucket() const;
|
||||
@@ -51,6 +53,7 @@ private:
|
||||
std::string ossEndpoint_;
|
||||
std::string ossObject_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string ossBucket_;
|
||||
std::string domainName_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT AddLiveAudioAuditNotifyConfigRequest : public Rpc
|
||||
public:
|
||||
AddLiveAudioAuditNotifyConfigRequest();
|
||||
~AddLiveAudioAuditNotifyConfigRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setCallback(const std::string &callback);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string callbackTemplate_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDstUrl() const;
|
||||
@@ -51,6 +53,7 @@ private:
|
||||
std::string transferArgs_;
|
||||
std::string startTime_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string dstUrl_;
|
||||
std::string domainName_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainPlayMappingRequest : public RpcServi
|
||||
public:
|
||||
AddLiveDomainPlayMappingRequest();
|
||||
~AddLiveDomainPlayMappingRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPlayDomain() const;
|
||||
void setPlayDomain(const std::string &playDomain);
|
||||
long getOwnerId() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setPullDomain(const std::string &pullDomain);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string playDomain_;
|
||||
long ownerId_;
|
||||
std::string pullDomain_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setProtocol(const std::string &protocol);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getPartDuration() const;
|
||||
void setPartDuration(int partDuration);
|
||||
std::string getStreamName() const;
|
||||
@@ -53,6 +55,7 @@ private:
|
||||
int segmentNum_;
|
||||
std::string protocol_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
int partDuration_;
|
||||
std::string streamName_;
|
||||
bool ignoreTranscode_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setStartTime(const std::string &startTime);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getPullAlways() const;
|
||||
@@ -50,6 +52,7 @@ public:
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string pullAlways_;
|
||||
std::string domainName_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setStorageLocation(const std::string &storageLocation);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getOnDemand() const;
|
||||
void setOnDemand(int onDemand);
|
||||
std::string getStreamName() const;
|
||||
@@ -56,6 +58,7 @@ private:
|
||||
std::string composeVodTranscodeGroupId_;
|
||||
std::string storageLocation_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
int onDemand_;
|
||||
std::string streamName_;
|
||||
std::string vodTranscodeGroupId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~AddLiveSnapshotNotifyConfigRequest();
|
||||
std::string getNotifyReqAuth() const;
|
||||
void setNotifyReqAuth(const std::string ¬ifyReqAuth);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getNotifyUrl() const;
|
||||
void setNotifyUrl(const std::string ¬ifyUrl);
|
||||
std::string getDomainName() const;
|
||||
@@ -43,6 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string notifyReqAuth_;
|
||||
std::string regionId_;
|
||||
std::string notifyUrl_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setProtocol(const std::string &protocol);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getInStreamName2() const;
|
||||
void setInStreamName2(const std::string &inStreamName2);
|
||||
std::string getStreamName() const;
|
||||
@@ -59,6 +61,7 @@ private:
|
||||
std::string startTime_;
|
||||
std::string protocol_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string inStreamName2_;
|
||||
std::string streamName_;
|
||||
std::string inStreamName1_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void set_Template(const std::string &_template);
|
||||
std::string getLazy() const;
|
||||
void setLazy(const std::string &lazy);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getMix() const;
|
||||
void setMix(const std::string &mix);
|
||||
std::string getApp() const;
|
||||
@@ -54,6 +56,7 @@ public:
|
||||
private:
|
||||
std::string _template_;
|
||||
std::string lazy_;
|
||||
std::string regionId_;
|
||||
std::string mix_;
|
||||
std::string app_;
|
||||
std::string encryptParameters_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setDescription(const std::string &description);
|
||||
int getType() const;
|
||||
void setType(int type);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getHeight() const;
|
||||
void setHeight(int height);
|
||||
float getXOffset() const;
|
||||
@@ -62,6 +64,7 @@ private:
|
||||
std::string pictureUrl_;
|
||||
std::string description_;
|
||||
int type_;
|
||||
std::string regionId_;
|
||||
int height_;
|
||||
float xOffset_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~AddLiveStreamWatermarkRuleRequest();
|
||||
std::string getDescription() const;
|
||||
void setDescription(const std::string &description);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStream() const;
|
||||
void setStream(const std::string &stream);
|
||||
std::string getApp() const;
|
||||
@@ -47,6 +49,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string description_;
|
||||
std::string regionId_;
|
||||
std::string stream_;
|
||||
std::string app_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~AddPlaylistItemsRequest();
|
||||
std::string getProgramItems() const;
|
||||
void setProgramItems(const std::string &programItems);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getProgramId() const;
|
||||
void setProgramId(const std::string &programId);
|
||||
std::string getCasterId() const;
|
||||
@@ -43,6 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string programItems_;
|
||||
std::string regionId_;
|
||||
std::string programId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -42,6 +42,8 @@ public:
|
||||
void setOpus(bool opus);
|
||||
std::string getAudioCodec() const;
|
||||
void setAudioCodec(const std::string &audioCodec);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTemplateType() const;
|
||||
void setTemplateType(const std::string &templateType);
|
||||
std::string getAudioProfile() const;
|
||||
@@ -76,6 +78,7 @@ private:
|
||||
std::string gop_;
|
||||
bool opus_;
|
||||
std::string audioCodec_;
|
||||
std::string regionId_;
|
||||
std::string templateType_;
|
||||
std::string audioProfile_;
|
||||
int height_;
|
||||
|
||||
@@ -51,6 +51,8 @@ public:
|
||||
void setRepeatTimes(int repeatTimes);
|
||||
std::string getShowName() const;
|
||||
void setShowName(const std::string &showName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getCasterId() const;
|
||||
@@ -71,6 +73,7 @@ private:
|
||||
long duration_;
|
||||
int repeatTimes_;
|
||||
std::string showName_;
|
||||
std::string regionId_;
|
||||
std::string resourceId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setScreenInputConfigList(const std::string &screenInputConfigList);
|
||||
std::string getLayoutType() const;
|
||||
void setLayoutType(const std::string &layoutType);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getLayoutName() const;
|
||||
void setLayoutName(const std::string &layoutName);
|
||||
std::string getLayerOrderConfigList() const;
|
||||
@@ -52,6 +54,7 @@ public:
|
||||
private:
|
||||
std::string screenInputConfigList_;
|
||||
std::string layoutType_;
|
||||
std::string regionId_;
|
||||
std::string layoutName_;
|
||||
std::string layerOrderConfigList_;
|
||||
std::string mediaInputConfigList_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setPattern(const std::string &pattern);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getRepeat() const;
|
||||
void setRepeat(int repeat);
|
||||
std::string getText() const;
|
||||
@@ -50,6 +52,7 @@ public:
|
||||
private:
|
||||
std::string pattern_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
int repeat_;
|
||||
std::string text_;
|
||||
std::string streamName_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT ChangeLiveDomainResourceGroupRequest : public Rpc
|
||||
public:
|
||||
ChangeLiveDomainResourceGroupRequest();
|
||||
~ChangeLiveDomainResourceGroupRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setNewResourceGroupId(const std::string &newResourceGroupId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string newResourceGroupId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~CloseLiveShiftRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~CopyCasterRequest();
|
||||
std::string getClientToken() const;
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterName() const;
|
||||
void setCasterName(const std::string &casterName);
|
||||
std::string getSrcCasterId() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string regionId_;
|
||||
std::string casterName_;
|
||||
std::string srcCasterId_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setFromSceneId(const std::string &fromSceneId);
|
||||
std::string getToSceneId() const;
|
||||
void setToSceneId(const std::string &toSceneId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
@@ -42,6 +44,7 @@ public:
|
||||
private:
|
||||
std::string fromSceneId_;
|
||||
std::string toSceneId_;
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setClientToken(const std::string &clientToken);
|
||||
std::string getResourceGroupId() const;
|
||||
void setResourceGroupId(const std::string &resourceGroupId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterName() const;
|
||||
void setCasterName(const std::string &casterName);
|
||||
std::vector<Tag> getTag() const;
|
||||
@@ -60,6 +62,7 @@ public:
|
||||
private:
|
||||
std::string clientToken_;
|
||||
std::string resourceGroupId_;
|
||||
std::string regionId_;
|
||||
std::string casterName_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string casterTemplate_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~CreateCustomTemplateRequest();
|
||||
std::string get_Template() const;
|
||||
void set_Template(const std::string &_template);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCustomTemplate() const;
|
||||
void setCustomTemplate(const std::string &customTemplate);
|
||||
long getOwnerId() const;
|
||||
@@ -39,6 +41,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string _template_;
|
||||
std::string regionId_;
|
||||
std::string customTemplate_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setStreamInput(const std::string &streamInput);
|
||||
std::string getStreamOutput() const;
|
||||
void setStreamOutput(const std::string &streamOutput);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
long getOwnerId() const;
|
||||
@@ -46,6 +48,7 @@ public:
|
||||
private:
|
||||
std::string streamInput_;
|
||||
std::string streamOutput_;
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
|
||||
@@ -52,6 +52,8 @@ public:
|
||||
void setMattingType(const std::string &mattingType);
|
||||
std::string getMediaResourceUrl() const;
|
||||
void setMediaResourceUrl(const std::string &mediaResourceUrl);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
int getHeight() const;
|
||||
void setHeight(int height);
|
||||
std::string getBackgroundResourceUrl() const;
|
||||
@@ -76,6 +78,7 @@ private:
|
||||
std::string backgroundType_;
|
||||
std::string mattingType_;
|
||||
std::string mediaResourceUrl_;
|
||||
std::string regionId_;
|
||||
int height_;
|
||||
std::string backgroundResourceUrl_;
|
||||
std::string mediaResourceId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~CreateLiveDelayConfigRequest();
|
||||
int getDelayTime() const;
|
||||
void setDelayTime(int delayTime);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStream() const;
|
||||
void setStream(const std::string &stream);
|
||||
std::string getApp() const;
|
||||
@@ -45,6 +47,7 @@ public:
|
||||
|
||||
private:
|
||||
int delayTime_;
|
||||
std::string regionId_;
|
||||
std::string stream_;
|
||||
std::string app_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -38,6 +38,8 @@ public:
|
||||
void setAccelerationArea(const std::string &accelerationArea);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -56,6 +58,7 @@ private:
|
||||
std::string reuse_;
|
||||
std::string accelerationArea_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -40,6 +40,8 @@ public:
|
||||
void setStartTime(const std::string &startTime);
|
||||
int getRepeatNumber() const;
|
||||
void setRepeatNumber(int repeatNumber);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getSourceProtocol() const;
|
||||
void setSourceProtocol(const std::string &sourceProtocol);
|
||||
std::string getSourceType() const;
|
||||
@@ -67,6 +69,7 @@ private:
|
||||
std::string taskName_;
|
||||
std::string startTime_;
|
||||
int repeatNumber_;
|
||||
std::string regionId_;
|
||||
std::string sourceProtocol_;
|
||||
std::string sourceType_;
|
||||
int offset_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~CreateLiveRealTimeLogDeliveryRequest();
|
||||
std::string getProject() const;
|
||||
void setProject(const std::string &project);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
@@ -43,6 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string project_;
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string region_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setMonitorConfig(const std::string &monitorConfig);
|
||||
std::string getMonitorName() const;
|
||||
void setMonitorName(const std::string &monitorName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStream() const;
|
||||
void setStream(const std::string &stream);
|
||||
std::string getOutputTemplate() const;
|
||||
@@ -54,6 +56,7 @@ public:
|
||||
private:
|
||||
std::string monitorConfig_;
|
||||
std::string monitorName_;
|
||||
std::string regionId_;
|
||||
std::string stream_;
|
||||
std::string outputTemplate_;
|
||||
std::string app_;
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setOutputConfig(const std::string &outputConfig);
|
||||
std::string getLayoutId() const;
|
||||
void setLayoutId(const std::string &layoutId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
std::string getInputStreamList() const;
|
||||
@@ -46,6 +48,7 @@ public:
|
||||
private:
|
||||
std::string outputConfig_;
|
||||
std::string layoutId_;
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
std::string inputStreamList_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -36,6 +36,8 @@ public:
|
||||
void setLanguage(const std::string &language);
|
||||
std::string getMode() const;
|
||||
void setMode(const std::string &mode);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
bool getTranslateEnabled() const;
|
||||
void setTranslateEnabled(bool translateEnabled);
|
||||
std::string getTag() const;
|
||||
@@ -65,6 +67,7 @@ private:
|
||||
std::string authKey_;
|
||||
std::string language_;
|
||||
std::string mode_;
|
||||
std::string regionId_;
|
||||
bool translateEnabled_;
|
||||
std::string tag_;
|
||||
std::string streamURL_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteCasterComponentRequest : public RpcServiceR
|
||||
public:
|
||||
DeleteCasterComponentRequest();
|
||||
~DeleteCasterComponentRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getComponentId() const;
|
||||
void setComponentId(const std::string &componentId);
|
||||
std::string getCasterId() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string componentId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeGroupRequest : public RpcServi
|
||||
public:
|
||||
DeleteCasterEpisodeGroupRequest();
|
||||
~DeleteCasterEpisodeGroupRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getProgramId() const;
|
||||
void setProgramId(const std::string &programId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string programId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteCasterEpisodeRequest : public RpcServiceReq
|
||||
public:
|
||||
DeleteCasterEpisodeRequest();
|
||||
~DeleteCasterEpisodeRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setEpisodeId(const std::string &episodeId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
std::string episodeId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteCasterLayoutRequest();
|
||||
std::string getLayoutId() const;
|
||||
void setLayoutId(const std::string &layoutId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
@@ -39,6 +41,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string layoutId_;
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteCasterProgramRequest : public RpcServiceReq
|
||||
public:
|
||||
DeleteCasterProgramRequest();
|
||||
~DeleteCasterProgramRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteCasterRequest : public RpcServiceRequest {
|
||||
public:
|
||||
DeleteCasterRequest();
|
||||
~DeleteCasterRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteCasterSceneConfigRequest();
|
||||
std::string getType() const;
|
||||
void setType(const std::string &type);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
std::string sceneId_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteCasterVideoResourceRequest : public RpcServ
|
||||
public:
|
||||
DeleteCasterVideoResourceRequest();
|
||||
~DeleteCasterVideoResourceRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getResourceId() const;
|
||||
void setResourceId(const std::string &resourceId);
|
||||
std::string getCasterId() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string resourceId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,11 +32,14 @@ public:
|
||||
~DeleteCustomTemplateRequest();
|
||||
std::string get_Template() const;
|
||||
void set_Template(const std::string &_template);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string _template_;
|
||||
std::string regionId_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteEdgeTranscodeJobRequest();
|
||||
std::string getJobId() const;
|
||||
void setJobId(const std::string &jobId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getClusterId() const;
|
||||
void setClusterId(const std::string &clusterId);
|
||||
long getOwnerId() const;
|
||||
@@ -39,6 +41,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string jobId_;
|
||||
std::string regionId_;
|
||||
std::string clusterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAIProduceRulesRequest : public RpcServi
|
||||
public:
|
||||
DeleteLiveAIProduceRulesRequest();
|
||||
~DeleteLiveAIProduceRulesRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getRulesId() const;
|
||||
void setRulesId(const std::string &rulesId);
|
||||
std::string getApp() const;
|
||||
@@ -42,6 +44,7 @@ public:
|
||||
void setDomain(const std::string &domain);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string rulesId_;
|
||||
std::string app_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAIStudioRequest : public RpcServiceRequ
|
||||
public:
|
||||
DeleteLiveAIStudioRequest();
|
||||
~DeleteLiveAIStudioRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStudioId() const;
|
||||
void setStudioId(const std::string &studioId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string studioId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLiveAISubtitleRequest();
|
||||
std::string getSubtitleName() const;
|
||||
void setSubtitleName(const std::string &subtitleName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSubtitleId() const;
|
||||
@@ -39,6 +41,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string subtitleName_;
|
||||
std::string regionId_;
|
||||
long ownerId_;
|
||||
std::string subtitleId_;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLiveAudioAuditConfigRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveAudioAuditNotifyConfigRequest : public
|
||||
public:
|
||||
DeleteLiveAudioAuditNotifyConfigRequest();
|
||||
~DeleteLiveAudioAuditNotifyConfigRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLiveCenterTransferRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDstUrl() const;
|
||||
@@ -43,6 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string dstUrl_;
|
||||
std::string domainName_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDelayConfigRequest : public RpcServiceR
|
||||
public:
|
||||
DeleteLiveDelayConfigRequest();
|
||||
~DeleteLiveDelayConfigRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStream() const;
|
||||
void setStream(const std::string &stream);
|
||||
std::string getApp() const;
|
||||
@@ -40,6 +42,7 @@ public:
|
||||
void setDomain(const std::string &domain);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string stream_;
|
||||
std::string app_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveDomainPlayMappingRequest : public RpcSe
|
||||
public:
|
||||
DeleteLiveDomainPlayMappingRequest();
|
||||
~DeleteLiveDomainPlayMappingRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getPlayDomain() const;
|
||||
void setPlayDomain(const std::string &playDomain);
|
||||
long getOwnerId() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setPullDomain(const std::string &pullDomain);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string playDomain_;
|
||||
long ownerId_;
|
||||
std::string pullDomain_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveEdgeTransferRequest : public RpcService
|
||||
public:
|
||||
DeleteLiveEdgeTransferRequest();
|
||||
~DeleteLiveEdgeTransferRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -36,11 +36,14 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Live
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLivePackageConfigRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLivePrivateLineRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -43,6 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLivePullStreamInfoConfigRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLivePullToPushRequest : public RpcServiceRe
|
||||
public:
|
||||
DeleteLivePullToPushRequest();
|
||||
~DeleteLivePullToPushRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
long getOwnerId() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setRegion(const std::string ®ion);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string taskId_;
|
||||
long ownerId_;
|
||||
std::string region_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLiveRealTimeLogLogstoreRequest();
|
||||
std::string getProject() const;
|
||||
void setProject(const std::string &project);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRegion() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string project_;
|
||||
std::string regionId_;
|
||||
long ownerId_;
|
||||
std::string region_;
|
||||
std::string logstore_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLiveRealtimeLogDeliveryRequest();
|
||||
std::string getProject() const;
|
||||
void setProject(const std::string &project);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
@@ -43,6 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string project_;
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string region_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLiveRecordVodConfigRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveSnapshotNotifyConfigRequest : public Rp
|
||||
public:
|
||||
DeleteLiveSnapshotNotifyConfigRequest();
|
||||
~DeleteLiveSnapshotNotifyConfigRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLiveStreamBlockRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteLiveStreamMergeRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -41,6 +43,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,11 +32,14 @@ public:
|
||||
~DeleteLiveStreamMonitorRequest();
|
||||
std::string getMonitorId() const;
|
||||
void setMonitorId(const std::string &monitorId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string monitorId_;
|
||||
std::string regionId_;
|
||||
long ownerId_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setRemoveFile(const std::string &removeFile);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -46,6 +48,7 @@ public:
|
||||
private:
|
||||
std::string removeFile_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamWatermarkRequest : public RpcServ
|
||||
public:
|
||||
DeleteLiveStreamWatermarkRequest();
|
||||
~DeleteLiveStreamWatermarkRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTemplateId() const;
|
||||
void setTemplateId(const std::string &templateId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
long ownerId_;
|
||||
std::string templateId_;
|
||||
};
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamWatermarkRuleRequest : public Rpc
|
||||
public:
|
||||
DeleteLiveStreamWatermarkRuleRequest();
|
||||
~DeleteLiveStreamWatermarkRuleRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStream() const;
|
||||
void setStream(const std::string &stream);
|
||||
std::string getApp() const;
|
||||
@@ -42,6 +44,7 @@ public:
|
||||
void setRuleId(const std::string &ruleId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string stream_;
|
||||
std::string app_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteLiveStreamsNotifyUrlConfigRequest : public
|
||||
public:
|
||||
DeleteLiveStreamsNotifyUrlConfigRequest();
|
||||
~DeleteLiveStreamsNotifyUrlConfigRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteMixStreamRequest();
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getMixStreamId() const;
|
||||
@@ -43,6 +45,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string mixStreamId_;
|
||||
std::string domainName_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeletePlaylistItemsRequest();
|
||||
std::string getProgramItemIds() const;
|
||||
void setProgramItemIds(const std::string &programItemIds);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getProgramId() const;
|
||||
void setProgramId(const std::string &programId);
|
||||
long getOwnerId() const;
|
||||
@@ -39,6 +41,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string programItemIds_;
|
||||
std::string regionId_;
|
||||
std::string programId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeletePlaylistRequest : public RpcServiceRequest
|
||||
public:
|
||||
DeletePlaylistRequest();
|
||||
~DeletePlaylistRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getProgramId() const;
|
||||
void setProgramId(const std::string &programId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string programId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteRtcAsrTaskRequest : public RpcServiceReques
|
||||
public:
|
||||
DeleteRtcAsrTaskRequest();
|
||||
~DeleteRtcAsrTaskRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getTaskId() const;
|
||||
void setTaskId(const std::string &taskId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string taskId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DeleteSnapshotCallbackAuthRequest : public RpcSer
|
||||
public:
|
||||
DeleteSnapshotCallbackAuthRequest();
|
||||
~DeleteSnapshotCallbackAuthRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getDomainName() const;
|
||||
void setDomainName(const std::string &domainName);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -34,6 +34,8 @@ public:
|
||||
void setRemoveFile(bool removeFile);
|
||||
std::string getAppName() const;
|
||||
void setAppName(const std::string &appName);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getStreamName() const;
|
||||
void setStreamName(const std::string &streamName);
|
||||
std::string getDomainName() const;
|
||||
@@ -46,6 +48,7 @@ public:
|
||||
private:
|
||||
bool removeFile_;
|
||||
std::string appName_;
|
||||
std::string regionId_;
|
||||
std::string streamName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DeleteStudioLayoutRequest();
|
||||
std::string getLayoutId() const;
|
||||
void setLayoutId(const std::string &layoutId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
@@ -39,6 +41,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string layoutId_;
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DescribeAutoShowListTasksRequest : public RpcServ
|
||||
public:
|
||||
DescribeAutoShowListTasksRequest();
|
||||
~DescribeAutoShowListTasksRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DescribeCasterChannelsRequest : public RpcService
|
||||
public:
|
||||
DescribeCasterChannelsRequest();
|
||||
~DescribeCasterChannelsRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -30,6 +30,8 @@ class ALIBABACLOUD_LIVE_EXPORT DescribeCasterComponentsRequest : public RpcServi
|
||||
public:
|
||||
DescribeCasterComponentsRequest();
|
||||
~DescribeCasterComponentsRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getComponentId() const;
|
||||
void setComponentId(const std::string &componentId);
|
||||
std::string getCasterId() const;
|
||||
@@ -38,6 +40,7 @@ public:
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string componentId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
|
||||
@@ -30,12 +30,15 @@ class ALIBABACLOUD_LIVE_EXPORT DescribeCasterConfigRequest : public RpcServiceRe
|
||||
public:
|
||||
DescribeCasterConfigRequest();
|
||||
~DescribeCasterConfigRequest();
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
@@ -32,6 +32,8 @@ public:
|
||||
~DescribeCasterLayoutsRequest();
|
||||
std::string getLayoutId() const;
|
||||
void setLayoutId(const std::string &layoutId);
|
||||
std::string getRegionId() const;
|
||||
void setRegionId(const std::string ®ionId);
|
||||
std::string getCasterId() const;
|
||||
void setCasterId(const std::string &casterId);
|
||||
long getOwnerId() const;
|
||||
@@ -39,6 +41,7 @@ public:
|
||||
|
||||
private:
|
||||
std::string layoutId_;
|
||||
std::string regionId_;
|
||||
std::string casterId_;
|
||||
long ownerId_;
|
||||
};
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user