Compare commits

..

3 Commits

Author SHA1 Message Date
sdk-team
67e0beb4b2 LIVE SDK Auto Released By wb-czb515173,Version:1.36.42
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-06-04 18:35:43 +08:00
sdk-team
9accac447f SMARTAG SDK Auto Released By jijun.jj,Version:1.36.41
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-06-03 20:08:06 +08:00
sdk-team
cab1294e1a ARMS SDK Auto Released By shichun.fsc,Version:1.36.40
Signed-off-by: sdk-team <sdk-team@alibabacloud.com>
2019-05-31 14:38:45 +08:00
979 changed files with 63629 additions and 43357 deletions

View File

@@ -1,3 +1,13 @@
2019-06-04 Version: 1.36.42
1, Add new API: UpdateLivePullStreamInfoConfig
2019-06-03 Version: 1.36.41
1, Add openapi of ACL.
2019-05-31 Version: 1.36.40
1, add api 'search traces count'
2, add page index for api 'searchTraces'
2019-05-31 Version: 1.36.39
1, Add authority in GetMaterials API.

View File

@@ -1 +1 @@
1.36.39
1.36.42

View File

@@ -1,90 +1,82 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT 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(arms_public_header
include/alibabacloud/arms/ARMSClient.h
include/alibabacloud/arms/ARMSExport.h )
set(arms_public_header_model
include/alibabacloud/arms/model/ARMSQueryDataSetRequest.h
include/alibabacloud/arms/model/ARMSQueryDataSetResult.h
include/alibabacloud/arms/model/MetricQueryRequest.h
include/alibabacloud/arms/model/MetricQueryResult.h )
include/alibabacloud/arms/ARMSExport.h )
set(arms_public_header_model )
set(arms_src
src/ARMSClient.cc
src/model/ARMSQueryDataSetRequest.cc
src/model/ARMSQueryDataSetResult.cc
src/model/MetricQueryRequest.cc
src/model/MetricQueryResult.cc )
add_library(arms ${LIB_TYPE}
${arms_public_header}
${arms_public_header_model}
${arms_src})
set_target_properties(arms
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}arms
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(arms
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_ARMS_LIBRARY)
endif()
target_include_directories(arms
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(arms
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(arms
jsoncpp)
target_include_directories(arms
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(arms
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(arms
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(arms
PRIVATE /usr/include/jsoncpp)
target_link_libraries(arms
jsoncpp)
endif()
install(FILES ${arms_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms)
install(FILES ${arms_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms/model)
install(TARGETS arms
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
src/ARMSClient.cc )
add_library(arms ${LIB_TYPE}
${arms_public_header}
${arms_public_header_model}
${arms_src})
set_target_properties(arms
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}arms
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(arms
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_ARMS_LIBRARY)
endif()
target_include_directories(arms
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(arms
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(arms
jsoncpp)
target_include_directories(arms
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(arms
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(arms
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(arms
PRIVATE /usr/include/jsoncpp)
target_link_libraries(arms
jsoncpp)
endif()
install(FILES ${arms_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms)
install(FILES ${arms_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/arms/model)
install(TARGETS arms
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

View File

@@ -1,62 +1,118 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ARMS_ARMSCLIENT_H_
#define ALIBABACLOUD_ARMS_ARMSCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "ARMSExport.h"
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ARMS_ARMSCLIENT_H_
#define ALIBABACLOUD_ARMS_ARMSCLIENT_H_
#include <future>
#include <alibabacloud/core/AsyncCallerContext.h>
#include <alibabacloud/core/EndpointProvider.h>
#include <alibabacloud/core/RpcServiceClient.h>
#include "ARMSExport.h"
#include "model/GetTraceRequest.h"
#include "model/GetTraceResult.h"
#include "model/SearchTracesRequest.h"
#include "model/SearchTracesResult.h"
#include "model/SearchTraceCountRequest.h"
#include "model/SearchTraceCountResult.h"
#include "model/GetTagKeyRequest.h"
#include "model/GetTagKeyResult.h"
#include "model/ARMSQueryDataSetRequest.h"
#include "model/ARMSQueryDataSetResult.h"
#include "model/GetSpanNamesRequest.h"
#include "model/GetSpanNamesResult.h"
#include "model/GetServicesRequest.h"
#include "model/GetServicesResult.h"
#include "model/MetricQueryRequest.h"
#include "model/MetricQueryResult.h"
namespace AlibabaCloud
{
namespace ARMS
{
class ALIBABACLOUD_ARMS_EXPORT ARMSClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::ARMSQueryDataSetResult> ARMSQueryDataSetOutcome;
typedef std::future<ARMSQueryDataSetOutcome> ARMSQueryDataSetOutcomeCallable;
#include "model/GetTagValRequest.h"
#include "model/GetTagValResult.h"
namespace AlibabaCloud
{
namespace ARMS
{
class ALIBABACLOUD_ARMS_EXPORT ARMSClient : public RpcServiceClient
{
public:
typedef Outcome<Error, Model::GetTraceResult> GetTraceOutcome;
typedef std::future<GetTraceOutcome> GetTraceOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetTraceRequest&, const GetTraceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTraceAsyncHandler;
typedef Outcome<Error, Model::SearchTracesResult> SearchTracesOutcome;
typedef std::future<SearchTracesOutcome> SearchTracesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchTracesRequest&, const SearchTracesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTracesAsyncHandler;
typedef Outcome<Error, Model::SearchTraceCountResult> SearchTraceCountOutcome;
typedef std::future<SearchTraceCountOutcome> SearchTraceCountOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::SearchTraceCountRequest&, const SearchTraceCountOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SearchTraceCountAsyncHandler;
typedef Outcome<Error, Model::GetTagKeyResult> GetTagKeyOutcome;
typedef std::future<GetTagKeyOutcome> GetTagKeyOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetTagKeyRequest&, const GetTagKeyOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagKeyAsyncHandler;
typedef Outcome<Error, Model::ARMSQueryDataSetResult> ARMSQueryDataSetOutcome;
typedef std::future<ARMSQueryDataSetOutcome> ARMSQueryDataSetOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::ARMSQueryDataSetRequest&, const ARMSQueryDataSetOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> ARMSQueryDataSetAsyncHandler;
typedef Outcome<Error, Model::MetricQueryResult> MetricQueryOutcome;
typedef std::future<MetricQueryOutcome> MetricQueryOutcomeCallable;
typedef Outcome<Error, Model::GetSpanNamesResult> GetSpanNamesOutcome;
typedef std::future<GetSpanNamesOutcome> GetSpanNamesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetSpanNamesRequest&, const GetSpanNamesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSpanNamesAsyncHandler;
typedef Outcome<Error, Model::GetServicesResult> GetServicesOutcome;
typedef std::future<GetServicesOutcome> GetServicesOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetServicesRequest&, const GetServicesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetServicesAsyncHandler;
typedef Outcome<Error, Model::MetricQueryResult> MetricQueryOutcome;
typedef std::future<MetricQueryOutcome> MetricQueryOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::MetricQueryRequest&, const MetricQueryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> MetricQueryAsyncHandler;
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ARMSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ARMSClient();
ARMSQueryDataSetOutcome aRMSQueryDataSet(const Model::ARMSQueryDataSetRequest &request)const;
void aRMSQueryDataSetAsync(const Model::ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
typedef Outcome<Error, Model::GetTagValResult> GetTagValOutcome;
typedef std::future<GetTagValOutcome> GetTagValOutcomeCallable;
typedef std::function<void(const ARMSClient*, const Model::GetTagValRequest&, const GetTagValOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTagValAsyncHandler;
ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration);
ARMSClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
ARMSClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
~ARMSClient();
GetTraceOutcome getTrace(const Model::GetTraceRequest &request)const;
void getTraceAsync(const Model::GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTraceOutcomeCallable getTraceCallable(const Model::GetTraceRequest& request) const;
SearchTracesOutcome searchTraces(const Model::SearchTracesRequest &request)const;
void searchTracesAsync(const Model::SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchTracesOutcomeCallable searchTracesCallable(const Model::SearchTracesRequest& request) const;
SearchTraceCountOutcome searchTraceCount(const Model::SearchTraceCountRequest &request)const;
void searchTraceCountAsync(const Model::SearchTraceCountRequest& request, const SearchTraceCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
SearchTraceCountOutcomeCallable searchTraceCountCallable(const Model::SearchTraceCountRequest& request) const;
GetTagKeyOutcome getTagKey(const Model::GetTagKeyRequest &request)const;
void getTagKeyAsync(const Model::GetTagKeyRequest& request, const GetTagKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTagKeyOutcomeCallable getTagKeyCallable(const Model::GetTagKeyRequest& request) const;
ARMSQueryDataSetOutcome aRMSQueryDataSet(const Model::ARMSQueryDataSetRequest &request)const;
void aRMSQueryDataSetAsync(const Model::ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
ARMSQueryDataSetOutcomeCallable aRMSQueryDataSetCallable(const Model::ARMSQueryDataSetRequest& request) const;
MetricQueryOutcome metricQuery(const Model::MetricQueryRequest &request)const;
void metricQueryAsync(const Model::MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSpanNamesOutcome getSpanNames(const Model::GetSpanNamesRequest &request)const;
void getSpanNamesAsync(const Model::GetSpanNamesRequest& request, const GetSpanNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetSpanNamesOutcomeCallable getSpanNamesCallable(const Model::GetSpanNamesRequest& request) const;
GetServicesOutcome getServices(const Model::GetServicesRequest &request)const;
void getServicesAsync(const Model::GetServicesRequest& request, const GetServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetServicesOutcomeCallable getServicesCallable(const Model::GetServicesRequest& request) const;
MetricQueryOutcome metricQuery(const Model::MetricQueryRequest &request)const;
void metricQueryAsync(const Model::MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
MetricQueryOutcomeCallable metricQueryCallable(const Model::MetricQueryRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_ARMS_ARMSCLIENT_H_
GetTagValOutcome getTagVal(const Model::GetTagValRequest &request)const;
void getTagValAsync(const Model::GetTagValRequest& request, const GetTagValAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
GetTagValOutcomeCallable getTagValCallable(const Model::GetTagValRequest& request) const;
private:
std::shared_ptr<EndpointProvider> endpointProvider_;
};
}
}
#endif // !ALIBABACLOUD_ARMS_ARMSCLIENT_H_

View File

@@ -1,32 +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_ARMS_ARMSEXPORT_H_
#define ALIBABACLOUD_ARMS_ARMSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_ARMS_LIBRARY)
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_ARMS_EXPORT
#endif
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ARMS_ARMSEXPORT_H_
#define ALIBABACLOUD_ARMS_ARMSEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_ARMS_LIBRARY)
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_ARMS_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_ARMS_EXPORT
#endif
#endif // !ALIBABACLOUD_ARMS_ARMSEXPORT_H_

View File

@@ -1,35 +1,35 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetRequest : public RpcServiceRequest
{
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetRequest : public RpcServiceRequest
{
struct OptionalDims
{
std::string type;
@@ -48,11 +48,11 @@ namespace AlibabaCloud
std::string value;
std::string key;
};
public:
ARMSQueryDataSetRequest();
~ARMSQueryDataSetRequest();
public:
ARMSQueryDataSetRequest();
~ARMSQueryDataSetRequest();
std::string getDateStr()const;
void setDateStr(const std::string& dateStr);
long getMinTime()const;
@@ -87,8 +87,8 @@ namespace AlibabaCloud
void setDatasetId(long datasetId);
std::vector<Dimensions> getDimensions()const;
void setDimensions(const std::vector<Dimensions>& dimensions);
private:
private:
std::string dateStr_;
long minTime_;
bool reduceTail_;
@@ -106,9 +106,9 @@ namespace AlibabaCloud
std::vector<RequiredDims> requiredDims_;
long datasetId_;
std::vector<Dimensions> dimensions_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETREQUEST_H_

View File

@@ -1,51 +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_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetResult : public ServiceResult
{
public:
ARMSQueryDataSetResult();
explicit ARMSQueryDataSetResult(const std::string &payload);
~ARMSQueryDataSetResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT ARMSQueryDataSetResult : public ServiceResult
{
public:
ARMSQueryDataSetResult();
explicit ARMSQueryDataSetResult(const std::string &payload);
~ARMSQueryDataSetResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_ARMSQUERYDATASETRESULT_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETSERVICESREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETSERVICESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetServicesRequest : public RpcServiceRequest
{
public:
GetServicesRequest();
~GetServicesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAppType()const;
void setAppType(const std::string& appType);
private:
std::string regionId_;
std::string appType_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSERVICESREQUEST_H_

View File

@@ -0,0 +1,62 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETSERVICESRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETSERVICESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetServicesResult : public ServiceResult
{
public:
struct Data
{
struct DetailsItem
{
std::string serviceName;
std::string pid;
std::string regionId;
};
std::vector<std::string> services;
std::vector<DetailsItem> details;
};
GetServicesResult();
explicit GetServicesResult(const std::string &payload);
~GetServicesResult();
Data getData()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSERVICESRESULT_H_

View File

@@ -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_ARMS_MODEL_GETSPANNAMESREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetSpanNamesRequest : public RpcServiceRequest
{
public:
GetSpanNamesRequest();
~GetSpanNamesRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
long getStartTime()const;
void setStartTime(long startTime);
private:
std::string regionId_;
long endTime_;
std::string serviceName_;
long startTime_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetSpanNamesResult : public ServiceResult
{
public:
GetSpanNamesResult();
explicit GetSpanNamesResult(const std::string &payload);
~GetSpanNamesResult();
std::vector<std::string> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> data_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETSPANNAMESRESULT_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTAGKEYREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETTAGKEYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetTagKeyRequest : public RpcServiceRequest
{
public:
GetTagKeyRequest();
~GetTagKeyRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
long getStartTime()const;
void setStartTime(long startTime);
std::string getSpanName()const;
void setSpanName(const std::string& spanName);
private:
std::string regionId_;
long endTime_;
std::string serviceName_;
long startTime_;
std::string spanName_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTAGKEYREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTAGKEYRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETTAGKEYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetTagKeyResult : public ServiceResult
{
public:
GetTagKeyResult();
explicit GetTagKeyResult(const std::string &payload);
~GetTagKeyResult();
std::vector<std::string> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> data_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTAGKEYRESULT_H_

View File

@@ -0,0 +1,63 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTAGVALREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETTAGVALREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetTagValRequest : public RpcServiceRequest
{
public:
GetTagValRequest();
~GetTagValRequest();
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
long getEndTime()const;
void setEndTime(long endTime);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
long getStartTime()const;
void setStartTime(long startTime);
std::string getTagKey()const;
void setTagKey(const std::string& tagKey);
std::string getSpanName()const;
void setSpanName(const std::string& spanName);
private:
std::string regionId_;
long endTime_;
std::string serviceName_;
long startTime_;
std::string tagKey_;
std::string spanName_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTAGVALREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTAGVALRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETTAGVALRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetTagValResult : public ServiceResult
{
public:
GetTagValResult();
explicit GetTagValResult(const std::string &payload);
~GetTagValResult();
std::vector<std::string> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<std::string> data_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTAGVALRESULT_H_

View 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_ARMS_MODEL_GETTRACEREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_GETTRACEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetTraceRequest : public RpcServiceRequest
{
public:
GetTraceRequest();
~GetTraceRequest();
std::string getTraceID()const;
void setTraceID(const std::string& traceID);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getAppType()const;
void setAppType(const std::string& appType);
private:
std::string traceID_;
std::string regionId_;
std::string appType_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTRACEREQUEST_H_

View File

@@ -0,0 +1,80 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_GETTRACERESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_GETTRACERESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT GetTraceResult : public ServiceResult
{
public:
struct CallChainInfo
{
struct TagEntry
{
std::string value;
std::string key;
};
struct LogEvent
{
struct TagEntry2
{
std::string value;
std::string key;
};
std::vector<LogEvent::TagEntry2> tagEntryList1;
long timestamp;
};
bool haveStack;
std::string serviceIp;
std::vector<CallChainInfo::LogEvent> logEventList;
std::string operationName;
std::string serviceName;
std::string rpcId;
std::string traceID;
long duration;
std::vector<CallChainInfo::TagEntry> tagEntryList;
long timestamp;
std::string resultCode;
};
GetTraceResult();
explicit GetTraceResult(const std::string &payload);
~GetTraceResult();
std::vector<CallChainInfo> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<CallChainInfo> data_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_GETTRACERESULT_H_

View File

@@ -1,45 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT MetricQueryRequest : public RpcServiceRequest
{
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ARMS_MODEL_METRICQUERYREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT MetricQueryRequest : public RpcServiceRequest
{
struct Filters
{
std::string value;
std::string key;
};
public:
MetricQueryRequest();
~MetricQueryRequest();
public:
MetricQueryRequest();
~MetricQueryRequest();
long getEndTime()const;
void setEndTime(long endTime);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
std::vector<Filters> getFilters()const;
void setFilters(const std::vector<Filters>& filters);
long getStartTime()const;
void setStartTime(long startTime);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
int getIintervalInSec()const;
void setIintervalInSec(int iintervalInSec);
std::vector<std::string> getMeasures()const;
@@ -48,39 +58,32 @@ namespace AlibabaCloud
void setMetric(const std::string& metric);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
int getLimit()const;
void setLimit(int limit);
long getEndTime()const;
void setEndTime(long endTime);
std::string getOrderBy()const;
void setOrderBy(const std::string& orderBy);
long getStartTime()const;
void setStartTime(long startTime);
std::vector<Filters> getFilters()const;
void setFilters(const std::vector<Filters>& filters);
std::vector<std::string> getDimensions()const;
void setDimensions(const std::vector<std::string>& dimensions);
std::string getOrder()const;
void setOrder(const std::string& order);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
private:
long endTime_;
std::string orderBy_;
std::vector<Filters> filters_;
long startTime_;
std::string accessKeyId_;
int iintervalInSec_;
std::vector<std::string> measures_;
std::string metric_;
std::string securityToken_;
std::string regionId_;
int limit_;
long endTime_;
std::string orderBy_;
long startTime_;
std::vector<Filters> filters_;
std::vector<std::string> dimensions_;
std::string order_;
std::string accessKeyId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_METRICQUERYREQUEST_H_

View File

@@ -1,51 +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_ARMS_MODEL_METRICQUERYRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT MetricQueryResult : public ServiceResult
{
public:
MetricQueryResult();
explicit MetricQueryResult(const std::string &payload);
~MetricQueryResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ARMS_MODEL_METRICQUERYRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT MetricQueryResult : public ServiceResult
{
public:
MetricQueryResult();
explicit MetricQueryResult(const std::string &payload);
~MetricQueryResult();
std::string getData()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string data_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_METRICQUERYRESULT_H_

View File

@@ -0,0 +1,77 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT SearchTraceCountRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
SearchTraceCountRequest();
~SearchTraceCountRequest();
std::string getInstanceId()const;
void setInstanceId(const std::string& instanceId);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOperationName()const;
void setOperationName(const std::string& operationName);
std::string getAppType()const;
void setAppType(const std::string& appType);
long getEndTime()const;
void setEndTime(long endTime);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
long getStartTime()const;
void setStartTime(long startTime);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
long getMinDuration()const;
void setMinDuration(long minDuration);
private:
std::string instanceId_;
std::string regionId_;
std::string operationName_;
std::string appType_;
long endTime_;
std::string serviceName_;
long startTime_;
std::vector<Tag> tag_;
long minDuration_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTREQUEST_H_

View File

@@ -0,0 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT SearchTraceCountResult : public ServiceResult
{
public:
struct Data
{
long count;
};
SearchTraceCountResult();
explicit SearchTraceCountResult(const std::string &payload);
~SearchTraceCountResult();
Data getData()const;
protected:
void parse(const std::string &payload);
private:
Data data_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACECOUNTRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESREQUEST_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT SearchTracesRequest : public RpcServiceRequest
{
struct Tag
{
std::string value;
std::string key;
};
public:
SearchTracesRequest();
~SearchTracesRequest();
std::string getServiceIp()const;
void setServiceIp(const std::string& serviceIp);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getOperationName()const;
void setOperationName(const std::string& operationName);
std::string getAppType()const;
void setAppType(const std::string& appType);
int getPageSize()const;
void setPageSize(int pageSize);
long getEndTime()const;
void setEndTime(long endTime);
std::string getServiceName()const;
void setServiceName(const std::string& serviceName);
int getPageIndex()const;
void setPageIndex(int pageIndex);
long getStartTime()const;
void setStartTime(long startTime);
std::vector<Tag> getTag()const;
void setTag(const std::vector<Tag>& tag);
bool getReverse()const;
void setReverse(bool reverse);
long getMinDuration()const;
void setMinDuration(long minDuration);
private:
std::string serviceIp_;
std::string regionId_;
std::string operationName_;
std::string appType_;
int pageSize_;
long endTime_;
std::string serviceName_;
int pageIndex_;
long startTime_;
std::vector<Tag> tag_;
bool reverse_;
long minDuration_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESREQUEST_H_

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESRESULT_H_
#define ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESRESULT_H_
#include <string>
#include <vector>
#include <utility>
#include <alibabacloud/core/ServiceResult.h>
#include <alibabacloud/arms/ARMSExport.h>
namespace AlibabaCloud
{
namespace ARMS
{
namespace Model
{
class ALIBABACLOUD_ARMS_EXPORT SearchTracesResult : public ServiceResult
{
public:
struct TraceInfo
{
std::string serviceIp;
std::string operationName;
std::string serviceName;
std::string traceID;
int duration;
long timestamp;
};
SearchTracesResult();
explicit SearchTracesResult(const std::string &payload);
~SearchTracesResult();
std::vector<TraceInfo> getData()const;
protected:
void parse(const std::string &payload);
private:
std::vector<TraceInfo> data_;
};
}
}
}
#endif // !ALIBABACLOUD_ARMS_MODEL_SEARCHTRACESRESULT_H_

View File

@@ -1,125 +1,377 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/ARMSClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
namespace
{
const std::string SERVICE_NAME = "ARMS";
}
ARMSClient::ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(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, "");
}
ARMSClient::ARMSClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
ARMSClient::ARMSClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(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, "");
}
ARMSClient::~ARMSClient()
{}
ARMSClient::ARMSQueryDataSetOutcome ARMSClient::aRMSQueryDataSet(const ARMSQueryDataSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ARMSQueryDataSetOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ARMSQueryDataSetOutcome(ARMSQueryDataSetResult(outcome.result()));
else
return ARMSQueryDataSetOutcome(outcome.error());
}
void ARMSClient::aRMSQueryDataSetAsync(const ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, aRMSQueryDataSet(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::ARMSQueryDataSetOutcomeCallable ARMSClient::aRMSQueryDataSetCallable(const ARMSQueryDataSetRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ARMSQueryDataSetOutcome()>>(
[this, request]()
{
return this->aRMSQueryDataSet(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
ARMSClient::MetricQueryOutcome ARMSClient::metricQuery(const MetricQueryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return MetricQueryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return MetricQueryOutcome(MetricQueryResult(outcome.result()));
else
return MetricQueryOutcome(outcome.error());
}
void ARMSClient::metricQueryAsync(const MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, metricQuery(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::MetricQueryOutcomeCallable ARMSClient::metricQueryCallable(const MetricQueryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<MetricQueryOutcome()>>(
[this, request]()
{
return this->metricQuery(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
#include <alibabacloud/arms/ARMSClient.h>
#include <alibabacloud/core/SimpleCredentialsProvider.h>
using namespace AlibabaCloud;
using namespace AlibabaCloud::Location;
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
namespace
{
const std::string SERVICE_NAME = "ARMS";
}
ARMSClient::ARMSClient(const Credentials &credentials, const ClientConfiguration &configuration) :
RpcServiceClient(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, "");
}
ARMSClient::ARMSClient(const std::shared_ptr<CredentialsProvider>& credentialsProvider, const ClientConfiguration & configuration) :
RpcServiceClient(SERVICE_NAME, credentialsProvider, configuration)
{
auto locationClient = std::make_shared<LocationClient>(credentialsProvider, configuration);
endpointProvider_ = std::make_shared<EndpointProvider>(locationClient, configuration.regionId(), SERVICE_NAME, "");
}
ARMSClient::ARMSClient(const std::string & accessKeyId, const std::string & accessKeySecret, const ClientConfiguration & configuration) :
RpcServiceClient(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, "");
}
ARMSClient::~ARMSClient()
{}
ARMSClient::GetTraceOutcome ARMSClient::getTrace(const GetTraceRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetTraceOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetTraceOutcome(GetTraceResult(outcome.result()));
else
return GetTraceOutcome(outcome.error());
}
void ARMSClient::getTraceAsync(const GetTraceRequest& request, const GetTraceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getTrace(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetTraceOutcomeCallable ARMSClient::getTraceCallable(const GetTraceRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetTraceOutcome()>>(
[this, request]()
{
return this->getTrace(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::SearchTracesOutcome ARMSClient::searchTraces(const SearchTracesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SearchTracesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SearchTracesOutcome(SearchTracesResult(outcome.result()));
else
return SearchTracesOutcome(outcome.error());
}
void ARMSClient::searchTracesAsync(const SearchTracesRequest& request, const SearchTracesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, searchTraces(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::SearchTracesOutcomeCallable ARMSClient::searchTracesCallable(const SearchTracesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SearchTracesOutcome()>>(
[this, request]()
{
return this->searchTraces(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::SearchTraceCountOutcome ARMSClient::searchTraceCount(const SearchTraceCountRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return SearchTraceCountOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return SearchTraceCountOutcome(SearchTraceCountResult(outcome.result()));
else
return SearchTraceCountOutcome(outcome.error());
}
void ARMSClient::searchTraceCountAsync(const SearchTraceCountRequest& request, const SearchTraceCountAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, searchTraceCount(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::SearchTraceCountOutcomeCallable ARMSClient::searchTraceCountCallable(const SearchTraceCountRequest &request) const
{
auto task = std::make_shared<std::packaged_task<SearchTraceCountOutcome()>>(
[this, request]()
{
return this->searchTraceCount(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetTagKeyOutcome ARMSClient::getTagKey(const GetTagKeyRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetTagKeyOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetTagKeyOutcome(GetTagKeyResult(outcome.result()));
else
return GetTagKeyOutcome(outcome.error());
}
void ARMSClient::getTagKeyAsync(const GetTagKeyRequest& request, const GetTagKeyAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getTagKey(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetTagKeyOutcomeCallable ARMSClient::getTagKeyCallable(const GetTagKeyRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetTagKeyOutcome()>>(
[this, request]()
{
return this->getTagKey(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::ARMSQueryDataSetOutcome ARMSClient::aRMSQueryDataSet(const ARMSQueryDataSetRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return ARMSQueryDataSetOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return ARMSQueryDataSetOutcome(ARMSQueryDataSetResult(outcome.result()));
else
return ARMSQueryDataSetOutcome(outcome.error());
}
void ARMSClient::aRMSQueryDataSetAsync(const ARMSQueryDataSetRequest& request, const ARMSQueryDataSetAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, aRMSQueryDataSet(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::ARMSQueryDataSetOutcomeCallable ARMSClient::aRMSQueryDataSetCallable(const ARMSQueryDataSetRequest &request) const
{
auto task = std::make_shared<std::packaged_task<ARMSQueryDataSetOutcome()>>(
[this, request]()
{
return this->aRMSQueryDataSet(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetSpanNamesOutcome ARMSClient::getSpanNames(const GetSpanNamesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetSpanNamesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetSpanNamesOutcome(GetSpanNamesResult(outcome.result()));
else
return GetSpanNamesOutcome(outcome.error());
}
void ARMSClient::getSpanNamesAsync(const GetSpanNamesRequest& request, const GetSpanNamesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getSpanNames(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetSpanNamesOutcomeCallable ARMSClient::getSpanNamesCallable(const GetSpanNamesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetSpanNamesOutcome()>>(
[this, request]()
{
return this->getSpanNames(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetServicesOutcome ARMSClient::getServices(const GetServicesRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetServicesOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetServicesOutcome(GetServicesResult(outcome.result()));
else
return GetServicesOutcome(outcome.error());
}
void ARMSClient::getServicesAsync(const GetServicesRequest& request, const GetServicesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getServices(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetServicesOutcomeCallable ARMSClient::getServicesCallable(const GetServicesRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetServicesOutcome()>>(
[this, request]()
{
return this->getServices(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::MetricQueryOutcome ARMSClient::metricQuery(const MetricQueryRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return MetricQueryOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return MetricQueryOutcome(MetricQueryResult(outcome.result()));
else
return MetricQueryOutcome(outcome.error());
}
void ARMSClient::metricQueryAsync(const MetricQueryRequest& request, const MetricQueryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, metricQuery(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::MetricQueryOutcomeCallable ARMSClient::metricQueryCallable(const MetricQueryRequest &request) const
{
auto task = std::make_shared<std::packaged_task<MetricQueryOutcome()>>(
[this, request]()
{
return this->metricQuery(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}
ARMSClient::GetTagValOutcome ARMSClient::getTagVal(const GetTagValRequest &request) const
{
auto endpointOutcome = endpointProvider_->getEndpoint();
if (!endpointOutcome.isSuccess())
return GetTagValOutcome(endpointOutcome.error());
auto outcome = makeRequest(endpointOutcome.result(), request);
if (outcome.isSuccess())
return GetTagValOutcome(GetTagValResult(outcome.result()));
else
return GetTagValOutcome(outcome.error());
}
void ARMSClient::getTagValAsync(const GetTagValRequest& request, const GetTagValAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
{
auto fn = [this, request, handler, context]()
{
handler(this, request, getTagVal(request), context);
};
asyncExecute(new Runnable(fn));
}
ARMSClient::GetTagValOutcomeCallable ARMSClient::getTagValCallable(const GetTagValRequest &request) const
{
auto task = std::make_shared<std::packaged_task<GetTagValOutcome()>>(
[this, request]()
{
return this->getTagVal(request);
});
asyncExecute(new Runnable([task]() { (*task)(); }));
return task->get_future();
}

View File

@@ -1,30 +1,30 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/ARMSQueryDataSetRequest.h>
using AlibabaCloud::ARMS::Model::ARMSQueryDataSetRequest;
ARMSQueryDataSetRequest::ARMSQueryDataSetRequest() :
RpcServiceRequest("arms", "2018-10-15", "ARMSQueryDataSet")
{}
ARMSQueryDataSetRequest::~ARMSQueryDataSetRequest()
{}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/ARMSQueryDataSetRequest.h>
using AlibabaCloud::ARMS::Model::ARMSQueryDataSetRequest;
ARMSQueryDataSetRequest::ARMSQueryDataSetRequest() :
RpcServiceRequest("arms", "2019-02-19", "ARMSQueryDataSet")
{}
ARMSQueryDataSetRequest::~ARMSQueryDataSetRequest()
{}
std::string ARMSQueryDataSetRequest::getDateStr()const
{
return dateStr_;
@@ -33,7 +33,7 @@ std::string ARMSQueryDataSetRequest::getDateStr()const
void ARMSQueryDataSetRequest::setDateStr(const std::string& dateStr)
{
dateStr_ = dateStr;
setParameter("DateStr", dateStr);
setCoreParameter("DateStr", dateStr);
}
long ARMSQueryDataSetRequest::getMinTime()const
@@ -44,7 +44,7 @@ long ARMSQueryDataSetRequest::getMinTime()const
void ARMSQueryDataSetRequest::setMinTime(long minTime)
{
minTime_ = minTime;
setParameter("MinTime", std::to_string(minTime));
setCoreParameter("MinTime", std::to_string(minTime));
}
bool ARMSQueryDataSetRequest::getReduceTail()const
@@ -55,7 +55,7 @@ bool ARMSQueryDataSetRequest::getReduceTail()const
void ARMSQueryDataSetRequest::setReduceTail(bool reduceTail)
{
reduceTail_ = reduceTail;
setParameter("ReduceTail", std::to_string(reduceTail));
setCoreParameter("ReduceTail", reduceTail ? "true" : "false");
}
long ARMSQueryDataSetRequest::getMaxTime()const
@@ -66,7 +66,7 @@ long ARMSQueryDataSetRequest::getMaxTime()const
void ARMSQueryDataSetRequest::setMaxTime(long maxTime)
{
maxTime_ = maxTime;
setParameter("MaxTime", std::to_string(maxTime));
setCoreParameter("MaxTime", std::to_string(maxTime));
}
std::string ARMSQueryDataSetRequest::getAccessKeyId()const
@@ -77,7 +77,7 @@ std::string ARMSQueryDataSetRequest::getAccessKeyId()const
void ARMSQueryDataSetRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
setCoreParameter("AccessKeyId", accessKeyId);
}
std::vector<ARMSQueryDataSetRequest::OptionalDims> ARMSQueryDataSetRequest::getOptionalDims()const
@@ -92,9 +92,9 @@ void ARMSQueryDataSetRequest::setOptionalDims(const std::vector<OptionalDims>& o
for(int i = 0; i!= optionalDims.size(); i++) {
auto obj = optionalDims.at(i);
std::string str ="OptionalDims."+ std::to_string(i);
setParameter(str + ".Type", obj.type);
setParameter(str + ".Value", obj.value);
setParameter(str + ".Key", obj.key);
setCoreParameter(str + ".Type", obj.type);
setCoreParameter(str + ".Value", obj.value);
setCoreParameter(str + ".Key", obj.key);
}
}
@@ -107,7 +107,7 @@ void ARMSQueryDataSetRequest::setMeasures(const std::vector<std::string>& measur
{
measures_ = measures;
for(int i = 0; i!= measures.size(); i++)
setParameter("Measures."+ std::to_string(i), measures.at(i));
setCoreParameter("Measures."+ std::to_string(i), measures.at(i));
}
int ARMSQueryDataSetRequest::getIntervalInSec()const
@@ -118,7 +118,7 @@ int ARMSQueryDataSetRequest::getIntervalInSec()const
void ARMSQueryDataSetRequest::setIntervalInSec(int intervalInSec)
{
intervalInSec_ = intervalInSec;
setParameter("IntervalInSec", std::to_string(intervalInSec));
setCoreParameter("IntervalInSec", std::to_string(intervalInSec));
}
bool ARMSQueryDataSetRequest::getIsDrillDown()const
@@ -129,7 +129,7 @@ bool ARMSQueryDataSetRequest::getIsDrillDown()const
void ARMSQueryDataSetRequest::setIsDrillDown(bool isDrillDown)
{
isDrillDown_ = isDrillDown;
setParameter("IsDrillDown", std::to_string(isDrillDown));
setCoreParameter("IsDrillDown", isDrillDown ? "true" : "false");
}
bool ARMSQueryDataSetRequest::getHungryMode()const
@@ -140,7 +140,7 @@ bool ARMSQueryDataSetRequest::getHungryMode()const
void ARMSQueryDataSetRequest::setHungryMode(bool hungryMode)
{
hungryMode_ = hungryMode;
setParameter("HungryMode", std::to_string(hungryMode));
setCoreParameter("HungryMode", hungryMode ? "true" : "false");
}
std::string ARMSQueryDataSetRequest::getSecurityToken()const
@@ -151,7 +151,7 @@ std::string ARMSQueryDataSetRequest::getSecurityToken()const
void ARMSQueryDataSetRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
setCoreParameter("SecurityToken", securityToken);
}
std::string ARMSQueryDataSetRequest::getRegionId()const
@@ -162,7 +162,7 @@ std::string ARMSQueryDataSetRequest::getRegionId()const
void ARMSQueryDataSetRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setParameter("RegionId", regionId);
setCoreParameter("RegionId", regionId);
}
std::string ARMSQueryDataSetRequest::getOrderByKey()const
@@ -173,7 +173,7 @@ std::string ARMSQueryDataSetRequest::getOrderByKey()const
void ARMSQueryDataSetRequest::setOrderByKey(const std::string& orderByKey)
{
orderByKey_ = orderByKey;
setParameter("OrderByKey", orderByKey);
setCoreParameter("OrderByKey", orderByKey);
}
int ARMSQueryDataSetRequest::getLimit()const
@@ -184,7 +184,7 @@ int ARMSQueryDataSetRequest::getLimit()const
void ARMSQueryDataSetRequest::setLimit(int limit)
{
limit_ = limit;
setParameter("Limit", std::to_string(limit));
setCoreParameter("Limit", std::to_string(limit));
}
std::vector<ARMSQueryDataSetRequest::RequiredDims> ARMSQueryDataSetRequest::getRequiredDims()const
@@ -199,9 +199,9 @@ void ARMSQueryDataSetRequest::setRequiredDims(const std::vector<RequiredDims>& r
for(int i = 0; i!= requiredDims.size(); i++) {
auto obj = requiredDims.at(i);
std::string str ="RequiredDims."+ std::to_string(i);
setParameter(str + ".Type", obj.type);
setParameter(str + ".Value", obj.value);
setParameter(str + ".Key", obj.key);
setCoreParameter(str + ".Type", obj.type);
setCoreParameter(str + ".Value", obj.value);
setCoreParameter(str + ".Key", obj.key);
}
}
@@ -213,7 +213,7 @@ long ARMSQueryDataSetRequest::getDatasetId()const
void ARMSQueryDataSetRequest::setDatasetId(long datasetId)
{
datasetId_ = datasetId;
setParameter("DatasetId", std::to_string(datasetId));
setCoreParameter("DatasetId", std::to_string(datasetId));
}
std::vector<ARMSQueryDataSetRequest::Dimensions> ARMSQueryDataSetRequest::getDimensions()const
@@ -228,9 +228,9 @@ void ARMSQueryDataSetRequest::setDimensions(const std::vector<Dimensions>& dimen
for(int i = 0; i!= dimensions.size(); i++) {
auto obj = dimensions.at(i);
std::string str ="Dimensions."+ std::to_string(i);
setParameter(str + ".Type", obj.type);
setParameter(str + ".Value", obj.value);
setParameter(str + ".Key", obj.key);
setCoreParameter(str + ".Type", obj.type);
setCoreParameter(str + ".Value", obj.value);
setCoreParameter(str + ".Key", obj.key);
}
}

View File

@@ -1,50 +1,50 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/ARMSQueryDataSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
ARMSQueryDataSetResult::ARMSQueryDataSetResult() :
ServiceResult()
{}
ARMSQueryDataSetResult::ARMSQueryDataSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ARMSQueryDataSetResult::~ARMSQueryDataSetResult()
{}
void ARMSQueryDataSetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/ARMSQueryDataSetResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
ARMSQueryDataSetResult::ARMSQueryDataSetResult() :
ServiceResult()
{}
ARMSQueryDataSetResult::ARMSQueryDataSetResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
ARMSQueryDataSetResult::~ARMSQueryDataSetResult()
{}
void ARMSQueryDataSetResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
}
std::string ARMSQueryDataSetResult::getData()const
{
return data_;

View File

@@ -0,0 +1,49 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetServicesRequest.h>
using AlibabaCloud::ARMS::Model::GetServicesRequest;
GetServicesRequest::GetServicesRequest() :
RpcServiceRequest("arms", "2019-02-19", "GetServices")
{}
GetServicesRequest::~GetServicesRequest()
{}
std::string GetServicesRequest::getRegionId()const
{
return regionId_;
}
void GetServicesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string GetServicesRequest::getAppType()const
{
return appType_;
}
void GetServicesRequest::setAppType(const std::string& appType)
{
appType_ = appType;
setCoreParameter("AppType", appType);
}

View File

@@ -0,0 +1,66 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetServicesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetServicesResult::GetServicesResult() :
ServiceResult()
{}
GetServicesResult::GetServicesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetServicesResult::~GetServicesResult()
{}
void GetServicesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto dataNode = value["Data"];
auto allDetails = value["Details"]["DetailsItem"];
for (auto value : allDetails)
{
Data::DetailsItem detailsItemObject;
if(!value["ServiceName"].isNull())
detailsItemObject.serviceName = value["ServiceName"].asString();
if(!value["Pid"].isNull())
detailsItemObject.pid = value["Pid"].asString();
if(!value["RegionId"].isNull())
detailsItemObject.regionId = value["RegionId"].asString();
data_.details.push_back(detailsItemObject);
}
auto allServices = dataNode["Services"]["Services"];
for (auto value : allServices)
data_.services.push_back(value.asString());
}
GetServicesResult::Data GetServicesResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,71 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetSpanNamesRequest.h>
using AlibabaCloud::ARMS::Model::GetSpanNamesRequest;
GetSpanNamesRequest::GetSpanNamesRequest() :
RpcServiceRequest("arms", "2019-02-19", "GetSpanNames")
{}
GetSpanNamesRequest::~GetSpanNamesRequest()
{}
std::string GetSpanNamesRequest::getRegionId()const
{
return regionId_;
}
void GetSpanNamesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
long GetSpanNamesRequest::getEndTime()const
{
return endTime_;
}
void GetSpanNamesRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", std::to_string(endTime));
}
std::string GetSpanNamesRequest::getServiceName()const
{
return serviceName_;
}
void GetSpanNamesRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setCoreParameter("ServiceName", serviceName);
}
long GetSpanNamesRequest::getStartTime()const
{
return startTime_;
}
void GetSpanNamesRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", std::to_string(startTime));
}

View File

@@ -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.
*/
#include <alibabacloud/arms/model/GetSpanNamesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetSpanNamesResult::GetSpanNamesResult() :
ServiceResult()
{}
GetSpanNamesResult::GetSpanNamesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetSpanNamesResult::~GetSpanNamesResult()
{}
void GetSpanNamesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["Data"];
for (const auto &item : allData)
data_.push_back(item.asString());
}
std::vector<std::string> GetSpanNamesResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,82 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetTagKeyRequest.h>
using AlibabaCloud::ARMS::Model::GetTagKeyRequest;
GetTagKeyRequest::GetTagKeyRequest() :
RpcServiceRequest("arms", "2019-02-19", "GetTagKey")
{}
GetTagKeyRequest::~GetTagKeyRequest()
{}
std::string GetTagKeyRequest::getRegionId()const
{
return regionId_;
}
void GetTagKeyRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
long GetTagKeyRequest::getEndTime()const
{
return endTime_;
}
void GetTagKeyRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", std::to_string(endTime));
}
std::string GetTagKeyRequest::getServiceName()const
{
return serviceName_;
}
void GetTagKeyRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setCoreParameter("ServiceName", serviceName);
}
long GetTagKeyRequest::getStartTime()const
{
return startTime_;
}
void GetTagKeyRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", std::to_string(startTime));
}
std::string GetTagKeyRequest::getSpanName()const
{
return spanName_;
}
void GetTagKeyRequest::setSpanName(const std::string& spanName)
{
spanName_ = spanName;
setCoreParameter("SpanName", spanName);
}

View File

@@ -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.
*/
#include <alibabacloud/arms/model/GetTagKeyResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetTagKeyResult::GetTagKeyResult() :
ServiceResult()
{}
GetTagKeyResult::GetTagKeyResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetTagKeyResult::~GetTagKeyResult()
{}
void GetTagKeyResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["Data"];
for (const auto &item : allData)
data_.push_back(item.asString());
}
std::vector<std::string> GetTagKeyResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,93 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetTagValRequest.h>
using AlibabaCloud::ARMS::Model::GetTagValRequest;
GetTagValRequest::GetTagValRequest() :
RpcServiceRequest("arms", "2019-02-19", "GetTagVal")
{}
GetTagValRequest::~GetTagValRequest()
{}
std::string GetTagValRequest::getRegionId()const
{
return regionId_;
}
void GetTagValRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
long GetTagValRequest::getEndTime()const
{
return endTime_;
}
void GetTagValRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", std::to_string(endTime));
}
std::string GetTagValRequest::getServiceName()const
{
return serviceName_;
}
void GetTagValRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setCoreParameter("ServiceName", serviceName);
}
long GetTagValRequest::getStartTime()const
{
return startTime_;
}
void GetTagValRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", std::to_string(startTime));
}
std::string GetTagValRequest::getTagKey()const
{
return tagKey_;
}
void GetTagValRequest::setTagKey(const std::string& tagKey)
{
tagKey_ = tagKey;
setCoreParameter("TagKey", tagKey);
}
std::string GetTagValRequest::getSpanName()const
{
return spanName_;
}
void GetTagValRequest::setSpanName(const std::string& spanName)
{
spanName_ = spanName;
setCoreParameter("SpanName", spanName);
}

View File

@@ -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.
*/
#include <alibabacloud/arms/model/GetTagValResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetTagValResult::GetTagValResult() :
ServiceResult()
{}
GetTagValResult::GetTagValResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetTagValResult::~GetTagValResult()
{}
void GetTagValResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["Data"];
for (const auto &item : allData)
data_.push_back(item.asString());
}
std::vector<std::string> GetTagValResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,60 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/GetTraceRequest.h>
using AlibabaCloud::ARMS::Model::GetTraceRequest;
GetTraceRequest::GetTraceRequest() :
RpcServiceRequest("arms", "2019-02-19", "GetTrace")
{}
GetTraceRequest::~GetTraceRequest()
{}
std::string GetTraceRequest::getTraceID()const
{
return traceID_;
}
void GetTraceRequest::setTraceID(const std::string& traceID)
{
traceID_ = traceID;
setCoreParameter("TraceID", traceID);
}
std::string GetTraceRequest::getRegionId()const
{
return regionId_;
}
void GetTraceRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string GetTraceRequest::getAppType()const
{
return appType_;
}
void GetTraceRequest::setAppType(const std::string& appType)
{
appType_ = appType;
setCoreParameter("AppType", appType);
}

View File

@@ -0,0 +1,102 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/GetTraceResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
GetTraceResult::GetTraceResult() :
ServiceResult()
{}
GetTraceResult::GetTraceResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
GetTraceResult::~GetTraceResult()
{}
void GetTraceResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["CallChainInfo"];
for (auto value : allData)
{
CallChainInfo dataObject;
if(!value["TraceID"].isNull())
dataObject.traceID = value["TraceID"].asString();
if(!value["OperationName"].isNull())
dataObject.operationName = value["OperationName"].asString();
if(!value["Duration"].isNull())
dataObject.duration = std::stol(value["Duration"].asString());
if(!value["ServiceName"].isNull())
dataObject.serviceName = value["ServiceName"].asString();
if(!value["ServiceIp"].isNull())
dataObject.serviceIp = value["ServiceIp"].asString();
if(!value["Timestamp"].isNull())
dataObject.timestamp = std::stol(value["Timestamp"].asString());
if(!value["RpcId"].isNull())
dataObject.rpcId = value["RpcId"].asString();
if(!value["ResultCode"].isNull())
dataObject.resultCode = value["ResultCode"].asString();
if(!value["HaveStack"].isNull())
dataObject.haveStack = value["HaveStack"].asString() == "true";
auto allTagEntryList = value["TagEntryList"]["TagEntry"];
for (auto value : allTagEntryList)
{
CallChainInfo::TagEntry tagEntryListObject;
if(!value["Key"].isNull())
tagEntryListObject.key = value["Key"].asString();
if(!value["Value"].isNull())
tagEntryListObject.value = value["Value"].asString();
dataObject.tagEntryList.push_back(tagEntryListObject);
}
auto allLogEventList = value["LogEventList"]["LogEvent"];
for (auto value : allLogEventList)
{
CallChainInfo::LogEvent logEventListObject;
if(!value["Timestamp"].isNull())
logEventListObject.timestamp = std::stol(value["Timestamp"].asString());
auto allTagEntryList1 = value["TagEntryList"]["TagEntry"];
for (auto value : allTagEntryList1)
{
CallChainInfo::LogEvent::TagEntry2 tagEntryList1Object;
if(!value["Key"].isNull())
tagEntryList1Object.key = value["Key"].asString();
if(!value["Value"].isNull())
tagEntryList1Object.value = value["Value"].asString();
logEventListObject.tagEntryList1.push_back(tagEntryList1Object);
}
dataObject.logEventList.push_back(logEventListObject);
}
data_.push_back(dataObject);
}
}
std::vector<GetTraceResult::CallChainInfo> GetTraceResult::getData()const
{
return data_;
}

View File

@@ -1,85 +1,29 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/MetricQueryRequest.h>
using AlibabaCloud::ARMS::Model::MetricQueryRequest;
MetricQueryRequest::MetricQueryRequest() :
RpcServiceRequest("arms", "2018-10-15", "MetricQuery")
{}
MetricQueryRequest::~MetricQueryRequest()
{}
int MetricQueryRequest::getIintervalInSec()const
{
return iintervalInSec_;
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
void MetricQueryRequest::setIintervalInSec(int iintervalInSec)
{
iintervalInSec_ = iintervalInSec;
setParameter("IintervalInSec", std::to_string(iintervalInSec));
}
#include <alibabacloud/arms/model/MetricQueryRequest.h>
std::vector<std::string> MetricQueryRequest::getMeasures()const
{
return measures_;
}
using AlibabaCloud::ARMS::Model::MetricQueryRequest;
void MetricQueryRequest::setMeasures(const std::vector<std::string>& measures)
{
measures_ = measures;
for(int i = 0; i!= measures.size(); i++)
setParameter("Measures."+ std::to_string(i), measures.at(i));
}
MetricQueryRequest::MetricQueryRequest() :
RpcServiceRequest("arms", "2019-02-19", "MetricQuery")
{}
std::string MetricQueryRequest::getMetric()const
{
return metric_;
}
void MetricQueryRequest::setMetric(const std::string& metric)
{
metric_ = metric;
setParameter("Metric", metric);
}
std::string MetricQueryRequest::getSecurityToken()const
{
return securityToken_;
}
void MetricQueryRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setParameter("SecurityToken", securityToken);
}
int MetricQueryRequest::getLimit()const
{
return limit_;
}
void MetricQueryRequest::setLimit(int limit)
{
limit_ = limit;
setParameter("Limit", std::to_string(limit));
}
MetricQueryRequest::~MetricQueryRequest()
{}
long MetricQueryRequest::getEndTime()const
{
@@ -89,7 +33,7 @@ long MetricQueryRequest::getEndTime()const
void MetricQueryRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setParameter("EndTime", std::to_string(endTime));
setCoreParameter("EndTime", std::to_string(endTime));
}
std::string MetricQueryRequest::getOrderBy()const
@@ -100,18 +44,7 @@ std::string MetricQueryRequest::getOrderBy()const
void MetricQueryRequest::setOrderBy(const std::string& orderBy)
{
orderBy_ = orderBy;
setParameter("OrderBy", orderBy);
}
long MetricQueryRequest::getStartTime()const
{
return startTime_;
}
void MetricQueryRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setParameter("StartTime", std::to_string(startTime));
setCoreParameter("OrderBy", orderBy);
}
std::vector<MetricQueryRequest::Filters> MetricQueryRequest::getFilters()const
@@ -126,11 +59,100 @@ void MetricQueryRequest::setFilters(const std::vector<Filters>& filters)
for(int i = 0; i!= filters.size(); i++) {
auto obj = filters.at(i);
std::string str ="Filters."+ std::to_string(i);
setParameter(str + ".Value", obj.value);
setParameter(str + ".Key", obj.key);
setCoreParameter(str + ".Value", obj.value);
setCoreParameter(str + ".Key", obj.key);
}
}
long MetricQueryRequest::getStartTime()const
{
return startTime_;
}
void MetricQueryRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", std::to_string(startTime));
}
std::string MetricQueryRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void MetricQueryRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setCoreParameter("AccessKeyId", accessKeyId);
}
int MetricQueryRequest::getIintervalInSec()const
{
return iintervalInSec_;
}
void MetricQueryRequest::setIintervalInSec(int iintervalInSec)
{
iintervalInSec_ = iintervalInSec;
setCoreParameter("IintervalInSec", std::to_string(iintervalInSec));
}
std::vector<std::string> MetricQueryRequest::getMeasures()const
{
return measures_;
}
void MetricQueryRequest::setMeasures(const std::vector<std::string>& measures)
{
measures_ = measures;
for(int i = 0; i!= measures.size(); i++)
setCoreParameter("Measures."+ std::to_string(i), measures.at(i));
}
std::string MetricQueryRequest::getMetric()const
{
return metric_;
}
void MetricQueryRequest::setMetric(const std::string& metric)
{
metric_ = metric;
setCoreParameter("Metric", metric);
}
std::string MetricQueryRequest::getSecurityToken()const
{
return securityToken_;
}
void MetricQueryRequest::setSecurityToken(const std::string& securityToken)
{
securityToken_ = securityToken;
setCoreParameter("SecurityToken", securityToken);
}
std::string MetricQueryRequest::getRegionId()const
{
return regionId_;
}
void MetricQueryRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
int MetricQueryRequest::getLimit()const
{
return limit_;
}
void MetricQueryRequest::setLimit(int limit)
{
limit_ = limit;
setCoreParameter("Limit", std::to_string(limit));
}
std::vector<std::string> MetricQueryRequest::getDimensions()const
{
return dimensions_;
@@ -140,7 +162,7 @@ void MetricQueryRequest::setDimensions(const std::vector<std::string>& dimension
{
dimensions_ = dimensions;
for(int i = 0; i!= dimensions.size(); i++)
setParameter("Dimensions."+ std::to_string(i), dimensions.at(i));
setCoreParameter("Dimensions."+ std::to_string(i), dimensions.at(i));
}
std::string MetricQueryRequest::getOrder()const
@@ -151,17 +173,6 @@ std::string MetricQueryRequest::getOrder()const
void MetricQueryRequest::setOrder(const std::string& order)
{
order_ = order;
setParameter("Order", order);
}
std::string MetricQueryRequest::getAccessKeyId()const
{
return accessKeyId_;
}
void MetricQueryRequest::setAccessKeyId(const std::string& accessKeyId)
{
accessKeyId_ = accessKeyId;
setParameter("AccessKeyId", accessKeyId);
setCoreParameter("Order", order);
}

View File

@@ -1,50 +1,50 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/MetricQueryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
MetricQueryResult::MetricQueryResult() :
ServiceResult()
{}
MetricQueryResult::MetricQueryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
MetricQueryResult::~MetricQueryResult()
{}
void MetricQueryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/MetricQueryResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
MetricQueryResult::MetricQueryResult() :
ServiceResult()
{}
MetricQueryResult::MetricQueryResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
MetricQueryResult::~MetricQueryResult()
{}
void MetricQueryResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
if(!value["Data"].isNull())
data_ = value["Data"].asString();
}
}
std::string MetricQueryResult::getData()const
{
return data_;

View File

@@ -0,0 +1,132 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/SearchTraceCountRequest.h>
using AlibabaCloud::ARMS::Model::SearchTraceCountRequest;
SearchTraceCountRequest::SearchTraceCountRequest() :
RpcServiceRequest("arms", "2019-02-19", "SearchTraceCount")
{}
SearchTraceCountRequest::~SearchTraceCountRequest()
{}
std::string SearchTraceCountRequest::getInstanceId()const
{
return instanceId_;
}
void SearchTraceCountRequest::setInstanceId(const std::string& instanceId)
{
instanceId_ = instanceId;
setCoreParameter("InstanceId", instanceId);
}
std::string SearchTraceCountRequest::getRegionId()const
{
return regionId_;
}
void SearchTraceCountRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string SearchTraceCountRequest::getOperationName()const
{
return operationName_;
}
void SearchTraceCountRequest::setOperationName(const std::string& operationName)
{
operationName_ = operationName;
setCoreParameter("OperationName", operationName);
}
std::string SearchTraceCountRequest::getAppType()const
{
return appType_;
}
void SearchTraceCountRequest::setAppType(const std::string& appType)
{
appType_ = appType;
setCoreParameter("AppType", appType);
}
long SearchTraceCountRequest::getEndTime()const
{
return endTime_;
}
void SearchTraceCountRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", std::to_string(endTime));
}
std::string SearchTraceCountRequest::getServiceName()const
{
return serviceName_;
}
void SearchTraceCountRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setCoreParameter("ServiceName", serviceName);
}
long SearchTraceCountRequest::getStartTime()const
{
return startTime_;
}
void SearchTraceCountRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", std::to_string(startTime));
}
std::vector<SearchTraceCountRequest::Tag> SearchTraceCountRequest::getTag()const
{
return tag_;
}
void SearchTraceCountRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
int i = 0;
for(int i = 0; i!= tag.size(); i++) {
auto obj = tag.at(i);
std::string str ="Tag."+ std::to_string(i);
setCoreParameter(str + ".Value", obj.value);
setCoreParameter(str + ".Key", obj.key);
}
}
long SearchTraceCountRequest::getMinDuration()const
{
return minDuration_;
}
void SearchTraceCountRequest::setMinDuration(long minDuration)
{
minDuration_ = minDuration;
setCoreParameter("MinDuration", std::to_string(minDuration));
}

View File

@@ -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.
*/
#include <alibabacloud/arms/model/SearchTraceCountResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
SearchTraceCountResult::SearchTraceCountResult() :
ServiceResult()
{}
SearchTraceCountResult::SearchTraceCountResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SearchTraceCountResult::~SearchTraceCountResult()
{}
void SearchTraceCountResult::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["Count"].isNull())
data_.count = std::stol(dataNode["Count"].asString());
}
SearchTraceCountResult::Data SearchTraceCountResult::getData()const
{
return data_;
}

View File

@@ -0,0 +1,165 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES 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/arms/model/SearchTracesRequest.h>
using AlibabaCloud::ARMS::Model::SearchTracesRequest;
SearchTracesRequest::SearchTracesRequest() :
RpcServiceRequest("arms", "2019-02-19", "SearchTraces")
{}
SearchTracesRequest::~SearchTracesRequest()
{}
std::string SearchTracesRequest::getServiceIp()const
{
return serviceIp_;
}
void SearchTracesRequest::setServiceIp(const std::string& serviceIp)
{
serviceIp_ = serviceIp;
setCoreParameter("ServiceIp", serviceIp);
}
std::string SearchTracesRequest::getRegionId()const
{
return regionId_;
}
void SearchTracesRequest::setRegionId(const std::string& regionId)
{
regionId_ = regionId;
setCoreParameter("RegionId", regionId);
}
std::string SearchTracesRequest::getOperationName()const
{
return operationName_;
}
void SearchTracesRequest::setOperationName(const std::string& operationName)
{
operationName_ = operationName;
setCoreParameter("OperationName", operationName);
}
std::string SearchTracesRequest::getAppType()const
{
return appType_;
}
void SearchTracesRequest::setAppType(const std::string& appType)
{
appType_ = appType;
setCoreParameter("AppType", appType);
}
int SearchTracesRequest::getPageSize()const
{
return pageSize_;
}
void SearchTracesRequest::setPageSize(int pageSize)
{
pageSize_ = pageSize;
setCoreParameter("PageSize", std::to_string(pageSize));
}
long SearchTracesRequest::getEndTime()const
{
return endTime_;
}
void SearchTracesRequest::setEndTime(long endTime)
{
endTime_ = endTime;
setCoreParameter("EndTime", std::to_string(endTime));
}
std::string SearchTracesRequest::getServiceName()const
{
return serviceName_;
}
void SearchTracesRequest::setServiceName(const std::string& serviceName)
{
serviceName_ = serviceName;
setCoreParameter("ServiceName", serviceName);
}
int SearchTracesRequest::getPageIndex()const
{
return pageIndex_;
}
void SearchTracesRequest::setPageIndex(int pageIndex)
{
pageIndex_ = pageIndex;
setCoreParameter("PageIndex", std::to_string(pageIndex));
}
long SearchTracesRequest::getStartTime()const
{
return startTime_;
}
void SearchTracesRequest::setStartTime(long startTime)
{
startTime_ = startTime;
setCoreParameter("StartTime", std::to_string(startTime));
}
std::vector<SearchTracesRequest::Tag> SearchTracesRequest::getTag()const
{
return tag_;
}
void SearchTracesRequest::setTag(const std::vector<Tag>& tag)
{
tag_ = tag;
int i = 0;
for(int i = 0; i!= tag.size(); i++) {
auto obj = tag.at(i);
std::string str ="Tag."+ std::to_string(i);
setCoreParameter(str + ".Value", obj.value);
setCoreParameter(str + ".Key", obj.key);
}
}
bool SearchTracesRequest::getReverse()const
{
return reverse_;
}
void SearchTracesRequest::setReverse(bool reverse)
{
reverse_ = reverse;
setCoreParameter("Reverse", reverse ? "true" : "false");
}
long SearchTracesRequest::getMinDuration()const
{
return minDuration_;
}
void SearchTracesRequest::setMinDuration(long minDuration)
{
minDuration_ = minDuration;
setCoreParameter("MinDuration", std::to_string(minDuration));
}

View File

@@ -0,0 +1,68 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include <alibabacloud/arms/model/SearchTracesResult.h>
#include <json/json.h>
using namespace AlibabaCloud::ARMS;
using namespace AlibabaCloud::ARMS::Model;
SearchTracesResult::SearchTracesResult() :
ServiceResult()
{}
SearchTracesResult::SearchTracesResult(const std::string &payload) :
ServiceResult()
{
parse(payload);
}
SearchTracesResult::~SearchTracesResult()
{}
void SearchTracesResult::parse(const std::string &payload)
{
Json::Reader reader;
Json::Value value;
reader.parse(payload, value);
setRequestId(value["RequestId"].asString());
auto allData = value["Data"]["TraceInfo"];
for (auto value : allData)
{
TraceInfo dataObject;
if(!value["TraceID"].isNull())
dataObject.traceID = value["TraceID"].asString();
if(!value["OperationName"].isNull())
dataObject.operationName = value["OperationName"].asString();
if(!value["Duration"].isNull())
dataObject.duration = std::stoi(value["Duration"].asString());
if(!value["ServiceName"].isNull())
dataObject.serviceName = value["ServiceName"].asString();
if(!value["ServiceIp"].isNull())
dataObject.serviceIp = value["ServiceIp"].asString();
if(!value["Timestamp"].isNull())
dataObject.timestamp = std::stol(value["Timestamp"].asString());
data_.push_back(dataObject);
}
}
std::vector<SearchTracesResult::TraceInfo> SearchTracesResult::getData()const
{
return data_;
}

View File

@@ -1,714 +1,82 @@
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
#
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT 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(live_public_header
include/alibabacloud/live/LiveClient.h
include/alibabacloud/live/LiveExport.h )
set(live_public_header_model
include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigRequest.h
include/alibabacloud/live/model/DescribeLiveRecordNotifyConfigResult.h
include/alibabacloud/live/model/DescribeRoomListRequest.h
include/alibabacloud/live/model/DescribeRoomListResult.h
include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigRequest.h
include/alibabacloud/live/model/DescribeLiveDetectNotifyConfigResult.h
include/alibabacloud/live/model/ModifyCasterComponentRequest.h
include/alibabacloud/live/model/ModifyCasterComponentResult.h
include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigRequest.h
include/alibabacloud/live/model/UpdateLiveSnapshotDetectPornConfigResult.h
include/alibabacloud/live/model/EffectCasterUrgentRequest.h
include/alibabacloud/live/model/EffectCasterUrgentResult.h
include/alibabacloud/live/model/CompleteBoardRequest.h
include/alibabacloud/live/model/CompleteBoardResult.h
include/alibabacloud/live/model/DescribeCasterComponentsRequest.h
include/alibabacloud/live/model/DescribeCasterComponentsResult.h
include/alibabacloud/live/model/DescribeLiveMixConfigRequest.h
include/alibabacloud/live/model/DescribeLiveMixConfigResult.h
include/alibabacloud/live/model/DescribeRoomStatusRequest.h
include/alibabacloud/live/model/DescribeRoomStatusResult.h
include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesRequest.h
include/alibabacloud/live/model/CreateLiveStreamRecordIndexFilesResult.h
include/alibabacloud/live/model/DeleteLiveSpecificConfigRequest.h
include/alibabacloud/live/model/DeleteLiveSpecificConfigResult.h
include/alibabacloud/live/model/UpdateCasterSceneConfigRequest.h
include/alibabacloud/live/model/UpdateCasterSceneConfigResult.h
include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoRequest.h
include/alibabacloud/live/model/DescribeLiveStreamTranscodeInfoResult.h
include/alibabacloud/live/model/DescribeLiveStreamsOnlineListRequest.h
include/alibabacloud/live/model/DescribeLiveStreamsOnlineListResult.h
include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigRequest.h
include/alibabacloud/live/model/DeleteLiveSnapshotDetectPornConfigResult.h
include/alibabacloud/live/model/DescribeUpBpsPeakOfLineRequest.h
include/alibabacloud/live/model/DescribeUpBpsPeakOfLineResult.h
include/alibabacloud/live/model/CopyCasterSceneConfigRequest.h
include/alibabacloud/live/model/CopyCasterSceneConfigResult.h
include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainTranscodeDataResult.h
include/alibabacloud/live/model/StopMixStreamsServiceRequest.h
include/alibabacloud/live/model/StopMixStreamsServiceResult.h
include/alibabacloud/live/model/DeleteLiveStreamTranscodeRequest.h
include/alibabacloud/live/model/DeleteLiveStreamTranscodeResult.h
include/alibabacloud/live/model/DeleteCasterEpisodeRequest.h
include/alibabacloud/live/model/DeleteCasterEpisodeResult.h
include/alibabacloud/live/model/DescribeCasterRtcInfoRequest.h
include/alibabacloud/live/model/DescribeCasterRtcInfoResult.h
include/alibabacloud/live/model/SetCasterSceneConfigRequest.h
include/alibabacloud/live/model/SetCasterSceneConfigResult.h
include/alibabacloud/live/model/AddTrancodeSEIRequest.h
include/alibabacloud/live/model/AddTrancodeSEIResult.h
include/alibabacloud/live/model/DeleteBoardRequest.h
include/alibabacloud/live/model/DeleteBoardResult.h
include/alibabacloud/live/model/DescribeLiveStreamBitRateDataRequest.h
include/alibabacloud/live/model/DescribeLiveStreamBitRateDataResult.h
include/alibabacloud/live/model/DeleteCasterLayoutRequest.h
include/alibabacloud/live/model/DeleteCasterLayoutResult.h
include/alibabacloud/live/model/DeleteCasterProgramRequest.h
include/alibabacloud/live/model/DeleteCasterProgramResult.h
include/alibabacloud/live/model/StartCasterSceneRequest.h
include/alibabacloud/live/model/StartCasterSceneResult.h
include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileRequest.h
include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFileResult.h
include/alibabacloud/live/model/AddCasterEpisodeGroupRequest.h
include/alibabacloud/live/model/AddCasterEpisodeGroupResult.h
include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowRequest.h
include/alibabacloud/live/model/DescribeLiveTopDomainsByFlowResult.h
include/alibabacloud/live/model/AddLiveMixConfigRequest.h
include/alibabacloud/live/model/AddLiveMixConfigResult.h
include/alibabacloud/live/model/DescribeCasterConfigRequest.h
include/alibabacloud/live/model/DescribeCasterConfigResult.h
include/alibabacloud/live/model/CopyCasterRequest.h
include/alibabacloud/live/model/CopyCasterResult.h
include/alibabacloud/live/model/AddCustomLiveStreamTranscodeRequest.h
include/alibabacloud/live/model/AddCustomLiveStreamTranscodeResult.h
include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigRequest.h
include/alibabacloud/live/model/SetLiveLazyPullStreamInfoConfigResult.h
include/alibabacloud/live/model/AddCasterEpisodeRequest.h
include/alibabacloud/live/model/AddCasterEpisodeResult.h
include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainRealTimeBpsDataResult.h
include/alibabacloud/live/model/AllowPushStreamRequest.h
include/alibabacloud/live/model/AllowPushStreamResult.h
include/alibabacloud/live/model/ForbidPushStreamRequest.h
include/alibabacloud/live/model/ForbidPushStreamResult.h
include/alibabacloud/live/model/DescribeLiveRecordConfigRequest.h
include/alibabacloud/live/model/DescribeLiveRecordConfigResult.h
include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigRequest.h
include/alibabacloud/live/model/DeleteLiveRecordNotifyConfigResult.h
include/alibabacloud/live/model/AddLiveRecordNotifyConfigRequest.h
include/alibabacloud/live/model/AddLiveRecordNotifyConfigResult.h
include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.h
include/alibabacloud/live/model/DescribeHlsLiveStreamRealTimeBpsDataResult.h
include/alibabacloud/live/model/CreateBoardRequest.h
include/alibabacloud/live/model/CreateBoardResult.h
include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigRequest.h
include/alibabacloud/live/model/DeleteLiveStreamsNotifyUrlConfigResult.h
include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumRequest.h
include/alibabacloud/live/model/DescribeLiveStreamOnlineUserNumResult.h
include/alibabacloud/live/model/AddCasterComponentRequest.h
include/alibabacloud/live/model/AddCasterComponentResult.h
include/alibabacloud/live/model/UpdateLiveMixNotifyConfigRequest.h
include/alibabacloud/live/model/UpdateLiveMixNotifyConfigResult.h
include/alibabacloud/live/model/DescribeLiveDomainRecordDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainRecordDataResult.h
include/alibabacloud/live/model/DeleteCasterVideoResourceRequest.h
include/alibabacloud/live/model/DeleteCasterVideoResourceResult.h
include/alibabacloud/live/model/DescribeLiveCertificateListRequest.h
include/alibabacloud/live/model/DescribeLiveCertificateListResult.h
include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigRequest.h
include/alibabacloud/live/model/DeleteLiveAppSnapshotConfigResult.h
include/alibabacloud/live/model/UpdateCasterSceneAudioRequest.h
include/alibabacloud/live/model/UpdateCasterSceneAudioResult.h
include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigRequest.h
include/alibabacloud/live/model/DescribeLiveStreamsNotifyUrlConfigResult.h
include/alibabacloud/live/model/DescribeUpBpsPeakDataRequest.h
include/alibabacloud/live/model/DescribeUpBpsPeakDataResult.h
include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigRequest.h
include/alibabacloud/live/model/DeleteLivePullStreamInfoConfigResult.h
include/alibabacloud/live/model/ModifyCasterProgramRequest.h
include/alibabacloud/live/model/ModifyCasterProgramResult.h
include/alibabacloud/live/model/DescribeBoardEventsRequest.h
include/alibabacloud/live/model/DescribeBoardEventsResult.h
include/alibabacloud/live/model/DescribeLiveCertificateDetailRequest.h
include/alibabacloud/live/model/DescribeLiveCertificateDetailResult.h
include/alibabacloud/live/model/StartMixStreamsServiceRequest.h
include/alibabacloud/live/model/StartMixStreamsServiceResult.h
include/alibabacloud/live/model/DescribeLivePullStreamConfigRequest.h
include/alibabacloud/live/model/DescribeLivePullStreamConfigResult.h
include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigRequest.h
include/alibabacloud/live/model/SetLiveStreamsNotifyUrlConfigResult.h
include/alibabacloud/live/model/AddLivePullStreamInfoConfigRequest.h
include/alibabacloud/live/model/AddLivePullStreamInfoConfigResult.h
include/alibabacloud/live/model/StartLiveDomainRequest.h
include/alibabacloud/live/model/StartLiveDomainResult.h
include/alibabacloud/live/model/DescribeCasterSceneAudioRequest.h
include/alibabacloud/live/model/DescribeCasterSceneAudioResult.h
include/alibabacloud/live/model/DescribeLiveStreamsBlockListRequest.h
include/alibabacloud/live/model/DescribeLiveStreamsBlockListResult.h
include/alibabacloud/live/model/AddLiveStreamTranscodeRequest.h
include/alibabacloud/live/model/AddLiveStreamTranscodeResult.h
include/alibabacloud/live/model/AddCasterVideoResourceRequest.h
include/alibabacloud/live/model/AddCasterVideoResourceResult.h
include/alibabacloud/live/model/DescribeRoomKickoutUserListRequest.h
include/alibabacloud/live/model/DescribeRoomKickoutUserListResult.h
include/alibabacloud/live/model/AddCasterEpisodeGroupContentRequest.h
include/alibabacloud/live/model/AddCasterEpisodeGroupContentResult.h
include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigRequest.h
include/alibabacloud/live/model/UpdateLiveDetectNotifyConfigResult.h
include/alibabacloud/live/model/ModifyCasterVideoResourceRequest.h
include/alibabacloud/live/model/ModifyCasterVideoResourceResult.h
include/alibabacloud/live/model/CreateRoomRequest.h
include/alibabacloud/live/model/CreateRoomResult.h
include/alibabacloud/live/model/DescribeCasterStreamUrlRequest.h
include/alibabacloud/live/model/DescribeCasterStreamUrlResult.h
include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryRequest.h
include/alibabacloud/live/model/DescribeLiveStreamsControlHistoryResult.h
include/alibabacloud/live/model/DescribeLiveStreamCountRequest.h
include/alibabacloud/live/model/DescribeLiveStreamCountResult.h
include/alibabacloud/live/model/StopCasterSceneRequest.h
include/alibabacloud/live/model/StopCasterSceneResult.h
include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainRealTimeTrafficDataResult.h
include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainSnapshotDataResult.h
include/alibabacloud/live/model/DeleteLiveRecordVodConfigRequest.h
include/alibabacloud/live/model/DeleteLiveRecordVodConfigResult.h
include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainRealTimeHttpCodeDataResult.h
include/alibabacloud/live/model/ModifyCasterEpisodeRequest.h
include/alibabacloud/live/model/ModifyCasterEpisodeResult.h
include/alibabacloud/live/model/DescribeBoardsRequest.h
include/alibabacloud/live/model/DescribeBoardsResult.h
include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoRequest.h
include/alibabacloud/live/model/DescribeLiveStreamSnapshotInfoResult.h
include/alibabacloud/live/model/StartMultipleStreamMixServiceRequest.h
include/alibabacloud/live/model/StartMultipleStreamMixServiceResult.h
include/alibabacloud/live/model/StopMultipleStreamMixServiceRequest.h
include/alibabacloud/live/model/StopMultipleStreamMixServiceResult.h
include/alibabacloud/live/model/DescribeLiveMixNotifyConfigRequest.h
include/alibabacloud/live/model/DescribeLiveMixNotifyConfigResult.h
include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.h
include/alibabacloud/live/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.h
include/alibabacloud/live/model/DescribeForbidPushStreamRoomListRequest.h
include/alibabacloud/live/model/DescribeForbidPushStreamRoomListResult.h
include/alibabacloud/live/model/CreateCasterRequest.h
include/alibabacloud/live/model/CreateCasterResult.h
include/alibabacloud/live/model/DescribeLiveStreamRecordContentRequest.h
include/alibabacloud/live/model/DescribeLiveStreamRecordContentResult.h
include/alibabacloud/live/model/AddMultipleStreamMixServiceRequest.h
include/alibabacloud/live/model/AddMultipleStreamMixServiceResult.h
include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigRequest.h
include/alibabacloud/live/model/AddLiveSnapshotDetectPornConfigResult.h
include/alibabacloud/live/model/DescribeCasterLayoutsRequest.h
include/alibabacloud/live/model/DescribeCasterLayoutsResult.h
include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigRequest.h
include/alibabacloud/live/model/UpdateLiveRecordNotifyConfigResult.h
include/alibabacloud/live/model/SetCasterChannelRequest.h
include/alibabacloud/live/model/SetCasterChannelResult.h
include/alibabacloud/live/model/DescribeLiveSnapshotConfigRequest.h
include/alibabacloud/live/model/DescribeLiveSnapshotConfigResult.h
include/alibabacloud/live/model/DescribeLiveDomainTrafficDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainTrafficDataResult.h
include/alibabacloud/live/model/DescribeCasterProgramRequest.h
include/alibabacloud/live/model/DescribeCasterProgramResult.h
include/alibabacloud/live/model/StopLiveDomainRequest.h
include/alibabacloud/live/model/StopLiveDomainResult.h
include/alibabacloud/live/model/ApplyBoardTokenRequest.h
include/alibabacloud/live/model/ApplyBoardTokenResult.h
include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumRequest.h
include/alibabacloud/live/model/DescribeLiveStreamHistoryUserNumResult.h
include/alibabacloud/live/model/AddLiveAppRecordConfigRequest.h
include/alibabacloud/live/model/AddLiveAppRecordConfigResult.h
include/alibabacloud/live/model/AddLiveRecordVodConfigRequest.h
include/alibabacloud/live/model/AddLiveRecordVodConfigResult.h
include/alibabacloud/live/model/SendRoomUserNotificationRequest.h
include/alibabacloud/live/model/SendRoomUserNotificationResult.h
include/alibabacloud/live/model/DeleteLiveDomainMappingRequest.h
include/alibabacloud/live/model/DeleteLiveDomainMappingResult.h
include/alibabacloud/live/model/BatchSetLiveDomainConfigsRequest.h
include/alibabacloud/live/model/BatchSetLiveDomainConfigsResult.h
include/alibabacloud/live/model/DescribeLiveDomainDetailRequest.h
include/alibabacloud/live/model/DescribeLiveDomainDetailResult.h
include/alibabacloud/live/model/DescribeCasterChannelsRequest.h
include/alibabacloud/live/model/DescribeCasterChannelsResult.h
include/alibabacloud/live/model/DescribeLiveDomainConfigsRequest.h
include/alibabacloud/live/model/DescribeLiveDomainConfigsResult.h
include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesRequest.h
include/alibabacloud/live/model/DescribeLiveStreamRecordIndexFilesResult.h
include/alibabacloud/live/model/DeleteRoomRequest.h
include/alibabacloud/live/model/DeleteRoomResult.h
include/alibabacloud/live/model/AddCasterProgramRequest.h
include/alibabacloud/live/model/AddCasterProgramResult.h
include/alibabacloud/live/model/DescribeBoardSnapshotRequest.h
include/alibabacloud/live/model/DescribeBoardSnapshotResult.h
include/alibabacloud/live/model/DeleteLiveMixConfigRequest.h
include/alibabacloud/live/model/DeleteLiveMixConfigResult.h
include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsRequest.h
include/alibabacloud/live/model/BatchDeleteLiveDomainConfigsResult.h
include/alibabacloud/live/model/SetLiveDomainCertificateRequest.h
include/alibabacloud/live/model/SetLiveDomainCertificateResult.h
include/alibabacloud/live/model/ForbidLiveStreamRequest.h
include/alibabacloud/live/model/ForbidLiveStreamResult.h
include/alibabacloud/live/model/DeleteCasterEpisodeGroupRequest.h
include/alibabacloud/live/model/DeleteCasterEpisodeGroupResult.h
include/alibabacloud/live/model/DescribeCasterVideoResourcesRequest.h
include/alibabacloud/live/model/DescribeCasterVideoResourcesResult.h
include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigRequest.h
include/alibabacloud/live/model/UpdateLiveAppSnapshotConfigResult.h
include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigRequest.h
include/alibabacloud/live/model/DeleteLiveDetectNotifyConfigResult.h
include/alibabacloud/live/model/EffectCasterVideoResourceRequest.h
include/alibabacloud/live/model/EffectCasterVideoResourceResult.h
include/alibabacloud/live/model/DeleteLiveMixNotifyConfigRequest.h
include/alibabacloud/live/model/DeleteLiveMixNotifyConfigResult.h
include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataRequest.h
include/alibabacloud/live/model/DescribeUpPeakPublishStreamDataResult.h
include/alibabacloud/live/model/AddLiveAppSnapshotConfigRequest.h
include/alibabacloud/live/model/AddLiveAppSnapshotConfigResult.h
include/alibabacloud/live/model/RemoveMultipleStreamMixServiceRequest.h
include/alibabacloud/live/model/RemoveMultipleStreamMixServiceResult.h
include/alibabacloud/live/model/DeleteCasterComponentRequest.h
include/alibabacloud/live/model/DeleteCasterComponentResult.h
include/alibabacloud/live/model/DeleteLiveDomainRequest.h
include/alibabacloud/live/model/DeleteLiveDomainResult.h
include/alibabacloud/live/model/SetCasterConfigRequest.h
include/alibabacloud/live/model/SetCasterConfigResult.h
include/alibabacloud/live/model/AddLiveDomainMappingRequest.h
include/alibabacloud/live/model/AddLiveDomainMappingResult.h
include/alibabacloud/live/model/RealTimeRecordCommandRequest.h
include/alibabacloud/live/model/RealTimeRecordCommandResult.h
include/alibabacloud/live/model/StartCasterRequest.h
include/alibabacloud/live/model/StartCasterResult.h
include/alibabacloud/live/model/ResumeLiveStreamRequest.h
include/alibabacloud/live/model/ResumeLiveStreamResult.h
include/alibabacloud/live/model/AddCasterLayoutRequest.h
include/alibabacloud/live/model/AddCasterLayoutResult.h
include/alibabacloud/live/model/UpdateBoardRequest.h
include/alibabacloud/live/model/UpdateBoardResult.h
include/alibabacloud/live/model/JoinBoardRequest.h
include/alibabacloud/live/model/JoinBoardResult.h
include/alibabacloud/live/model/DescribeLiveUserDomainsRequest.h
include/alibabacloud/live/model/DescribeLiveUserDomainsResult.h
include/alibabacloud/live/model/ModifyCasterLayoutRequest.h
include/alibabacloud/live/model/ModifyCasterLayoutResult.h
include/alibabacloud/live/model/StopCasterRequest.h
include/alibabacloud/live/model/StopCasterResult.h
include/alibabacloud/live/model/DescribeLiveStreamsPublishListRequest.h
include/alibabacloud/live/model/DescribeLiveStreamsPublishListResult.h
include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigRequest.h
include/alibabacloud/live/model/DescribeLiveSnapshotDetectPornConfigResult.h
include/alibabacloud/live/model/DeleteCasterSceneConfigRequest.h
include/alibabacloud/live/model/DeleteCasterSceneConfigResult.h
include/alibabacloud/live/model/AddLiveDomainRequest.h
include/alibabacloud/live/model/AddLiveDomainResult.h
include/alibabacloud/live/model/DeleteLiveAppRecordConfigRequest.h
include/alibabacloud/live/model/DeleteLiveAppRecordConfigResult.h
include/alibabacloud/live/model/DescribeLiveDomainBpsDataRequest.h
include/alibabacloud/live/model/DescribeLiveDomainBpsDataResult.h
include/alibabacloud/live/model/DeleteCasterRequest.h
include/alibabacloud/live/model/DeleteCasterResult.h
include/alibabacloud/live/model/DescribeLiveRecordVodConfigsRequest.h
include/alibabacloud/live/model/DescribeLiveRecordVodConfigsResult.h
include/alibabacloud/live/model/DescribeCastersRequest.h
include/alibabacloud/live/model/DescribeCastersResult.h
include/alibabacloud/live/model/AddLiveMixNotifyConfigRequest.h
include/alibabacloud/live/model/AddLiveMixNotifyConfigResult.h
include/alibabacloud/live/model/AddLiveDetectNotifyConfigRequest.h
include/alibabacloud/live/model/AddLiveDetectNotifyConfigResult.h
include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigRequest.h
include/alibabacloud/live/model/DescribeLiveLazyPullStreamConfigResult.h
include/alibabacloud/live/model/DescribeCasterScenesRequest.h
include/alibabacloud/live/model/DescribeCasterScenesResult.h
include/alibabacloud/live/model/SendRoomNotificationRequest.h
include/alibabacloud/live/model/SendRoomNotificationResult.h
include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigRequest.h
include/alibabacloud/live/model/DeleteLiveLazyPullStreamInfoConfigResult.h )
include/alibabacloud/live/LiveExport.h )
set(live_public_header_model )
set(live_src
src/LiveClient.cc
src/model/DescribeLiveRecordNotifyConfigRequest.cc
src/model/DescribeLiveRecordNotifyConfigResult.cc
src/model/DescribeRoomListRequest.cc
src/model/DescribeRoomListResult.cc
src/model/DescribeLiveDetectNotifyConfigRequest.cc
src/model/DescribeLiveDetectNotifyConfigResult.cc
src/model/ModifyCasterComponentRequest.cc
src/model/ModifyCasterComponentResult.cc
src/model/UpdateLiveSnapshotDetectPornConfigRequest.cc
src/model/UpdateLiveSnapshotDetectPornConfigResult.cc
src/model/EffectCasterUrgentRequest.cc
src/model/EffectCasterUrgentResult.cc
src/model/CompleteBoardRequest.cc
src/model/CompleteBoardResult.cc
src/model/DescribeCasterComponentsRequest.cc
src/model/DescribeCasterComponentsResult.cc
src/model/DescribeLiveMixConfigRequest.cc
src/model/DescribeLiveMixConfigResult.cc
src/model/DescribeRoomStatusRequest.cc
src/model/DescribeRoomStatusResult.cc
src/model/CreateLiveStreamRecordIndexFilesRequest.cc
src/model/CreateLiveStreamRecordIndexFilesResult.cc
src/model/DeleteLiveSpecificConfigRequest.cc
src/model/DeleteLiveSpecificConfigResult.cc
src/model/UpdateCasterSceneConfigRequest.cc
src/model/UpdateCasterSceneConfigResult.cc
src/model/DescribeLiveStreamTranscodeInfoRequest.cc
src/model/DescribeLiveStreamTranscodeInfoResult.cc
src/model/DescribeLiveStreamsOnlineListRequest.cc
src/model/DescribeLiveStreamsOnlineListResult.cc
src/model/DeleteLiveSnapshotDetectPornConfigRequest.cc
src/model/DeleteLiveSnapshotDetectPornConfigResult.cc
src/model/DescribeUpBpsPeakOfLineRequest.cc
src/model/DescribeUpBpsPeakOfLineResult.cc
src/model/CopyCasterSceneConfigRequest.cc
src/model/CopyCasterSceneConfigResult.cc
src/model/DescribeLiveDomainTranscodeDataRequest.cc
src/model/DescribeLiveDomainTranscodeDataResult.cc
src/model/StopMixStreamsServiceRequest.cc
src/model/StopMixStreamsServiceResult.cc
src/model/DeleteLiveStreamTranscodeRequest.cc
src/model/DeleteLiveStreamTranscodeResult.cc
src/model/DeleteCasterEpisodeRequest.cc
src/model/DeleteCasterEpisodeResult.cc
src/model/DescribeCasterRtcInfoRequest.cc
src/model/DescribeCasterRtcInfoResult.cc
src/model/SetCasterSceneConfigRequest.cc
src/model/SetCasterSceneConfigResult.cc
src/model/AddTrancodeSEIRequest.cc
src/model/AddTrancodeSEIResult.cc
src/model/DeleteBoardRequest.cc
src/model/DeleteBoardResult.cc
src/model/DescribeLiveStreamBitRateDataRequest.cc
src/model/DescribeLiveStreamBitRateDataResult.cc
src/model/DeleteCasterLayoutRequest.cc
src/model/DeleteCasterLayoutResult.cc
src/model/DeleteCasterProgramRequest.cc
src/model/DeleteCasterProgramResult.cc
src/model/StartCasterSceneRequest.cc
src/model/StartCasterSceneResult.cc
src/model/DescribeLiveStreamRecordIndexFileRequest.cc
src/model/DescribeLiveStreamRecordIndexFileResult.cc
src/model/AddCasterEpisodeGroupRequest.cc
src/model/AddCasterEpisodeGroupResult.cc
src/model/DescribeLiveTopDomainsByFlowRequest.cc
src/model/DescribeLiveTopDomainsByFlowResult.cc
src/model/AddLiveMixConfigRequest.cc
src/model/AddLiveMixConfigResult.cc
src/model/DescribeCasterConfigRequest.cc
src/model/DescribeCasterConfigResult.cc
src/model/CopyCasterRequest.cc
src/model/CopyCasterResult.cc
src/model/AddCustomLiveStreamTranscodeRequest.cc
src/model/AddCustomLiveStreamTranscodeResult.cc
src/model/SetLiveLazyPullStreamInfoConfigRequest.cc
src/model/SetLiveLazyPullStreamInfoConfigResult.cc
src/model/AddCasterEpisodeRequest.cc
src/model/AddCasterEpisodeResult.cc
src/model/DescribeLiveDomainRealTimeBpsDataRequest.cc
src/model/DescribeLiveDomainRealTimeBpsDataResult.cc
src/model/AllowPushStreamRequest.cc
src/model/AllowPushStreamResult.cc
src/model/ForbidPushStreamRequest.cc
src/model/ForbidPushStreamResult.cc
src/model/DescribeLiveRecordConfigRequest.cc
src/model/DescribeLiveRecordConfigResult.cc
src/model/DeleteLiveRecordNotifyConfigRequest.cc
src/model/DeleteLiveRecordNotifyConfigResult.cc
src/model/AddLiveRecordNotifyConfigRequest.cc
src/model/AddLiveRecordNotifyConfigResult.cc
src/model/DescribeHlsLiveStreamRealTimeBpsDataRequest.cc
src/model/DescribeHlsLiveStreamRealTimeBpsDataResult.cc
src/model/CreateBoardRequest.cc
src/model/CreateBoardResult.cc
src/model/DeleteLiveStreamsNotifyUrlConfigRequest.cc
src/model/DeleteLiveStreamsNotifyUrlConfigResult.cc
src/model/DescribeLiveStreamOnlineUserNumRequest.cc
src/model/DescribeLiveStreamOnlineUserNumResult.cc
src/model/AddCasterComponentRequest.cc
src/model/AddCasterComponentResult.cc
src/model/UpdateLiveMixNotifyConfigRequest.cc
src/model/UpdateLiveMixNotifyConfigResult.cc
src/model/DescribeLiveDomainRecordDataRequest.cc
src/model/DescribeLiveDomainRecordDataResult.cc
src/model/DeleteCasterVideoResourceRequest.cc
src/model/DeleteCasterVideoResourceResult.cc
src/model/DescribeLiveCertificateListRequest.cc
src/model/DescribeLiveCertificateListResult.cc
src/model/DeleteLiveAppSnapshotConfigRequest.cc
src/model/DeleteLiveAppSnapshotConfigResult.cc
src/model/UpdateCasterSceneAudioRequest.cc
src/model/UpdateCasterSceneAudioResult.cc
src/model/DescribeLiveStreamsNotifyUrlConfigRequest.cc
src/model/DescribeLiveStreamsNotifyUrlConfigResult.cc
src/model/DescribeUpBpsPeakDataRequest.cc
src/model/DescribeUpBpsPeakDataResult.cc
src/model/DeleteLivePullStreamInfoConfigRequest.cc
src/model/DeleteLivePullStreamInfoConfigResult.cc
src/model/ModifyCasterProgramRequest.cc
src/model/ModifyCasterProgramResult.cc
src/model/DescribeBoardEventsRequest.cc
src/model/DescribeBoardEventsResult.cc
src/model/DescribeLiveCertificateDetailRequest.cc
src/model/DescribeLiveCertificateDetailResult.cc
src/model/StartMixStreamsServiceRequest.cc
src/model/StartMixStreamsServiceResult.cc
src/model/DescribeLivePullStreamConfigRequest.cc
src/model/DescribeLivePullStreamConfigResult.cc
src/model/SetLiveStreamsNotifyUrlConfigRequest.cc
src/model/SetLiveStreamsNotifyUrlConfigResult.cc
src/model/AddLivePullStreamInfoConfigRequest.cc
src/model/AddLivePullStreamInfoConfigResult.cc
src/model/StartLiveDomainRequest.cc
src/model/StartLiveDomainResult.cc
src/model/DescribeCasterSceneAudioRequest.cc
src/model/DescribeCasterSceneAudioResult.cc
src/model/DescribeLiveStreamsBlockListRequest.cc
src/model/DescribeLiveStreamsBlockListResult.cc
src/model/AddLiveStreamTranscodeRequest.cc
src/model/AddLiveStreamTranscodeResult.cc
src/model/AddCasterVideoResourceRequest.cc
src/model/AddCasterVideoResourceResult.cc
src/model/DescribeRoomKickoutUserListRequest.cc
src/model/DescribeRoomKickoutUserListResult.cc
src/model/AddCasterEpisodeGroupContentRequest.cc
src/model/AddCasterEpisodeGroupContentResult.cc
src/model/UpdateLiveDetectNotifyConfigRequest.cc
src/model/UpdateLiveDetectNotifyConfigResult.cc
src/model/ModifyCasterVideoResourceRequest.cc
src/model/ModifyCasterVideoResourceResult.cc
src/model/CreateRoomRequest.cc
src/model/CreateRoomResult.cc
src/model/DescribeCasterStreamUrlRequest.cc
src/model/DescribeCasterStreamUrlResult.cc
src/model/DescribeLiveStreamsControlHistoryRequest.cc
src/model/DescribeLiveStreamsControlHistoryResult.cc
src/model/DescribeLiveStreamCountRequest.cc
src/model/DescribeLiveStreamCountResult.cc
src/model/StopCasterSceneRequest.cc
src/model/StopCasterSceneResult.cc
src/model/DescribeLiveDomainRealTimeTrafficDataRequest.cc
src/model/DescribeLiveDomainRealTimeTrafficDataResult.cc
src/model/DescribeLiveDomainSnapshotDataRequest.cc
src/model/DescribeLiveDomainSnapshotDataResult.cc
src/model/DeleteLiveRecordVodConfigRequest.cc
src/model/DeleteLiveRecordVodConfigResult.cc
src/model/DescribeLiveDomainRealTimeHttpCodeDataRequest.cc
src/model/DescribeLiveDomainRealTimeHttpCodeDataResult.cc
src/model/ModifyCasterEpisodeRequest.cc
src/model/ModifyCasterEpisodeResult.cc
src/model/DescribeBoardsRequest.cc
src/model/DescribeBoardsResult.cc
src/model/DescribeLiveStreamSnapshotInfoRequest.cc
src/model/DescribeLiveStreamSnapshotInfoResult.cc
src/model/StartMultipleStreamMixServiceRequest.cc
src/model/StartMultipleStreamMixServiceResult.cc
src/model/StopMultipleStreamMixServiceRequest.cc
src/model/StopMultipleStreamMixServiceResult.cc
src/model/DescribeLiveMixNotifyConfigRequest.cc
src/model/DescribeLiveMixNotifyConfigResult.cc
src/model/DescribeLiveStreamsFrameRateAndBitRateDataRequest.cc
src/model/DescribeLiveStreamsFrameRateAndBitRateDataResult.cc
src/model/DescribeForbidPushStreamRoomListRequest.cc
src/model/DescribeForbidPushStreamRoomListResult.cc
src/model/CreateCasterRequest.cc
src/model/CreateCasterResult.cc
src/model/DescribeLiveStreamRecordContentRequest.cc
src/model/DescribeLiveStreamRecordContentResult.cc
src/model/AddMultipleStreamMixServiceRequest.cc
src/model/AddMultipleStreamMixServiceResult.cc
src/model/AddLiveSnapshotDetectPornConfigRequest.cc
src/model/AddLiveSnapshotDetectPornConfigResult.cc
src/model/DescribeCasterLayoutsRequest.cc
src/model/DescribeCasterLayoutsResult.cc
src/model/UpdateLiveRecordNotifyConfigRequest.cc
src/model/UpdateLiveRecordNotifyConfigResult.cc
src/model/SetCasterChannelRequest.cc
src/model/SetCasterChannelResult.cc
src/model/DescribeLiveSnapshotConfigRequest.cc
src/model/DescribeLiveSnapshotConfigResult.cc
src/model/DescribeLiveDomainTrafficDataRequest.cc
src/model/DescribeLiveDomainTrafficDataResult.cc
src/model/DescribeCasterProgramRequest.cc
src/model/DescribeCasterProgramResult.cc
src/model/StopLiveDomainRequest.cc
src/model/StopLiveDomainResult.cc
src/model/ApplyBoardTokenRequest.cc
src/model/ApplyBoardTokenResult.cc
src/model/DescribeLiveStreamHistoryUserNumRequest.cc
src/model/DescribeLiveStreamHistoryUserNumResult.cc
src/model/AddLiveAppRecordConfigRequest.cc
src/model/AddLiveAppRecordConfigResult.cc
src/model/AddLiveRecordVodConfigRequest.cc
src/model/AddLiveRecordVodConfigResult.cc
src/model/SendRoomUserNotificationRequest.cc
src/model/SendRoomUserNotificationResult.cc
src/model/DeleteLiveDomainMappingRequest.cc
src/model/DeleteLiveDomainMappingResult.cc
src/model/BatchSetLiveDomainConfigsRequest.cc
src/model/BatchSetLiveDomainConfigsResult.cc
src/model/DescribeLiveDomainDetailRequest.cc
src/model/DescribeLiveDomainDetailResult.cc
src/model/DescribeCasterChannelsRequest.cc
src/model/DescribeCasterChannelsResult.cc
src/model/DescribeLiveDomainConfigsRequest.cc
src/model/DescribeLiveDomainConfigsResult.cc
src/model/DescribeLiveStreamRecordIndexFilesRequest.cc
src/model/DescribeLiveStreamRecordIndexFilesResult.cc
src/model/DeleteRoomRequest.cc
src/model/DeleteRoomResult.cc
src/model/AddCasterProgramRequest.cc
src/model/AddCasterProgramResult.cc
src/model/DescribeBoardSnapshotRequest.cc
src/model/DescribeBoardSnapshotResult.cc
src/model/DeleteLiveMixConfigRequest.cc
src/model/DeleteLiveMixConfigResult.cc
src/model/BatchDeleteLiveDomainConfigsRequest.cc
src/model/BatchDeleteLiveDomainConfigsResult.cc
src/model/SetLiveDomainCertificateRequest.cc
src/model/SetLiveDomainCertificateResult.cc
src/model/ForbidLiveStreamRequest.cc
src/model/ForbidLiveStreamResult.cc
src/model/DeleteCasterEpisodeGroupRequest.cc
src/model/DeleteCasterEpisodeGroupResult.cc
src/model/DescribeCasterVideoResourcesRequest.cc
src/model/DescribeCasterVideoResourcesResult.cc
src/model/UpdateLiveAppSnapshotConfigRequest.cc
src/model/UpdateLiveAppSnapshotConfigResult.cc
src/model/DeleteLiveDetectNotifyConfigRequest.cc
src/model/DeleteLiveDetectNotifyConfigResult.cc
src/model/EffectCasterVideoResourceRequest.cc
src/model/EffectCasterVideoResourceResult.cc
src/model/DeleteLiveMixNotifyConfigRequest.cc
src/model/DeleteLiveMixNotifyConfigResult.cc
src/model/DescribeUpPeakPublishStreamDataRequest.cc
src/model/DescribeUpPeakPublishStreamDataResult.cc
src/model/AddLiveAppSnapshotConfigRequest.cc
src/model/AddLiveAppSnapshotConfigResult.cc
src/model/RemoveMultipleStreamMixServiceRequest.cc
src/model/RemoveMultipleStreamMixServiceResult.cc
src/model/DeleteCasterComponentRequest.cc
src/model/DeleteCasterComponentResult.cc
src/model/DeleteLiveDomainRequest.cc
src/model/DeleteLiveDomainResult.cc
src/model/SetCasterConfigRequest.cc
src/model/SetCasterConfigResult.cc
src/model/AddLiveDomainMappingRequest.cc
src/model/AddLiveDomainMappingResult.cc
src/model/RealTimeRecordCommandRequest.cc
src/model/RealTimeRecordCommandResult.cc
src/model/StartCasterRequest.cc
src/model/StartCasterResult.cc
src/model/ResumeLiveStreamRequest.cc
src/model/ResumeLiveStreamResult.cc
src/model/AddCasterLayoutRequest.cc
src/model/AddCasterLayoutResult.cc
src/model/UpdateBoardRequest.cc
src/model/UpdateBoardResult.cc
src/model/JoinBoardRequest.cc
src/model/JoinBoardResult.cc
src/model/DescribeLiveUserDomainsRequest.cc
src/model/DescribeLiveUserDomainsResult.cc
src/model/ModifyCasterLayoutRequest.cc
src/model/ModifyCasterLayoutResult.cc
src/model/StopCasterRequest.cc
src/model/StopCasterResult.cc
src/model/DescribeLiveStreamsPublishListRequest.cc
src/model/DescribeLiveStreamsPublishListResult.cc
src/model/DescribeLiveSnapshotDetectPornConfigRequest.cc
src/model/DescribeLiveSnapshotDetectPornConfigResult.cc
src/model/DeleteCasterSceneConfigRequest.cc
src/model/DeleteCasterSceneConfigResult.cc
src/model/AddLiveDomainRequest.cc
src/model/AddLiveDomainResult.cc
src/model/DeleteLiveAppRecordConfigRequest.cc
src/model/DeleteLiveAppRecordConfigResult.cc
src/model/DescribeLiveDomainBpsDataRequest.cc
src/model/DescribeLiveDomainBpsDataResult.cc
src/model/DeleteCasterRequest.cc
src/model/DeleteCasterResult.cc
src/model/DescribeLiveRecordVodConfigsRequest.cc
src/model/DescribeLiveRecordVodConfigsResult.cc
src/model/DescribeCastersRequest.cc
src/model/DescribeCastersResult.cc
src/model/AddLiveMixNotifyConfigRequest.cc
src/model/AddLiveMixNotifyConfigResult.cc
src/model/AddLiveDetectNotifyConfigRequest.cc
src/model/AddLiveDetectNotifyConfigResult.cc
src/model/DescribeLiveLazyPullStreamConfigRequest.cc
src/model/DescribeLiveLazyPullStreamConfigResult.cc
src/model/DescribeCasterScenesRequest.cc
src/model/DescribeCasterScenesResult.cc
src/model/SendRoomNotificationRequest.cc
src/model/SendRoomNotificationResult.cc
src/model/DeleteLiveLazyPullStreamInfoConfigRequest.cc
src/model/DeleteLiveLazyPullStreamInfoConfigResult.cc )
add_library(live ${LIB_TYPE}
${live_public_header}
${live_public_header_model}
${live_src})
set_target_properties(live
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}live
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(live
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_LIVE_LIBRARY)
endif()
target_include_directories(live
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(live
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(live
jsoncpp)
target_include_directories(live
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(live
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(live
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(live
PRIVATE /usr/include/jsoncpp)
target_link_libraries(live
jsoncpp)
endif()
install(FILES ${live_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/live)
install(FILES ${live_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/live/model)
install(TARGETS live
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
src/LiveClient.cc )
add_library(live ${LIB_TYPE}
${live_public_header}
${live_public_header_model}
${live_src})
set_target_properties(live
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}live
)
if(${LIB_TYPE} STREQUAL "SHARED")
set_target_properties(live
PROPERTIES
DEFINE_SYMBOL ALIBABACLOUD_LIVE_LIBRARY)
endif()
target_include_directories(live
PRIVATE include
${CMAKE_SOURCE_DIR}/core/include
)
target_link_libraries(live
core)
if(CMAKE_HOST_WIN32)
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
set(jsoncpp_install_dir ${INSTALL_DIR})
add_dependencies(live
jsoncpp)
target_include_directories(live
PRIVATE ${jsoncpp_install_dir}/include)
target_link_libraries(live
${jsoncpp_install_dir}/lib/jsoncpp.lib)
set_target_properties(live
PROPERTIES
COMPILE_OPTIONS "/bigobj")
else()
target_include_directories(live
PRIVATE /usr/include/jsoncpp)
target_link_libraries(live
jsoncpp)
endif()
install(FILES ${live_public_header}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/live)
install(FILES ${live_public_header_model}
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/live/model)
install(TARGETS live
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)

File diff suppressed because it is too large Load Diff

View File

@@ -1,32 +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_LIVE_LIVEEXPORT_H_
#define ALIBABACLOUD_LIVE_LIVEEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_LIVE_LIBRARY)
# define ALIBABACLOUD_LIVE_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_LIVE_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_LIVE_EXPORT
#endif
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_LIVEEXPORT_H_
#define ALIBABACLOUD_LIVE_LIVEEXPORT_H_
#include <alibabacloud/core/Global.h>
#if defined(ALIBABACLOUD_SHARED)
# if defined(ALIBABACLOUD_LIVE_LIBRARY)
# define ALIBABACLOUD_LIVE_EXPORT ALIBABACLOUD_DECL_EXPORT
# else
# define ALIBABACLOUD_LIVE_EXPORT ALIBABACLOUD_DECL_IMPORT
# endif
#else
# define ALIBABACLOUD_LIVE_EXPORT
#endif
#endif // !ALIBABACLOUD_LIVE_LIVEEXPORT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERCOMPONENTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterComponentRequest : public RpcServiceRequest
{
public:
AddCasterComponentRequest();
~AddCasterComponentRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERCOMPONENTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterComponentRequest : public RpcServiceRequest
{
public:
AddCasterComponentRequest();
~AddCasterComponentRequest();
std::string getComponentType()const;
void setComponentType(const std::string& componentType);
std::string getLocationId()const;
@@ -55,8 +55,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getTextLayerContent()const;
void setTextLayerContent(const std::string& textLayerContent);
private:
private:
std::string componentType_;
std::string locationId_;
std::string imageLayerContent_;
@@ -67,9 +67,9 @@ namespace AlibabaCloud
std::string componentName_;
long ownerId_;
std::string textLayerContent_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTREQUEST_H_

View File

@@ -1,51 +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_LIVE_MODEL_ADDCASTERCOMPONENTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTRESULT_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 AddCasterComponentResult : public ServiceResult
{
public:
AddCasterComponentResult();
explicit AddCasterComponentResult(const std::string &payload);
~AddCasterComponentResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERCOMPONENTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTRESULT_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 AddCasterComponentResult : public ServiceResult
{
public:
AddCasterComponentResult();
explicit AddCasterComponentResult(const std::string &payload);
~AddCasterComponentResult();
std::string getComponentId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string componentId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERCOMPONENTRESULT_H_

View File

@@ -1,54 +1,54 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupContentRequest : public RpcServiceRequest
{
public:
AddCasterEpisodeGroupContentRequest();
~AddCasterEpisodeGroupContentRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupContentRequest : public RpcServiceRequest
{
public:
AddCasterEpisodeGroupContentRequest();
~AddCasterEpisodeGroupContentRequest();
std::string getClientToken()const;
void setClientToken(const std::string& clientToken);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getContent()const;
void setContent(const std::string& content);
private:
private:
std::string clientToken_;
long ownerId_;
std::string content_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTREQUEST_H_

View File

@@ -1,53 +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_ADDCASTEREPISODEGROUPCONTENTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTRESULT_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 AddCasterEpisodeGroupContentResult : public ServiceResult
{
public:
AddCasterEpisodeGroupContentResult();
explicit AddCasterEpisodeGroupContentResult(const std::string &payload);
~AddCasterEpisodeGroupContentResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTEREPISODEGROUPCONTENTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTRESULT_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 AddCasterEpisodeGroupContentResult : public ServiceResult
{
public:
AddCasterEpisodeGroupContentResult();
explicit AddCasterEpisodeGroupContentResult(const std::string &payload);
~AddCasterEpisodeGroupContentResult();
std::string getProgramId()const;
std::vector<std::string> getItemIds()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string programId_;
std::vector<std::string> itemIds_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPCONTENTRESULT_H_

View File

@@ -1,45 +1,45 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupRequest : public RpcServiceRequest
{
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTEREPISODEGROUPREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeGroupRequest : public RpcServiceRequest
{
struct Item
{
std::string vodUrl;
std::string itemName;
};
public:
AddCasterEpisodeGroupRequest();
~AddCasterEpisodeGroupRequest();
public:
AddCasterEpisodeGroupRequest();
~AddCasterEpisodeGroupRequest();
std::string getSideOutputUrl()const;
void setSideOutputUrl(const std::string& sideOutputUrl);
std::vector<Item> getItem()const;
@@ -56,8 +56,8 @@ namespace AlibabaCloud
void setCallbackUrl(const std::string& callbackUrl);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string sideOutputUrl_;
std::vector<Item> item_;
std::string clientToken_;
@@ -66,9 +66,9 @@ namespace AlibabaCloud
int repeatNum_;
std::string callbackUrl_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPREQUEST_H_

View File

@@ -1,53 +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_ADDCASTEREPISODEGROUPRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPRESULT_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 AddCasterEpisodeGroupResult : public ServiceResult
{
public:
AddCasterEpisodeGroupResult();
explicit AddCasterEpisodeGroupResult(const std::string &payload);
~AddCasterEpisodeGroupResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTEREPISODEGROUPRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPRESULT_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 AddCasterEpisodeGroupResult : public ServiceResult
{
public:
AddCasterEpisodeGroupResult();
explicit AddCasterEpisodeGroupResult(const std::string &payload);
~AddCasterEpisodeGroupResult();
std::string getProgramId()const;
std::vector<std::string> getItemIds()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string programId_;
std::vector<std::string> itemIds_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEGROUPRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTEREPISODEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeRequest : public RpcServiceRequest
{
public:
AddCasterEpisodeRequest();
~AddCasterEpisodeRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTEREPISODEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterEpisodeRequest : public RpcServiceRequest
{
public:
AddCasterEpisodeRequest();
~AddCasterEpisodeRequest();
std::string getResourceId()const;
void setResourceId(const std::string& resourceId);
std::vector<std::string> getComponentId()const;
@@ -53,8 +53,8 @@ namespace AlibabaCloud
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string resourceId_;
std::vector<std::string> componentId_;
std::string switchType_;
@@ -64,9 +64,9 @@ namespace AlibabaCloud
std::string endTime_;
std::string startTime_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODEREQUEST_H_

View File

@@ -1,51 +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_LIVE_MODEL_ADDCASTEREPISODERESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODERESULT_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 AddCasterEpisodeResult : public ServiceResult
{
public:
AddCasterEpisodeResult();
explicit AddCasterEpisodeResult(const std::string &payload);
~AddCasterEpisodeResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTEREPISODERESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODERESULT_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 AddCasterEpisodeResult : public ServiceResult
{
public:
AddCasterEpisodeResult();
explicit AddCasterEpisodeResult(const std::string &payload);
~AddCasterEpisodeResult();
std::string getEpisodeId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string episodeId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTEREPISODERESULT_H_

View File

@@ -1,35 +1,35 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERLAYOUTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterLayoutRequest : public RpcServiceRequest
{
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERLAYOUTREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterLayoutRequest : public RpcServiceRequest
{
struct AudioLayer
{
int fixedDelayDuration;
@@ -45,11 +45,11 @@ namespace AlibabaCloud
std::vector<float> positionNormalized;
float heightNormalized;
};
public:
AddCasterLayoutRequest();
~AddCasterLayoutRequest();
public:
AddCasterLayoutRequest();
~AddCasterLayoutRequest();
std::vector<std::string> getBlendList()const;
void setBlendList(const std::vector<std::string>& blendList);
std::vector<AudioLayer> getAudioLayer()const;
@@ -62,17 +62,17 @@ namespace AlibabaCloud
void setMixList(const std::vector<std::string>& mixList);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::vector<std::string> blendList_;
std::vector<AudioLayer> audioLayer_;
std::vector<VideoLayer> videoLayer_;
std::string casterId_;
std::vector<std::string> mixList_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTREQUEST_H_

View File

@@ -1,51 +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_LIVE_MODEL_ADDCASTERLAYOUTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTRESULT_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 AddCasterLayoutResult : public ServiceResult
{
public:
AddCasterLayoutResult();
explicit AddCasterLayoutResult(const std::string &payload);
~AddCasterLayoutResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERLAYOUTRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTRESULT_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 AddCasterLayoutResult : public ServiceResult
{
public:
AddCasterLayoutResult();
explicit AddCasterLayoutResult(const std::string &payload);
~AddCasterLayoutResult();
std::string getLayoutId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string layoutId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERLAYOUTRESULT_H_

View File

@@ -1,35 +1,35 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERPROGRAMREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterProgramRequest : public RpcServiceRequest
{
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERPROGRAMREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterProgramRequest : public RpcServiceRequest
{
struct Episode
{
std::string resourceId;
@@ -40,25 +40,25 @@ namespace AlibabaCloud
std::string endTime;
std::string startTime;
};
public:
AddCasterProgramRequest();
~AddCasterProgramRequest();
public:
AddCasterProgramRequest();
~AddCasterProgramRequest();
std::string getCasterId()const;
void setCasterId(const std::string& casterId);
std::vector<Episode> getEpisode()const;
void setEpisode(const std::vector<Episode>& episode);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string casterId_;
std::vector<Episode> episode_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMREQUEST_H_

View File

@@ -1,55 +1,55 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMRESULT_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 AddCasterProgramResult : public ServiceResult
{
public:
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERPROGRAMRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMRESULT_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 AddCasterProgramResult : public ServiceResult
{
public:
struct EpisodeId
{
std::string episodeId;
};
AddCasterProgramResult();
explicit AddCasterProgramResult(const std::string &payload);
~AddCasterProgramResult();
AddCasterProgramResult();
explicit AddCasterProgramResult(const std::string &payload);
~AddCasterProgramResult();
std::vector<EpisodeId> getEpisodeIds()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::vector<EpisodeId> episodeIds_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERPROGRAMRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERVIDEORESOURCEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterVideoResourceRequest : public RpcServiceRequest
{
public:
AddCasterVideoResourceRequest();
~AddCasterVideoResourceRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERVIDEORESOURCEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCasterVideoResourceRequest : public RpcServiceRequest
{
public:
AddCasterVideoResourceRequest();
~AddCasterVideoResourceRequest();
std::string getVodUrl()const;
void setVodUrl(const std::string& vodUrl);
std::string getCasterId()const;
@@ -59,8 +59,8 @@ namespace AlibabaCloud
void setResourceName(const std::string& resourceName);
int getRepeatNum()const;
void setRepeatNum(int repeatNum);
private:
private:
std::string vodUrl_;
std::string casterId_;
int endOffset_;
@@ -73,9 +73,9 @@ namespace AlibabaCloud
int ptsCallbackInterval_;
std::string resourceName_;
int repeatNum_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCEREQUEST_H_

View File

@@ -1,51 +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_LIVE_MODEL_ADDCASTERVIDEORESOURCERESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCERESULT_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 AddCasterVideoResourceResult : public ServiceResult
{
public:
AddCasterVideoResourceResult();
explicit AddCasterVideoResourceResult(const std::string &payload);
~AddCasterVideoResourceResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCASTERVIDEORESOURCERESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCERESULT_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 AddCasterVideoResourceResult : public ServiceResult
{
public:
AddCasterVideoResourceResult();
explicit AddCasterVideoResourceResult(const std::string &payload);
~AddCasterVideoResourceResult();
std::string getResourceId()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string resourceId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCASTERVIDEORESOURCERESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCustomLiveStreamTranscodeRequest : public RpcServiceRequest
{
public:
AddCustomLiveStreamTranscodeRequest();
~AddCustomLiveStreamTranscodeRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddCustomLiveStreamTranscodeRequest : public RpcServiceRequest
{
public:
AddCustomLiveStreamTranscodeRequest();
~AddCustomLiveStreamTranscodeRequest();
std::string getApp()const;
void setApp(const std::string& app);
std::string get_Template()const;
@@ -61,8 +61,8 @@ namespace AlibabaCloud
void setVideoBitrate(int videoBitrate);
int getHeight()const;
void setHeight(int height);
private:
private:
std::string app_;
std::string _template_;
int profile_;
@@ -76,9 +76,9 @@ namespace AlibabaCloud
int width_;
int videoBitrate_;
int height_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODEREQUEST_H_

View File

@@ -1,49 +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_ADDCUSTOMLIVESTREAMTRANSCODERESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODERESULT_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 AddCustomLiveStreamTranscodeResult : public ServiceResult
{
public:
AddCustomLiveStreamTranscodeResult();
explicit AddCustomLiveStreamTranscodeResult(const std::string &payload);
~AddCustomLiveStreamTranscodeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDCUSTOMLIVESTREAMTRANSCODERESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODERESULT_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 AddCustomLiveStreamTranscodeResult : public ServiceResult
{
public:
AddCustomLiveStreamTranscodeResult();
explicit AddCustomLiveStreamTranscodeResult(const std::string &payload);
~AddCustomLiveStreamTranscodeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDCUSTOMLIVESTREAMTRANSCODERESULT_H_

View File

@@ -1,35 +1,35 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEAPPRECORDCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveAppRecordConfigRequest : public RpcServiceRequest
{
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEAPPRECORDCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveAppRecordConfigRequest : public RpcServiceRequest
{
struct RecordFormat
{
std::string sliceOssObjectPrefix;
@@ -37,13 +37,19 @@ namespace AlibabaCloud
std::string ossObjectPrefix;
int cycleDuration;
};
public:
AddLiveAppRecordConfigRequest();
~AddLiveAppRecordConfigRequest();
public:
AddLiveAppRecordConfigRequest();
~AddLiveAppRecordConfigRequest();
std::string getOssBucket()const;
void setOssBucket(const std::string& ossBucket);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::vector<RecordFormat> getRecordFormat()const;
void setRecordFormat(const std::vector<RecordFormat>& recordFormat);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getOssEndpoint()const;
@@ -54,35 +60,26 @@ namespace AlibabaCloud
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::vector<RecordFormat> getRecordFormat()const;
void setRecordFormat(const std::vector<RecordFormat>& recordFormat);
int getOnDemand()const;
void setOnDemand(int onDemand);
std::string getStreamName()const;
void setStreamName(const std::string& streamName);
private:
private:
std::string ossBucket_;
std::string appName_;
std::string securityToken_;
std::vector<RecordFormat> recordFormat_;
std::string domainName_;
std::string ossEndpoint_;
std::string endTime_;
std::string startTime_;
long ownerId_;
std::string accessKeyId_;
std::string appName_;
std::string securityToken_;
std::vector<RecordFormat> recordFormat_;
int onDemand_;
std::string streamName_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGREQUEST_H_

View File

@@ -1,49 +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_ADDLIVEAPPRECORDCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_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 AddLiveAppRecordConfigResult : public ServiceResult
{
public:
AddLiveAppRecordConfigResult();
explicit AddLiveAppRecordConfigResult(const std::string &payload);
~AddLiveAppRecordConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEAPPRECORDCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_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 AddLiveAppRecordConfigResult : public ServiceResult
{
public:
AddLiveAppRecordConfigResult();
explicit AddLiveAppRecordConfigResult(const std::string &payload);
~AddLiveAppRecordConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPRECORDCONFIGRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveAppSnapshotConfigRequest : public RpcServiceRequest
{
public:
AddLiveAppSnapshotConfigRequest();
~AddLiveAppSnapshotConfigRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveAppSnapshotConfigRequest : public RpcServiceRequest
{
public:
AddLiveAppSnapshotConfigRequest();
~AddLiveAppSnapshotConfigRequest();
int getTimeInterval()const;
void setTimeInterval(int timeInterval);
std::string getOssBucket()const;
@@ -53,10 +53,8 @@ namespace AlibabaCloud
void setOverwriteOssObject(const std::string& overwriteOssObject);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
private:
int timeInterval_;
std::string ossBucket_;
std::string appName_;
@@ -66,10 +64,9 @@ namespace AlibabaCloud
std::string sequenceOssObject_;
std::string overwriteOssObject_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGREQUEST_H_

View File

@@ -1,49 +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_ADDLIVEAPPSNAPSHOTCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGRESULT_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 AddLiveAppSnapshotConfigResult : public ServiceResult
{
public:
AddLiveAppSnapshotConfigResult();
explicit AddLiveAppSnapshotConfigResult(const std::string &payload);
~AddLiveAppSnapshotConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEAPPSNAPSHOTCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGRESULT_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 AddLiveAppSnapshotConfigResult : public ServiceResult
{
public:
AddLiveAppSnapshotConfigResult();
explicit AddLiveAppSnapshotConfigResult(const std::string &payload);
~AddLiveAppSnapshotConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEAPPSNAPSHOTCONFIGRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveDetectNotifyConfigRequest : public RpcServiceRequest
{
public:
AddLiveDetectNotifyConfigRequest();
~AddLiveDetectNotifyConfigRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveDetectNotifyConfigRequest : public RpcServiceRequest
{
public:
AddLiveDetectNotifyConfigRequest();
~AddLiveDetectNotifyConfigRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainName()const;
@@ -43,18 +43,15 @@ namespace AlibabaCloud
void setNotifyUrl(const std::string& notifyUrl);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
private:
std::string securityToken_;
std::string domainName_;
std::string notifyUrl_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGREQUEST_H_

View File

@@ -1,49 +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_ADDLIVEDETECTNOTIFYCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGRESULT_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 AddLiveDetectNotifyConfigResult : public ServiceResult
{
public:
AddLiveDetectNotifyConfigResult();
explicit AddLiveDetectNotifyConfigResult(const std::string &payload);
~AddLiveDetectNotifyConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEDETECTNOTIFYCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGRESULT_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 AddLiveDetectNotifyConfigResult : public ServiceResult
{
public:
AddLiveDetectNotifyConfigResult();
explicit AddLiveDetectNotifyConfigResult(const std::string &payload);
~AddLiveDetectNotifyConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDETECTNOTIFYCONFIGRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEDOMAINMAPPINGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingRequest : public RpcServiceRequest
{
public:
AddLiveDomainMappingRequest();
~AddLiveDomainMappingRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEDOMAINMAPPINGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainMappingRequest : public RpcServiceRequest
{
public:
AddLiveDomainMappingRequest();
~AddLiveDomainMappingRequest();
std::string getPullDomain()const;
void setPullDomain(const std::string& pullDomain);
std::string getSecurityToken()const;
@@ -43,18 +43,15 @@ namespace AlibabaCloud
void setPushDomain(const std::string& pushDomain);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
private:
std::string pullDomain_;
std::string securityToken_;
std::string pushDomain_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGREQUEST_H_

View File

@@ -1,49 +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_ADDLIVEDOMAINMAPPINGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_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 AddLiveDomainMappingResult : public ServiceResult
{
public:
AddLiveDomainMappingResult();
explicit AddLiveDomainMappingResult(const std::string &payload);
~AddLiveDomainMappingResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEDOMAINMAPPINGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_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 AddLiveDomainMappingResult : public ServiceResult
{
public:
AddLiveDomainMappingResult();
explicit AddLiveDomainMappingResult(const std::string &payload);
~AddLiveDomainMappingResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINMAPPINGRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEDOMAINREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainRequest : public RpcServiceRequest
{
public:
AddLiveDomainRequest();
~AddLiveDomainRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEDOMAINREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveDomainRequest : public RpcServiceRequest
{
public:
AddLiveDomainRequest();
~AddLiveDomainRequest();
std::string getTopLevelDomain()const;
void setTopLevelDomain(const std::string& topLevelDomain);
std::string getSecurityToken()const;
@@ -51,12 +51,10 @@ namespace AlibabaCloud
void setRegion(const std::string& region);
std::string getCheckUrl()const;
void setCheckUrl(const std::string& checkUrl);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getLiveDomainType()const;
void setLiveDomainType(const std::string& liveDomainType);
private:
private:
std::string topLevelDomain_;
std::string securityToken_;
std::string ownerAccount_;
@@ -65,11 +63,10 @@ namespace AlibabaCloud
long ownerId_;
std::string region_;
std::string checkUrl_;
std::string accessKeyId_;
std::string liveDomainType_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINREQUEST_H_

View File

@@ -1,49 +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_ADDLIVEDOMAINRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINRESULT_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 AddLiveDomainResult : public ServiceResult
{
public:
AddLiveDomainResult();
explicit AddLiveDomainResult(const std::string &payload);
~AddLiveDomainResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVEDOMAINRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINRESULT_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 AddLiveDomainResult : public ServiceResult
{
public:
AddLiveDomainResult();
explicit AddLiveDomainResult(const std::string &payload);
~AddLiveDomainResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEDOMAINRESULT_H_

View File

@@ -1,63 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveMixConfigRequest : public RpcServiceRequest
{
public:
AddLiveMixConfigRequest();
~AddLiveMixConfigRequest();
std::string get_Template()const;
void set_Template(const std::string& _template);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string _template_;
std::string appName_;
std::string securityToken_;
std::string domainName_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXCONFIGREQUEST_H_

View File

@@ -1,60 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXNOTIFYCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXNOTIFYCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveMixNotifyConfigRequest : public RpcServiceRequest
{
public:
AddLiveMixNotifyConfigRequest();
~AddLiveMixNotifyConfigRequest();
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getNotifyUrl()const;
void setNotifyUrl(const std::string& notifyUrl);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string securityToken_;
std::string domainName_;
std::string notifyUrl_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEMIXNOTIFYCONFIGREQUEST_H_

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLivePullStreamInfoConfigRequest : public RpcServiceRequest
{
public:
AddLivePullStreamInfoConfigRequest();
~AddLivePullStreamInfoConfigRequest();
std::string getSourceUrl()const;
void setSourceUrl(const std::string& sourceUrl);
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getStartTime()const;
void setStartTime(const std::string& startTime);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getStreamName()const;
void setStreamName(const std::string& streamName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string sourceUrl_;
std::string appName_;
std::string securityToken_;
std::string domainName_;
std::string endTime_;
std::string startTime_;
long ownerId_;
std::string streamName_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVEPULLSTREAMINFOCONFIGREQUEST_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordNotifyConfigRequest : public RpcServiceRequest
{
public:
AddLiveRecordNotifyConfigRequest();
~AddLiveRecordNotifyConfigRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordNotifyConfigRequest : public RpcServiceRequest
{
public:
AddLiveRecordNotifyConfigRequest();
~AddLiveRecordNotifyConfigRequest();
std::string getOnDemandUrl()const;
void setOnDemandUrl(const std::string& onDemandUrl);
std::string getSecurityToken()const;
@@ -47,20 +47,17 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
bool getNeedStatusNotify()const;
void setNeedStatusNotify(bool needStatusNotify);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
private:
std::string onDemandUrl_;
std::string securityToken_;
std::string domainName_;
std::string notifyUrl_;
long ownerId_;
bool needStatusNotify_;
std::string accessKeyId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGREQUEST_H_

View File

@@ -1,49 +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_ADDLIVERECORDNOTIFYCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGRESULT_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 AddLiveRecordNotifyConfigResult : public ServiceResult
{
public:
AddLiveRecordNotifyConfigResult();
explicit AddLiveRecordNotifyConfigResult(const std::string &payload);
~AddLiveRecordNotifyConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVERECORDNOTIFYCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGRESULT_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 AddLiveRecordNotifyConfigResult : public ServiceResult
{
public:
AddLiveRecordNotifyConfigResult();
explicit AddLiveRecordNotifyConfigResult(const std::string &payload);
~AddLiveRecordNotifyConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDNOTIFYCONFIGRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVERECORDVODCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordVodConfigRequest : public RpcServiceRequest
{
public:
AddLiveRecordVodConfigRequest();
~AddLiveRecordVodConfigRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVERECORDVODCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveRecordVodConfigRequest : public RpcServiceRequest
{
public:
AddLiveRecordVodConfigRequest();
~AddLiveRecordVodConfigRequest();
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getAutoCompose()const;
@@ -51,8 +51,8 @@ namespace AlibabaCloud
void setStreamName(const std::string& streamName);
std::string getVodTranscodeGroupId()const;
void setVodTranscodeGroupId(const std::string& vodTranscodeGroupId);
private:
private:
std::string appName_;
std::string autoCompose_;
std::string domainName_;
@@ -61,9 +61,9 @@ namespace AlibabaCloud
std::string composeVodTranscodeGroupId_;
std::string streamName_;
std::string vodTranscodeGroupId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGREQUEST_H_

View File

@@ -1,49 +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_ADDLIVERECORDVODCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGRESULT_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 AddLiveRecordVodConfigResult : public ServiceResult
{
public:
AddLiveRecordVodConfigResult();
explicit AddLiveRecordVodConfigResult(const std::string &payload);
~AddLiveRecordVodConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVERECORDVODCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGRESULT_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 AddLiveRecordVodConfigResult : public ServiceResult
{
public:
AddLiveRecordVodConfigResult();
explicit AddLiveRecordVodConfigResult(const std::string &payload);
~AddLiveRecordVodConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVERECORDVODCONFIGRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest
{
public:
AddLiveSnapshotDetectPornConfigRequest();
~AddLiveSnapshotDetectPornConfigRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveSnapshotDetectPornConfigRequest : public RpcServiceRequest
{
public:
AddLiveSnapshotDetectPornConfigRequest();
~AddLiveSnapshotDetectPornConfigRequest();
std::string getOssBucket()const;
void setOssBucket(const std::string& ossBucket);
std::string getAppName()const;
@@ -51,12 +51,10 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getOssObject()const;
void setOssObject(const std::string& ossObject);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::vector<std::string> getScene()const;
void setScene(const std::vector<std::string>& scene);
private:
private:
std::string ossBucket_;
std::string appName_;
std::string securityToken_;
@@ -65,11 +63,10 @@ namespace AlibabaCloud
int interval_;
long ownerId_;
std::string ossObject_;
std::string accessKeyId_;
std::vector<std::string> scene_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGREQUEST_H_

View File

@@ -1,49 +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_ADDLIVESNAPSHOTDETECTPORNCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGRESULT_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 AddLiveSnapshotDetectPornConfigResult : public ServiceResult
{
public:
AddLiveSnapshotDetectPornConfigResult();
explicit AddLiveSnapshotDetectPornConfigResult(const std::string &payload);
~AddLiveSnapshotDetectPornConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVESNAPSHOTDETECTPORNCONFIGRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGRESULT_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 AddLiveSnapshotDetectPornConfigResult : public ServiceResult
{
public:
AddLiveSnapshotDetectPornConfigResult();
explicit AddLiveSnapshotDetectPornConfigResult(const std::string &payload);
~AddLiveSnapshotDetectPornConfigResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESNAPSHOTDETECTPORNCONFIGRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVESTREAMTRANSCODEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamTranscodeRequest : public RpcServiceRequest
{
public:
AddLiveStreamTranscodeRequest();
~AddLiveStreamTranscodeRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVESTREAMTRANSCODEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddLiveStreamTranscodeRequest : public RpcServiceRequest
{
public:
AddLiveStreamTranscodeRequest();
~AddLiveStreamTranscodeRequest();
std::string getApp()const;
void setApp(const std::string& app);
std::string get_Template()const;
@@ -45,19 +45,16 @@ namespace AlibabaCloud
void setDomain(const std::string& domain);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
private:
std::string app_;
std::string _template_;
std::string securityToken_;
std::string domain_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODEREQUEST_H_

View File

@@ -1,49 +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_ADDLIVESTREAMTRANSCODERESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODERESULT_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 AddLiveStreamTranscodeResult : public ServiceResult
{
public:
AddLiveStreamTranscodeResult();
explicit AddLiveStreamTranscodeResult(const std::string &payload);
~AddLiveStreamTranscodeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDLIVESTREAMTRANSCODERESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODERESULT_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 AddLiveStreamTranscodeResult : public ServiceResult
{
public:
AddLiveStreamTranscodeResult();
explicit AddLiveStreamTranscodeResult(const std::string &payload);
~AddLiveStreamTranscodeResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDLIVESTREAMTRANSCODERESULT_H_

View File

@@ -1,72 +0,0 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ADDMULTIPLESTREAMMIXSERVICEREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDMULTIPLESTREAMMIXSERVICEREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddMultipleStreamMixServiceRequest : public RpcServiceRequest
{
public:
AddMultipleStreamMixServiceRequest();
~AddMultipleStreamMixServiceRequest();
std::string getAppName()const;
void setAppName(const std::string& appName);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getDomainName()const;
void setDomainName(const std::string& domainName);
std::string getMixStreamName()const;
void setMixStreamName(const std::string& mixStreamName);
std::string getMixDomainName()const;
void setMixDomainName(const std::string& mixDomainName);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getMixAppName()const;
void setMixAppName(const std::string& mixAppName);
std::string getStreamName()const;
void setStreamName(const std::string& streamName);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
std::string appName_;
std::string securityToken_;
std::string domainName_;
std::string mixStreamName_;
std::string mixDomainName_;
long ownerId_;
std::string mixAppName_;
std::string streamName_;
std::string accessKeyId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDMULTIPLESTREAMMIXSERVICEREQUEST_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDTRANCODESEIREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddTrancodeSEIRequest : public RpcServiceRequest
{
public:
AddTrancodeSEIRequest();
~AddTrancodeSEIRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDTRANCODESEIREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AddTrancodeSEIRequest : public RpcServiceRequest
{
public:
AddTrancodeSEIRequest();
~AddTrancodeSEIRequest();
int getDelay()const;
void setDelay(int delay);
std::string getAppName()const;
@@ -53,8 +53,8 @@ namespace AlibabaCloud
void setOwnerId(long ownerId);
std::string getStreamName()const;
void setStreamName(const std::string& streamName);
private:
private:
int delay_;
std::string appName_;
std::string regionId_;
@@ -64,9 +64,9 @@ namespace AlibabaCloud
std::string text_;
long ownerId_;
std::string streamName_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIREQUEST_H_

View File

@@ -1,49 +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_ADDTRANCODESEIRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIRESULT_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 AddTrancodeSEIResult : public ServiceResult
{
public:
AddTrancodeSEIResult();
explicit AddTrancodeSEIResult(const std::string &payload);
~AddTrancodeSEIResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ADDTRANCODESEIRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIRESULT_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 AddTrancodeSEIResult : public ServiceResult
{
public:
AddTrancodeSEIResult();
explicit AddTrancodeSEIResult(const std::string &payload);
~AddTrancodeSEIResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ADDTRANCODESEIRESULT_H_

View File

@@ -1,117 +1,114 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamRequest : public RpcServiceRequest
{
public:
AllowPushStreamRequest();
~AllowPushStreamRequest();
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ALLOWPUSHSTREAMREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT AllowPushStreamRequest : public RpcServiceRequest
{
public:
AllowPushStreamRequest();
~AllowPushStreamRequest();
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getProduct()const;
void setProduct(const std::string& product);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
std::string getRoomId()const;
void setRoomId(const std::string& roomId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getAppId()const;
void setAppId(const std::string& appId);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string securityToken_;
std::string regionId_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string app_ip_;
std::string popProduct_;
std::string product_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string callerBid_;
long ownerId_;
std::string proxy_original_source_ip_;
std::string version_;
std::string ownerIdLoginEmail_;
std::string callerType_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
std::string roomId_;
std::string accessKeyId_;
bool security_transport_;
std::string securityToken_;
std::string regionId_;
std::string requestId_;
std::string requestContent_;
std::string appId_;
};
}
}
}
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMREQUEST_H_

View File

@@ -1,49 +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_ALLOWPUSHSTREAMRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_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 AllowPushStreamResult : public ServiceResult
{
public:
AllowPushStreamResult();
explicit AllowPushStreamResult(const std::string &payload);
~AllowPushStreamResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_ALLOWPUSHSTREAMRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_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 AllowPushStreamResult : public ServiceResult
{
public:
AllowPushStreamResult();
explicit AllowPushStreamResult(const std::string &payload);
~AllowPushStreamResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_ALLOWPUSHSTREAMRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_APPLYBOARDTOKENREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT ApplyBoardTokenRequest : public RpcServiceRequest
{
public:
ApplyBoardTokenRequest();
~ApplyBoardTokenRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_APPLYBOARDTOKENREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT ApplyBoardTokenRequest : public RpcServiceRequest
{
public:
ApplyBoardTokenRequest();
~ApplyBoardTokenRequest();
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
@@ -83,8 +83,8 @@ namespace AlibabaCloud
void setRequestId(const std::string& requestId);
std::string getAppId()const;
void setAppId(const std::string& appId);
private:
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
@@ -109,9 +109,9 @@ namespace AlibabaCloud
bool security_transport_;
std::string requestId_;
std::string appId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENREQUEST_H_

View File

@@ -1,53 +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_APPLYBOARDTOKENRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_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 ApplyBoardTokenResult : public ServiceResult
{
public:
ApplyBoardTokenResult();
explicit ApplyBoardTokenResult(const std::string &payload);
~ApplyBoardTokenResult();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_APPLYBOARDTOKENRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_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 ApplyBoardTokenResult : public ServiceResult
{
public:
ApplyBoardTokenResult();
explicit ApplyBoardTokenResult(const std::string &payload);
~ApplyBoardTokenResult();
std::string getToken()const;
std::string getExpired()const;
protected:
void parse(const std::string &payload);
private:
protected:
void parse(const std::string &payload);
private:
std::string token_;
std::string expired_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_APPLYBOARDTOKENRESULT_H_

View File

@@ -0,0 +1,111 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_APPLYRECORDTOKENREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_APPLYRECORDTOKENREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT ApplyRecordTokenRequest : public RpcServiceRequest
{
public:
ApplyRecordTokenRequest();
~ApplyRecordTokenRequest();
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getVersion()const;
void setVersion(const std::string& version);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getAppId()const;
void setAppId(const std::string& appId);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
std::string app_ip_;
std::string popProduct_;
long callerParentId_;
bool proxy_original_security_transport_;
std::string callerBid_;
long ownerId_;
std::string proxy_original_source_ip_;
std::string version_;
std::string ownerIdLoginEmail_;
std::string callerType_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
std::string accessKeyId_;
bool security_transport_;
std::string securityToken_;
std::string regionId_;
std::string requestId_;
std::string requestContent_;
std::string appId_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_APPLYRECORDTOKENREQUEST_H_

View File

@@ -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_APPLYRECORDTOKENRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_APPLYRECORDTOKENRESULT_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 ApplyRecordTokenResult : public ServiceResult
{
public:
ApplyRecordTokenResult();
explicit ApplyRecordTokenResult(const std::string &payload);
~ApplyRecordTokenResult();
std::string getSecurityToken()const;
std::string getAccessKeyId()const;
std::string getAccessKeySecret()const;
std::string getExpiration()const;
protected:
void parse(const std::string &payload);
private:
std::string securityToken_;
std::string accessKeyId_;
std::string accessKeySecret_;
std::string expiration_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_APPLYRECORDTOKENRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT BatchDeleteLiveDomainConfigsRequest : public RpcServiceRequest
{
public:
BatchDeleteLiveDomainConfigsRequest();
~BatchDeleteLiveDomainConfigsRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT BatchDeleteLiveDomainConfigsRequest : public RpcServiceRequest
{
public:
BatchDeleteLiveDomainConfigsRequest();
~BatchDeleteLiveDomainConfigsRequest();
std::string getFunctionNames()const;
void setFunctionNames(const std::string& functionNames);
std::string getSecurityToken()const;
@@ -45,19 +45,16 @@ namespace AlibabaCloud
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
private:
std::string functionNames_;
std::string securityToken_;
std::string domainNames_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSREQUEST_H_

View File

@@ -1,49 +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_BATCHDELETELIVEDOMAINCONFIGSRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSRESULT_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 BatchDeleteLiveDomainConfigsResult : public ServiceResult
{
public:
BatchDeleteLiveDomainConfigsResult();
explicit BatchDeleteLiveDomainConfigsResult(const std::string &payload);
~BatchDeleteLiveDomainConfigsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BATCHDELETELIVEDOMAINCONFIGSRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSRESULT_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 BatchDeleteLiveDomainConfigsResult : public ServiceResult
{
public:
BatchDeleteLiveDomainConfigsResult();
explicit BatchDeleteLiveDomainConfigsResult(const std::string &payload);
~BatchDeleteLiveDomainConfigsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_BATCHDELETELIVEDOMAINCONFIGSRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT BatchSetLiveDomainConfigsRequest : public RpcServiceRequest
{
public:
BatchSetLiveDomainConfigsRequest();
~BatchSetLiveDomainConfigsRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT BatchSetLiveDomainConfigsRequest : public RpcServiceRequest
{
public:
BatchSetLiveDomainConfigsRequest();
~BatchSetLiveDomainConfigsRequest();
std::string getFunctions()const;
void setFunctions(const std::string& functions);
std::string getSecurityToken()const;
@@ -45,19 +45,16 @@ namespace AlibabaCloud
void setOwnerAccount(const std::string& ownerAccount);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
private:
private:
std::string functions_;
std::string securityToken_;
std::string domainNames_;
std::string ownerAccount_;
long ownerId_;
std::string accessKeyId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSREQUEST_H_

View File

@@ -1,49 +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_BATCHSETLIVEDOMAINCONFIGSRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSRESULT_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 BatchSetLiveDomainConfigsResult : public ServiceResult
{
public:
BatchSetLiveDomainConfigsResult();
explicit BatchSetLiveDomainConfigsResult(const std::string &payload);
~BatchSetLiveDomainConfigsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_BATCHSETLIVEDOMAINCONFIGSRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSRESULT_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 BatchSetLiveDomainConfigsResult : public ServiceResult
{
public:
BatchSetLiveDomainConfigsResult();
explicit BatchSetLiveDomainConfigsResult(const std::string &payload);
~BatchSetLiveDomainConfigsResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_BATCHSETLIVEDOMAINCONFIGSRESULT_H_

View 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.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT CompleteBoardRecordRequest : public RpcServiceRequest
{
public:
CompleteBoardRecordRequest();
~CompleteBoardRecordRequest();
long getCallerParentId()const;
void setCallerParentId(long callerParentId);
bool getProxy_original_security_transport()const;
void setProxy_original_security_transport(bool proxy_original_security_transport);
std::string getProxy_original_source_ip()const;
void setProxy_original_source_ip(const std::string& proxy_original_source_ip);
std::string getOwnerIdLoginEmail()const;
void setOwnerIdLoginEmail(const std::string& ownerIdLoginEmail);
std::string getCallerType()const;
void setCallerType(const std::string& callerType);
std::string getAccessKeyId()const;
void setAccessKeyId(const std::string& accessKeyId);
std::string getSecurityToken()const;
void setSecurityToken(const std::string& securityToken);
std::string getRegionId()const;
void setRegionId(const std::string& regionId);
std::string getRequestContent()const;
void setRequestContent(const std::string& requestContent);
std::string getCallerBidEmail()const;
void setCallerBidEmail(const std::string& callerBidEmail);
std::string getCallerUidEmail()const;
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
void setPopProduct(const std::string& popProduct);
std::string getEndTime()const;
void setEndTime(const std::string& endTime);
std::string getCallerBid()const;
void setCallerBid(const std::string& callerBid);
long getOwnerId()const;
void setOwnerId(long ownerId);
std::string getVersion()const;
void setVersion(const std::string& version);
bool getProxy_trust_transport_info()const;
void setProxy_trust_transport_info(bool proxy_trust_transport_info);
bool getAk_mfa_present()const;
void setAk_mfa_present(bool ak_mfa_present);
bool getSecurity_transport()const;
void setSecurity_transport(bool security_transport);
std::string getRecordId()const;
void setRecordId(const std::string& recordId);
std::string getRequestId()const;
void setRequestId(const std::string& requestId);
std::string getAppId()const;
void setAppId(const std::string& appId);
private:
long callerParentId_;
bool proxy_original_security_transport_;
std::string proxy_original_source_ip_;
std::string ownerIdLoginEmail_;
std::string callerType_;
std::string accessKeyId_;
std::string securityToken_;
std::string regionId_;
std::string requestContent_;
std::string callerBidEmail_;
std::string callerUidEmail_;
long callerUid_;
std::string app_ip_;
std::string popProduct_;
std::string endTime_;
std::string callerBid_;
long ownerId_;
std::string version_;
bool proxy_trust_transport_info_;
bool ak_mfa_present_;
bool security_transport_;
std::string recordId_;
std::string requestId_;
std::string appId_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDREQUEST_H_

View File

@@ -0,0 +1,51 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#ifndef ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDRESULT_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 CompleteBoardRecordResult : public ServiceResult
{
public:
CompleteBoardRecordResult();
explicit CompleteBoardRecordResult(const std::string &payload);
~CompleteBoardRecordResult();
std::string getOssPath()const;
protected:
void parse(const std::string &payload);
private:
std::string ossPath_;
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRECORDRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_COMPLETEBOARDREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT CompleteBoardRequest : public RpcServiceRequest
{
public:
CompleteBoardRequest();
~CompleteBoardRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_COMPLETEBOARDREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT CompleteBoardRequest : public RpcServiceRequest
{
public:
CompleteBoardRequest();
~CompleteBoardRequest();
std::string getApp_ip()const;
void setApp_ip(const std::string& app_ip);
std::string getPopProduct()const;
@@ -81,8 +81,8 @@ namespace AlibabaCloud
void setCallerUidEmail(const std::string& callerUidEmail);
long getCallerUid()const;
void setCallerUid(long callerUid);
private:
private:
std::string app_ip_;
std::string popProduct_;
long callerParentId_;
@@ -106,9 +106,9 @@ namespace AlibabaCloud
std::string boardId_;
std::string callerUidEmail_;
long callerUid_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDREQUEST_H_

View File

@@ -1,49 +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_COMPLETEBOARDRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_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 CompleteBoardResult : public ServiceResult
{
public:
CompleteBoardResult();
explicit CompleteBoardResult(const std::string &payload);
~CompleteBoardResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_COMPLETEBOARDRESULT_H_
#define ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_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 CompleteBoardResult : public ServiceResult
{
public:
CompleteBoardResult();
explicit CompleteBoardResult(const std::string &payload);
~CompleteBoardResult();
protected:
void parse(const std::string &payload);
private:
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_COMPLETEBOARDRESULT_H_

View File

@@ -1,40 +1,40 @@
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_COPYCASTERREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT CopyCasterRequest : public RpcServiceRequest
{
public:
CopyCasterRequest();
~CopyCasterRequest();
/*
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT 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_COPYCASTERREQUEST_H_
#define ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_
#include <string>
#include <vector>
#include <alibabacloud/core/RpcServiceRequest.h>
#include <alibabacloud/live/LiveExport.h>
namespace AlibabaCloud
{
namespace Live
{
namespace Model
{
class ALIBABACLOUD_LIVE_EXPORT CopyCasterRequest : public RpcServiceRequest
{
public:
CopyCasterRequest();
~CopyCasterRequest();
std::string getSrcCasterId()const;
void setSrcCasterId(const std::string& srcCasterId);
std::string getCasterName()const;
@@ -43,15 +43,15 @@ namespace AlibabaCloud
void setClientToken(const std::string& clientToken);
long getOwnerId()const;
void setOwnerId(long ownerId);
private:
private:
std::string srcCasterId_;
std::string casterName_;
std::string clientToken_;
long ownerId_;
};
}
}
}
};
}
}
}
#endif // !ALIBABACLOUD_LIVE_MODEL_COPYCASTERREQUEST_H_

Some files were not shown because too many files have changed in this diff Show More