Compare commits
24 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
d412a52735 | ||
|
|
2960652dcb | ||
|
|
48a3320ae9 | ||
|
|
60539f067e | ||
|
|
d486d13814 | ||
|
|
2de462bea7 | ||
|
|
5d7cb923d0 | ||
|
|
8520626698 | ||
|
|
9d57625a58 | ||
|
|
b60a834a97 | ||
|
|
49e97628f4 | ||
|
|
5b5f0128c9 | ||
|
|
b5ed975753 | ||
|
|
f0c20f05b7 | ||
|
|
d769c974ab | ||
|
|
4d0d947bf1 | ||
|
|
2738249b7d | ||
|
|
6f1c636c7e | ||
|
|
70047f9bc7 | ||
|
|
6088526cd8 | ||
|
|
0e02d3bc63 | ||
|
|
f289e0290b | ||
|
|
3e25f8bde6 | ||
|
|
84d7d5b467 |
79
CHANGELOG
79
CHANGELOG
@@ -1,3 +1,82 @@
|
||||
2020-08-03 Version: 1.36.553
|
||||
- Add source picture url for Monitor.
|
||||
|
||||
2020-08-03 Version: 1.36.552
|
||||
- Fix Some API Response Define.
|
||||
|
||||
2020-08-03 Version: 1.36.551
|
||||
- Add source picture url for Monitor.
|
||||
|
||||
2020-08-03 Version: 1.36.550
|
||||
- Add Voice Synchronous Scan API.
|
||||
|
||||
2020-08-03 Version: 1.36.549
|
||||
- Add ExtractPedestrianFeatureAttribute.
|
||||
|
||||
2020-07-31 Version: 1.36.548
|
||||
- Update DetectCelebrity.
|
||||
|
||||
2020-07-31 Version: 1.36.547
|
||||
- Edit GetStack api.
|
||||
|
||||
2020-07-30 Version: 1.36.546
|
||||
- Add Smart Cloudauth API.
|
||||
|
||||
2020-07-30 Version: 1.36.545
|
||||
- Supported ChatApp for SDK.
|
||||
|
||||
2020-07-30 Version: 1.36.544
|
||||
- Generated 2020-06-29 for `alinlp`.
|
||||
|
||||
2020-07-29 Version: 1.36.543
|
||||
- Add CreateGetDBListFromAgentTask.
|
||||
- Add GetDBListFromAgent.
|
||||
|
||||
2020-07-29 Version: 1.36.542
|
||||
- API GetTaskStatus return task detail.
|
||||
|
||||
2020-07-29 Version: 1.36.541
|
||||
- Generated 2020-05-18 for `dataworks-public`.
|
||||
|
||||
2020-07-27 Version: 1.36.540
|
||||
- Supported CheckCloudResourceAuthorized API.
|
||||
|
||||
2020-07-27 Version: 1.36.539
|
||||
- Add HSF apis.
|
||||
|
||||
2020-07-24 Version: 1.36.538
|
||||
- Edit ListTraceApp api with add tags.
|
||||
- Edit SearchTraceAppByName api with add tags.
|
||||
- Edut SearchTraceAppByPage api with add tags.
|
||||
|
||||
2020-07-24 Version: 1.36.537
|
||||
- Add DescribeBackupTasks.
|
||||
|
||||
2020-07-24 Version: 1.36.536
|
||||
- Support GetImageCroppingSuggestions API.
|
||||
- Add Remarks to face group related APIs.
|
||||
- Add Model parameter to blind watermark related APIs.
|
||||
|
||||
2020-07-24 Version: 1.36.535
|
||||
- First build.
|
||||
|
||||
2020-07-23 Version: 1.36.534
|
||||
- Supported CloudGame.
|
||||
|
||||
2020-07-23 Version: 1.36.533
|
||||
- Supported AAA for BBB.
|
||||
- Fixed bugs for CCC.
|
||||
|
||||
2020-07-23 Version: 1.36.532
|
||||
- Add AddSecretBlacklist and DeleteSecretBlacklist.
|
||||
- Suppoort ASR.
|
||||
|
||||
2020-07-23 Version: 1.36.531
|
||||
- Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api.
|
||||
|
||||
2020-07-23 Version: 1.36.530
|
||||
- Add GenerateAndExportDataKey, ExportDataKey, ReEncrypt api.
|
||||
|
||||
2020-07-22 Version: 1.36.529
|
||||
- Generated 2015-01-01 for `R-kvstore`.
|
||||
- Add SyncDtsStatus API.
|
||||
|
||||
122
alinlp/CMakeLists.txt
Normal file
122
alinlp/CMakeLists.txt
Normal file
@@ -0,0 +1,122 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT 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(alinlp_public_header
|
||||
include/alibabacloud/alinlp/AlinlpClient.h
|
||||
include/alibabacloud/alinlp/AlinlpExport.h )
|
||||
|
||||
set(alinlp_public_header_model
|
||||
include/alibabacloud/alinlp/model/GetDpChEcomRequest.h
|
||||
include/alibabacloud/alinlp/model/GetDpChEcomResult.h
|
||||
include/alibabacloud/alinlp/model/GetEcChGeneralRequest.h
|
||||
include/alibabacloud/alinlp/model/GetEcChGeneralResult.h
|
||||
include/alibabacloud/alinlp/model/GetNerChMedicalRequest.h
|
||||
include/alibabacloud/alinlp/model/GetNerChMedicalResult.h
|
||||
include/alibabacloud/alinlp/model/GetNerCustomizedChEcomRequest.h
|
||||
include/alibabacloud/alinlp/model/GetNerCustomizedChEcomResult.h
|
||||
include/alibabacloud/alinlp/model/GetPosChEcomRequest.h
|
||||
include/alibabacloud/alinlp/model/GetPosChEcomResult.h
|
||||
include/alibabacloud/alinlp/model/GetSummaryChEcomRequest.h
|
||||
include/alibabacloud/alinlp/model/GetSummaryChEcomResult.h
|
||||
include/alibabacloud/alinlp/model/GetTsChEcomRequest.h
|
||||
include/alibabacloud/alinlp/model/GetTsChEcomResult.h
|
||||
include/alibabacloud/alinlp/model/GetWeChEcomRequest.h
|
||||
include/alibabacloud/alinlp/model/GetWeChEcomResult.h
|
||||
include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralRequest.h
|
||||
include/alibabacloud/alinlp/model/GetWsCustomizedChGeneralResult.h
|
||||
include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralRequest.h
|
||||
include/alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralResult.h )
|
||||
|
||||
set(alinlp_src
|
||||
src/AlinlpClient.cc
|
||||
src/model/GetDpChEcomRequest.cc
|
||||
src/model/GetDpChEcomResult.cc
|
||||
src/model/GetEcChGeneralRequest.cc
|
||||
src/model/GetEcChGeneralResult.cc
|
||||
src/model/GetNerChMedicalRequest.cc
|
||||
src/model/GetNerChMedicalResult.cc
|
||||
src/model/GetNerCustomizedChEcomRequest.cc
|
||||
src/model/GetNerCustomizedChEcomResult.cc
|
||||
src/model/GetPosChEcomRequest.cc
|
||||
src/model/GetPosChEcomResult.cc
|
||||
src/model/GetSummaryChEcomRequest.cc
|
||||
src/model/GetSummaryChEcomResult.cc
|
||||
src/model/GetTsChEcomRequest.cc
|
||||
src/model/GetTsChEcomResult.cc
|
||||
src/model/GetWeChEcomRequest.cc
|
||||
src/model/GetWeChEcomResult.cc
|
||||
src/model/GetWsCustomizedChGeneralRequest.cc
|
||||
src/model/GetWsCustomizedChGeneralResult.cc
|
||||
src/model/GetWsCustomizedSeaGeneralRequest.cc
|
||||
src/model/GetWsCustomizedSeaGeneralResult.cc )
|
||||
|
||||
add_library(alinlp ${LIB_TYPE}
|
||||
${alinlp_public_header}
|
||||
${alinlp_public_header_model}
|
||||
${alinlp_src})
|
||||
|
||||
set_target_properties(alinlp
|
||||
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}alinlp
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(alinlp
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_ALINLP_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(alinlp
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(alinlp
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(alinlp
|
||||
jsoncpp)
|
||||
target_include_directories(alinlp
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(alinlp
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(alinlp
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(alinlp
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(alinlp
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${alinlp_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alinlp)
|
||||
install(FILES ${alinlp_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/alinlp/model)
|
||||
install(TARGETS alinlp
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
126
alinlp/include/alibabacloud/alinlp/AlinlpClient.h
Normal file
126
alinlp/include/alibabacloud/alinlp/AlinlpClient.h
Normal file
@@ -0,0 +1,126 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALINLP_ALINLPCLIENT_H_
|
||||
#define ALIBABACLOUD_ALINLP_ALINLPCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "AlinlpExport.h"
|
||||
#include "model/GetDpChEcomRequest.h"
|
||||
#include "model/GetDpChEcomResult.h"
|
||||
#include "model/GetEcChGeneralRequest.h"
|
||||
#include "model/GetEcChGeneralResult.h"
|
||||
#include "model/GetNerChMedicalRequest.h"
|
||||
#include "model/GetNerChMedicalResult.h"
|
||||
#include "model/GetNerCustomizedChEcomRequest.h"
|
||||
#include "model/GetNerCustomizedChEcomResult.h"
|
||||
#include "model/GetPosChEcomRequest.h"
|
||||
#include "model/GetPosChEcomResult.h"
|
||||
#include "model/GetSummaryChEcomRequest.h"
|
||||
#include "model/GetSummaryChEcomResult.h"
|
||||
#include "model/GetTsChEcomRequest.h"
|
||||
#include "model/GetTsChEcomResult.h"
|
||||
#include "model/GetWeChEcomRequest.h"
|
||||
#include "model/GetWeChEcomResult.h"
|
||||
#include "model/GetWsCustomizedChGeneralRequest.h"
|
||||
#include "model/GetWsCustomizedChGeneralResult.h"
|
||||
#include "model/GetWsCustomizedSeaGeneralRequest.h"
|
||||
#include "model/GetWsCustomizedSeaGeneralResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT AlinlpClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::GetDpChEcomResult> GetDpChEcomOutcome;
|
||||
typedef std::future<GetDpChEcomOutcome> GetDpChEcomOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetDpChEcomRequest&, const GetDpChEcomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetDpChEcomAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetEcChGeneralResult> GetEcChGeneralOutcome;
|
||||
typedef std::future<GetEcChGeneralOutcome> GetEcChGeneralOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetEcChGeneralRequest&, const GetEcChGeneralOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetEcChGeneralAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetNerChMedicalResult> GetNerChMedicalOutcome;
|
||||
typedef std::future<GetNerChMedicalOutcome> GetNerChMedicalOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetNerChMedicalRequest&, const GetNerChMedicalOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNerChMedicalAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetNerCustomizedChEcomResult> GetNerCustomizedChEcomOutcome;
|
||||
typedef std::future<GetNerCustomizedChEcomOutcome> GetNerCustomizedChEcomOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetNerCustomizedChEcomRequest&, const GetNerCustomizedChEcomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetNerCustomizedChEcomAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetPosChEcomResult> GetPosChEcomOutcome;
|
||||
typedef std::future<GetPosChEcomOutcome> GetPosChEcomOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetPosChEcomRequest&, const GetPosChEcomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetPosChEcomAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetSummaryChEcomResult> GetSummaryChEcomOutcome;
|
||||
typedef std::future<GetSummaryChEcomOutcome> GetSummaryChEcomOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetSummaryChEcomRequest&, const GetSummaryChEcomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetSummaryChEcomAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetTsChEcomResult> GetTsChEcomOutcome;
|
||||
typedef std::future<GetTsChEcomOutcome> GetTsChEcomOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetTsChEcomRequest&, const GetTsChEcomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetTsChEcomAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetWeChEcomResult> GetWeChEcomOutcome;
|
||||
typedef std::future<GetWeChEcomOutcome> GetWeChEcomOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetWeChEcomRequest&, const GetWeChEcomOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWeChEcomAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetWsCustomizedChGeneralResult> GetWsCustomizedChGeneralOutcome;
|
||||
typedef std::future<GetWsCustomizedChGeneralOutcome> GetWsCustomizedChGeneralOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetWsCustomizedChGeneralRequest&, const GetWsCustomizedChGeneralOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWsCustomizedChGeneralAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetWsCustomizedSeaGeneralResult> GetWsCustomizedSeaGeneralOutcome;
|
||||
typedef std::future<GetWsCustomizedSeaGeneralOutcome> GetWsCustomizedSeaGeneralOutcomeCallable;
|
||||
typedef std::function<void(const AlinlpClient*, const Model::GetWsCustomizedSeaGeneralRequest&, const GetWsCustomizedSeaGeneralOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetWsCustomizedSeaGeneralAsyncHandler;
|
||||
|
||||
AlinlpClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
AlinlpClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
AlinlpClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~AlinlpClient();
|
||||
GetDpChEcomOutcome getDpChEcom(const Model::GetDpChEcomRequest &request)const;
|
||||
void getDpChEcomAsync(const Model::GetDpChEcomRequest& request, const GetDpChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetDpChEcomOutcomeCallable getDpChEcomCallable(const Model::GetDpChEcomRequest& request) const;
|
||||
GetEcChGeneralOutcome getEcChGeneral(const Model::GetEcChGeneralRequest &request)const;
|
||||
void getEcChGeneralAsync(const Model::GetEcChGeneralRequest& request, const GetEcChGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetEcChGeneralOutcomeCallable getEcChGeneralCallable(const Model::GetEcChGeneralRequest& request) const;
|
||||
GetNerChMedicalOutcome getNerChMedical(const Model::GetNerChMedicalRequest &request)const;
|
||||
void getNerChMedicalAsync(const Model::GetNerChMedicalRequest& request, const GetNerChMedicalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetNerChMedicalOutcomeCallable getNerChMedicalCallable(const Model::GetNerChMedicalRequest& request) const;
|
||||
GetNerCustomizedChEcomOutcome getNerCustomizedChEcom(const Model::GetNerCustomizedChEcomRequest &request)const;
|
||||
void getNerCustomizedChEcomAsync(const Model::GetNerCustomizedChEcomRequest& request, const GetNerCustomizedChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetNerCustomizedChEcomOutcomeCallable getNerCustomizedChEcomCallable(const Model::GetNerCustomizedChEcomRequest& request) const;
|
||||
GetPosChEcomOutcome getPosChEcom(const Model::GetPosChEcomRequest &request)const;
|
||||
void getPosChEcomAsync(const Model::GetPosChEcomRequest& request, const GetPosChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetPosChEcomOutcomeCallable getPosChEcomCallable(const Model::GetPosChEcomRequest& request) const;
|
||||
GetSummaryChEcomOutcome getSummaryChEcom(const Model::GetSummaryChEcomRequest &request)const;
|
||||
void getSummaryChEcomAsync(const Model::GetSummaryChEcomRequest& request, const GetSummaryChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetSummaryChEcomOutcomeCallable getSummaryChEcomCallable(const Model::GetSummaryChEcomRequest& request) const;
|
||||
GetTsChEcomOutcome getTsChEcom(const Model::GetTsChEcomRequest &request)const;
|
||||
void getTsChEcomAsync(const Model::GetTsChEcomRequest& request, const GetTsChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetTsChEcomOutcomeCallable getTsChEcomCallable(const Model::GetTsChEcomRequest& request) const;
|
||||
GetWeChEcomOutcome getWeChEcom(const Model::GetWeChEcomRequest &request)const;
|
||||
void getWeChEcomAsync(const Model::GetWeChEcomRequest& request, const GetWeChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetWeChEcomOutcomeCallable getWeChEcomCallable(const Model::GetWeChEcomRequest& request) const;
|
||||
GetWsCustomizedChGeneralOutcome getWsCustomizedChGeneral(const Model::GetWsCustomizedChGeneralRequest &request)const;
|
||||
void getWsCustomizedChGeneralAsync(const Model::GetWsCustomizedChGeneralRequest& request, const GetWsCustomizedChGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetWsCustomizedChGeneralOutcomeCallable getWsCustomizedChGeneralCallable(const Model::GetWsCustomizedChGeneralRequest& request) const;
|
||||
GetWsCustomizedSeaGeneralOutcome getWsCustomizedSeaGeneral(const Model::GetWsCustomizedSeaGeneralRequest &request)const;
|
||||
void getWsCustomizedSeaGeneralAsync(const Model::GetWsCustomizedSeaGeneralRequest& request, const GetWsCustomizedSeaGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetWsCustomizedSeaGeneralOutcomeCallable getWsCustomizedSeaGeneralCallable(const Model::GetWsCustomizedSeaGeneralRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_ALINLP_ALINLPCLIENT_H_
|
||||
32
alinlp/include/alibabacloud/alinlp/AlinlpExport.h
Normal file
32
alinlp/include/alibabacloud/alinlp/AlinlpExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_ALINLPEXPORT_H_
|
||||
#define ALIBABACLOUD_ALINLP_ALINLPEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_ALINLP_LIBRARY)
|
||||
# define ALIBABACLOUD_ALINLP_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_ALINLP_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_ALINLP_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_ALINLP_ALINLPEXPORT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetDpChEcomRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetDpChEcomRequest();
|
||||
~GetDpChEcomRequest();
|
||||
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string serviceCode_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppRecordConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetDpChEcomResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLiveAppRecordConfigResult();
|
||||
explicit DeleteLiveAppRecordConfigResult(const std::string &payload);
|
||||
~DeleteLiveAppRecordConfigResult();
|
||||
GetDpChEcomResult();
|
||||
explicit GetDpChEcomResult(const std::string &payload);
|
||||
~GetDpChEcomResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETDPCHECOMRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetEcChGeneralRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetEcChGeneralRequest();
|
||||
~GetEcChGeneralRequest();
|
||||
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string serviceCode_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODERESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODERESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveStreamTranscodeResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetEcChGeneralResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLiveStreamTranscodeResult();
|
||||
explicit DeleteLiveStreamTranscodeResult(const std::string &payload);
|
||||
~DeleteLiveStreamTranscodeResult();
|
||||
GetEcChGeneralResult();
|
||||
explicit GetEcChGeneralResult(const std::string &payload);
|
||||
~GetEcChGeneralResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODERESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETECCHGENERALRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetNerChMedicalRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetNerChMedicalRequest();
|
||||
~GetNerChMedicalRequest();
|
||||
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string serviceCode_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetNerChMedicalResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetNerChMedicalResult();
|
||||
explicit GetNerChMedicalResult(const std::string &payload);
|
||||
~GetNerChMedicalResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETNERCHMEDICALRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetNerCustomizedChEcomRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetNerCustomizedChEcomRequest();
|
||||
~GetNerCustomizedChEcomRequest();
|
||||
|
||||
std::string getLexerId()const;
|
||||
void setLexerId(const std::string& lexerId);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string lexerId_;
|
||||
std::string serviceCode_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetNerCustomizedChEcomResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetNerCustomizedChEcomResult();
|
||||
explicit GetNerCustomizedChEcomResult(const std::string &payload);
|
||||
~GetNerCustomizedChEcomResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETNERCUSTOMIZEDCHECOMRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetPosChEcomRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetPosChEcomRequest();
|
||||
~GetPosChEcomRequest();
|
||||
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getTokenizerId()const;
|
||||
void setTokenizerId(const std::string& tokenizerId);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
std::string getOutType()const;
|
||||
void setOutType(const std::string& outType);
|
||||
|
||||
private:
|
||||
std::string serviceCode_;
|
||||
std::string tokenizerId_;
|
||||
std::string text_;
|
||||
std::string outType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetPosChEcomResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetPosChEcomResult();
|
||||
explicit GetPosChEcomResult(const std::string &payload);
|
||||
~GetPosChEcomResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETPOSCHECOMRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetSummaryChEcomRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetSummaryChEcomRequest();
|
||||
~GetSummaryChEcomRequest();
|
||||
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string serviceCode_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetSummaryChEcomResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetSummaryChEcomResult();
|
||||
explicit GetSummaryChEcomResult(const std::string &payload);
|
||||
~GetSummaryChEcomResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETSUMMARYCHECOMRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetTsChEcomRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetTsChEcomRequest();
|
||||
~GetTsChEcomRequest();
|
||||
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getOriginT()const;
|
||||
void setOriginT(const std::string& originT);
|
||||
std::string getOriginQ()const;
|
||||
void setOriginQ(const std::string& originQ);
|
||||
|
||||
private:
|
||||
std::string type_;
|
||||
std::string serviceCode_;
|
||||
std::string originT_;
|
||||
std::string originQ_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMREQUEST_H_
|
||||
51
alinlp/include/alibabacloud/alinlp/model/GetTsChEcomResult.h
Normal file
51
alinlp/include/alibabacloud/alinlp/model/GetTsChEcomResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetTsChEcomResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetTsChEcomResult();
|
||||
explicit GetTsChEcomResult(const std::string &payload);
|
||||
~GetTsChEcomResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETTSCHECOMRESULT_H_
|
||||
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_ALINLP_MODEL_GETWECHECOMREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetWeChEcomRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetWeChEcomRequest();
|
||||
~GetWeChEcomRequest();
|
||||
|
||||
std::string getWordVectorDelimiter()const;
|
||||
void setWordVectorDelimiter(const std::string& wordVectorDelimiter);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getUuid()const;
|
||||
void setUuid(const std::string& uuid);
|
||||
std::string getDelimiter()const;
|
||||
void setDelimiter(const std::string& delimiter);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
std::string getToken()const;
|
||||
void setToken(const std::string& token);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getSize()const;
|
||||
void setSize(const std::string& size);
|
||||
std::string getWordDelimiter()const;
|
||||
void setWordDelimiter(const std::string& wordDelimiter);
|
||||
std::string getOperation()const;
|
||||
void setOperation(const std::string& operation);
|
||||
|
||||
private:
|
||||
std::string wordVectorDelimiter_;
|
||||
std::string type_;
|
||||
std::string uuid_;
|
||||
std::string delimiter_;
|
||||
std::string text_;
|
||||
std::string token_;
|
||||
std::string serviceCode_;
|
||||
std::string size_;
|
||||
std::string wordDelimiter_;
|
||||
std::string operation_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMREQUEST_H_
|
||||
51
alinlp/include/alibabacloud/alinlp/model/GetWeChEcomResult.h
Normal file
51
alinlp/include/alibabacloud/alinlp/model/GetWeChEcomResult.h
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetWeChEcomResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetWeChEcomResult();
|
||||
explicit GetWeChEcomResult(const std::string &payload);
|
||||
~GetWeChEcomResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWECHECOMRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetWsCustomizedChGeneralRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetWsCustomizedChGeneralRequest();
|
||||
~GetWsCustomizedChGeneralRequest();
|
||||
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getTokenizerId()const;
|
||||
void setTokenizerId(const std::string& tokenizerId);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
std::string getOutType()const;
|
||||
void setOutType(const std::string& outType);
|
||||
|
||||
private:
|
||||
std::string serviceCode_;
|
||||
std::string tokenizerId_;
|
||||
std::string text_;
|
||||
std::string outType_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALREQUEST_H_
|
||||
@@ -14,36 +14,38 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppSnapshotConfigResult : public ServiceResult
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetWsCustomizedChGeneralResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DeleteLiveAppSnapshotConfigResult();
|
||||
explicit DeleteLiveAppSnapshotConfigResult(const std::string &payload);
|
||||
~DeleteLiveAppSnapshotConfigResult();
|
||||
GetWsCustomizedChGeneralResult();
|
||||
explicit GetWsCustomizedChGeneralResult(const std::string &payload);
|
||||
~GetWsCustomizedChGeneralResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGRESULT_H_
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDCHGENERALRESULT_H_
|
||||
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALREQUEST_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetWsCustomizedSeaGeneralRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
GetWsCustomizedSeaGeneralRequest();
|
||||
~GetWsCustomizedSeaGeneralRequest();
|
||||
|
||||
std::string getLanguage()const;
|
||||
void setLanguage(const std::string& language);
|
||||
std::string getServiceCode()const;
|
||||
void setServiceCode(const std::string& serviceCode);
|
||||
std::string getText()const;
|
||||
void setText(const std::string& text);
|
||||
|
||||
private:
|
||||
std::string language_;
|
||||
std::string serviceCode_;
|
||||
std::string text_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALREQUEST_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALRESULT_H_
|
||||
#define ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/alinlp/AlinlpExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Alinlp
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_ALINLP_EXPORT GetWsCustomizedSeaGeneralResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
GetWsCustomizedSeaGeneralResult();
|
||||
explicit GetWsCustomizedSeaGeneralResult(const std::string &payload);
|
||||
~GetWsCustomizedSeaGeneralResult();
|
||||
std::string getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_ALINLP_MODEL_GETWSCUSTOMIZEDSEAGENERALRESULT_H_
|
||||
413
alinlp/src/AlinlpClient.cc
Normal file
413
alinlp/src/AlinlpClient.cc
Normal file
@@ -0,0 +1,413 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/alinlp/AlinlpClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "alinlp";
|
||||
}
|
||||
|
||||
AlinlpClient::AlinlpClient(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, "alinlp");
|
||||
}
|
||||
|
||||
AlinlpClient::AlinlpClient(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, "alinlp");
|
||||
}
|
||||
|
||||
AlinlpClient::AlinlpClient(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, "alinlp");
|
||||
}
|
||||
|
||||
AlinlpClient::~AlinlpClient()
|
||||
{}
|
||||
|
||||
AlinlpClient::GetDpChEcomOutcome AlinlpClient::getDpChEcom(const GetDpChEcomRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetDpChEcomOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetDpChEcomOutcome(GetDpChEcomResult(outcome.result()));
|
||||
else
|
||||
return GetDpChEcomOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getDpChEcomAsync(const GetDpChEcomRequest& request, const GetDpChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getDpChEcom(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetDpChEcomOutcomeCallable AlinlpClient::getDpChEcomCallable(const GetDpChEcomRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetDpChEcomOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getDpChEcom(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlinlpClient::GetEcChGeneralOutcome AlinlpClient::getEcChGeneral(const GetEcChGeneralRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetEcChGeneralOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetEcChGeneralOutcome(GetEcChGeneralResult(outcome.result()));
|
||||
else
|
||||
return GetEcChGeneralOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getEcChGeneralAsync(const GetEcChGeneralRequest& request, const GetEcChGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getEcChGeneral(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetEcChGeneralOutcomeCallable AlinlpClient::getEcChGeneralCallable(const GetEcChGeneralRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetEcChGeneralOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getEcChGeneral(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlinlpClient::GetNerChMedicalOutcome AlinlpClient::getNerChMedical(const GetNerChMedicalRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetNerChMedicalOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetNerChMedicalOutcome(GetNerChMedicalResult(outcome.result()));
|
||||
else
|
||||
return GetNerChMedicalOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getNerChMedicalAsync(const GetNerChMedicalRequest& request, const GetNerChMedicalAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getNerChMedical(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetNerChMedicalOutcomeCallable AlinlpClient::getNerChMedicalCallable(const GetNerChMedicalRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetNerChMedicalOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getNerChMedical(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlinlpClient::GetNerCustomizedChEcomOutcome AlinlpClient::getNerCustomizedChEcom(const GetNerCustomizedChEcomRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetNerCustomizedChEcomOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetNerCustomizedChEcomOutcome(GetNerCustomizedChEcomResult(outcome.result()));
|
||||
else
|
||||
return GetNerCustomizedChEcomOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getNerCustomizedChEcomAsync(const GetNerCustomizedChEcomRequest& request, const GetNerCustomizedChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getNerCustomizedChEcom(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetNerCustomizedChEcomOutcomeCallable AlinlpClient::getNerCustomizedChEcomCallable(const GetNerCustomizedChEcomRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetNerCustomizedChEcomOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getNerCustomizedChEcom(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlinlpClient::GetPosChEcomOutcome AlinlpClient::getPosChEcom(const GetPosChEcomRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetPosChEcomOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetPosChEcomOutcome(GetPosChEcomResult(outcome.result()));
|
||||
else
|
||||
return GetPosChEcomOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getPosChEcomAsync(const GetPosChEcomRequest& request, const GetPosChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getPosChEcom(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetPosChEcomOutcomeCallable AlinlpClient::getPosChEcomCallable(const GetPosChEcomRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetPosChEcomOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getPosChEcom(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlinlpClient::GetSummaryChEcomOutcome AlinlpClient::getSummaryChEcom(const GetSummaryChEcomRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetSummaryChEcomOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetSummaryChEcomOutcome(GetSummaryChEcomResult(outcome.result()));
|
||||
else
|
||||
return GetSummaryChEcomOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getSummaryChEcomAsync(const GetSummaryChEcomRequest& request, const GetSummaryChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getSummaryChEcom(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetSummaryChEcomOutcomeCallable AlinlpClient::getSummaryChEcomCallable(const GetSummaryChEcomRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetSummaryChEcomOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getSummaryChEcom(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlinlpClient::GetTsChEcomOutcome AlinlpClient::getTsChEcom(const GetTsChEcomRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetTsChEcomOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetTsChEcomOutcome(GetTsChEcomResult(outcome.result()));
|
||||
else
|
||||
return GetTsChEcomOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getTsChEcomAsync(const GetTsChEcomRequest& request, const GetTsChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getTsChEcom(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetTsChEcomOutcomeCallable AlinlpClient::getTsChEcomCallable(const GetTsChEcomRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetTsChEcomOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getTsChEcom(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlinlpClient::GetWeChEcomOutcome AlinlpClient::getWeChEcom(const GetWeChEcomRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetWeChEcomOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetWeChEcomOutcome(GetWeChEcomResult(outcome.result()));
|
||||
else
|
||||
return GetWeChEcomOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getWeChEcomAsync(const GetWeChEcomRequest& request, const GetWeChEcomAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getWeChEcom(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetWeChEcomOutcomeCallable AlinlpClient::getWeChEcomCallable(const GetWeChEcomRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetWeChEcomOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getWeChEcom(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlinlpClient::GetWsCustomizedChGeneralOutcome AlinlpClient::getWsCustomizedChGeneral(const GetWsCustomizedChGeneralRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetWsCustomizedChGeneralOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetWsCustomizedChGeneralOutcome(GetWsCustomizedChGeneralResult(outcome.result()));
|
||||
else
|
||||
return GetWsCustomizedChGeneralOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getWsCustomizedChGeneralAsync(const GetWsCustomizedChGeneralRequest& request, const GetWsCustomizedChGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getWsCustomizedChGeneral(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetWsCustomizedChGeneralOutcomeCallable AlinlpClient::getWsCustomizedChGeneralCallable(const GetWsCustomizedChGeneralRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetWsCustomizedChGeneralOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getWsCustomizedChGeneral(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
AlinlpClient::GetWsCustomizedSeaGeneralOutcome AlinlpClient::getWsCustomizedSeaGeneral(const GetWsCustomizedSeaGeneralRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return GetWsCustomizedSeaGeneralOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return GetWsCustomizedSeaGeneralOutcome(GetWsCustomizedSeaGeneralResult(outcome.result()));
|
||||
else
|
||||
return GetWsCustomizedSeaGeneralOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void AlinlpClient::getWsCustomizedSeaGeneralAsync(const GetWsCustomizedSeaGeneralRequest& request, const GetWsCustomizedSeaGeneralAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, getWsCustomizedSeaGeneral(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
AlinlpClient::GetWsCustomizedSeaGeneralOutcomeCallable AlinlpClient::getWsCustomizedSeaGeneralCallable(const GetWsCustomizedSeaGeneralRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<GetWsCustomizedSeaGeneralOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->getWsCustomizedSeaGeneral(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetDpChEcomRequest.cc
Normal file
51
alinlp/src/model/GetDpChEcomRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetDpChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetDpChEcomRequest;
|
||||
|
||||
GetDpChEcomRequest::GetDpChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetDpChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetDpChEcomRequest::~GetDpChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetDpChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetDpChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetDpChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetDpChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetDpChEcomResult.cc
Normal file
51
alinlp/src/model/GetDpChEcomResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetDpChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetDpChEcomResult::GetDpChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetDpChEcomResult::GetDpChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetDpChEcomResult::~GetDpChEcomResult()
|
||||
{}
|
||||
|
||||
void GetDpChEcomResult::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 GetDpChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetEcChGeneralRequest.cc
Normal file
51
alinlp/src/model/GetEcChGeneralRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetEcChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetEcChGeneralRequest;
|
||||
|
||||
GetEcChGeneralRequest::GetEcChGeneralRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetEcChGeneral")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetEcChGeneralRequest::~GetEcChGeneralRequest()
|
||||
{}
|
||||
|
||||
std::string GetEcChGeneralRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetEcChGeneralRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetEcChGeneralRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetEcChGeneralRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetEcChGeneralResult.cc
Normal file
51
alinlp/src/model/GetEcChGeneralResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetEcChGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetEcChGeneralResult::GetEcChGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetEcChGeneralResult::GetEcChGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetEcChGeneralResult::~GetEcChGeneralResult()
|
||||
{}
|
||||
|
||||
void GetEcChGeneralResult::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 GetEcChGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetNerChMedicalRequest.cc
Normal file
51
alinlp/src/model/GetNerChMedicalRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerChMedicalRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetNerChMedicalRequest;
|
||||
|
||||
GetNerChMedicalRequest::GetNerChMedicalRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetNerChMedical")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetNerChMedicalRequest::~GetNerChMedicalRequest()
|
||||
{}
|
||||
|
||||
std::string GetNerChMedicalRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetNerChMedicalRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetNerChMedicalRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetNerChMedicalRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetNerChMedicalResult.cc
Normal file
51
alinlp/src/model/GetNerChMedicalResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerChMedicalResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetNerChMedicalResult::GetNerChMedicalResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetNerChMedicalResult::GetNerChMedicalResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetNerChMedicalResult::~GetNerChMedicalResult()
|
||||
{}
|
||||
|
||||
void GetNerChMedicalResult::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 GetNerChMedicalResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
62
alinlp/src/model/GetNerCustomizedChEcomRequest.cc
Normal file
62
alinlp/src/model/GetNerCustomizedChEcomRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerCustomizedChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetNerCustomizedChEcomRequest;
|
||||
|
||||
GetNerCustomizedChEcomRequest::GetNerCustomizedChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetNerCustomizedChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetNerCustomizedChEcomRequest::~GetNerCustomizedChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetNerCustomizedChEcomRequest::getLexerId()const
|
||||
{
|
||||
return lexerId_;
|
||||
}
|
||||
|
||||
void GetNerCustomizedChEcomRequest::setLexerId(const std::string& lexerId)
|
||||
{
|
||||
lexerId_ = lexerId;
|
||||
setBodyParameter("LexerId", lexerId);
|
||||
}
|
||||
|
||||
std::string GetNerCustomizedChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetNerCustomizedChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetNerCustomizedChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetNerCustomizedChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetNerCustomizedChEcomResult.cc
Normal file
51
alinlp/src/model/GetNerCustomizedChEcomResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetNerCustomizedChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetNerCustomizedChEcomResult::GetNerCustomizedChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetNerCustomizedChEcomResult::GetNerCustomizedChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetNerCustomizedChEcomResult::~GetNerCustomizedChEcomResult()
|
||||
{}
|
||||
|
||||
void GetNerCustomizedChEcomResult::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 GetNerCustomizedChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
73
alinlp/src/model/GetPosChEcomRequest.cc
Normal file
73
alinlp/src/model/GetPosChEcomRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/alinlp/model/GetPosChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetPosChEcomRequest;
|
||||
|
||||
GetPosChEcomRequest::GetPosChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetPosChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetPosChEcomRequest::~GetPosChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetPosChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetPosChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetPosChEcomRequest::getTokenizerId()const
|
||||
{
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetPosChEcomRequest::setTokenizerId(const std::string& tokenizerId)
|
||||
{
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter("TokenizerId", tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetPosChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetPosChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
std::string GetPosChEcomRequest::getOutType()const
|
||||
{
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetPosChEcomRequest::setOutType(const std::string& outType)
|
||||
{
|
||||
outType_ = outType;
|
||||
setBodyParameter("OutType", outType);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetPosChEcomResult.cc
Normal file
51
alinlp/src/model/GetPosChEcomResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetPosChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetPosChEcomResult::GetPosChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetPosChEcomResult::GetPosChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetPosChEcomResult::~GetPosChEcomResult()
|
||||
{}
|
||||
|
||||
void GetPosChEcomResult::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 GetPosChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetSummaryChEcomRequest.cc
Normal file
51
alinlp/src/model/GetSummaryChEcomRequest.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetSummaryChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetSummaryChEcomRequest;
|
||||
|
||||
GetSummaryChEcomRequest::GetSummaryChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetSummaryChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetSummaryChEcomRequest::~GetSummaryChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetSummaryChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetSummaryChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetSummaryChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetSummaryChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetSummaryChEcomResult.cc
Normal file
51
alinlp/src/model/GetSummaryChEcomResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetSummaryChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetSummaryChEcomResult::GetSummaryChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetSummaryChEcomResult::GetSummaryChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetSummaryChEcomResult::~GetSummaryChEcomResult()
|
||||
{}
|
||||
|
||||
void GetSummaryChEcomResult::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 GetSummaryChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
73
alinlp/src/model/GetTsChEcomRequest.cc
Normal file
73
alinlp/src/model/GetTsChEcomRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/alinlp/model/GetTsChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetTsChEcomRequest;
|
||||
|
||||
GetTsChEcomRequest::GetTsChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetTsChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetTsChEcomRequest::~GetTsChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetTsChEcomRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetTsChEcomRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setBodyParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string GetTsChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetTsChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetTsChEcomRequest::getOriginT()const
|
||||
{
|
||||
return originT_;
|
||||
}
|
||||
|
||||
void GetTsChEcomRequest::setOriginT(const std::string& originT)
|
||||
{
|
||||
originT_ = originT;
|
||||
setBodyParameter("OriginT", originT);
|
||||
}
|
||||
|
||||
std::string GetTsChEcomRequest::getOriginQ()const
|
||||
{
|
||||
return originQ_;
|
||||
}
|
||||
|
||||
void GetTsChEcomRequest::setOriginQ(const std::string& originQ)
|
||||
{
|
||||
originQ_ = originQ;
|
||||
setBodyParameter("OriginQ", originQ);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetTsChEcomResult.cc
Normal file
51
alinlp/src/model/GetTsChEcomResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetTsChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetTsChEcomResult::GetTsChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetTsChEcomResult::GetTsChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetTsChEcomResult::~GetTsChEcomResult()
|
||||
{}
|
||||
|
||||
void GetTsChEcomResult::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 GetTsChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
139
alinlp/src/model/GetWeChEcomRequest.cc
Normal file
139
alinlp/src/model/GetWeChEcomRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/alinlp/model/GetWeChEcomRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWeChEcomRequest;
|
||||
|
||||
GetWeChEcomRequest::GetWeChEcomRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetWeChEcom")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWeChEcomRequest::~GetWeChEcomRequest()
|
||||
{}
|
||||
|
||||
std::string GetWeChEcomRequest::getWordVectorDelimiter()const
|
||||
{
|
||||
return wordVectorDelimiter_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setWordVectorDelimiter(const std::string& wordVectorDelimiter)
|
||||
{
|
||||
wordVectorDelimiter_ = wordVectorDelimiter;
|
||||
setBodyParameter("WordVectorDelimiter", wordVectorDelimiter);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setBodyParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getUuid()const
|
||||
{
|
||||
return uuid_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setUuid(const std::string& uuid)
|
||||
{
|
||||
uuid_ = uuid;
|
||||
setBodyParameter("Uuid", uuid);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getDelimiter()const
|
||||
{
|
||||
return delimiter_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setDelimiter(const std::string& delimiter)
|
||||
{
|
||||
delimiter_ = delimiter;
|
||||
setBodyParameter("Delimiter", delimiter);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getToken()const
|
||||
{
|
||||
return token_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setToken(const std::string& token)
|
||||
{
|
||||
token_ = token;
|
||||
setBodyParameter("Token", token);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getSize()const
|
||||
{
|
||||
return size_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setSize(const std::string& size)
|
||||
{
|
||||
size_ = size;
|
||||
setBodyParameter("Size", size);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getWordDelimiter()const
|
||||
{
|
||||
return wordDelimiter_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setWordDelimiter(const std::string& wordDelimiter)
|
||||
{
|
||||
wordDelimiter_ = wordDelimiter;
|
||||
setBodyParameter("WordDelimiter", wordDelimiter);
|
||||
}
|
||||
|
||||
std::string GetWeChEcomRequest::getOperation()const
|
||||
{
|
||||
return operation_;
|
||||
}
|
||||
|
||||
void GetWeChEcomRequest::setOperation(const std::string& operation)
|
||||
{
|
||||
operation_ = operation;
|
||||
setBodyParameter("Operation", operation);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWeChEcomResult.cc
Normal file
51
alinlp/src/model/GetWeChEcomResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWeChEcomResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWeChEcomResult::GetWeChEcomResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWeChEcomResult::GetWeChEcomResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWeChEcomResult::~GetWeChEcomResult()
|
||||
{}
|
||||
|
||||
void GetWeChEcomResult::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 GetWeChEcomResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
73
alinlp/src/model/GetWsCustomizedChGeneralRequest.cc
Normal file
73
alinlp/src/model/GetWsCustomizedChGeneralRequest.cc
Normal file
@@ -0,0 +1,73 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/alinlp/model/GetWsCustomizedChGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedChGeneralRequest;
|
||||
|
||||
GetWsCustomizedChGeneralRequest::GetWsCustomizedChGeneralRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedChGeneral")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedChGeneralRequest::~GetWsCustomizedChGeneralRequest()
|
||||
{}
|
||||
|
||||
std::string GetWsCustomizedChGeneralRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChGeneralRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChGeneralRequest::getTokenizerId()const
|
||||
{
|
||||
return tokenizerId_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChGeneralRequest::setTokenizerId(const std::string& tokenizerId)
|
||||
{
|
||||
tokenizerId_ = tokenizerId;
|
||||
setBodyParameter("TokenizerId", tokenizerId);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChGeneralRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChGeneralRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedChGeneralRequest::getOutType()const
|
||||
{
|
||||
return outType_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedChGeneralRequest::setOutType(const std::string& outType)
|
||||
{
|
||||
outType_ = outType;
|
||||
setBodyParameter("OutType", outType);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWsCustomizedChGeneralResult.cc
Normal file
51
alinlp/src/model/GetWsCustomizedChGeneralResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedChGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWsCustomizedChGeneralResult::GetWsCustomizedChGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWsCustomizedChGeneralResult::GetWsCustomizedChGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWsCustomizedChGeneralResult::~GetWsCustomizedChGeneralResult()
|
||||
{}
|
||||
|
||||
void GetWsCustomizedChGeneralResult::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 GetWsCustomizedChGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
62
alinlp/src/model/GetWsCustomizedSeaGeneralRequest.cc
Normal file
62
alinlp/src/model/GetWsCustomizedSeaGeneralRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralRequest.h>
|
||||
|
||||
using AlibabaCloud::Alinlp::Model::GetWsCustomizedSeaGeneralRequest;
|
||||
|
||||
GetWsCustomizedSeaGeneralRequest::GetWsCustomizedSeaGeneralRequest() :
|
||||
RpcServiceRequest("alinlp", "2020-06-29", "GetWsCustomizedSeaGeneral")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
GetWsCustomizedSeaGeneralRequest::~GetWsCustomizedSeaGeneralRequest()
|
||||
{}
|
||||
|
||||
std::string GetWsCustomizedSeaGeneralRequest::getLanguage()const
|
||||
{
|
||||
return language_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaGeneralRequest::setLanguage(const std::string& language)
|
||||
{
|
||||
language_ = language;
|
||||
setBodyParameter("Language", language);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedSeaGeneralRequest::getServiceCode()const
|
||||
{
|
||||
return serviceCode_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaGeneralRequest::setServiceCode(const std::string& serviceCode)
|
||||
{
|
||||
serviceCode_ = serviceCode;
|
||||
setBodyParameter("ServiceCode", serviceCode);
|
||||
}
|
||||
|
||||
std::string GetWsCustomizedSeaGeneralRequest::getText()const
|
||||
{
|
||||
return text_;
|
||||
}
|
||||
|
||||
void GetWsCustomizedSeaGeneralRequest::setText(const std::string& text)
|
||||
{
|
||||
text_ = text;
|
||||
setBodyParameter("Text", text);
|
||||
}
|
||||
|
||||
51
alinlp/src/model/GetWsCustomizedSeaGeneralResult.cc
Normal file
51
alinlp/src/model/GetWsCustomizedSeaGeneralResult.cc
Normal file
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/alinlp/model/GetWsCustomizedSeaGeneralResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Alinlp;
|
||||
using namespace AlibabaCloud::Alinlp::Model;
|
||||
|
||||
GetWsCustomizedSeaGeneralResult::GetWsCustomizedSeaGeneralResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
GetWsCustomizedSeaGeneralResult::GetWsCustomizedSeaGeneralResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
GetWsCustomizedSeaGeneralResult::~GetWsCustomizedSeaGeneralResult()
|
||||
{}
|
||||
|
||||
void GetWsCustomizedSeaGeneralResult::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 GetWsCustomizedSeaGeneralResult::getData()const
|
||||
{
|
||||
return data_;
|
||||
}
|
||||
|
||||
@@ -39,13 +39,13 @@ namespace AlibabaCloud
|
||||
void setAppIds(const std::string& appIds);
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
bool getEnable()const;
|
||||
void setEnable(bool enable);
|
||||
std::string getEnable()const;
|
||||
void setEnable(const std::string& enable);
|
||||
|
||||
private:
|
||||
std::string appIds_;
|
||||
std::string regionId_;
|
||||
bool enable_;
|
||||
std::string enable_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -39,12 +39,15 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getAppId()const;
|
||||
void setAppId(const std::string& appId);
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string appId_;
|
||||
std::string pid_;
|
||||
std::string type_;
|
||||
|
||||
};
|
||||
|
||||
@@ -41,11 +41,14 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getRpcID()const;
|
||||
void setRpcID(const std::string& rpcID);
|
||||
std::string getPid()const;
|
||||
void setPid(const std::string& pid);
|
||||
|
||||
private:
|
||||
std::string traceID_;
|
||||
std::string regionId_;
|
||||
std::string rpcID_;
|
||||
std::string pid_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -34,14 +34,14 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct StackInfoItem
|
||||
{
|
||||
struct ExtInfoItem
|
||||
struct ExtInfo
|
||||
{
|
||||
std::string type;
|
||||
std::string info;
|
||||
};
|
||||
std::string line;
|
||||
std::string serviceName;
|
||||
std::vector<StackInfoItem::ExtInfoItem> extInfo;
|
||||
ExtInfo extInfo;
|
||||
std::string rpcId;
|
||||
long startTime;
|
||||
long duration;
|
||||
|
||||
@@ -41,17 +41,17 @@ namespace AlibabaCloud
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getContactGroupIds()const;
|
||||
void setContactGroupIds(const std::string& contactGroupIds);
|
||||
std::string getTemplateAlertConfig()const;
|
||||
void setTemplateAlertConfig(const std::string& templateAlertConfig);
|
||||
std::string getProxyUserId()const;
|
||||
void setProxyUserId(const std::string& proxyUserId);
|
||||
std::string getTemplageAlertConfig()const;
|
||||
void setTemplageAlertConfig(const std::string& templageAlertConfig);
|
||||
|
||||
private:
|
||||
bool isAutoStart_;
|
||||
std::string regionId_;
|
||||
std::string contactGroupIds_;
|
||||
std::string templateAlertConfig_;
|
||||
std::string proxyUserId_;
|
||||
std::string templageAlertConfig_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
long updateTime;
|
||||
std::string pid;
|
||||
bool show;
|
||||
std::vector<std::string> labels;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
@@ -40,6 +40,8 @@ namespace AlibabaCloud
|
||||
{
|
||||
std::string alarmContentTemplate;
|
||||
std::string alarmContentSubTitle;
|
||||
std::string content;
|
||||
std::string subTitle;
|
||||
};
|
||||
struct AlertRule
|
||||
{
|
||||
@@ -80,11 +82,14 @@ namespace AlibabaCloud
|
||||
MetricParam metricParam;
|
||||
int alertVersion;
|
||||
long taskId;
|
||||
std::string contactGroupIds;
|
||||
std::string config;
|
||||
long createTime;
|
||||
std::vector<std::string> alertWays;
|
||||
std::string title;
|
||||
std::string taskStatus;
|
||||
AlarmContext alarmContext;
|
||||
std::vector<std::string> alertWay;
|
||||
int alertType;
|
||||
std::string contactGroupIdList;
|
||||
Notice notice;
|
||||
|
||||
@@ -41,6 +41,7 @@ namespace AlibabaCloud
|
||||
long updateTime;
|
||||
std::string pid;
|
||||
bool show;
|
||||
std::vector<std::string> labels;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
@@ -43,6 +43,7 @@ namespace AlibabaCloud
|
||||
long updateTime;
|
||||
std::string pid;
|
||||
bool show;
|
||||
std::vector<std::string> labels;
|
||||
std::string regionId;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
@@ -49,14 +49,14 @@ void ConfigAppRequest::setRegionId(const std::string& regionId)
|
||||
setParameter("RegionId", regionId);
|
||||
}
|
||||
|
||||
bool ConfigAppRequest::getEnable()const
|
||||
std::string ConfigAppRequest::getEnable()const
|
||||
{
|
||||
return enable_;
|
||||
}
|
||||
|
||||
void ConfigAppRequest::setEnable(bool enable)
|
||||
void ConfigAppRequest::setEnable(const std::string& enable)
|
||||
{
|
||||
enable_ = enable;
|
||||
setParameter("Enable", enable ? "true" : "false");
|
||||
setParameter("Enable", enable);
|
||||
}
|
||||
|
||||
|
||||
@@ -49,6 +49,17 @@ void DeleteTraceAppRequest::setAppId(const std::string& appId)
|
||||
setParameter("AppId", appId);
|
||||
}
|
||||
|
||||
std::string DeleteTraceAppRequest::getPid()const
|
||||
{
|
||||
return pid_;
|
||||
}
|
||||
|
||||
void DeleteTraceAppRequest::setPid(const std::string& pid)
|
||||
{
|
||||
pid_ = pid;
|
||||
setParameter("Pid", pid);
|
||||
}
|
||||
|
||||
std::string DeleteTraceAppRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
|
||||
@@ -60,3 +60,14 @@ void GetStackRequest::setRpcID(const std::string& rpcID)
|
||||
setParameter("RpcID", rpcID);
|
||||
}
|
||||
|
||||
std::string GetStackRequest::getPid()const
|
||||
{
|
||||
return pid_;
|
||||
}
|
||||
|
||||
void GetStackRequest::setPid(const std::string& pid)
|
||||
{
|
||||
pid_ = pid;
|
||||
setParameter("Pid", pid);
|
||||
}
|
||||
|
||||
|
||||
@@ -57,16 +57,11 @@ void GetStackResult::parse(const std::string &payload)
|
||||
stackInfoObject.exception = valueStackInfoStackInfoItem["Exception"].asString();
|
||||
if(!valueStackInfoStackInfoItem["Line"].isNull())
|
||||
stackInfoObject.line = valueStackInfoStackInfoItem["Line"].asString();
|
||||
auto allExtInfoNode = allStackInfoNode["ExtInfo"]["ExtInfoItem"];
|
||||
for (auto allStackInfoNodeExtInfoExtInfoItem : allExtInfoNode)
|
||||
{
|
||||
StackInfoItem::ExtInfoItem extInfoObject;
|
||||
if(!allStackInfoNodeExtInfoExtInfoItem["Type"].isNull())
|
||||
extInfoObject.type = allStackInfoNodeExtInfoExtInfoItem["Type"].asString();
|
||||
if(!allStackInfoNodeExtInfoExtInfoItem["Info"].isNull())
|
||||
extInfoObject.info = allStackInfoNodeExtInfoExtInfoItem["Info"].asString();
|
||||
stackInfoObject.extInfo.push_back(extInfoObject);
|
||||
}
|
||||
auto extInfoNode = value["ExtInfo"];
|
||||
if(!extInfoNode["Type"].isNull())
|
||||
stackInfoObject.extInfo.type = extInfoNode["Type"].asString();
|
||||
if(!extInfoNode["Info"].isNull())
|
||||
stackInfoObject.extInfo.info = extInfoNode["Info"].asString();
|
||||
stackInfo_.push_back(stackInfoObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -60,6 +60,17 @@ void ImportCustomAlertRulesRequest::setContactGroupIds(const std::string& contac
|
||||
setParameter("ContactGroupIds", contactGroupIds);
|
||||
}
|
||||
|
||||
std::string ImportCustomAlertRulesRequest::getTemplateAlertConfig()const
|
||||
{
|
||||
return templateAlertConfig_;
|
||||
}
|
||||
|
||||
void ImportCustomAlertRulesRequest::setTemplateAlertConfig(const std::string& templateAlertConfig)
|
||||
{
|
||||
templateAlertConfig_ = templateAlertConfig;
|
||||
setParameter("TemplateAlertConfig", templateAlertConfig);
|
||||
}
|
||||
|
||||
std::string ImportCustomAlertRulesRequest::getProxyUserId()const
|
||||
{
|
||||
return proxyUserId_;
|
||||
@@ -71,14 +82,3 @@ void ImportCustomAlertRulesRequest::setProxyUserId(const std::string& proxyUserI
|
||||
setParameter("ProxyUserId", proxyUserId);
|
||||
}
|
||||
|
||||
std::string ImportCustomAlertRulesRequest::getTemplageAlertConfig()const
|
||||
{
|
||||
return templageAlertConfig_;
|
||||
}
|
||||
|
||||
void ImportCustomAlertRulesRequest::setTemplageAlertConfig(const std::string& templageAlertConfig)
|
||||
{
|
||||
templageAlertConfig_ = templageAlertConfig;
|
||||
setParameter("TemplageAlertConfig", templageAlertConfig);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,9 @@ void ListTraceAppsResult::parse(const std::string &payload)
|
||||
traceAppsObject.regionId = valueTraceAppsTraceApp["RegionId"].asString();
|
||||
if(!valueTraceAppsTraceApp["Show"].isNull())
|
||||
traceAppsObject.show = valueTraceAppsTraceApp["Show"].asString() == "true";
|
||||
auto allLabels = value["Labels"]["Labels"];
|
||||
for (auto value : allLabels)
|
||||
traceAppsObject.labels.push_back(value.asString());
|
||||
traceApps_.push_back(traceAppsObject);
|
||||
}
|
||||
if(!value["Success"].isNull())
|
||||
|
||||
@@ -78,11 +78,19 @@ void SearchAlertRulesResult::parse(const std::string &payload)
|
||||
alertRuleEntityObject.updateTime = std::stol(pageBeanNodeAlertRulesAlertRuleEntity["UpdateTime"].asString());
|
||||
if(!pageBeanNodeAlertRulesAlertRuleEntity["UserId"].isNull())
|
||||
alertRuleEntityObject.userId = pageBeanNodeAlertRulesAlertRuleEntity["UserId"].asString();
|
||||
if(!pageBeanNodeAlertRulesAlertRuleEntity["Title"].isNull())
|
||||
alertRuleEntityObject.title = pageBeanNodeAlertRulesAlertRuleEntity["Title"].asString();
|
||||
if(!pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].isNull())
|
||||
alertRuleEntityObject.contactGroupIds = pageBeanNodeAlertRulesAlertRuleEntity["ContactGroupIds"].asString();
|
||||
auto alarmContextNode = value["AlarmContext"];
|
||||
if(!alarmContextNode["AlarmContentTemplate"].isNull())
|
||||
alertRuleEntityObject.alarmContext.alarmContentTemplate = alarmContextNode["AlarmContentTemplate"].asString();
|
||||
if(!alarmContextNode["AlarmContentSubTitle"].isNull())
|
||||
alertRuleEntityObject.alarmContext.alarmContentSubTitle = alarmContextNode["AlarmContentSubTitle"].asString();
|
||||
if(!alarmContextNode["Content"].isNull())
|
||||
alertRuleEntityObject.alarmContext.content = alarmContextNode["Content"].asString();
|
||||
if(!alarmContextNode["SubTitle"].isNull())
|
||||
alertRuleEntityObject.alarmContext.subTitle = alarmContextNode["SubTitle"].asString();
|
||||
auto alertRuleNode = value["AlertRule"];
|
||||
if(!alertRuleNode["Operator"].isNull())
|
||||
alertRuleEntityObject.alertRule._operator = alertRuleNode["Operator"].asString();
|
||||
@@ -137,6 +145,9 @@ void SearchAlertRulesResult::parse(const std::string &payload)
|
||||
auto allAlertWays = value["AlertWays"]["AlertWay"];
|
||||
for (auto value : allAlertWays)
|
||||
alertRuleEntityObject.alertWays.push_back(value.asString());
|
||||
auto allAlertWay = value["AlertWay"]["AlertWay"];
|
||||
for (auto value : allAlertWay)
|
||||
alertRuleEntityObject.alertWay.push_back(value.asString());
|
||||
pageBean_.alertRules.push_back(alertRuleEntityObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -61,6 +61,9 @@ void SearchTraceAppByNameResult::parse(const std::string &payload)
|
||||
traceAppsObject.updateTime = std::stol(valueTraceAppsTraceApp["UpdateTime"].asString());
|
||||
if(!valueTraceAppsTraceApp["Show"].isNull())
|
||||
traceAppsObject.show = valueTraceAppsTraceApp["Show"].asString() == "true";
|
||||
auto allLabels = value["Labels"]["Labels"];
|
||||
for (auto value : allLabels)
|
||||
traceAppsObject.labels.push_back(value.asString());
|
||||
traceApps_.push_back(traceAppsObject);
|
||||
}
|
||||
|
||||
|
||||
@@ -68,6 +68,9 @@ void SearchTraceAppByPageResult::parse(const std::string &payload)
|
||||
traceAppObject.updateTime = std::stol(pageBeanNodeTraceAppsTraceApp["UpdateTime"].asString());
|
||||
if(!pageBeanNodeTraceAppsTraceApp["Show"].isNull())
|
||||
traceAppObject.show = pageBeanNodeTraceAppsTraceApp["Show"].asString() == "true";
|
||||
auto allLabels = value["Labels"]["Labels"];
|
||||
for (auto value : allLabels)
|
||||
traceAppObject.labels.push_back(value.asString());
|
||||
pageBean_.traceApps.push_back(traceAppObject);
|
||||
}
|
||||
|
||||
|
||||
86
cams/CMakeLists.txt
Normal file
86
cams/CMakeLists.txt
Normal file
@@ -0,0 +1,86 @@
|
||||
#
|
||||
# Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
#
|
||||
|
||||
set(public_header_dir ${CMAKE_CURRENT_SOURCE_DIR}/../include)
|
||||
|
||||
set(cams_public_header
|
||||
include/alibabacloud/cams/CamsClient.h
|
||||
include/alibabacloud/cams/CamsExport.h )
|
||||
|
||||
set(cams_public_header_model
|
||||
include/alibabacloud/cams/model/SendMessageRequest.h
|
||||
include/alibabacloud/cams/model/SendMessageResult.h )
|
||||
|
||||
set(cams_src
|
||||
src/CamsClient.cc
|
||||
src/model/SendMessageRequest.cc
|
||||
src/model/SendMessageResult.cc )
|
||||
|
||||
add_library(cams ${LIB_TYPE}
|
||||
${cams_public_header}
|
||||
${cams_public_header_model}
|
||||
${cams_src})
|
||||
|
||||
set_target_properties(cams
|
||||
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}cams
|
||||
)
|
||||
|
||||
if(${LIB_TYPE} STREQUAL "SHARED")
|
||||
set_target_properties(cams
|
||||
PROPERTIES
|
||||
DEFINE_SYMBOL ALIBABACLOUD_CAMS_LIBRARY)
|
||||
endif()
|
||||
|
||||
target_include_directories(cams
|
||||
PRIVATE include
|
||||
${CMAKE_SOURCE_DIR}/core/include
|
||||
)
|
||||
target_link_libraries(cams
|
||||
core)
|
||||
|
||||
if(CMAKE_HOST_WIN32)
|
||||
ExternalProject_Get_Property(jsoncpp INSTALL_DIR)
|
||||
set(jsoncpp_install_dir ${INSTALL_DIR})
|
||||
add_dependencies(cams
|
||||
jsoncpp)
|
||||
target_include_directories(cams
|
||||
PRIVATE ${jsoncpp_install_dir}/include)
|
||||
target_link_libraries(cams
|
||||
${jsoncpp_install_dir}/lib/jsoncpp.lib)
|
||||
set_target_properties(cams
|
||||
PROPERTIES
|
||||
COMPILE_OPTIONS "/bigobj")
|
||||
else()
|
||||
target_include_directories(cams
|
||||
PRIVATE /usr/include/jsoncpp)
|
||||
target_link_libraries(cams
|
||||
jsoncpp)
|
||||
endif()
|
||||
|
||||
install(FILES ${cams_public_header}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cams)
|
||||
install(FILES ${cams_public_header_model}
|
||||
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/alibabacloud/cams/model)
|
||||
install(TARGETS cams
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||
)
|
||||
54
cams/include/alibabacloud/cams/CamsClient.h
Normal file
54
cams/include/alibabacloud/cams/CamsClient.h
Normal file
@@ -0,0 +1,54 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAMS_CAMSCLIENT_H_
|
||||
#define ALIBABACLOUD_CAMS_CAMSCLIENT_H_
|
||||
|
||||
#include <future>
|
||||
#include <alibabacloud/core/AsyncCallerContext.h>
|
||||
#include <alibabacloud/core/EndpointProvider.h>
|
||||
#include <alibabacloud/core/RpcServiceClient.h>
|
||||
#include "CamsExport.h"
|
||||
#include "model/SendMessageRequest.h"
|
||||
#include "model/SendMessageResult.h"
|
||||
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cams
|
||||
{
|
||||
class ALIBABACLOUD_CAMS_EXPORT CamsClient : public RpcServiceClient
|
||||
{
|
||||
public:
|
||||
typedef Outcome<Error, Model::SendMessageResult> SendMessageOutcome;
|
||||
typedef std::future<SendMessageOutcome> SendMessageOutcomeCallable;
|
||||
typedef std::function<void(const CamsClient*, const Model::SendMessageRequest&, const SendMessageOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> SendMessageAsyncHandler;
|
||||
|
||||
CamsClient(const Credentials &credentials, const ClientConfiguration &configuration);
|
||||
CamsClient(const std::shared_ptr<CredentialsProvider> &credentialsProvider, const ClientConfiguration &configuration);
|
||||
CamsClient(const std::string &accessKeyId, const std::string &accessKeySecret, const ClientConfiguration &configuration);
|
||||
~CamsClient();
|
||||
SendMessageOutcome sendMessage(const Model::SendMessageRequest &request)const;
|
||||
void sendMessageAsync(const Model::SendMessageRequest& request, const SendMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
SendMessageOutcomeCallable sendMessageCallable(const Model::SendMessageRequest& request) const;
|
||||
|
||||
private:
|
||||
std::shared_ptr<EndpointProvider> endpointProvider_;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ALIBABACLOUD_CAMS_CAMSCLIENT_H_
|
||||
32
cams/include/alibabacloud/cams/CamsExport.h
Normal file
32
cams/include/alibabacloud/cams/CamsExport.h
Normal file
@@ -0,0 +1,32 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CAMS_CAMSEXPORT_H_
|
||||
#define ALIBABACLOUD_CAMS_CAMSEXPORT_H_
|
||||
|
||||
#include <alibabacloud/core/Global.h>
|
||||
|
||||
#if defined(ALIBABACLOUD_SHARED)
|
||||
# if defined(ALIBABACLOUD_CAMS_LIBRARY)
|
||||
# define ALIBABACLOUD_CAMS_EXPORT ALIBABACLOUD_DECL_EXPORT
|
||||
# else
|
||||
# define ALIBABACLOUD_CAMS_EXPORT ALIBABACLOUD_DECL_IMPORT
|
||||
# endif
|
||||
#else
|
||||
# define ALIBABACLOUD_CAMS_EXPORT
|
||||
#endif
|
||||
|
||||
#endif // !ALIBABACLOUD_CAMS_CAMSEXPORT_H_
|
||||
75
cams/include/alibabacloud/cams/model/SendMessageRequest.h
Normal file
75
cams/include/alibabacloud/cams/model/SendMessageRequest.h
Normal file
@@ -0,0 +1,75 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CAMS_MODEL_SENDMESSAGEREQUEST_H_
|
||||
#define ALIBABACLOUD_CAMS_MODEL_SENDMESSAGEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cams/CamsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cams
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAMS_EXPORT SendMessageRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
SendMessageRequest();
|
||||
~SendMessageRequest();
|
||||
|
||||
long getResourceOwnerId()const;
|
||||
void setResourceOwnerId(long resourceOwnerId);
|
||||
std::string getTemplateBodyParams()const;
|
||||
void setTemplateBodyParams(const std::string& templateBodyParams);
|
||||
std::string getType()const;
|
||||
void setType(const std::string& type);
|
||||
std::string getAccessKeyId()const;
|
||||
void setAccessKeyId(const std::string& accessKeyId);
|
||||
std::string getChannelType()const;
|
||||
void setChannelType(const std::string& channelType);
|
||||
std::string getFrom()const;
|
||||
void setFrom(const std::string& from);
|
||||
std::string getResourceOwnerAccount()const;
|
||||
void setResourceOwnerAccount(const std::string& resourceOwnerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getTo()const;
|
||||
void setTo(const std::string& to);
|
||||
std::string getTemplateCode()const;
|
||||
void setTemplateCode(const std::string& templateCode);
|
||||
|
||||
private:
|
||||
long resourceOwnerId_;
|
||||
std::string templateBodyParams_;
|
||||
std::string type_;
|
||||
std::string accessKeyId_;
|
||||
std::string channelType_;
|
||||
std::string from_;
|
||||
std::string resourceOwnerAccount_;
|
||||
long ownerId_;
|
||||
std::string to_;
|
||||
std::string templateCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAMS_MODEL_SENDMESSAGEREQUEST_H_
|
||||
61
cams/include/alibabacloud/cams/model/SendMessageResult.h
Normal file
61
cams/include/alibabacloud/cams/model/SendMessageResult.h
Normal file
@@ -0,0 +1,61 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CAMS_MODEL_SENDMESSAGERESULT_H_
|
||||
#define ALIBABACLOUD_CAMS_MODEL_SENDMESSAGERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cams/CamsExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cams
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CAMS_EXPORT SendMessageResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Module
|
||||
{
|
||||
std::string toId;
|
||||
std::string fromId;
|
||||
std::string messageId;
|
||||
};
|
||||
|
||||
|
||||
SendMessageResult();
|
||||
explicit SendMessageResult(const std::string &payload);
|
||||
~SendMessageResult();
|
||||
Module getModule()const;
|
||||
std::string getResultMessage()const;
|
||||
std::string getResultCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
Module module_;
|
||||
std::string resultMessage_;
|
||||
std::string resultCode_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CAMS_MODEL_SENDMESSAGERESULT_H_
|
||||
89
cams/src/CamsClient.cc
Normal file
89
cams/src/CamsClient.cc
Normal file
@@ -0,0 +1,89 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cams/CamsClient.h>
|
||||
#include <alibabacloud/core/SimpleCredentialsProvider.h>
|
||||
|
||||
using namespace AlibabaCloud;
|
||||
using namespace AlibabaCloud::Location;
|
||||
using namespace AlibabaCloud::Cams;
|
||||
using namespace AlibabaCloud::Cams::Model;
|
||||
|
||||
namespace
|
||||
{
|
||||
const std::string SERVICE_NAME = "cams";
|
||||
}
|
||||
|
||||
CamsClient::CamsClient(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, "cams");
|
||||
}
|
||||
|
||||
CamsClient::CamsClient(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, "cams");
|
||||
}
|
||||
|
||||
CamsClient::CamsClient(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, "cams");
|
||||
}
|
||||
|
||||
CamsClient::~CamsClient()
|
||||
{}
|
||||
|
||||
CamsClient::SendMessageOutcome CamsClient::sendMessage(const SendMessageRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return SendMessageOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return SendMessageOutcome(SendMessageResult(outcome.result()));
|
||||
else
|
||||
return SendMessageOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CamsClient::sendMessageAsync(const SendMessageRequest& request, const SendMessageAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, sendMessage(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CamsClient::SendMessageOutcomeCallable CamsClient::sendMessageCallable(const SendMessageRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<SendMessageOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->sendMessage(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
139
cams/src/model/SendMessageRequest.cc
Normal file
139
cams/src/model/SendMessageRequest.cc
Normal file
@@ -0,0 +1,139 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/cams/model/SendMessageRequest.h>
|
||||
|
||||
using AlibabaCloud::Cams::Model::SendMessageRequest;
|
||||
|
||||
SendMessageRequest::SendMessageRequest() :
|
||||
RpcServiceRequest("cams", "2020-06-06", "SendMessage")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
SendMessageRequest::~SendMessageRequest()
|
||||
{}
|
||||
|
||||
long SendMessageRequest::getResourceOwnerId()const
|
||||
{
|
||||
return resourceOwnerId_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setResourceOwnerId(long resourceOwnerId)
|
||||
{
|
||||
resourceOwnerId_ = resourceOwnerId;
|
||||
setParameter("ResourceOwnerId", std::to_string(resourceOwnerId));
|
||||
}
|
||||
|
||||
std::string SendMessageRequest::getTemplateBodyParams()const
|
||||
{
|
||||
return templateBodyParams_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setTemplateBodyParams(const std::string& templateBodyParams)
|
||||
{
|
||||
templateBodyParams_ = templateBodyParams;
|
||||
setParameter("TemplateBodyParams", templateBodyParams);
|
||||
}
|
||||
|
||||
std::string SendMessageRequest::getType()const
|
||||
{
|
||||
return type_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setType(const std::string& type)
|
||||
{
|
||||
type_ = type;
|
||||
setParameter("Type", type);
|
||||
}
|
||||
|
||||
std::string SendMessageRequest::getAccessKeyId()const
|
||||
{
|
||||
return accessKeyId_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setAccessKeyId(const std::string& accessKeyId)
|
||||
{
|
||||
accessKeyId_ = accessKeyId;
|
||||
setParameter("AccessKeyId", accessKeyId);
|
||||
}
|
||||
|
||||
std::string SendMessageRequest::getChannelType()const
|
||||
{
|
||||
return channelType_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setChannelType(const std::string& channelType)
|
||||
{
|
||||
channelType_ = channelType;
|
||||
setParameter("ChannelType", channelType);
|
||||
}
|
||||
|
||||
std::string SendMessageRequest::getFrom()const
|
||||
{
|
||||
return from_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setFrom(const std::string& from)
|
||||
{
|
||||
from_ = from;
|
||||
setParameter("From", from);
|
||||
}
|
||||
|
||||
std::string SendMessageRequest::getResourceOwnerAccount()const
|
||||
{
|
||||
return resourceOwnerAccount_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setResourceOwnerAccount(const std::string& resourceOwnerAccount)
|
||||
{
|
||||
resourceOwnerAccount_ = resourceOwnerAccount;
|
||||
setParameter("ResourceOwnerAccount", resourceOwnerAccount);
|
||||
}
|
||||
|
||||
long SendMessageRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string SendMessageRequest::getTo()const
|
||||
{
|
||||
return to_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setTo(const std::string& to)
|
||||
{
|
||||
to_ = to;
|
||||
setParameter("To", to);
|
||||
}
|
||||
|
||||
std::string SendMessageRequest::getTemplateCode()const
|
||||
{
|
||||
return templateCode_;
|
||||
}
|
||||
|
||||
void SendMessageRequest::setTemplateCode(const std::string& templateCode)
|
||||
{
|
||||
templateCode_ = templateCode;
|
||||
setParameter("TemplateCode", templateCode);
|
||||
}
|
||||
|
||||
70
cams/src/model/SendMessageResult.cc
Normal file
70
cams/src/model/SendMessageResult.cc
Normal file
@@ -0,0 +1,70 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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/cams/model/SendMessageResult.h>
|
||||
#include <json/json.h>
|
||||
|
||||
using namespace AlibabaCloud::Cams;
|
||||
using namespace AlibabaCloud::Cams::Model;
|
||||
|
||||
SendMessageResult::SendMessageResult() :
|
||||
ServiceResult()
|
||||
{}
|
||||
|
||||
SendMessageResult::SendMessageResult(const std::string &payload) :
|
||||
ServiceResult()
|
||||
{
|
||||
parse(payload);
|
||||
}
|
||||
|
||||
SendMessageResult::~SendMessageResult()
|
||||
{}
|
||||
|
||||
void SendMessageResult::parse(const std::string &payload)
|
||||
{
|
||||
Json::Reader reader;
|
||||
Json::Value value;
|
||||
reader.parse(payload, value);
|
||||
setRequestId(value["RequestId"].asString());
|
||||
auto moduleNode = value["Module"];
|
||||
if(!moduleNode["FromId"].isNull())
|
||||
module_.fromId = moduleNode["FromId"].asString();
|
||||
if(!moduleNode["ToId"].isNull())
|
||||
module_.toId = moduleNode["ToId"].asString();
|
||||
if(!moduleNode["MessageId"].isNull())
|
||||
module_.messageId = moduleNode["MessageId"].asString();
|
||||
if(!value["ResultCode"].isNull())
|
||||
resultCode_ = value["ResultCode"].asString();
|
||||
if(!value["ResultMessage"].isNull())
|
||||
resultMessage_ = value["ResultMessage"].asString();
|
||||
|
||||
}
|
||||
|
||||
SendMessageResult::Module SendMessageResult::getModule()const
|
||||
{
|
||||
return module_;
|
||||
}
|
||||
|
||||
std::string SendMessageResult::getResultMessage()const
|
||||
{
|
||||
return resultMessage_;
|
||||
}
|
||||
|
||||
std::string SendMessageResult::getResultCode()const
|
||||
{
|
||||
return resultCode_;
|
||||
}
|
||||
|
||||
@@ -67,14 +67,6 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DeleteFCTriggerResult.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteHttpHeaderConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppRecordConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveDomainMappingRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveDomainMappingResult.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteLiveStreamTranscodeResult.h
|
||||
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteRealtimeLogDeliveryResult.h
|
||||
include/alibabacloud/cdn/model/DeleteSpecificConfigRequest.h
|
||||
@@ -85,6 +77,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DeleteUsageDetailDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskRequest.h
|
||||
include/alibabacloud/cdn/model/DeleteUserUsageDataExportTaskResult.h
|
||||
include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateDetailRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateDetailResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnCertificateListRequest.h
|
||||
@@ -111,6 +105,10 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeCdnTypesResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserBillPredictionResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserBillTypeRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserBillTypeResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserConfigsRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserConfigsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserQuotaRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserQuotaResult.h
|
||||
include/alibabacloud/cdn/model/DescribeCdnUserResourcePackageRequest.h
|
||||
@@ -137,6 +135,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainConfigsResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainCustomLogConfigResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainDetailDataByLayerResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFileSizeProportionDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainFlowDataRequest.h
|
||||
@@ -151,6 +151,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeDomainISPDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainMax95BpsDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainNamesOfVersionResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPathDataRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPathDataResult.h
|
||||
include/alibabacloud/cdn/model/DescribeDomainPvDataRequest.h
|
||||
@@ -261,6 +263,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/DescribeRealtimeDeliveryAccResult.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshQuotaRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshQuotaResult.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshTaskByIdRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshTaskByIdResult.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshTasksRequest.h
|
||||
include/alibabacloud/cdn/model/DescribeRefreshTasksResult.h
|
||||
include/alibabacloud/cdn/model/DescribeStagingIpRequest.h
|
||||
@@ -397,12 +401,8 @@ set(cdn_public_header_model
|
||||
include/alibabacloud/cdn/model/SetWaitingRoomConfigResult.h
|
||||
include/alibabacloud/cdn/model/StartCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/StartCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/StartMixStreamsServiceRequest.h
|
||||
include/alibabacloud/cdn/model/StartMixStreamsServiceResult.h
|
||||
include/alibabacloud/cdn/model/StopCdnDomainRequest.h
|
||||
include/alibabacloud/cdn/model/StopCdnDomainResult.h
|
||||
include/alibabacloud/cdn/model/StopMixStreamsServiceRequest.h
|
||||
include/alibabacloud/cdn/model/StopMixStreamsServiceResult.h
|
||||
include/alibabacloud/cdn/model/TagResourcesRequest.h
|
||||
include/alibabacloud/cdn/model/TagResourcesResult.h
|
||||
include/alibabacloud/cdn/model/UntagResourcesRequest.h
|
||||
@@ -460,14 +460,6 @@ set(cdn_src
|
||||
src/model/DeleteFCTriggerResult.cc
|
||||
src/model/DeleteHttpHeaderConfigRequest.cc
|
||||
src/model/DeleteHttpHeaderConfigResult.cc
|
||||
src/model/DeleteLiveAppRecordConfigRequest.cc
|
||||
src/model/DeleteLiveAppRecordConfigResult.cc
|
||||
src/model/DeleteLiveAppSnapshotConfigRequest.cc
|
||||
src/model/DeleteLiveAppSnapshotConfigResult.cc
|
||||
src/model/DeleteLiveDomainMappingRequest.cc
|
||||
src/model/DeleteLiveDomainMappingResult.cc
|
||||
src/model/DeleteLiveStreamTranscodeRequest.cc
|
||||
src/model/DeleteLiveStreamTranscodeResult.cc
|
||||
src/model/DeleteRealtimeLogDeliveryRequest.cc
|
||||
src/model/DeleteRealtimeLogDeliveryResult.cc
|
||||
src/model/DeleteSpecificConfigRequest.cc
|
||||
@@ -478,6 +470,8 @@ set(cdn_src
|
||||
src/model/DeleteUsageDetailDataExportTaskResult.cc
|
||||
src/model/DeleteUserUsageDataExportTaskRequest.cc
|
||||
src/model/DeleteUserUsageDataExportTaskResult.cc
|
||||
src/model/DescribeActiveVersionOfConfigGroupRequest.cc
|
||||
src/model/DescribeActiveVersionOfConfigGroupResult.cc
|
||||
src/model/DescribeCdnCertificateDetailRequest.cc
|
||||
src/model/DescribeCdnCertificateDetailResult.cc
|
||||
src/model/DescribeCdnCertificateListRequest.cc
|
||||
@@ -504,6 +498,10 @@ set(cdn_src
|
||||
src/model/DescribeCdnTypesResult.cc
|
||||
src/model/DescribeCdnUserBillPredictionRequest.cc
|
||||
src/model/DescribeCdnUserBillPredictionResult.cc
|
||||
src/model/DescribeCdnUserBillTypeRequest.cc
|
||||
src/model/DescribeCdnUserBillTypeResult.cc
|
||||
src/model/DescribeCdnUserConfigsRequest.cc
|
||||
src/model/DescribeCdnUserConfigsResult.cc
|
||||
src/model/DescribeCdnUserQuotaRequest.cc
|
||||
src/model/DescribeCdnUserQuotaResult.cc
|
||||
src/model/DescribeCdnUserResourcePackageRequest.cc
|
||||
@@ -530,6 +528,8 @@ set(cdn_src
|
||||
src/model/DescribeDomainConfigsResult.cc
|
||||
src/model/DescribeDomainCustomLogConfigRequest.cc
|
||||
src/model/DescribeDomainCustomLogConfigResult.cc
|
||||
src/model/DescribeDomainDetailDataByLayerRequest.cc
|
||||
src/model/DescribeDomainDetailDataByLayerResult.cc
|
||||
src/model/DescribeDomainFileSizeProportionDataRequest.cc
|
||||
src/model/DescribeDomainFileSizeProportionDataResult.cc
|
||||
src/model/DescribeDomainFlowDataRequest.cc
|
||||
@@ -544,6 +544,8 @@ set(cdn_src
|
||||
src/model/DescribeDomainISPDataResult.cc
|
||||
src/model/DescribeDomainMax95BpsDataRequest.cc
|
||||
src/model/DescribeDomainMax95BpsDataResult.cc
|
||||
src/model/DescribeDomainNamesOfVersionRequest.cc
|
||||
src/model/DescribeDomainNamesOfVersionResult.cc
|
||||
src/model/DescribeDomainPathDataRequest.cc
|
||||
src/model/DescribeDomainPathDataResult.cc
|
||||
src/model/DescribeDomainPvDataRequest.cc
|
||||
@@ -654,6 +656,8 @@ set(cdn_src
|
||||
src/model/DescribeRealtimeDeliveryAccResult.cc
|
||||
src/model/DescribeRefreshQuotaRequest.cc
|
||||
src/model/DescribeRefreshQuotaResult.cc
|
||||
src/model/DescribeRefreshTaskByIdRequest.cc
|
||||
src/model/DescribeRefreshTaskByIdResult.cc
|
||||
src/model/DescribeRefreshTasksRequest.cc
|
||||
src/model/DescribeRefreshTasksResult.cc
|
||||
src/model/DescribeStagingIpRequest.cc
|
||||
@@ -790,12 +794,8 @@ set(cdn_src
|
||||
src/model/SetWaitingRoomConfigResult.cc
|
||||
src/model/StartCdnDomainRequest.cc
|
||||
src/model/StartCdnDomainResult.cc
|
||||
src/model/StartMixStreamsServiceRequest.cc
|
||||
src/model/StartMixStreamsServiceResult.cc
|
||||
src/model/StopCdnDomainRequest.cc
|
||||
src/model/StopCdnDomainResult.cc
|
||||
src/model/StopMixStreamsServiceRequest.cc
|
||||
src/model/StopMixStreamsServiceResult.cc
|
||||
src/model/TagResourcesRequest.cc
|
||||
src/model/TagResourcesResult.cc
|
||||
src/model/UntagResourcesRequest.cc
|
||||
|
||||
@@ -68,14 +68,6 @@
|
||||
#include "model/DeleteFCTriggerResult.h"
|
||||
#include "model/DeleteHttpHeaderConfigRequest.h"
|
||||
#include "model/DeleteHttpHeaderConfigResult.h"
|
||||
#include "model/DeleteLiveAppRecordConfigRequest.h"
|
||||
#include "model/DeleteLiveAppRecordConfigResult.h"
|
||||
#include "model/DeleteLiveAppSnapshotConfigRequest.h"
|
||||
#include "model/DeleteLiveAppSnapshotConfigResult.h"
|
||||
#include "model/DeleteLiveDomainMappingRequest.h"
|
||||
#include "model/DeleteLiveDomainMappingResult.h"
|
||||
#include "model/DeleteLiveStreamTranscodeRequest.h"
|
||||
#include "model/DeleteLiveStreamTranscodeResult.h"
|
||||
#include "model/DeleteRealtimeLogDeliveryRequest.h"
|
||||
#include "model/DeleteRealtimeLogDeliveryResult.h"
|
||||
#include "model/DeleteSpecificConfigRequest.h"
|
||||
@@ -86,6 +78,8 @@
|
||||
#include "model/DeleteUsageDetailDataExportTaskResult.h"
|
||||
#include "model/DeleteUserUsageDataExportTaskRequest.h"
|
||||
#include "model/DeleteUserUsageDataExportTaskResult.h"
|
||||
#include "model/DescribeActiveVersionOfConfigGroupRequest.h"
|
||||
#include "model/DescribeActiveVersionOfConfigGroupResult.h"
|
||||
#include "model/DescribeCdnCertificateDetailRequest.h"
|
||||
#include "model/DescribeCdnCertificateDetailResult.h"
|
||||
#include "model/DescribeCdnCertificateListRequest.h"
|
||||
@@ -112,6 +106,10 @@
|
||||
#include "model/DescribeCdnTypesResult.h"
|
||||
#include "model/DescribeCdnUserBillPredictionRequest.h"
|
||||
#include "model/DescribeCdnUserBillPredictionResult.h"
|
||||
#include "model/DescribeCdnUserBillTypeRequest.h"
|
||||
#include "model/DescribeCdnUserBillTypeResult.h"
|
||||
#include "model/DescribeCdnUserConfigsRequest.h"
|
||||
#include "model/DescribeCdnUserConfigsResult.h"
|
||||
#include "model/DescribeCdnUserQuotaRequest.h"
|
||||
#include "model/DescribeCdnUserQuotaResult.h"
|
||||
#include "model/DescribeCdnUserResourcePackageRequest.h"
|
||||
@@ -138,6 +136,8 @@
|
||||
#include "model/DescribeDomainConfigsResult.h"
|
||||
#include "model/DescribeDomainCustomLogConfigRequest.h"
|
||||
#include "model/DescribeDomainCustomLogConfigResult.h"
|
||||
#include "model/DescribeDomainDetailDataByLayerRequest.h"
|
||||
#include "model/DescribeDomainDetailDataByLayerResult.h"
|
||||
#include "model/DescribeDomainFileSizeProportionDataRequest.h"
|
||||
#include "model/DescribeDomainFileSizeProportionDataResult.h"
|
||||
#include "model/DescribeDomainFlowDataRequest.h"
|
||||
@@ -152,6 +152,8 @@
|
||||
#include "model/DescribeDomainISPDataResult.h"
|
||||
#include "model/DescribeDomainMax95BpsDataRequest.h"
|
||||
#include "model/DescribeDomainMax95BpsDataResult.h"
|
||||
#include "model/DescribeDomainNamesOfVersionRequest.h"
|
||||
#include "model/DescribeDomainNamesOfVersionResult.h"
|
||||
#include "model/DescribeDomainPathDataRequest.h"
|
||||
#include "model/DescribeDomainPathDataResult.h"
|
||||
#include "model/DescribeDomainPvDataRequest.h"
|
||||
@@ -262,6 +264,8 @@
|
||||
#include "model/DescribeRealtimeDeliveryAccResult.h"
|
||||
#include "model/DescribeRefreshQuotaRequest.h"
|
||||
#include "model/DescribeRefreshQuotaResult.h"
|
||||
#include "model/DescribeRefreshTaskByIdRequest.h"
|
||||
#include "model/DescribeRefreshTaskByIdResult.h"
|
||||
#include "model/DescribeRefreshTasksRequest.h"
|
||||
#include "model/DescribeRefreshTasksResult.h"
|
||||
#include "model/DescribeStagingIpRequest.h"
|
||||
@@ -398,12 +402,8 @@
|
||||
#include "model/SetWaitingRoomConfigResult.h"
|
||||
#include "model/StartCdnDomainRequest.h"
|
||||
#include "model/StartCdnDomainResult.h"
|
||||
#include "model/StartMixStreamsServiceRequest.h"
|
||||
#include "model/StartMixStreamsServiceResult.h"
|
||||
#include "model/StopCdnDomainRequest.h"
|
||||
#include "model/StopCdnDomainResult.h"
|
||||
#include "model/StopMixStreamsServiceRequest.h"
|
||||
#include "model/StopMixStreamsServiceResult.h"
|
||||
#include "model/TagResourcesRequest.h"
|
||||
#include "model/TagResourcesResult.h"
|
||||
#include "model/UntagResourcesRequest.h"
|
||||
@@ -490,18 +490,6 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteHttpHeaderConfigResult> DeleteHttpHeaderConfigOutcome;
|
||||
typedef std::future<DeleteHttpHeaderConfigOutcome> DeleteHttpHeaderConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteHttpHeaderConfigRequest&, const DeleteHttpHeaderConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteHttpHeaderConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveAppRecordConfigResult> DeleteLiveAppRecordConfigOutcome;
|
||||
typedef std::future<DeleteLiveAppRecordConfigOutcome> DeleteLiveAppRecordConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveAppRecordConfigRequest&, const DeleteLiveAppRecordConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveAppRecordConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveAppSnapshotConfigResult> DeleteLiveAppSnapshotConfigOutcome;
|
||||
typedef std::future<DeleteLiveAppSnapshotConfigOutcome> DeleteLiveAppSnapshotConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveAppSnapshotConfigRequest&, const DeleteLiveAppSnapshotConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveAppSnapshotConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveDomainMappingResult> DeleteLiveDomainMappingOutcome;
|
||||
typedef std::future<DeleteLiveDomainMappingOutcome> DeleteLiveDomainMappingOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveDomainMappingRequest&, const DeleteLiveDomainMappingOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveDomainMappingAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteLiveStreamTranscodeResult> DeleteLiveStreamTranscodeOutcome;
|
||||
typedef std::future<DeleteLiveStreamTranscodeOutcome> DeleteLiveStreamTranscodeOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteLiveStreamTranscodeRequest&, const DeleteLiveStreamTranscodeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteLiveStreamTranscodeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DeleteRealtimeLogDeliveryResult> DeleteRealtimeLogDeliveryOutcome;
|
||||
typedef std::future<DeleteRealtimeLogDeliveryOutcome> DeleteRealtimeLogDeliveryOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteRealtimeLogDeliveryRequest&, const DeleteRealtimeLogDeliveryOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteRealtimeLogDeliveryAsyncHandler;
|
||||
@@ -517,6 +505,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DeleteUserUsageDataExportTaskResult> DeleteUserUsageDataExportTaskOutcome;
|
||||
typedef std::future<DeleteUserUsageDataExportTaskOutcome> DeleteUserUsageDataExportTaskOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DeleteUserUsageDataExportTaskRequest&, const DeleteUserUsageDataExportTaskOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DeleteUserUsageDataExportTaskAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeActiveVersionOfConfigGroupResult> DescribeActiveVersionOfConfigGroupOutcome;
|
||||
typedef std::future<DescribeActiveVersionOfConfigGroupOutcome> DescribeActiveVersionOfConfigGroupOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeActiveVersionOfConfigGroupRequest&, const DescribeActiveVersionOfConfigGroupOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeActiveVersionOfConfigGroupAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnCertificateDetailResult> DescribeCdnCertificateDetailOutcome;
|
||||
typedef std::future<DescribeCdnCertificateDetailOutcome> DescribeCdnCertificateDetailOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnCertificateDetailRequest&, const DescribeCdnCertificateDetailOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnCertificateDetailAsyncHandler;
|
||||
@@ -556,6 +547,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeCdnUserBillPredictionResult> DescribeCdnUserBillPredictionOutcome;
|
||||
typedef std::future<DescribeCdnUserBillPredictionOutcome> DescribeCdnUserBillPredictionOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillPredictionRequest&, const DescribeCdnUserBillPredictionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillPredictionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnUserBillTypeResult> DescribeCdnUserBillTypeOutcome;
|
||||
typedef std::future<DescribeCdnUserBillTypeOutcome> DescribeCdnUserBillTypeOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserBillTypeRequest&, const DescribeCdnUserBillTypeOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserBillTypeAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnUserConfigsResult> DescribeCdnUserConfigsOutcome;
|
||||
typedef std::future<DescribeCdnUserConfigsOutcome> DescribeCdnUserConfigsOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserConfigsRequest&, const DescribeCdnUserConfigsOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserConfigsAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeCdnUserQuotaResult> DescribeCdnUserQuotaOutcome;
|
||||
typedef std::future<DescribeCdnUserQuotaOutcome> DescribeCdnUserQuotaOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeCdnUserQuotaRequest&, const DescribeCdnUserQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeCdnUserQuotaAsyncHandler;
|
||||
@@ -595,6 +592,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainCustomLogConfigResult> DescribeDomainCustomLogConfigOutcome;
|
||||
typedef std::future<DescribeDomainCustomLogConfigOutcome> DescribeDomainCustomLogConfigOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainCustomLogConfigRequest&, const DescribeDomainCustomLogConfigOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainCustomLogConfigAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainDetailDataByLayerResult> DescribeDomainDetailDataByLayerOutcome;
|
||||
typedef std::future<DescribeDomainDetailDataByLayerOutcome> DescribeDomainDetailDataByLayerOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainDetailDataByLayerRequest&, const DescribeDomainDetailDataByLayerOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainDetailDataByLayerAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainFileSizeProportionDataResult> DescribeDomainFileSizeProportionDataOutcome;
|
||||
typedef std::future<DescribeDomainFileSizeProportionDataOutcome> DescribeDomainFileSizeProportionDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainFileSizeProportionDataRequest&, const DescribeDomainFileSizeProportionDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainFileSizeProportionDataAsyncHandler;
|
||||
@@ -616,6 +616,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeDomainMax95BpsDataResult> DescribeDomainMax95BpsDataOutcome;
|
||||
typedef std::future<DescribeDomainMax95BpsDataOutcome> DescribeDomainMax95BpsDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainMax95BpsDataRequest&, const DescribeDomainMax95BpsDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainMax95BpsDataAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainNamesOfVersionResult> DescribeDomainNamesOfVersionOutcome;
|
||||
typedef std::future<DescribeDomainNamesOfVersionOutcome> DescribeDomainNamesOfVersionOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainNamesOfVersionRequest&, const DescribeDomainNamesOfVersionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainNamesOfVersionAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeDomainPathDataResult> DescribeDomainPathDataOutcome;
|
||||
typedef std::future<DescribeDomainPathDataOutcome> DescribeDomainPathDataOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeDomainPathDataRequest&, const DescribeDomainPathDataOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeDomainPathDataAsyncHandler;
|
||||
@@ -781,6 +784,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DescribeRefreshQuotaResult> DescribeRefreshQuotaOutcome;
|
||||
typedef std::future<DescribeRefreshQuotaOutcome> DescribeRefreshQuotaOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeRefreshQuotaRequest&, const DescribeRefreshQuotaOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshQuotaAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRefreshTaskByIdResult> DescribeRefreshTaskByIdOutcome;
|
||||
typedef std::future<DescribeRefreshTaskByIdOutcome> DescribeRefreshTaskByIdOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeRefreshTaskByIdRequest&, const DescribeRefreshTaskByIdOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshTaskByIdAsyncHandler;
|
||||
typedef Outcome<Error, Model::DescribeRefreshTasksResult> DescribeRefreshTasksOutcome;
|
||||
typedef std::future<DescribeRefreshTasksOutcome> DescribeRefreshTasksOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::DescribeRefreshTasksRequest&, const DescribeRefreshTasksOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DescribeRefreshTasksAsyncHandler;
|
||||
@@ -985,15 +991,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::StartCdnDomainResult> StartCdnDomainOutcome;
|
||||
typedef std::future<StartCdnDomainOutcome> StartCdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StartCdnDomainRequest&, const StartCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartCdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::StartMixStreamsServiceResult> StartMixStreamsServiceOutcome;
|
||||
typedef std::future<StartMixStreamsServiceOutcome> StartMixStreamsServiceOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StartMixStreamsServiceRequest&, const StartMixStreamsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StartMixStreamsServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopCdnDomainResult> StopCdnDomainOutcome;
|
||||
typedef std::future<StopCdnDomainOutcome> StopCdnDomainOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StopCdnDomainRequest&, const StopCdnDomainOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopCdnDomainAsyncHandler;
|
||||
typedef Outcome<Error, Model::StopMixStreamsServiceResult> StopMixStreamsServiceOutcome;
|
||||
typedef std::future<StopMixStreamsServiceOutcome> StopMixStreamsServiceOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::StopMixStreamsServiceRequest&, const StopMixStreamsServiceOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> StopMixStreamsServiceAsyncHandler;
|
||||
typedef Outcome<Error, Model::TagResourcesResult> TagResourcesOutcome;
|
||||
typedef std::future<TagResourcesOutcome> TagResourcesOutcomeCallable;
|
||||
typedef std::function<void(const CdnClient*, const Model::TagResourcesRequest&, const TagResourcesOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> TagResourcesAsyncHandler;
|
||||
@@ -1080,18 +1080,6 @@ namespace AlibabaCloud
|
||||
DeleteHttpHeaderConfigOutcome deleteHttpHeaderConfig(const Model::DeleteHttpHeaderConfigRequest &request)const;
|
||||
void deleteHttpHeaderConfigAsync(const Model::DeleteHttpHeaderConfigRequest& request, const DeleteHttpHeaderConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteHttpHeaderConfigOutcomeCallable deleteHttpHeaderConfigCallable(const Model::DeleteHttpHeaderConfigRequest& request) const;
|
||||
DeleteLiveAppRecordConfigOutcome deleteLiveAppRecordConfig(const Model::DeleteLiveAppRecordConfigRequest &request)const;
|
||||
void deleteLiveAppRecordConfigAsync(const Model::DeleteLiveAppRecordConfigRequest& request, const DeleteLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveAppRecordConfigOutcomeCallable deleteLiveAppRecordConfigCallable(const Model::DeleteLiveAppRecordConfigRequest& request) const;
|
||||
DeleteLiveAppSnapshotConfigOutcome deleteLiveAppSnapshotConfig(const Model::DeleteLiveAppSnapshotConfigRequest &request)const;
|
||||
void deleteLiveAppSnapshotConfigAsync(const Model::DeleteLiveAppSnapshotConfigRequest& request, const DeleteLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveAppSnapshotConfigOutcomeCallable deleteLiveAppSnapshotConfigCallable(const Model::DeleteLiveAppSnapshotConfigRequest& request) const;
|
||||
DeleteLiveDomainMappingOutcome deleteLiveDomainMapping(const Model::DeleteLiveDomainMappingRequest &request)const;
|
||||
void deleteLiveDomainMappingAsync(const Model::DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveDomainMappingOutcomeCallable deleteLiveDomainMappingCallable(const Model::DeleteLiveDomainMappingRequest& request) const;
|
||||
DeleteLiveStreamTranscodeOutcome deleteLiveStreamTranscode(const Model::DeleteLiveStreamTranscodeRequest &request)const;
|
||||
void deleteLiveStreamTranscodeAsync(const Model::DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteLiveStreamTranscodeOutcomeCallable deleteLiveStreamTranscodeCallable(const Model::DeleteLiveStreamTranscodeRequest& request) const;
|
||||
DeleteRealtimeLogDeliveryOutcome deleteRealtimeLogDelivery(const Model::DeleteRealtimeLogDeliveryRequest &request)const;
|
||||
void deleteRealtimeLogDeliveryAsync(const Model::DeleteRealtimeLogDeliveryRequest& request, const DeleteRealtimeLogDeliveryAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteRealtimeLogDeliveryOutcomeCallable deleteRealtimeLogDeliveryCallable(const Model::DeleteRealtimeLogDeliveryRequest& request) const;
|
||||
@@ -1107,6 +1095,9 @@ namespace AlibabaCloud
|
||||
DeleteUserUsageDataExportTaskOutcome deleteUserUsageDataExportTask(const Model::DeleteUserUsageDataExportTaskRequest &request)const;
|
||||
void deleteUserUsageDataExportTaskAsync(const Model::DeleteUserUsageDataExportTaskRequest& request, const DeleteUserUsageDataExportTaskAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DeleteUserUsageDataExportTaskOutcomeCallable deleteUserUsageDataExportTaskCallable(const Model::DeleteUserUsageDataExportTaskRequest& request) const;
|
||||
DescribeActiveVersionOfConfigGroupOutcome describeActiveVersionOfConfigGroup(const Model::DescribeActiveVersionOfConfigGroupRequest &request)const;
|
||||
void describeActiveVersionOfConfigGroupAsync(const Model::DescribeActiveVersionOfConfigGroupRequest& request, const DescribeActiveVersionOfConfigGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeActiveVersionOfConfigGroupOutcomeCallable describeActiveVersionOfConfigGroupCallable(const Model::DescribeActiveVersionOfConfigGroupRequest& request) const;
|
||||
DescribeCdnCertificateDetailOutcome describeCdnCertificateDetail(const Model::DescribeCdnCertificateDetailRequest &request)const;
|
||||
void describeCdnCertificateDetailAsync(const Model::DescribeCdnCertificateDetailRequest& request, const DescribeCdnCertificateDetailAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnCertificateDetailOutcomeCallable describeCdnCertificateDetailCallable(const Model::DescribeCdnCertificateDetailRequest& request) const;
|
||||
@@ -1146,6 +1137,12 @@ namespace AlibabaCloud
|
||||
DescribeCdnUserBillPredictionOutcome describeCdnUserBillPrediction(const Model::DescribeCdnUserBillPredictionRequest &request)const;
|
||||
void describeCdnUserBillPredictionAsync(const Model::DescribeCdnUserBillPredictionRequest& request, const DescribeCdnUserBillPredictionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnUserBillPredictionOutcomeCallable describeCdnUserBillPredictionCallable(const Model::DescribeCdnUserBillPredictionRequest& request) const;
|
||||
DescribeCdnUserBillTypeOutcome describeCdnUserBillType(const Model::DescribeCdnUserBillTypeRequest &request)const;
|
||||
void describeCdnUserBillTypeAsync(const Model::DescribeCdnUserBillTypeRequest& request, const DescribeCdnUserBillTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnUserBillTypeOutcomeCallable describeCdnUserBillTypeCallable(const Model::DescribeCdnUserBillTypeRequest& request) const;
|
||||
DescribeCdnUserConfigsOutcome describeCdnUserConfigs(const Model::DescribeCdnUserConfigsRequest &request)const;
|
||||
void describeCdnUserConfigsAsync(const Model::DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnUserConfigsOutcomeCallable describeCdnUserConfigsCallable(const Model::DescribeCdnUserConfigsRequest& request) const;
|
||||
DescribeCdnUserQuotaOutcome describeCdnUserQuota(const Model::DescribeCdnUserQuotaRequest &request)const;
|
||||
void describeCdnUserQuotaAsync(const Model::DescribeCdnUserQuotaRequest& request, const DescribeCdnUserQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeCdnUserQuotaOutcomeCallable describeCdnUserQuotaCallable(const Model::DescribeCdnUserQuotaRequest& request) const;
|
||||
@@ -1185,6 +1182,9 @@ namespace AlibabaCloud
|
||||
DescribeDomainCustomLogConfigOutcome describeDomainCustomLogConfig(const Model::DescribeDomainCustomLogConfigRequest &request)const;
|
||||
void describeDomainCustomLogConfigAsync(const Model::DescribeDomainCustomLogConfigRequest& request, const DescribeDomainCustomLogConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainCustomLogConfigOutcomeCallable describeDomainCustomLogConfigCallable(const Model::DescribeDomainCustomLogConfigRequest& request) const;
|
||||
DescribeDomainDetailDataByLayerOutcome describeDomainDetailDataByLayer(const Model::DescribeDomainDetailDataByLayerRequest &request)const;
|
||||
void describeDomainDetailDataByLayerAsync(const Model::DescribeDomainDetailDataByLayerRequest& request, const DescribeDomainDetailDataByLayerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainDetailDataByLayerOutcomeCallable describeDomainDetailDataByLayerCallable(const Model::DescribeDomainDetailDataByLayerRequest& request) const;
|
||||
DescribeDomainFileSizeProportionDataOutcome describeDomainFileSizeProportionData(const Model::DescribeDomainFileSizeProportionDataRequest &request)const;
|
||||
void describeDomainFileSizeProportionDataAsync(const Model::DescribeDomainFileSizeProportionDataRequest& request, const DescribeDomainFileSizeProportionDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainFileSizeProportionDataOutcomeCallable describeDomainFileSizeProportionDataCallable(const Model::DescribeDomainFileSizeProportionDataRequest& request) const;
|
||||
@@ -1206,6 +1206,9 @@ namespace AlibabaCloud
|
||||
DescribeDomainMax95BpsDataOutcome describeDomainMax95BpsData(const Model::DescribeDomainMax95BpsDataRequest &request)const;
|
||||
void describeDomainMax95BpsDataAsync(const Model::DescribeDomainMax95BpsDataRequest& request, const DescribeDomainMax95BpsDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainMax95BpsDataOutcomeCallable describeDomainMax95BpsDataCallable(const Model::DescribeDomainMax95BpsDataRequest& request) const;
|
||||
DescribeDomainNamesOfVersionOutcome describeDomainNamesOfVersion(const Model::DescribeDomainNamesOfVersionRequest &request)const;
|
||||
void describeDomainNamesOfVersionAsync(const Model::DescribeDomainNamesOfVersionRequest& request, const DescribeDomainNamesOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainNamesOfVersionOutcomeCallable describeDomainNamesOfVersionCallable(const Model::DescribeDomainNamesOfVersionRequest& request) const;
|
||||
DescribeDomainPathDataOutcome describeDomainPathData(const Model::DescribeDomainPathDataRequest &request)const;
|
||||
void describeDomainPathDataAsync(const Model::DescribeDomainPathDataRequest& request, const DescribeDomainPathDataAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeDomainPathDataOutcomeCallable describeDomainPathDataCallable(const Model::DescribeDomainPathDataRequest& request) const;
|
||||
@@ -1371,6 +1374,9 @@ namespace AlibabaCloud
|
||||
DescribeRefreshQuotaOutcome describeRefreshQuota(const Model::DescribeRefreshQuotaRequest &request)const;
|
||||
void describeRefreshQuotaAsync(const Model::DescribeRefreshQuotaRequest& request, const DescribeRefreshQuotaAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRefreshQuotaOutcomeCallable describeRefreshQuotaCallable(const Model::DescribeRefreshQuotaRequest& request) const;
|
||||
DescribeRefreshTaskByIdOutcome describeRefreshTaskById(const Model::DescribeRefreshTaskByIdRequest &request)const;
|
||||
void describeRefreshTaskByIdAsync(const Model::DescribeRefreshTaskByIdRequest& request, const DescribeRefreshTaskByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRefreshTaskByIdOutcomeCallable describeRefreshTaskByIdCallable(const Model::DescribeRefreshTaskByIdRequest& request) const;
|
||||
DescribeRefreshTasksOutcome describeRefreshTasks(const Model::DescribeRefreshTasksRequest &request)const;
|
||||
void describeRefreshTasksAsync(const Model::DescribeRefreshTasksRequest& request, const DescribeRefreshTasksAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DescribeRefreshTasksOutcomeCallable describeRefreshTasksCallable(const Model::DescribeRefreshTasksRequest& request) const;
|
||||
@@ -1575,15 +1581,9 @@ namespace AlibabaCloud
|
||||
StartCdnDomainOutcome startCdnDomain(const Model::StartCdnDomainRequest &request)const;
|
||||
void startCdnDomainAsync(const Model::StartCdnDomainRequest& request, const StartCdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartCdnDomainOutcomeCallable startCdnDomainCallable(const Model::StartCdnDomainRequest& request) const;
|
||||
StartMixStreamsServiceOutcome startMixStreamsService(const Model::StartMixStreamsServiceRequest &request)const;
|
||||
void startMixStreamsServiceAsync(const Model::StartMixStreamsServiceRequest& request, const StartMixStreamsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StartMixStreamsServiceOutcomeCallable startMixStreamsServiceCallable(const Model::StartMixStreamsServiceRequest& request) const;
|
||||
StopCdnDomainOutcome stopCdnDomain(const Model::StopCdnDomainRequest &request)const;
|
||||
void stopCdnDomainAsync(const Model::StopCdnDomainRequest& request, const StopCdnDomainAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopCdnDomainOutcomeCallable stopCdnDomainCallable(const Model::StopCdnDomainRequest& request) const;
|
||||
StopMixStreamsServiceOutcome stopMixStreamsService(const Model::StopMixStreamsServiceRequest &request)const;
|
||||
void stopMixStreamsServiceAsync(const Model::StopMixStreamsServiceRequest& request, const StopMixStreamsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
StopMixStreamsServiceOutcomeCallable stopMixStreamsServiceCallable(const Model::StopMixStreamsServiceRequest& request) const;
|
||||
TagResourcesOutcome tagResources(const Model::TagResourcesRequest &request)const;
|
||||
void tagResourcesAsync(const Model::TagResourcesRequest& request, const TagResourcesAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
TagResourcesOutcomeCallable tagResourcesCallable(const Model::TagResourcesRequest& request) const;
|
||||
|
||||
@@ -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_CDN_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveStreamTranscodeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLiveStreamTranscodeRequest();
|
||||
~DeleteLiveStreamTranscodeRequest();
|
||||
|
||||
std::string get_Template()const;
|
||||
void set_Template(const std::string& _template);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getApp()const;
|
||||
void setApp(const std::string& app);
|
||||
std::string getOwnerAccount()const;
|
||||
void setOwnerAccount(const std::string& ownerAccount);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getDomain()const;
|
||||
void setDomain(const std::string& domain);
|
||||
|
||||
private:
|
||||
std::string _template_;
|
||||
std::string securityToken_;
|
||||
std::string app_;
|
||||
std::string ownerAccount_;
|
||||
long ownerId_;
|
||||
std::string domain_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVESTREAMTRANSCODEREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppRecordConfigRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeActiveVersionOfConfigGroupRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLiveAppRecordConfigRequest();
|
||||
~DeleteLiveAppRecordConfigRequest();
|
||||
DescribeActiveVersionOfConfigGroupRequest();
|
||||
~DescribeActiveVersionOfConfigGroupRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getEnv()const;
|
||||
void setEnv(const std::string& env);
|
||||
std::string getConfigGroupId()const;
|
||||
void setConfigGroupId(const std::string& configGroupId);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
std::string env_;
|
||||
std::string configGroupId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPRECORDCONFIGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeActiveVersionOfConfigGroupResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DescribeActiveVersionOfConfigGroupResult();
|
||||
explicit DescribeActiveVersionOfConfigGroupResult(const std::string &payload);
|
||||
~DescribeActiveVersionOfConfigGroupResult();
|
||||
std::string getVersionId()const;
|
||||
std::string getStatus()const;
|
||||
std::string getConfigGroupId()const;
|
||||
std::string getBaseVersionId()const;
|
||||
std::string getDescription()const;
|
||||
std::string getCreateTime()const;
|
||||
std::string getUpdateTime()const;
|
||||
std::string get_Operator()const;
|
||||
long getSeqId()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string versionId_;
|
||||
std::string status_;
|
||||
std::string configGroupId_;
|
||||
std::string baseVersionId_;
|
||||
std::string description_;
|
||||
std::string createTime_;
|
||||
std::string updateTime_;
|
||||
std::string _operator_;
|
||||
long seqId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEACTIVEVERSIONOFCONFIGGROUPRESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,27 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveDomainMappingRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillTypeRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLiveDomainMappingRequest();
|
||||
~DeleteLiveDomainMappingRequest();
|
||||
DescribeCdnUserBillTypeRequest();
|
||||
~DescribeCdnUserBillTypeRequest();
|
||||
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getPullDomain()const;
|
||||
void setPullDomain(const std::string& pullDomain);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getPushDomain()const;
|
||||
void setPushDomain(const std::string& pushDomain);
|
||||
|
||||
private:
|
||||
std::string startTime_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string pullDomain_;
|
||||
std::string securityToken_;
|
||||
std::string pushDomain_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEDOMAINMAPPINGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPEREQUEST_H_
|
||||
@@ -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_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserBillTypeResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct BillTypeDataItem
|
||||
{
|
||||
std::string billType;
|
||||
std::string billingCycle;
|
||||
std::string endTime;
|
||||
std::string startTime;
|
||||
std::string product;
|
||||
std::string dimension;
|
||||
};
|
||||
|
||||
|
||||
DescribeCdnUserBillTypeResult();
|
||||
explicit DescribeCdnUserBillTypeResult(const std::string &payload);
|
||||
~DescribeCdnUserBillTypeResult();
|
||||
std::vector<BillTypeDataItem> getBillTypeData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<BillTypeDataItem> billTypeData_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERBILLTYPERESULT_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -28,30 +28,24 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DeleteLiveAppSnapshotConfigRequest : public RpcServiceRequest
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserConfigsRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DeleteLiveAppSnapshotConfigRequest();
|
||||
~DeleteLiveAppSnapshotConfigRequest();
|
||||
DescribeCdnUserConfigsRequest();
|
||||
~DescribeCdnUserConfigsRequest();
|
||||
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getFunctionName()const;
|
||||
void setFunctionName(const std::string& functionName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getAppName()const;
|
||||
void setAppName(const std::string& appName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
|
||||
private:
|
||||
std::string domainName_;
|
||||
std::string functionName_;
|
||||
long ownerId_;
|
||||
std::string appName_;
|
||||
std::string securityToken_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DELETELIVEAPPSNAPSHOTCONFIGREQUEST_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,29 +29,29 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT StartMixStreamsServiceResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeCdnUserConfigsResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MixStreamsInfo
|
||||
struct Config
|
||||
{
|
||||
std::string streamName;
|
||||
std::string domainName;
|
||||
std::string appName;
|
||||
std::string functionName;
|
||||
std::string argValue;
|
||||
std::string argName;
|
||||
};
|
||||
|
||||
|
||||
StartMixStreamsServiceResult();
|
||||
explicit StartMixStreamsServiceResult(const std::string &payload);
|
||||
~StartMixStreamsServiceResult();
|
||||
std::vector<MixStreamsInfo> getMixStreamsInfoList()const;
|
||||
DescribeCdnUserConfigsResult();
|
||||
explicit DescribeCdnUserConfigsResult(const std::string &payload);
|
||||
~DescribeCdnUserConfigsResult();
|
||||
std::vector<Config> getConfigs()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MixStreamsInfo> mixStreamsInfoList_;
|
||||
std::vector<Config> configs_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBECDNUSERCONFIGSRESULT_H_
|
||||
@@ -0,0 +1,69 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainDetailDataByLayerRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDomainDetailDataByLayerRequest();
|
||||
~DescribeDomainDetailDataByLayerRequest();
|
||||
|
||||
std::string getLocationNameEn()const;
|
||||
void setLocationNameEn(const std::string& locationNameEn);
|
||||
std::string getStartTime()const;
|
||||
void setStartTime(const std::string& startTime);
|
||||
std::string getIspNameEn()const;
|
||||
void setIspNameEn(const std::string& ispNameEn);
|
||||
std::string getLayer()const;
|
||||
void setLayer(const std::string& layer);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
std::string getEndTime()const;
|
||||
void setEndTime(const std::string& endTime);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getField()const;
|
||||
void setField(const std::string& field);
|
||||
|
||||
private:
|
||||
std::string locationNameEn_;
|
||||
std::string startTime_;
|
||||
std::string ispNameEn_;
|
||||
std::string layer_;
|
||||
std::string domainName_;
|
||||
std::string endTime_;
|
||||
long ownerId_;
|
||||
std::string field_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERREQUEST_H_
|
||||
@@ -0,0 +1,65 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainDetailDataByLayerResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct DataModule
|
||||
{
|
||||
long acc;
|
||||
float ipv6Bps;
|
||||
std::string httpCode;
|
||||
float ipv6Qps;
|
||||
float bps;
|
||||
long traf;
|
||||
long ipv6Acc;
|
||||
std::string domainName;
|
||||
float qps;
|
||||
long ipv6Traf;
|
||||
std::string timeStamp;
|
||||
};
|
||||
|
||||
|
||||
DescribeDomainDetailDataByLayerResult();
|
||||
explicit DescribeDomainDetailDataByLayerResult(const std::string &payload);
|
||||
~DescribeDomainDetailDataByLayerResult();
|
||||
std::vector<DataModule> getData()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<DataModule> data_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINDETAILDATABYLAYERRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainNamesOfVersionRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeDomainNamesOfVersionRequest();
|
||||
~DescribeDomainNamesOfVersionRequest();
|
||||
|
||||
std::string getVersionId()const;
|
||||
void setVersionId(const std::string& versionId);
|
||||
std::string getPageSize()const;
|
||||
void setPageSize(const std::string& pageSize);
|
||||
int getPageIndex()const;
|
||||
void setPageIndex(int pageIndex);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string versionId_;
|
||||
std::string pageSize_;
|
||||
int pageIndex_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONREQUEST_H_
|
||||
@@ -14,8 +14,8 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
@@ -29,29 +29,30 @@ namespace AlibabaCloud
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT StopMixStreamsServiceResult : public ServiceResult
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeDomainNamesOfVersionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct MixStreamsInfo
|
||||
struct Content
|
||||
{
|
||||
std::string streamName;
|
||||
std::string domainId;
|
||||
std::string domainName;
|
||||
std::string appName;
|
||||
};
|
||||
|
||||
|
||||
StopMixStreamsServiceResult();
|
||||
explicit StopMixStreamsServiceResult(const std::string &payload);
|
||||
~StopMixStreamsServiceResult();
|
||||
std::vector<MixStreamsInfo> getMixStreamsInfoList()const;
|
||||
DescribeDomainNamesOfVersionResult();
|
||||
explicit DescribeDomainNamesOfVersionResult(const std::string &payload);
|
||||
~DescribeDomainNamesOfVersionResult();
|
||||
int getTotalCount()const;
|
||||
std::vector<Content> getContents()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::vector<MixStreamsInfo> mixStreamsInfoList_;
|
||||
int totalCount_;
|
||||
std::vector<Content> contents_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICERESULT_H_
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEDOMAINNAMESOFVERSIONRESULT_H_
|
||||
@@ -0,0 +1,57 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTaskByIdRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
DescribeRefreshTaskByIdRequest();
|
||||
~DescribeRefreshTaskByIdRequest();
|
||||
|
||||
int getPageNumber()const;
|
||||
void setPageNumber(int pageNumber);
|
||||
int getPageSize()const;
|
||||
void setPageSize(int pageSize);
|
||||
std::string getTaskId()const;
|
||||
void setTaskId(const std::string& taskId);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
int pageNumber_;
|
||||
int pageSize_;
|
||||
std::string taskId_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT 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_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT DescribeRefreshTaskByIdResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct CDNTask
|
||||
{
|
||||
std::string status;
|
||||
std::string objectType;
|
||||
std::string objectPath;
|
||||
std::string taskId;
|
||||
std::string description;
|
||||
std::string creationTime;
|
||||
std::string process;
|
||||
};
|
||||
|
||||
|
||||
DescribeRefreshTaskByIdResult();
|
||||
explicit DescribeRefreshTaskByIdResult(const std::string &payload);
|
||||
~DescribeRefreshTaskByIdResult();
|
||||
long getTotalCount()const;
|
||||
std::vector<CDNTask> getTasks()const;
|
||||
long getPageSize()const;
|
||||
long getPageNumber()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
long totalCount_;
|
||||
std::vector<CDNTask> tasks_;
|
||||
long pageSize_;
|
||||
long pageNumber_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_DESCRIBEREFRESHTASKBYIDRESULT_H_
|
||||
@@ -41,8 +41,6 @@ namespace AlibabaCloud
|
||||
DescribeTagResourcesRequest();
|
||||
~DescribeTagResourcesRequest();
|
||||
|
||||
std::string getRegionId()const;
|
||||
void setRegionId(const std::string& regionId);
|
||||
std::string getScope()const;
|
||||
void setScope(const std::string& scope);
|
||||
std::vector<Tag> getTag()const;
|
||||
@@ -55,7 +53,6 @@ namespace AlibabaCloud
|
||||
void setResourceType(const std::string& resourceType);
|
||||
|
||||
private:
|
||||
std::string regionId_;
|
||||
std::string scope_;
|
||||
std::vector<Tag> tag_;
|
||||
std::vector<std::string> resourceId_;
|
||||
|
||||
@@ -59,6 +59,8 @@ namespace AlibabaCloud
|
||||
void setTag(const std::vector<Tag>& tag);
|
||||
std::string getFuncFilter()const;
|
||||
void setFuncFilter(const std::string& funcFilter);
|
||||
std::string getCoverage()const;
|
||||
void setCoverage(const std::string& coverage);
|
||||
std::string getDomainName()const;
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
@@ -82,6 +84,7 @@ namespace AlibabaCloud
|
||||
int pageSize_;
|
||||
std::vector<Tag> tag_;
|
||||
std::string funcFilter_;
|
||||
std::string coverage_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string funcId_;
|
||||
|
||||
@@ -47,6 +47,7 @@ namespace AlibabaCloud
|
||||
std::string resourceGroupId;
|
||||
std::string domainName;
|
||||
std::string gmtModified;
|
||||
std::string coverage;
|
||||
std::string cdnType;
|
||||
std::string gmtCreated;
|
||||
std::vector<PageData::Source> sources;
|
||||
|
||||
@@ -35,20 +35,20 @@ namespace AlibabaCloud
|
||||
PushObjectCacheRequest();
|
||||
~PushObjectCacheRequest();
|
||||
|
||||
std::string getArea()const;
|
||||
void setArea(const std::string& area);
|
||||
std::string getObjectPath()const;
|
||||
void setObjectPath(const std::string& objectPath);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getArea()const;
|
||||
void setArea(const std::string& area);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
|
||||
private:
|
||||
std::string area_;
|
||||
std::string objectPath_;
|
||||
long ownerId_;
|
||||
std::string securityToken_;
|
||||
std::string area_;
|
||||
long ownerId_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -53,8 +53,6 @@ namespace AlibabaCloud
|
||||
void setDomainName(const std::string& domainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getRegion()const;
|
||||
void setRegion(const std::string& region);
|
||||
|
||||
private:
|
||||
std::string serverCertificate_;
|
||||
@@ -66,7 +64,6 @@ namespace AlibabaCloud
|
||||
std::string certName_;
|
||||
std::string domainName_;
|
||||
long ownerId_;
|
||||
std::string region_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,75 +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_CDN_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT StartMixStreamsServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StartMixStreamsServiceRequest();
|
||||
~StartMixStreamsServiceRequest();
|
||||
|
||||
std::string getMixStreamName()const;
|
||||
void setMixStreamName(const std::string& mixStreamName);
|
||||
std::string getMixAppName()const;
|
||||
void setMixAppName(const std::string& mixAppName);
|
||||
std::string getMainStreamName()const;
|
||||
void setMainStreamName(const std::string& mainStreamName);
|
||||
std::string getMixType()const;
|
||||
void setMixType(const std::string& mixType);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getMainDomainName()const;
|
||||
void setMainDomainName(const std::string& mainDomainName);
|
||||
std::string getMixTemplate()const;
|
||||
void setMixTemplate(const std::string& mixTemplate);
|
||||
std::string getMixDomainName()const;
|
||||
void setMixDomainName(const std::string& mixDomainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getMainAppName()const;
|
||||
void setMainAppName(const std::string& mainAppName);
|
||||
|
||||
private:
|
||||
std::string mixStreamName_;
|
||||
std::string mixAppName_;
|
||||
std::string mainStreamName_;
|
||||
std::string mixType_;
|
||||
std::string securityToken_;
|
||||
std::string mainDomainName_;
|
||||
std::string mixTemplate_;
|
||||
std::string mixDomainName_;
|
||||
long ownerId_;
|
||||
std::string mainAppName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STARTMIXSTREAMSSERVICEREQUEST_H_
|
||||
@@ -1,69 +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_CDN_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_
|
||||
#define ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <alibabacloud/cdn/CdnExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Cdn
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_CDN_EXPORT StopMixStreamsServiceRequest : public RpcServiceRequest
|
||||
{
|
||||
|
||||
public:
|
||||
StopMixStreamsServiceRequest();
|
||||
~StopMixStreamsServiceRequest();
|
||||
|
||||
std::string getMixStreamName()const;
|
||||
void setMixStreamName(const std::string& mixStreamName);
|
||||
std::string getMixAppName()const;
|
||||
void setMixAppName(const std::string& mixAppName);
|
||||
std::string getMainStreamName()const;
|
||||
void setMainStreamName(const std::string& mainStreamName);
|
||||
std::string getSecurityToken()const;
|
||||
void setSecurityToken(const std::string& securityToken);
|
||||
std::string getMainDomainName()const;
|
||||
void setMainDomainName(const std::string& mainDomainName);
|
||||
std::string getMixDomainName()const;
|
||||
void setMixDomainName(const std::string& mixDomainName);
|
||||
long getOwnerId()const;
|
||||
void setOwnerId(long ownerId);
|
||||
std::string getMainAppName()const;
|
||||
void setMainAppName(const std::string& mainAppName);
|
||||
|
||||
private:
|
||||
std::string mixStreamName_;
|
||||
std::string mixAppName_;
|
||||
std::string mainStreamName_;
|
||||
std::string securityToken_;
|
||||
std::string mainDomainName_;
|
||||
std::string mixDomainName_;
|
||||
long ownerId_;
|
||||
std::string mainAppName_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_CDN_MODEL_STOPMIXSTREAMSSERVICEREQUEST_H_
|
||||
@@ -879,150 +879,6 @@ CdnClient::DeleteHttpHeaderConfigOutcomeCallable CdnClient::deleteHttpHeaderConf
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveAppRecordConfigOutcome CdnClient::deleteLiveAppRecordConfig(const DeleteLiveAppRecordConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLiveAppRecordConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLiveAppRecordConfigOutcome(DeleteLiveAppRecordConfigResult(outcome.result()));
|
||||
else
|
||||
return DeleteLiveAppRecordConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteLiveAppRecordConfigAsync(const DeleteLiveAppRecordConfigRequest& request, const DeleteLiveAppRecordConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLiveAppRecordConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveAppRecordConfigOutcomeCallable CdnClient::deleteLiveAppRecordConfigCallable(const DeleteLiveAppRecordConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLiveAppRecordConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLiveAppRecordConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveAppSnapshotConfigOutcome CdnClient::deleteLiveAppSnapshotConfig(const DeleteLiveAppSnapshotConfigRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLiveAppSnapshotConfigOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLiveAppSnapshotConfigOutcome(DeleteLiveAppSnapshotConfigResult(outcome.result()));
|
||||
else
|
||||
return DeleteLiveAppSnapshotConfigOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteLiveAppSnapshotConfigAsync(const DeleteLiveAppSnapshotConfigRequest& request, const DeleteLiveAppSnapshotConfigAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLiveAppSnapshotConfig(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveAppSnapshotConfigOutcomeCallable CdnClient::deleteLiveAppSnapshotConfigCallable(const DeleteLiveAppSnapshotConfigRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLiveAppSnapshotConfigOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLiveAppSnapshotConfig(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveDomainMappingOutcome CdnClient::deleteLiveDomainMapping(const DeleteLiveDomainMappingRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLiveDomainMappingOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLiveDomainMappingOutcome(DeleteLiveDomainMappingResult(outcome.result()));
|
||||
else
|
||||
return DeleteLiveDomainMappingOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteLiveDomainMappingAsync(const DeleteLiveDomainMappingRequest& request, const DeleteLiveDomainMappingAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLiveDomainMapping(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveDomainMappingOutcomeCallable CdnClient::deleteLiveDomainMappingCallable(const DeleteLiveDomainMappingRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLiveDomainMappingOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLiveDomainMapping(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveStreamTranscodeOutcome CdnClient::deleteLiveStreamTranscode(const DeleteLiveStreamTranscodeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DeleteLiveStreamTranscodeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DeleteLiveStreamTranscodeOutcome(DeleteLiveStreamTranscodeResult(outcome.result()));
|
||||
else
|
||||
return DeleteLiveStreamTranscodeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::deleteLiveStreamTranscodeAsync(const DeleteLiveStreamTranscodeRequest& request, const DeleteLiveStreamTranscodeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, deleteLiveStreamTranscode(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DeleteLiveStreamTranscodeOutcomeCallable CdnClient::deleteLiveStreamTranscodeCallable(const DeleteLiveStreamTranscodeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DeleteLiveStreamTranscodeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->deleteLiveStreamTranscode(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DeleteRealtimeLogDeliveryOutcome CdnClient::deleteRealtimeLogDelivery(const DeleteRealtimeLogDeliveryRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1203,6 +1059,42 @@ CdnClient::DeleteUserUsageDataExportTaskOutcomeCallable CdnClient::deleteUserUsa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeActiveVersionOfConfigGroupOutcome CdnClient::describeActiveVersionOfConfigGroup(const DescribeActiveVersionOfConfigGroupRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeActiveVersionOfConfigGroupOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeActiveVersionOfConfigGroupOutcome(DescribeActiveVersionOfConfigGroupResult(outcome.result()));
|
||||
else
|
||||
return DescribeActiveVersionOfConfigGroupOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeActiveVersionOfConfigGroupAsync(const DescribeActiveVersionOfConfigGroupRequest& request, const DescribeActiveVersionOfConfigGroupAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeActiveVersionOfConfigGroup(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeActiveVersionOfConfigGroupOutcomeCallable CdnClient::describeActiveVersionOfConfigGroupCallable(const DescribeActiveVersionOfConfigGroupRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeActiveVersionOfConfigGroupOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeActiveVersionOfConfigGroup(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnCertificateDetailOutcome CdnClient::describeCdnCertificateDetail(const DescribeCdnCertificateDetailRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -1671,6 +1563,78 @@ CdnClient::DescribeCdnUserBillPredictionOutcomeCallable CdnClient::describeCdnUs
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserBillTypeOutcome CdnClient::describeCdnUserBillType(const DescribeCdnUserBillTypeRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCdnUserBillTypeOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCdnUserBillTypeOutcome(DescribeCdnUserBillTypeResult(outcome.result()));
|
||||
else
|
||||
return DescribeCdnUserBillTypeOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeCdnUserBillTypeAsync(const DescribeCdnUserBillTypeRequest& request, const DescribeCdnUserBillTypeAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCdnUserBillType(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserBillTypeOutcomeCallable CdnClient::describeCdnUserBillTypeCallable(const DescribeCdnUserBillTypeRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCdnUserBillTypeOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCdnUserBillType(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserConfigsOutcome CdnClient::describeCdnUserConfigs(const DescribeCdnUserConfigsRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeCdnUserConfigsOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeCdnUserConfigsOutcome(DescribeCdnUserConfigsResult(outcome.result()));
|
||||
else
|
||||
return DescribeCdnUserConfigsOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeCdnUserConfigsAsync(const DescribeCdnUserConfigsRequest& request, const DescribeCdnUserConfigsAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeCdnUserConfigs(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserConfigsOutcomeCallable CdnClient::describeCdnUserConfigsCallable(const DescribeCdnUserConfigsRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeCdnUserConfigsOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeCdnUserConfigs(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeCdnUserQuotaOutcome CdnClient::describeCdnUserQuota(const DescribeCdnUserQuotaRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2139,6 +2103,42 @@ CdnClient::DescribeDomainCustomLogConfigOutcomeCallable CdnClient::describeDomai
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainDetailDataByLayerOutcome CdnClient::describeDomainDetailDataByLayer(const DescribeDomainDetailDataByLayerRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDomainDetailDataByLayerOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDomainDetailDataByLayerOutcome(DescribeDomainDetailDataByLayerResult(outcome.result()));
|
||||
else
|
||||
return DescribeDomainDetailDataByLayerOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeDomainDetailDataByLayerAsync(const DescribeDomainDetailDataByLayerRequest& request, const DescribeDomainDetailDataByLayerAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDomainDetailDataByLayer(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainDetailDataByLayerOutcomeCallable CdnClient::describeDomainDetailDataByLayerCallable(const DescribeDomainDetailDataByLayerRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDomainDetailDataByLayerOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDomainDetailDataByLayer(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainFileSizeProportionDataOutcome CdnClient::describeDomainFileSizeProportionData(const DescribeDomainFileSizeProportionDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -2391,6 +2391,42 @@ CdnClient::DescribeDomainMax95BpsDataOutcomeCallable CdnClient::describeDomainMa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainNamesOfVersionOutcome CdnClient::describeDomainNamesOfVersion(const DescribeDomainNamesOfVersionRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeDomainNamesOfVersionOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeDomainNamesOfVersionOutcome(DescribeDomainNamesOfVersionResult(outcome.result()));
|
||||
else
|
||||
return DescribeDomainNamesOfVersionOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeDomainNamesOfVersionAsync(const DescribeDomainNamesOfVersionRequest& request, const DescribeDomainNamesOfVersionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeDomainNamesOfVersion(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainNamesOfVersionOutcomeCallable CdnClient::describeDomainNamesOfVersionCallable(const DescribeDomainNamesOfVersionRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeDomainNamesOfVersionOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeDomainNamesOfVersion(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeDomainPathDataOutcome CdnClient::describeDomainPathData(const DescribeDomainPathDataRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -4371,6 +4407,42 @@ CdnClient::DescribeRefreshQuotaOutcomeCallable CdnClient::describeRefreshQuotaCa
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeRefreshTaskByIdOutcome CdnClient::describeRefreshTaskById(const DescribeRefreshTaskByIdRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return DescribeRefreshTaskByIdOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return DescribeRefreshTaskByIdOutcome(DescribeRefreshTaskByIdResult(outcome.result()));
|
||||
else
|
||||
return DescribeRefreshTaskByIdOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::describeRefreshTaskByIdAsync(const DescribeRefreshTaskByIdRequest& request, const DescribeRefreshTaskByIdAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, describeRefreshTaskById(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::DescribeRefreshTaskByIdOutcomeCallable CdnClient::describeRefreshTaskByIdCallable(const DescribeRefreshTaskByIdRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<DescribeRefreshTaskByIdOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->describeRefreshTaskById(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::DescribeRefreshTasksOutcome CdnClient::describeRefreshTasks(const DescribeRefreshTasksRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6819,42 +6891,6 @@ CdnClient::StartCdnDomainOutcomeCallable CdnClient::startCdnDomainCallable(const
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::StartMixStreamsServiceOutcome CdnClient::startMixStreamsService(const StartMixStreamsServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StartMixStreamsServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StartMixStreamsServiceOutcome(StartMixStreamsServiceResult(outcome.result()));
|
||||
else
|
||||
return StartMixStreamsServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::startMixStreamsServiceAsync(const StartMixStreamsServiceRequest& request, const StartMixStreamsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, startMixStreamsService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::StartMixStreamsServiceOutcomeCallable CdnClient::startMixStreamsServiceCallable(const StartMixStreamsServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StartMixStreamsServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->startMixStreamsService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::StopCdnDomainOutcome CdnClient::stopCdnDomain(const StopCdnDomainRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
@@ -6891,42 +6927,6 @@ CdnClient::StopCdnDomainOutcomeCallable CdnClient::stopCdnDomainCallable(const S
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::StopMixStreamsServiceOutcome CdnClient::stopMixStreamsService(const StopMixStreamsServiceRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
if (!endpointOutcome.isSuccess())
|
||||
return StopMixStreamsServiceOutcome(endpointOutcome.error());
|
||||
|
||||
auto outcome = makeRequest(endpointOutcome.result(), request);
|
||||
|
||||
if (outcome.isSuccess())
|
||||
return StopMixStreamsServiceOutcome(StopMixStreamsServiceResult(outcome.result()));
|
||||
else
|
||||
return StopMixStreamsServiceOutcome(outcome.error());
|
||||
}
|
||||
|
||||
void CdnClient::stopMixStreamsServiceAsync(const StopMixStreamsServiceRequest& request, const StopMixStreamsServiceAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context) const
|
||||
{
|
||||
auto fn = [this, request, handler, context]()
|
||||
{
|
||||
handler(this, request, stopMixStreamsService(request), context);
|
||||
};
|
||||
|
||||
asyncExecute(new Runnable(fn));
|
||||
}
|
||||
|
||||
CdnClient::StopMixStreamsServiceOutcomeCallable CdnClient::stopMixStreamsServiceCallable(const StopMixStreamsServiceRequest &request) const
|
||||
{
|
||||
auto task = std::make_shared<std::packaged_task<StopMixStreamsServiceOutcome()>>(
|
||||
[this, request]()
|
||||
{
|
||||
return this->stopMixStreamsService(request);
|
||||
});
|
||||
|
||||
asyncExecute(new Runnable([task]() { (*task)(); }));
|
||||
return task->get_future();
|
||||
}
|
||||
|
||||
CdnClient::TagResourcesOutcome CdnClient::tagResources(const TagResourcesRequest &request) const
|
||||
{
|
||||
auto endpointOutcome = endpointProvider_->getEndpoint();
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DeleteLiveAppRecordConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteLiveAppRecordConfigRequest;
|
||||
|
||||
DeleteLiveAppRecordConfigRequest::DeleteLiveAppRecordConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveAppRecordConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveAppRecordConfigRequest::~DeleteLiveAppRecordConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveAppRecordConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppRecordConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppRecordConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DeleteLiveAppSnapshotConfigRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteLiveAppSnapshotConfigRequest;
|
||||
|
||||
DeleteLiveAppSnapshotConfigRequest::DeleteLiveAppSnapshotConfigRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveAppSnapshotConfig")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveAppSnapshotConfigRequest::~DeleteLiveAppSnapshotConfigRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getDomainName()const
|
||||
{
|
||||
return domainName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setDomainName(const std::string& domainName)
|
||||
{
|
||||
domainName_ = domainName;
|
||||
setParameter("DomainName", domainName);
|
||||
}
|
||||
|
||||
long DeleteLiveAppSnapshotConfigRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getAppName()const
|
||||
{
|
||||
return appName_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setAppName(const std::string& appName)
|
||||
{
|
||||
appName_ = appName;
|
||||
setParameter("AppName", appName);
|
||||
}
|
||||
|
||||
std::string DeleteLiveAppSnapshotConfigRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveAppSnapshotConfigRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
@@ -1,73 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DeleteLiveDomainMappingRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteLiveDomainMappingRequest;
|
||||
|
||||
DeleteLiveDomainMappingRequest::DeleteLiveDomainMappingRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveDomainMapping")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveDomainMappingRequest::~DeleteLiveDomainMappingRequest()
|
||||
{}
|
||||
|
||||
long DeleteLiveDomainMappingRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getPullDomain()const
|
||||
{
|
||||
return pullDomain_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setPullDomain(const std::string& pullDomain)
|
||||
{
|
||||
pullDomain_ = pullDomain;
|
||||
setParameter("PullDomain", pullDomain);
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveDomainMappingRequest::getPushDomain()const
|
||||
{
|
||||
return pushDomain_;
|
||||
}
|
||||
|
||||
void DeleteLiveDomainMappingRequest::setPushDomain(const std::string& pushDomain)
|
||||
{
|
||||
pushDomain_ = pushDomain;
|
||||
setParameter("PushDomain", pushDomain);
|
||||
}
|
||||
|
||||
@@ -1,95 +0,0 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DeleteLiveStreamTranscodeRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DeleteLiveStreamTranscodeRequest;
|
||||
|
||||
DeleteLiveStreamTranscodeRequest::DeleteLiveStreamTranscodeRequest() :
|
||||
RpcServiceRequest("cdn", "2014-11-11", "DeleteLiveStreamTranscode")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DeleteLiveStreamTranscodeRequest::~DeleteLiveStreamTranscodeRequest()
|
||||
{}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::get_Template()const
|
||||
{
|
||||
return _template_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::set_Template(const std::string& _template)
|
||||
{
|
||||
_template_ = _template;
|
||||
setParameter("_Template", _template);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getSecurityToken()const
|
||||
{
|
||||
return securityToken_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setSecurityToken(const std::string& securityToken)
|
||||
{
|
||||
securityToken_ = securityToken;
|
||||
setParameter("SecurityToken", securityToken);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getApp()const
|
||||
{
|
||||
return app_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setApp(const std::string& app)
|
||||
{
|
||||
app_ = app;
|
||||
setParameter("App", app);
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getOwnerAccount()const
|
||||
{
|
||||
return ownerAccount_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setOwnerAccount(const std::string& ownerAccount)
|
||||
{
|
||||
ownerAccount_ = ownerAccount;
|
||||
setParameter("OwnerAccount", ownerAccount);
|
||||
}
|
||||
|
||||
long DeleteLiveStreamTranscodeRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DeleteLiveStreamTranscodeRequest::getDomain()const
|
||||
{
|
||||
return domain_;
|
||||
}
|
||||
|
||||
void DeleteLiveStreamTranscodeRequest::setDomain(const std::string& domain)
|
||||
{
|
||||
domain_ = domain;
|
||||
setParameter("Domain", domain);
|
||||
}
|
||||
|
||||
62
cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc
Normal file
62
cdn/src/model/DescribeActiveVersionOfConfigGroupRequest.cc
Normal 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.
|
||||
*/
|
||||
|
||||
#include <alibabacloud/cdn/model/DescribeActiveVersionOfConfigGroupRequest.h>
|
||||
|
||||
using AlibabaCloud::Cdn::Model::DescribeActiveVersionOfConfigGroupRequest;
|
||||
|
||||
DescribeActiveVersionOfConfigGroupRequest::DescribeActiveVersionOfConfigGroupRequest() :
|
||||
RpcServiceRequest("cdn", "2018-05-10", "DescribeActiveVersionOfConfigGroup")
|
||||
{
|
||||
setMethod(HttpRequest::Method::Post);
|
||||
}
|
||||
|
||||
DescribeActiveVersionOfConfigGroupRequest::~DescribeActiveVersionOfConfigGroupRequest()
|
||||
{}
|
||||
|
||||
long DescribeActiveVersionOfConfigGroupRequest::getOwnerId()const
|
||||
{
|
||||
return ownerId_;
|
||||
}
|
||||
|
||||
void DescribeActiveVersionOfConfigGroupRequest::setOwnerId(long ownerId)
|
||||
{
|
||||
ownerId_ = ownerId;
|
||||
setParameter("OwnerId", std::to_string(ownerId));
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupRequest::getEnv()const
|
||||
{
|
||||
return env_;
|
||||
}
|
||||
|
||||
void DescribeActiveVersionOfConfigGroupRequest::setEnv(const std::string& env)
|
||||
{
|
||||
env_ = env;
|
||||
setParameter("Env", env);
|
||||
}
|
||||
|
||||
std::string DescribeActiveVersionOfConfigGroupRequest::getConfigGroupId()const
|
||||
{
|
||||
return configGroupId_;
|
||||
}
|
||||
|
||||
void DescribeActiveVersionOfConfigGroupRequest::setConfigGroupId(const std::string& configGroupId)
|
||||
{
|
||||
configGroupId_ = configGroupId;
|
||||
setParameter("ConfigGroupId", configGroupId);
|
||||
}
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user